/* ═══════════════════════════════════════════════════
   Psicóloga Mariana Ugalde — hoja de estilos
   Paleta y tipografía según DESIGN.MD
   ═══════════════════════════════════════════════════ */

:root {
  /* Marca */
  --black: #0d0d0d;
  --black-soft: #1a1a1a;
  --gold: #d4af37;
  --gold-light: #e8c86a;
  --gold-dark: #a67c00;

  /* Neutros */
  --white: #ffffff;
  --cream: #f7f3eb;
  --gray-100: #e8e8e8;
  --gray-500: #8a8a8a;
  --gray-700: #4a4a4a;

  /* Texto */
  --text: #1c1c1c;
  --text-muted: #6d6d6d;

  /* WhatsApp */
  --wa: #25d366;
  --wa-dark: #1da851;

  /* Radios */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-hover: 0 18px 44px rgba(0, 0, 0, .10);
  --shadow-gold: 0 12px 30px rgba(212, 175, 55, .18);

  /* Layout */
  --container: 1120px;
  --section-y: 120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--black);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.15rem, 4.4vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.015em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ── Layout ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section__head h2 { margin-top: 18px; }
.section__lead { margin-top: 22px; color: var(--text-muted); font-size: 1.05rem; }

/* ── Elementos de marca ────────────────────────── */
.badge {
  display: inline-block;
  background: var(--cream);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 8px 18px;
  border-radius: var(--r-pill);
}
.section--white .badge { background: var(--cream); }

/* Línea dorada bajo los títulos */
.rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: var(--r-pill);
  margin: 22px auto 0;
}
.section__head .rule { margin-inline: auto; }
.about__content .rule,
.contact__info .rule { margin-inline: 0; }

.check {
  width: 18px; height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
}
.check::after {
  content: '';
  position: absolute;
  left: 6px; top: 4px;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.icon {
  width: 56px; height: 56px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
}
.icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 44px; height: 44px; }
.icon--sm svg { width: 20px; height: 20px; }
.section--white .icon { background: var(--cream); }

/* ── Botones ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  min-height: 52px;
  border: none;
  border-radius: var(--r-pill);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .3s var(--ease);
  text-align: center;
}

.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gold);
}
.btn--ghost:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, .25);
}

.btn--lg { padding: 19px 44px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.ico-wa { width: 19px; height: 19px; fill: currentColor; flex: none; }
.ico-pin {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── Header ────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  /* Sólido en el tope: así el fondo del header es exactamente el mismo crema
     que la página y no se ve costura ni banda en el borde superior. */
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  /* Al hacer scroll el header pasa sobre el contenido: ahí sí conviene el
     efecto esmerilado translúcido. */
  background: rgba(247, 243, 235, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--gray-100);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .04);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark { width: 34px; height: 34px; flex: none; object-fit: contain; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--black);
}
.logo__role {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--gold-dark);
}

.nav { display: flex; gap: 30px; }
.nav a {
  font-size: .84rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--black); }
.nav a:hover::after { width: 100%; }

.header__cta { padding: 12px 24px; min-height: 44px; font-size: .82rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 22px; height: 1.8px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────── */
.hero { padding-block: 132px 88px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-top: 20px; }
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.lead {
  margin-top: 26px;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gray-700);
  max-width: 30em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { margin-top: 16px; font-size: .84rem; color: var(--gray-500); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-100);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--gray-700);
}

.hero__figure { position: relative; }
.hero__figure img {
  position: relative;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  aspect-ratio: 13 / 16;
  object-fit: cover;
}
.hero__blob {
  position: absolute;
  inset: -26px -26px auto auto;
  width: 72%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, .32), rgba(212, 175, 55, 0) 68%);
  border-radius: 50%;
  filter: blur(6px);
}

/* ── Grids y tarjetas ──────────────────────────── */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 34px 32px;
  box-shadow: 0 10px 40px rgba(28, 28, 28, .04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card h3 { margin: 20px 0 10px; }
.card p { font-size: .92rem; color: var(--text-muted); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 175, 55, .45);
}
.section--white .card { background: var(--cream); border-color: transparent; }
.section--white .card .icon { background: var(--white); }

.card--link { display: block; cursor: pointer; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold-dark);
  opacity: 0;
  transform: translateY(-4px);
  transition: all .3s var(--ease);
}
.card--link:hover .card__link { opacity: 1; transform: translateY(0); }

/* ── Sobre mí ──────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about__figure img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
}
.about__content h2 { margin-top: 18px; }
.about__content p { margin-top: 20px; }

.list-check { margin-top: 30px; display: grid; gap: 13px; }
.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--gray-700);
}
.list-check li::before {
  content: '';
  flex: none;
  width: 18px; height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--gold);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.about__content .btn { margin-top: 34px; }

/* ── Beneficios ────────────────────────────────── */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 56px;
}
.benefits li { display: flex; gap: 20px; align-items: flex-start; }
.benefits h3 { font-size: 1.15rem; margin-bottom: 7px; }
.benefits p { font-size: .92rem; color: var(--text-muted); }

/* ── Filas (cómo es una sesión) ────────────────── */
.rows { display: grid; gap: 20px; }
.row {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 34px 38px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.row:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.row h3 { margin-bottom: 9px; }
.row p { font-size: .95rem; color: var(--text-muted); max-width: 68ch; }
.section--white .row .icon { background: var(--white); }

/* ── Franjas de CTA ────────────────────────────── */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 34px;
  margin-top: 68px;
  padding: 34px 40px;
  background: var(--cream);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  text-align: center;
}
.section--white .cta-strip { background: var(--cream); border-color: transparent; }
.cta-strip p { font-size: 1rem; color: var(--gray-700); }
.cta-strip strong { color: var(--black); font-weight: 600; }

/* ── Banner negro ──────────────────────────────── */
.banner {
  background: var(--black);
  padding-block: 96px;
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  inset: auto auto -40% 50%;
  transform: translateX(-50%);
  width: 700px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(212, 175, 55, .13), transparent 66%);
  pointer-events: none;
}
.banner__inner { position: relative; text-align: center; }
.banner h2 { color: var(--white); }
.banner p { color: rgba(255, 255, 255, .68); margin-top: 18px; }
.banner .btn { margin-top: 34px; }
.banner__note { font-size: .84rem; color: rgba(255, 255, 255, .45); margin-top: 18px; }

/* ── FAQ ───────────────────────────────────────── */
.faq { display: grid; gap: 14px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq__item.is-open { border-color: rgba(212, 175, 55, .45); box-shadow: var(--shadow-soft); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
}
.faq__plus {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
  transition: transform .35s var(--ease);
}
.faq__plus::before, .faq__plus::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 1.8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateY(-50%);
}
.faq__plus::after { transform: translateY(-50%) rotate(90deg); transition: opacity .3s; }
.faq__item.is-open .faq__plus { transform: rotate(180deg); }
.faq__item.is-open .faq__plus::after { opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > p {
  overflow: hidden;
  padding-inline: 28px;
  font-size: .95rem;
  color: var(--text-muted);
}
.faq__item.is-open .faq__a > p { padding-bottom: 26px; }

/* ── Contacto ──────────────────────────────────── */
/* Sin formulario: la acción es una sola (WhatsApp) y los datos quedan
   como referencia, en una retícula centrada. */

.contact__cta { text-align: center; margin-bottom: 64px; }
.contact__cta-note {
  margin-top: 16px;
  font-size: .84rem;
  color: var(--gray-500);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 860px;
  margin-inline: auto;
}
.contact__grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 34px 24px;
  background: var(--cream);
  border-radius: var(--r-lg);
  font-size: .9rem;
  color: var(--gray-700);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.contact__grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.contact__grid .icon { margin-bottom: 12px; }
.section--white .contact__grid .icon { background: var(--white); }

.contact__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--gold-dark);
}
.contact__grid a { transition: color .25s; }
.contact__grid a:hover { color: var(--gold-dark); }

.contact__maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.contact__maps:hover { gap: 10px; }

.contact__modalidad {
  margin-top: 34px;
  text-align: center;
  font-size: .92rem;
  color: var(--text-muted);
}

.map {
  margin-top: 40px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .45);
  aspect-ratio: 21 / 8;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }


/* ── Footer ────────────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, .62);
  padding-block: 84px 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer .logo__name { color: var(--white); }
.footer__brand p { margin-top: 18px; font-size: .88rem; line-height: 1.8; }

.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  transition: all .3s var(--ease);
}
.footer__social svg { width: 17px; height: 17px; fill: var(--gold); }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); }
.footer__social a:hover svg { fill: #fff; }

.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 8px;
}
.footer__col a { font-size: .87rem; transition: color .25s; }
.footer__col a:hover { color: var(--gold); }
.footer__cta p { font-size: .87rem; margin-bottom: 6px; }
.footer__cta .btn { align-self: flex-start; padding: 13px 26px; min-height: 46px; font-size: .82rem; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
  color: rgba(255, 255, 255, .38);
}
.footer__legal a:hover { color: var(--gold); }

/* ── Botón flotante ────────────────────────────── */
.fab {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0;
  height: 58px;
  padding: 0 19px;
  background: var(--wa);
  color: #fff;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, gap .4s var(--ease);
}
.fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab svg { width: 27px; height: 27px; fill: currentColor; flex: none; }
.fab__text {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: .88rem;
  font-weight: 600;
  transition: max-width .45s var(--ease);
}
.fab.is-expanded { gap: 10px; }
.fab.is-expanded .fab__text { max-width: 120px; }
.fab:hover { gap: 10px; transform: scale(1.04); }
.fab:hover .fab__text { max-width: 120px; }

/* ── Animación de entrada ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ── Fotos de muestra ──────────────────────────────
   Las imágenes actuales son de Unsplash y tienen dominante fría, que choca con
   la paleta marfil y dorada. Este filtro las entibia para que la maqueta se
   pueda valorar. AL SUBIR LAS FOTOS REALES DE MARIANA, quitar la clase
   is-placeholder del <img> en index.html y borrar este bloque. */
.is-placeholder {
  filter: sepia(.22) saturate(.88) hue-rotate(-8deg) brightness(1.03) contrast(.97);
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ═══ Responsive ═══════════════════════════════ */

@media (max-width: 1024px) {
  :root { --section-y: 92px; }
  .hero { padding-block: 122px 80px; }
  .hero__grid { gap: 44px; }
  .about { gap: 44px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { gap: 30px 40px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .map { aspect-ratio: 16 / 9; }
  /* El botón flotante se encima sobre la línea legal al llegar al final */
  .footer__legal { padding-bottom: 88px; }
}

/* Por debajo de 900px las dos columnas del hero y de "Sobre mí" ya no caben:
   se apilan y las imágenes se centran, porque alineadas a la izquierda
   dejaban un hueco muerto a la derecha. */
@media (max-width: 900px) {
  .hero__grid, .about { grid-template-columns: 1fr; gap: 48px; }
  .hero__figure, .about__figure { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero__blob { inset: -20px -14px auto auto; width: 60%; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 78px 0 auto;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--gray-100);
    padding: 8px 24px 26px;
    /* Cerrado: oculto por completo. Antes se usaba translateY(-120%), pero eso
       no bastaba para sacarlo del viewport y su borde inferior + la sombra se
       asomaban sobre el header (una banda de ~13px arriba). visibility:hidden
       lo saca del pintado, así que ni el fondo ni la sombra dejan residuo. */
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease), opacity .3s ease, visibility .3s;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .06);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--gray-100); font-size: .95rem; }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }

  .burger { display: flex; }
  .header__cta { display: none; }

  .benefits { grid-template-columns: 1fr; gap: 26px; }
  .row { flex-direction: column; gap: 16px; padding: 28px 26px; }
  .cta-strip { flex-direction: column; padding: 30px 26px; margin-top: 48px; }
  .cta-strip .btn { width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .contact__cta .btn { width: 100%; }
}

@media (max-width: 640px) {
  :root { --section-y: 72px; }
  body { font-size: 15px; }
  .container { padding-inline: 20px; }
  .hero { padding-block: 122px 68px; }
  .section__head { margin-bottom: 44px; }
  .grid--3 { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 28px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__legal { flex-direction: column; text-align: center; }
  .fab { right: 16px; bottom: 16px; height: 54px; }
  .banner { padding-block: 72px; }
}

/* ── Accesibilidad ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .fab, .cta-strip, .banner { display: none; }
}
