/* Fuentes locales: elimina la petición externa a Google Fonts. */
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/font-0.ttf') format('truetype');
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/font-1.ttf') format('truetype');
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/font-2.ttf') format('truetype');
}
@font-face {
  font-family: 'Charm';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/font-3.ttf') format('truetype');
}
@font-face {
  font-family: 'Charm';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/font-4.ttf') format('truetype');
}

/* 1. Diseño: frame de 1440 px, 12 columnas, margen 40 px y gutter 20 px.
   Las franjas y la línea azul de las capturas son guías, no fondos. */
:root {
  --purple: #3b3c93;
  --lavender: #898ac4;
  --sand: #dcc5b2;
  --cream: #f0e4d3;
  --white: #faf7f3;
  --font-body: 'Cabin', Arial, sans-serif;
  --font-script: 'Charm', cursive;

  /* TIPOGRAFÍA: editar aquí. Conversión px / 16 (base habitual del navegador).
     No fijar html en 16px: 100% respeta la preferencia de tamaño del usuario. */
  --text-h1: 4.125rem;       /* 66px: título hero, ambas líneas */
  --text-h2: 2.5rem;       /* 40px: títulos de sección */
  --text-h3: 1.3rem;        /* 25.6px: títulos de cards */
  --text-h4: 1.2rem;       /* 19.2px: subtítulos */
  --text-body: 1.0625rem;    /* 17px: párrafos */
  --text-button: 0.9rem;   /* 14.4px: botones */
  --text-emphasis: 1.15rem;/* 21px: texto destacado */
  --text-small: .75rem;     /* 12px: créditos y texto secundario */
  --text-brand: 1.5rem;    /* 24px: marca navbar */
  --text-brand-footer: 2.75rem; /* 44px: marca pie */
  --text-symbol: 1.875rem;  /* 30px: signo del acordeón */
  --text-quote: 7.5rem;     /* 120px: comilla decorativa */
  --leading-body: 1.3;
  --leading-heading: 1.2;
  --leading-button: 1.25;

  --page-width: min(1360px, calc(100vw - 80px));
  --content-width: calc((var(--page-width) - 220px) / 12 * 8 + 140px);
  --wide-width: calc((var(--page-width) - 220px) / 12 * 10 + 180px);
  --section-inset: max(0px, calc((100vw - var(--content-width)) / 2)); /* alinea textos con .container */
  --page-inset: max(40px, calc((100% - 1360px) / 2));
  --gutter: 40px;
  --header-height: 100px;
  --hero-bottom-space: 3rem; /* 48px debajo de los botones */
  --radius: 12px;
}

/* 2. TIPOGRAFÍA: cambiá aquí tamaños por nivel, en :root sus valores. */
/* SISTEMA TIPOGRÁFICO: tamaños por función, sin valores aislados por sección.
   .headline aplica la apariencia de H4 sin alterar la jerarquía del HTML. */
body, p, li {
  font-size: var(--text-body);
}
h1 {
  font-size: var(--text-h1);
  font-weight: 700;
}
h2 {
  font-size: var(--text-h2);
}
h3 {
  font-size: var(--text-h3);
}
h4, .headline {
  font-size: var(--text-h4);
  font-weight: 700;
}
.text-emphasis {
  font-size: var(--text-emphasis);
}
small, .text-small {
  font-size: var(--text-small);
}
.button, .nav-contact, .menu-toggle {
  font-size: var(--text-button);
  line-height: var(--leading-button);
}
.brand strong {
  font-size: var(--text-brand);
}
.site-footer .brand strong {
  font-size: var(--text-brand-footer);
}
.brand span {
  font-size: var(--text-small);
}
.site-header nav {
  font-size: var(--text-body);
}
.hero h1 .script {
  font-size: inherit;
}
.faq-item summary {
  font-size: var(--text-emphasis);
}
.faq-symbol {
  font-size: var(--text-symbol);
}
.quote-mark {
  font-size: var(--text-quote);
}
/* El título del diálogo mantiene nivel H2 pero usa la escala compacta. */
dialog h2 {
  font-size: var(--text-h4);
}


/* 3. BASE: reglas compartidas, contenedores y botones. */
* {
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}
body {
  margin: 0;
  color: var(--purple);
  background: var(--cream);
  font-family: var(--font-body);
  line-height: var(--leading-body);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  font-weight: 400;
  cursor: pointer;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
:where(button, a, summary):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
p, h1, h2, h3, h4 {
  margin: 0;
}
p + p {
  margin-top: 1em;
}
h1, h2, h3, h4 {
  line-height: var(--leading-heading);
  overflow-wrap: break-word;
}
.container {
  width: var(--content-width);
  margin-inline: auto;
}
.section {
  padding-block: 80px;
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
}
.section-heading {
  margin-bottom: 64px;
  text-align: center;
}
.section-heading > p:first-child {
  margin-bottom: 0;
}
.section-heading h2 + p {
  margin-top: 12px;
  line-height: 1.3;
}
.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  text-align: center;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 3.125rem; padding: .75rem 1.5rem; width: max-content; max-width: 100%; white-space: nowrap; flex-shrink: 0; border: 1px solid transparent;
  border-radius: var(--radius); background: var(--purple); color: var(--white);
  font-weight: 700; text-align: center;
  overflow-wrap: anywhere;
}
.button:hover {
  filter: brightness(.94);
}
.button-light {
  background: var(--cream);
  color: var(--purple);
}
.wash-right {
  background: radial-gradient(ellipse at 105% 0%, #898ac480, transparent 35%), var(--cream);
}
.wash-left {
  background: radial-gradient(ellipse at 0% 0%, #898ac480, transparent 35%), var(--cream);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 50;
  padding: 12px;
  background: var(--white);
}
.skip-link:focus {
  top: 12px;
}


/* 4. Navbar fija: contenido entre las columnas 2 y 11. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: var(--white);
  box-shadow: 0 4px 12px rgb(30 25 65 / 10%);
}
.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: calc(100% - clamp(3rem, 10.42vw, 12.5rem));
  margin-inline: auto;
  min-height: 100px;
  padding-block: 18px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1.1;
}
.brand span {
  margin-top: 6px;
  letter-spacing: 2px;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  max-width: 100%;
  margin-left: auto;
}
/* Redes visibles; el menú se reorganiza antes de ocultar contenido. */
.site-header .socials {
  display: flex;
  flex-shrink: 0;
}
.site-header nav > a { padding-block: 12px; }
.site-header nav > a:not(.nav-contact) { margin-right: .5rem; }
.site-header nav > a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.nav-contact {
  padding-inline: 30px;
  border: 1px solid var(--purple);
  border-radius: var(--radius);
  background: var(--purple);
  color: var(--white);
}
.menu-toggle {
  display: none;
  padding: 10px 16px;
  border: 1px solid var(--purple);
  border-radius: 8px;
  background: var(--cream);
}
.socials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.socials :is(button, a) {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
}
.socials img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.socials-small {
  gap: 4px;
}
.socials-small img {
  width: 24px;
  height: 24px;
}

/* Íconos SVG del menú: tamaño propio, sin afectar los del footer. */
.site-header .socials svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

/* 5. Hero: inicio exacto en columna 5 (x = 500 px a 1440 px). */
.hero-wrap {
  position: relative;
  isolation: isolate;
  min-height: 0;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  width: var(--page-width);
  padding-top: max(210px, calc(var(--header-height) + 70px));
  padding-bottom: var(--hero-bottom-space);
}
.hero-copy {
  grid-column: 5 / 12;
  min-width: 0;
  padding-left: 2rem;
}
.hero h1 {
  margin: 8px 0 36px;
  font-weight: 700;
  letter-spacing: -.8px;
}
.hero h1 .script {
  display: block;
  line-height: 1.25;
  letter-spacing: 0;
}
.hero-copy > p:not(.eyebrow) {
  line-height: 1.2;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 670px;
  margin-top: 48px;
}
.hero-actions .button {
  flex: 1 0 auto;
  text-transform: uppercase;
}
.hero-actions .button-light {
  background: var(--sand);
  border-color: var(--purple);
}

/* 6. Identificación: tres grupos distribuidos sobre diez columnas. */
.identification {
  padding-block: 80px 105px;
}
.identification .container { width: var(--content-width); }
.identification .section-heading {
  margin-bottom: 86px;
}
.feelings article {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feelings img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  margin-bottom: 14px;
 
}
.feelings h3 {
  font-family: var(--font-body);
  font-weight: 700;
}
.feelings p {
  max-width: 270px;
  line-height: var(--leading-body);
}

/* 7. Desbloqueo: texto col. 3–8; CTA puede ocupar 3 columnas para no partirse. */
.beginning {
  padding-block: 64px 90px;
  background: var(--purple);
  color: var(--cream);
}
.beginning .section-heading {
  margin-bottom: 48px;
}
.beginning-content {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: end;
}
.beginning-content > div {
  grid-column: 1 / 9;
}
.beginning-content p {
  line-height: 1.3;
}
.beginning-content p + p {
  margin-top: 36px;
  font-weight: 600;
}
.beginning-content .button {
  grid-column: 9 / 13;
  justify-self: end;
  padding-inline: 1rem;
}

/* 8. Historia: mosaico con fondos que llegan al borde del frame.
   Las imágenes y textos se alinean a las columnas 2–6 y 7–11. */
.story {
  padding-top: 80px;
  padding-bottom: 0;
}
.story .section-heading {
  width: var(--content-width);
  margin-inline: auto;
  margin-bottom: 72px;
}
.story-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 0;
  padding-inline: 0;
}
.story-first {
  background: linear-gradient(to right, transparent 48%, var(--purple) 48%);
}
.story-second {
  background: linear-gradient(to right, var(--purple) 50%, transparent 50%);
}
.portrait {
  height: 580px;
  width: 100%;
  object-fit: cover;
}
.story-first > .portrait {
  grid-column: 1 / 7;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-first > .story-copy {
  grid-column: 7 / 13;
  padding: 5rem var(--section-inset) 3rem 2rem;
}
.story-copy {
  min-width: 0;
  color: var(--white);
  line-height: 1.5;
}
.story-headline {
  margin-bottom: 24px;
  text-transform: uppercase;
}
.story-skills {
  padding-left: 16px;
  margin: 0 0 32px;
}
.story-second > .story-copy {
  grid-column: 1 / 7;
  padding: 3.75rem 1.5rem 2rem var(--section-inset);
}
.story-second > .portrait {
  grid-column: 7 / 13;
  object-position: center;
  height: 100%;
  min-height: 580px;
}
.quote-mark {
  display: block;
  margin-bottom: 32px;
  font-family: Georgia, serif;
  line-height: .7;
  color: var(--cream);
}
.connect-title {
  margin: 36px 0 18px;
}
.socials-outline {
  gap: 32px;
}
.socials-outline :is(button, a) {
  width: 58px;
  height: 58px;
  border: 1px solid var(--cream);
  border-radius: 50%;
}
.story-copy .socials img, .site-footer .socials img {
  filter: brightness(0) invert(96%);
}

/* 9. Sesión: seis elementos en dos filas, dentro de ocho columnas. */
.session {
  padding-block: 60px 70px;
  background:
    radial-gradient(ellipse at 105% 0%, #898ac470 0%, transparent 35%),
    radial-gradient(ellipse at 0% 100%, #898ac490 0%, transparent 50%),
    linear-gradient(var(--white), var(--cream));
}
.session .section-heading {
  margin-bottom:48px;
}
.session-grid {
  row-gap: 40px;
}
.session-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.session-grid .session-title {
  font-size: var(--text-h4); /* misma apariencia del H4 anterior, con jerarquía semántica H3 */
  font-family: var(--font-body);
  font-weight: 600;
}
.session-grid img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 16px 0 28px;
}
.session-grid p {
  max-width: 260px;
  line-height: var(--leading-body);
}

/* 10. Acordeón nativo: funciona con ratón, teclado y sin JavaScript. */
.faq {
  padding-block: 40px 40px;
  background: #f1e7da;
}
.faq h2 {
  margin-bottom: 36px;
  text-align: center;
}
.faq-item {
  border-bottom: 1px solid rgb(59 60 147 / 22%);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding-block: 18px;
  list-style: none;
  cursor: pointer;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover > span:first-child {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.faq-symbol {
  flex: 0 0 28px;
  width: 28px;
  text-align: center;
  line-height: 1;
}
.faq-symbol::before {
  content: '+';
}
.faq-item[open] .faq-symbol::before {
  content: '−';
}
.faq-item > p {
  padding: 0 52px 24px 0;
  line-height: 1.5;
  text-align: left;

}

/* 11. Cierre y pie. */
.closing {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 396px;
  padding-block: 40px;
  text-align: center;
}
.closing > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.closing-copy {
  width: var(--content-width);
  margin-inline: auto;
}
.closing-copy p {
  margin-block: 20px 32px;
}
.calendar-icon {
  flex-shrink: 0;
}
.site-footer {
  padding: 40px 0 24px;
  background: var(--purple);
  color: var(--cream);
}
.site-footer .container { width: calc(100% - clamp(3rem, 10.42vw, 12.5rem)); }
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.site-footer .brand span {
  letter-spacing: 3px;
}
.footer-contact {
  align-self: flex-end;
  margin-top: 0;
  text-align: right;
}
.footer-contact .socials {
  justify-content: flex-end;
  gap: 32px;
  margin-bottom: 10px;
}
.footer-bottom {
  margin-top: 20px;
}
.footer-bottom p span {
  margin-left: 20px;
}
dialog {
  max-width: min(480px, calc(100% - 32px));
  border: 0;
  border-radius: 16px;
  padding: 32px;
  background: var(--white);
  color: var(--purple);
}
dialog::backdrop {
  background: #1115;
}
dialog p {
  margin-block: 20px;
}
dialog form {
  text-align: right;
}
.noscript-note {
  padding: 20px;
  background: var(--white);
}

/* Cuadernillos: layout base */
.workbooks {
  background: var(--purple);
  color: var(--cream);
}

.workbooks-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 4.5rem;
}
.workbook-card {
  grid-column: 3 / span 4;
  --workbook-item-width: 86%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-items: stretch;
  text-align: left;
}
.workbook-card:nth-child(even) { grid-column: 8 / span 4; }
/* Portada, copy y CTA comparten ancho y alineación. */
.workbook-card > img,
.workbook-card > h3,
.workbook-card > p,
.workbook-card > .button {
  width: var(--workbook-item-width);
  max-width: 19rem;
  margin-inline: auto;
}
.workbook-card > img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.workbook-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: .5rem;
}
.workbook-card p { margin-block: 0; }
.workbook-card .workbook-price { margin-top: .5rem; margin-bottom: 1rem; }
.workbook-card .button {
  align-self: center;
  text-transform: uppercase;
  white-space: normal;
}


/* 12. RESPONSIVE
   Navbar horizontal: desde 900px. Menú vertical: menos de 900px.
   Ajustes de contenido tablet: hasta 1200px; móvil: hasta 600px.
   Los tamaños se expresan en rem (1rem ~ 16px con tamaño base normal). */
@media (max-width: 75rem) {
  :root {
    --text-h1: 3.25rem;
    --text-h2: 2.5rem;
    --text-brand-footer: 2.125rem;
    --page-width: calc(100vw - 3rem);
    --content-width: min(52rem, calc(100vw - 3rem));
    --wide-width: calc(100% - 3rem);
    --page-inset: 1.5rem;
    --gutter: 1.5rem;
    --header-height: 5rem;
  }
  /* Cuadernillos: dos tarjetas por fila */
  .workbook-card { grid-column: 2 / span 5; }
  .workbook-card:nth-child(even) { grid-column: 7 / span 5; }
  .section { padding-block: 4rem; }
  .section-heading { margin-bottom: 3rem; }

  /* HERO: el texto conserva espacio y no queda cortado por la foto. */
  .hero { padding-top: calc(var(--header-height) + 5rem); }
  .hero-copy { grid-column: 4 / -1; }
  .hero-actions { gap: .875rem; margin-top: 2.25rem; }
  .hero-actions .button { flex: 0 1 auto; }
  .hero-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, transparent 15%, #faf7f3d9 80%);
  }
  .hero-image { z-index: -2; }

  /* LA SESIÓN: dos columnas en tablet. Identificación mantiene tres desde 900px. */
  .session-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .session-grid .session-title { min-height: 0; }

  /* DESBLOQUEO: se apila el CTA si no entra en una fila. */
  .beginning-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .beginning-content > div,
  .beginning-content .button { grid-column: 1; }
  .beginning-content .button { justify-self: start; }

  /* HISTORIA: dos columnas del mismo ancho, sin huecos entre foto y texto. */
  .story-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-first > .portrait, .story-second > .portrait {
    grid-column: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }
  .story-first > .story-copy, .story-second > .story-copy {
    grid-column: auto;
    padding-block: 2rem;
  }
  .story-row { background: var(--purple); }
  .story-copy { overflow-wrap: anywhere; }
  .story-skills { padding-left: 1.25rem; }
}

/* Portátiles (900–1200px): menú horizontal compacto y escala ajustada. */
@media (min-width: 56.25rem) and (max-width: 75rem) {
  :root {
    --text-h1: 2.875rem;
    --text-h2: 2.25rem;
    --gutter: 1.25rem;
  }
  .nav-inner { flex-wrap: nowrap; gap: .5rem; }
  .site-header nav { flex-wrap: nowrap; gap: .65rem; font-size: .9375rem; }
  .nav-contact { padding-inline: 1rem; }
  .site-header .socials { gap: 0; }
  .hero { padding-top: calc(var(--header-height) + 4rem); padding-bottom: 2rem; }
  .hero h1 { margin-bottom: 1.75rem; }
  .hero-actions { margin-top: 1.5rem; }
  .button { min-height: 3rem; padding-inline: 1rem; }
  .section-heading { margin-bottom: 2.5rem; }
}

/* Menú vertical y dos columnas en Identificación por debajo de 900px. */
@media (max-width: 56.249rem) {
  .feelings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-inner, .site-footer .container { width: var(--wide-width); }
  .hero-copy { padding-left: 0; }
  .site-header nav > a:not(.nav-contact) { margin-right: 0; }
  .nav-inner {
    position: relative;
    flex-wrap: wrap;
    min-height: 5rem;
    padding-block: .75rem;
    gap: .75rem;
  }
  .menu-toggle:not([hidden]) { display: block; margin-left: auto; }
  .site-header nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-block: .75rem;
    gap: 0;
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
  }
  .site-header nav > a { display: block; padding: .85rem 1rem; text-align: left; }
  .site-header nav > .nav-contact { margin-top: .5rem; text-align: center; }
  .site-header .socials {
    width: 100%;
    flex-basis: auto;
    justify-content: center;
    margin-top: .75rem;
  }
  .js .site-header nav:not(.is-open) { display: none; }

}

@media (max-width: 37.5rem) {
  :root {
    --text-h1: 2.375rem;
    --text-h2: 2.15rem;
    --text-h3: 1.5rem;
    --text-h4: 1.375rem;
    --text-brand: 1.5rem;
    --text-brand-footer: 2rem;
    --page-width: calc(100vw - 2rem);
    --content-width: calc(100vw - 2rem);
    --wide-width: calc(100% - 2rem);
    --page-inset: 1rem;
    --gutter: 1rem;
  }
  /* Cuadernillos: una tarjeta centrada, portada y botón del mismo ancho */
  .workbooks-grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .workbook-card, .workbook-card:nth-child(even) {
    grid-column: 1;
    --workbook-item-width: 100%;
    width: min(100%, 18rem);
    margin-inline: auto;
  }
  .section { padding-block: 3rem; }
  .section-heading, .identification .section-heading,
  .story .section-heading { margin-bottom: 2.5rem; }
  .nav-inner { column-gap: .5rem; }
  .menu-toggle { padding-inline: .625rem; }
  .button { padding-inline: .625rem; gap: .5rem; white-space: normal; }

  /* HERO: una columna y fondo suavizado para legibilidad. */
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--header-height) + 3rem); }
  .hero-copy { grid-column: 1; }
  .hero h1 { margin-block: 1.375rem 2rem; }
  .hero-image { object-position: 30% top; }
  .hero-wrap::after { background: linear-gradient(#faf7f355, #faf7f3e8 45%, #faf7f3c9); }
  .hero-actions { flex-direction: column; align-items: flex-start; max-width: 100%; }
  .hero-actions .button { max-width: 100%; }

  .feelings, .session-grid { grid-template-columns: 1fr; gap: 3rem; }

  /* HISTORIA: foto y texto apilados. */
  .story-row { display: flex; flex-direction: column; padding: 0; }
  .story-row > .portrait {
    width: 100%;
    height: auto;
    max-height: 37.5rem;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }
  .story-first > .story-copy { padding: 2.25rem 1.5rem; }
  .story-second > .story-copy { padding-block: 2.25rem; }
  .story-second > .portrait { order: -1; }
  .socials-outline { gap: 1rem; }
  .session-grid img { width: 3.5rem; height: 3.5rem; }
  .faq-item summary { gap: 1rem; }
  .faq-item > p { padding-right: .75rem; }
  .footer-top { flex-direction: column; gap: 1rem; }
  .footer-contact { align-self: flex-start; margin-top: 1rem; text-align: left; }
  .footer-contact .socials { justify-content: flex-start; gap: 1rem; }
  .footer-bottom { margin-top: 2rem; }
  .footer-bottom p span { display: block; margin: .5rem 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 15. ESCRITORIOS GRANDES (>= 1600px): ajuste de proporciones.
   El diseño entre 1201 y 1599px, incluido 1440px, sigue idéntico. */
@media (min-width: 100rem) {
  :root {
    --text-h1: 3.5rem;  /* 56px; antes 66px */
    --text-h2: 2.25rem; /* 36px; antes 40px */
    --gutter: 2rem;     /* 32px; antes 40px */
  }
  .hero { padding-top: 11.5rem; padding-bottom: 2.5rem; }
  .hero h1 { margin-bottom: 1.75rem; }
  .hero-actions { margin-top: 2.25rem; }
  .button { min-height: 3rem; padding-inline: 1.25rem; }
  .nav-contact { padding-inline: 1.25rem; }
  .section-heading { margin-bottom: 3.5rem; }
}
