/* «Nuestra historia» (/historia y /our-story): la cabecera y el pie son los de las guías (guias.css). */
.h-cuerpo { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 64px; color: var(--carbon); }

.h-portada { text-align: center; padding: 18px 0 8px; }
.h-antetitulo { margin: 0 0 12px; color: #d42a32; font-weight: 900; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.h-portada h1 { margin: 0; color: var(--principal); font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(32px, 6.4vw, 52px); line-height: 1.08; letter-spacing: -0.015em; }
.h-portada h1 span { color: #2b2b33; }

/* La escena: la pregunta en la farmacia y los puntos de quedarse en blanco. */
.h-escena { display: flex; flex-direction: column; gap: 10px; width: min(420px, 100%); margin: 30px auto 6px; }
.h-globo { max-width: 78%; padding: 13px 18px; border-radius: 20px; font-weight: 800; font-size: 18px; line-height: 1.3; }
.h-globo-ella { align-self: flex-start; border: 2px solid #e8dcc8; border-bottom-left-radius: 6px; background: #fff; color: #2b2b33; box-shadow: 0 3px 0 #efe5d4; animation: h-entra 0.5s ease-out 0.2s backwards; }
.h-globo-el { align-self: flex-end; display: flex; gap: 6px; padding: 18px 20px; border-bottom-right-radius: 6px; background: #213f86; box-shadow: 0 3px 0 #172d63; animation: h-entra 0.5s ease-out 1s backwards; }
.h-globo-el i { width: 9px; height: 9px; border-radius: 50%; background: #fff; opacity: 0.35; animation: h-punto 1.4s ease-in-out infinite; }
.h-globo-el i:nth-child(2) { animation-delay: 0.2s; }
.h-globo-el i:nth-child(3) { animation-delay: 0.4s; }
@keyframes h-entra { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
@keyframes h-punto { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }

/* El texto. */
.h-texto { margin-top: 34px; font-size: 18px; line-height: 1.7; }
.h-texto p { margin: 0 0 20px; }
.h-entrada { font-size: 21px; line-height: 1.6; font-weight: 700; color: #2b2b33; }
.h-cita { margin: 30px 0; padding: 22px 26px; border-left: 6px solid #d42a32; border-radius: 4px 18px 18px 4px; background: #fff4ec; color: #8a2a1e; font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: clamp(21px, 3.6vw, 26px); line-height: 1.35; }
.h-giro { margin: 46px 0 18px; color: var(--principal); font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(27px, 4.8vw, 36px); line-height: 1.15; text-align: center; }
.h-giro::before { content: ""; display: block; width: 56px; height: 5px; margin: 0 auto 22px; border-radius: 3px; background: #f2b53a; }

/* Los tres pasos de cada estación. */
.h-pasos { counter-reset: paso; display: grid; gap: 12px; margin: 26px 0 30px; padding: 0; list-style: none; }
.h-pasos li { counter-increment: paso; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 16px 18px; border: 2px solid #ebe1cf; border-radius: 18px; background: #fff; box-shadow: 0 3px 0 #f0e7d8; }
.h-pasos li::before { content: counter(paso); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #213f86; color: #fff; font-weight: 900; font-size: 19px; }
.h-pasos b { color: var(--principal); font-size: 18px; }
.h-pasos span { font-size: 16.5px; line-height: 1.55; color: #4a4a55; }

.h-final { margin: 40px 0 0 !important; padding-top: 26px; border-top: 2px dashed #e8dcc8; text-align: center; color: #d42a32; font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(24px, 4.4vw, 32px); line-height: 1.25; }

.h-cta { margin-top: 48px; }

@media (max-width: 560px) {
  .h-texto { font-size: 17px; }
  .h-entrada { font-size: 19px; }
  .h-globo { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .h-globo-ella, .h-globo-el, .h-globo-el i { animation: none; }
  .h-globo-el i { opacity: 0.7; }
}
