/* =========================================================
   Rocío Gironés Psicóloga · Versión 11 (Versión 10 con bloque oscuro y pie a todo el ancho)
   Idea: la misma calma de la versión 2, con detalles invisibles que se notan
   en conjunto: curvas propias, pulsación de botones, revelados con clip-path,
   pestañas con transición de color perfecta y respuestas que se despliegan.
   Índice: 1 fuentes · 2 tokens · 3 base · 4 botones · 5 cabecera · 6 portada
   7 frase · 8 servicios · 9 sobre mí · 10 especialidades (cajas de la v2) · 11 metodología (v2)
   12 modalidades · 13 contacto · 14 FAQ · 15 pie · 16 páginas legales · 17 movimiento
   ========================================================= */

/* 1 · Fuentes libres (SIL OFL) alojadas en la web. Las de marca solo viven en el logotipo. */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic-var.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

/* 2 · Tokens */
:root {
  --paper: #FAF7F2;
  --paper-2: #F3EEE6;
  --white: #FFFFFF;
  --mint-50: #EEF7F1;
  --mint-100: #C5E4D1;
  --mint-300: #9DD5C1;
  --sage: #6BAE93;
  --sage-ink: #3D7A62;
  --ink: #302D38;
  --ink-2: #4A4652;
  --taupe: #605C59;
  --stone: #C6BDB3;
  --line: rgba(48, 45, 56, .11);
  --line-2: rgba(48, 45, 56, .2);

  --f-display: "Outfit", "Jost", system-ui, sans-serif;
  --f-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-em: "Fraunces", Georgia, serif;

  /* curvas fuertes: las de serie se quedan cortas */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 1px rgba(48,45,56,.03), 0 2px 4px rgba(48,45,56,.03), 0 12px 32px -14px rgba(48,45,56,.16);
  --header-h: 72px;
}

/* 3 · Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: clamp(16px, 1vw + 11px, 18px); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 300; text-wrap: balance; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mint-100); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(900px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; z-index: 200; }
.skip:focus { left: 16px; }

.eyebrow { font: 500 .74rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 1.1rem; }
.eyebrow-light { color: var(--mint-300); }
.h2 { font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.015em; }
.h2 em, .hero-title em, .manifesto-text em, .footer-claim em { font-family: var(--f-em); font-style: italic; font-weight: 300; color: var(--sage-ink); letter-spacing: -.02em; }
.h3 { font-family: var(--f-body); font-weight: 400; font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.2; }
.section { padding-block: clamp(80px, 10vw, 136px); position: relative; }
.section[id] { scroll-margin-top: calc(28px - clamp(80px, 10vw, 136px)); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-lead { color: var(--taupe); font-size: 1.05em; max-width: 54ch; margin: 1rem 0 0; }
.center .section-lead { margin-inline: auto; }

/* 4 · Botones: respuesta inmediata al pulsar */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.5em; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font: 500 .95rem/1.1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  user-select: none; touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.btn .arrow { display: inline-block; transition: transform 200ms var(--ease-out); }
.btn-ink { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn-line { --bd: var(--line-2); }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover { --bg: #24222b; }
  .btn-line:hover { --bg: rgba(48,45,56,.05); --bd: var(--ink); }
  .btn:hover .arrow { transform: translateX(3px); }
}
.btn-sm { min-height: 42px; padding: .6em 1.2em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-label { display: inline-block; transition: filter 200ms ease, opacity 200ms ease; }
.btn.is-busy .btn-label { filter: blur(2px); opacity: .7; }
.link { color: var(--sage-ink); font-weight: 500; text-decoration: none; display: inline-flex; gap: .35em; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* 5 · Cabecera */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(250,247,242,0); box-shadow: 0 1px 0 rgba(48,45,56,0);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.site-header.scrolled { background: rgba(250,247,242,.88); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand img { height: 34px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 99px; text-decoration: none; font-size: .93rem; color: var(--ink-2); transition: color 160ms ease, background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); background: rgba(48,45,56,.05); } }
.nav a.active { color: var(--ink); background: rgba(48,45,56,.06); }
.nav-cta-mobile { display: none; }
.menu-toggle { display: none; }
.push-right { margin-left: auto; }

@media (max-width: 1023px) {
  .header-cta { display: none; }
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer;
    transition: transform 160ms var(--ease-out);
  }
  .menu-toggle:active { transform: scale(.94); }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 240ms var(--ease-out); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 12px auto; margin: 0;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
    padding: 10px; transform-origin: top right;
    opacity: 0; transform: scale(.96) translateY(-6px); visibility: hidden; pointer-events: none;
    transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 0s linear 220ms;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 0s; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 14px 14px; font-size: 1.05rem; border-radius: 12px; }
  .nav-cta-mobile { display: block; margin-top: 6px; }
  .nav-cta-mobile .btn { width: 100%; color: var(--paper); }
}

/* 6 · Portada */
.hero { padding: calc(var(--header-h) + clamp(28px, 6vw, 72px)) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero-title { font-family: var(--f-display); font-weight: 200; font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 1.6rem; }
.hero-title .line { display: block; }
.hero-lead { color: var(--ink-2); font-size: 1.08em; max-width: 50ch; }
.hero-lead strong { font-weight: 500; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2.4rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.hero-facts div { padding-right: clamp(18px, 3vw, 36px); margin-right: clamp(18px, 3vw, 36px); border-right: 1px solid var(--line); }
.hero-facts div:last-child { border: 0; margin: 0; padding: 0; }
.hero-facts dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.hero-facts dd { margin: 2px 0 0; font-family: var(--f-display); font-size: 1.25rem; font-weight: 400; }
.hero-visual { margin: 0; position: relative; }
.portrait { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .portrait { max-width: 520px; margin-left: auto; }
.hero-caption {
  position: absolute; left: 0; bottom: 28px; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--shadow); font-size: .9rem;
}
.hero-caption img { width: 40px; height: 40px; }
.hero-caption strong { display: block; font-weight: 500; }
.hero-caption span { color: var(--taupe); line-height: 1.35; }
@media (max-width: 899px) { .hero-caption { left: 12px; bottom: 12px; } .hero-visual .portrait { margin: 0 auto; } }

/* 7 · Frase */
.manifesto { padding: clamp(56px, 8vw, 100px) 0; border-block: 1px solid var(--line); background: var(--white); }
.manifesto-text { font-family: var(--f-display); font-weight: 200; font-size: clamp(1.8rem, 4.2vw, 3.2rem); line-height: 1.15; text-align: center; letter-spacing: -.02em; margin: 0; text-wrap: balance; }

/* 8 · Servicios */
.services { display: grid; gap: 20px; }
@media (min-width: 860px) { .services { grid-template-columns: 1fr 1fr; gap: 24px; } }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 4px; }
.service-family { background: var(--mint-50); border-color: rgba(107,174,147,.25); }
.service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.price { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 1.1rem; white-space: nowrap; color: var(--ink-2); }
.price span { font-size: clamp(2.2rem, 3.4vw, 2.8rem); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price small { display: block; text-align: right; font-family: var(--f-body); font-size: .78rem; color: var(--taupe); }
.service > p { color: var(--ink-2); }
.service .btn { margin-top: auto; }
.note { font-size: .95rem; background: rgba(255,255,255,.7); border-radius: var(--r-sm); padding: 14px 16px; }
.note strong { font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 1.6px solid var(--sage-ink); border-bottom: 1.6px solid var(--sage-ink); transform: rotate(-45deg); }

/* 9 · Sobre mí */
.about { background: var(--white); border-block: 1px solid var(--line); }
.about-grid { display: grid; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 960px) { .about-grid { grid-template-columns: .82fr 1.18fr; } .about-visual { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; } }
.about-visual { margin: 0; }
.portrait-soft { max-width: 460px; }
.about-pull { margin: 22px 0 0; font-family: var(--f-em); font-style: italic; font-weight: 300; font-size: 1.2rem; line-height: 1.45; color: var(--ink-2); max-width: 30ch; }
.cred { color: var(--sage-ink); font-weight: 500; font-size: .95rem; margin: 1rem 0 1.6rem; }
.prose p { color: var(--ink-2); }
.perspective { margin: 2rem 0; padding: 0 0 0 22px; border-left: 2px solid var(--mint-300); font-size: 1.04em; line-height: 1.6; color: var(--ink); }
.stats { display: grid; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats div { background: var(--white); padding: 18px 20px; }
.stats dt { font-family: var(--f-display); font-size: 1.3rem; font-weight: 400; }
.stats dd { margin: 0; color: var(--taupe); font-size: .9rem; }

/* 10 · Especialidades: las cajas de la versión 2, con el detalle de esta versión
   (hover solo con ratón y en 200 ms, sin elevación exagerada) */
.specialties { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 620px) { .specialties { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .specialties { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.spec {
  padding: 26px 24px 28px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line);
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .spec:hover { background: var(--mint-50); border-color: var(--mint-100); transform: translateY(-2px); }
}
/* texto interior con el estilo de la 3C: número pequeño, poca distancia hasta el título */
.spec-n { display: block; font-family: var(--f-display); font-size: .85rem; color: var(--sage-ink); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.spec h3 { font-family: var(--f-body); font-weight: 400; font-size: 1.16rem; line-height: 1.3; margin: 0 0 8px; text-wrap: balance; }
.spec p { margin: 0; color: var(--taupe); font-size: .94rem; }
/* cierre: si lo que te pasa no está en las cajas, también hay sitio */
.spec-more {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin-top: 16px; padding: 22px 24px; border-radius: var(--r-md);
  border: 1px dashed var(--line-2); background: transparent;
}
/* 11C-1B: con el mismo peso que el texto de las cajas, no mayor (Javi 29/10/2026) */
.spec-more p { margin: 0; max-width: 62ch; color: var(--taupe); font-size: .94rem; }
.spec-more strong { display: block; font-family: var(--f-body); font-weight: 500; font-size: 1rem; color: var(--ink-2); margin-bottom: 2px; }

/* 11 · Metodología: capítulo oscuro con rejilla de filetes */
/* a todo el ancho y con corte recto, como el resto de cambios de sección */
.method { background: var(--ink); color: var(--paper); overflow: hidden; }
.method .h2 em { color: var(--mint-300); }
.method .section-lead { color: rgba(250,247,242,.72); margin-top: 1.1rem; }
.methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(250,247,242,.1); border: 1px solid rgba(250,247,242,.1); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 700px) { .methods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .methods { grid-template-columns: repeat(3, 1fr); } }
.m { position: relative; background: var(--ink); padding: clamp(26px, 3vw, 38px); }
/* un filete menta que se dibuja una sola vez al entrar: es el único gesto de la sección */
.m::before {
  content: ""; position: absolute; top: -1px; left: clamp(26px, 3vw, 38px); width: 40px; height: 2px;
  background: var(--mint-300); transform-origin: left;
}
.m-n { display: block; font-family: var(--f-display); font-size: .85rem; color: var(--mint-300); font-variant-numeric: tabular-nums; margin-bottom: 1.4rem; }
.m h3 { font-family: var(--f-body); font-weight: 400; font-size: 1.24rem; margin: 0 0 .5rem; }
.m p { margin: 0; color: rgba(250,247,242,.72); font-size: .96rem; }

/* 12 · Modalidades: presencial y online a la vez, en dos columnas (sin pestañas) */
.modes { display: grid; gap: 24px; }
@media (min-width: 860px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode { grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; }
.mode[hidden] { display: none; }
/* Proporción en la propia imagen: evita que Safari móvil la recorte */
.mode-photo { overflow: hidden; background: var(--paper-2); line-height: 0; }
.mode-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
#online .mode-photo img { object-position: 50% 22%; }
.mode-body { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; }
.mode-body > p { color: var(--ink-2); }
.mode-tag { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-ink); font-weight: 500; margin-bottom: .6rem; }
.mode-body .h3 { margin-bottom: .8rem; }
.mode-body .btn { margin-top: auto; }
.mode-body .link { align-self: flex-start; }
/* Mapa: imagen fija con enlace a Google Maps (sin iframe ni cookies de terceros) */
.map { display: block; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 1rem; line-height: 0; }
.map img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease-out); }
@media (min-width: 860px) { .map img { aspect-ratio: 16 / 9; } }
.map:focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 3px; }
@media (hover: hover) { .map:hover img { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .map img { transition: none; } }

/* 13 · Contacto */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.05fr; } }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 2.2rem; }
.nap { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.nap li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.nap span { color: var(--taupe); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding-top: .25em; }
.nap a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
@media (max-width: 420px) { .nap li { grid-template-columns: 1fr; gap: 2px; } }
.form { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, legend { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 7px; padding: 0; }
label small, legend small { font-weight: 400; color: var(--taupe); }
input, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
input:focus, textarea:focus { outline: none; border-color: var(--sage-ink); box-shadow: 0 0 0 4px rgba(107,174,147,.18); background: var(--white); }
input[aria-invalid="true"] { border-color: #A3473B; box-shadow: 0 0 0 4px rgba(163,71,59,.1); }
textarea { resize: vertical; min-height: 96px; }
.hint { font-size: .85rem; color: var(--taupe); margin: 6px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0; cursor: pointer; position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 400; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color 160ms ease; }
.chip:active span { transform: scale(.97); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span::before { background: var(--mint-300); border-color: var(--mint-300); }
.chip input:focus-visible + span { outline: 2px solid var(--sage-ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; margin: 6px 0 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--sage-ink); }
.legal-layer { font-size: .78rem; color: var(--taupe); line-height: 1.5; margin-bottom: 18px; }
.form-status { margin: 14px 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status:empty { display: none; }
.form-status.ok, .form-status.err { padding: 12px 14px; border-radius: 12px; animation: status-in 260ms var(--ease-out); }
.form-status.ok { background: var(--mint-50); color: var(--sage-ink); }
.form-status.err { background: #FBEDEA; color: #8A3A30; }
@keyframes status-in { from { opacity: 0; transform: translateY(-4px); } }

/* 14 · FAQ: las respuestas se despliegan (interpolate-size), y si el navegador no sabe, se abren sin más */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq .section-head { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; } }
.faq-list { border-top: 1px solid var(--line-2); interpolate-size: allow-keywords; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: 1.08rem; font-weight: 400; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.4px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.4px 10px no-repeat;
  transition: transform 240ms var(--ease-out), background-size 240ms var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(180deg); background-size: 10px 1.4px, 1.4px 0; }
.faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-a { padding: 0 48px 22px 0; color: var(--ink-2); }
.faq-a p:last-child { margin: 0; }

/* 15 · Pie oscuro, a todo el ancho y con corte recto como el resto de secciones */
.site-footer { background: var(--ink); color: var(--stone); padding: clamp(64px, 9vw, 110px) 0 28px; font-size: .95rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: end; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid rgba(250,247,242,.12); }
.footer-claim { font-family: var(--f-display); font-weight: 200; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.05; margin: 0; color: var(--paper); letter-spacing: -.02em; max-width: 14ch; }
.site-footer .footer-claim em { color: var(--mint-300); }
.site-footer .btn-ink { --bg: var(--mint-300); --fg: var(--ink); --bd: var(--mint-300); }
@media (hover: hover) and (pointer: fine) { .site-footer .btn-ink:hover { --bg: var(--paper); --bd: var(--paper); } }
.footer-grid { display: grid; gap: 32px; padding: 48px 0; font-size: .92rem; line-height: 1.8; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-grid strong { display: block; color: var(--paper); font-weight: 500; margin-bottom: 6px; }
.footer-grid address { font-style: normal; }
.footer-grid a { text-decoration: none; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer-grid a:hover { color: var(--mint-300); } }
/* el logotipo original, en blanco sobre el fondo oscuro (mismo tratamiento que la versión 2) */
.footer-logo { height: 36px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .92; }
.urgent { font-size: .86rem; padding: 14px 18px; border-radius: var(--r-sm); background: rgba(250,247,242,.07); }
.urgent a { color: var(--mint-300); font-weight: 500; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .82rem; color: var(--stone); }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { text-decoration: none; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer-bottom a:hover { color: var(--paper); } }
mark.pending { background: var(--paper-2); color: var(--ink); padding: 1px 8px; border-radius: 6px; border: 1px dashed var(--stone); }

.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-ink); color: #fff; box-shadow: 0 14px 30px -10px rgba(48,45,56,.5);
  /* oculto: baja su altura más toda la distancia al borde (incluida la zona segura del iPhone),
     para que no asome cortado; además invisible y sin recibir toques mientras no se muestra */
  transform: translateY(calc(100% + 18px + env(safe-area-inset-bottom) + 24px)); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 320ms var(--ease-drawer), opacity 200ms ease, visibility 0s 320ms;
}
.wa-float.show { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform 320ms var(--ease-drawer), opacity 200ms ease, visibility 0s; }
.wa-float:active { transform: scale(.95); transition-duration: 120ms; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
/* en móvil el pie deja hueco abajo para que el botón no tape el copyright ni los enlaces legales */
@media (max-width: 720px) { body:has(.wa-float) .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }

/* 16 · Páginas legales */
.legal-page { padding: calc(var(--header-h) + 48px) 0 80px; }
.legal-page .site-header { background: rgba(250,247,242,.92); box-shadow: 0 1px 0 var(--line); }
.legal { width: min(760px, 100% - 32px); margin-inline: auto; }
.legal h1 { font-family: var(--f-display); font-weight: 200; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: .5rem; }
.legal .updated { color: var(--taupe); font-size: .9rem; margin-bottom: 2.5rem; }
.legal h2 { font-family: var(--f-body); font-weight: 400; font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.back { display: inline-block; margin-bottom: 2rem; color: var(--sage-ink); text-decoration: none; font-weight: 500; }
.legal-page { padding-bottom: 0; }
.legal-page .site-footer { margin-top: 80px; padding-top: 8px; }

/* 17 · Movimiento
   Entrada de portada: una vez, escalonada 70 ms, con un desenfoque mínimo que funde los estados.
   Al hacer scroll: 12 px y 600 ms, escalonado 50 ms dentro de cada grupo. Imágenes: recorte de abajo arriba. */
.js .intro { opacity: 0; transform: translateY(14px); filter: blur(4px); animation: intro 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
@keyframes intro { to { opacity: 1; transform: none; filter: none; } }
.js .clip-in { clip-path: inset(0 0 100% 0 round var(--r-lg)); }
.js .hero .clip-in { animation: clip 1100ms var(--ease-in-out) 120ms forwards; }
.js .clip-in.in { animation: clip 1000ms var(--ease-in-out) forwards; }
.clip-in img { transform-origin: 50% 40%; }
.js .clip-in img { transform: scale(1.06); transition: transform 1400ms var(--ease-out); }
.js .hero .clip-in img, .js .clip-in.in img { transform: none; }
@keyframes clip { to { clip-path: inset(0 0 0 0 round var(--r-lg)); } }
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
/* Metodología: la rejilla y sus filetes ya están; entra el contenido de cada celda
   (8 px, 500 ms, 50 ms entre celdas) y el filete menta se dibuja 120 ms después */
.js .m.reveal { opacity: 1; transform: none; }
.js .m.reveal > * { opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .m.reveal.in > * { opacity: 1; transform: none; }
.js .m.reveal::before { transform: scaleX(0); transition: transform 500ms var(--ease-out) calc(var(--d, 0ms) + 120ms); }
.js .m.reveal.in::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* menos movimiento no es cero: se mantienen fundidos breves, sin desplazamientos */
  .js .intro { transform: none; filter: none; animation: fade 300ms ease forwards; animation-delay: 0ms; }
  .js .reveal { transform: none; transition: opacity 300ms ease; transition-delay: 0ms; }
  .js .m.reveal::before { transform: none; transition: none; }
  .js .m.reveal > * { transform: none; transition: opacity 300ms ease; transition-delay: 0ms; }
  .spec { transition: background-color 200ms ease, border-color 200ms ease; }
  .spec:hover { transform: none; }
  .js .clip-in, .js .hero .clip-in, .js .clip-in.in { clip-path: none; animation: none; }
  .js .clip-in img { transform: none; transition: none; }
  .wa-float, .faq-list details::details-content { transition: none; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* V11C-1: la frase sobre menta para separar portada, frase y «Sobre mí» sin líneas grises */
.manifesto { background: var(--mint-100); border-block: 0; }
.manifesto-text { color: var(--ink); }
.manifesto-text em { color: #2F6450; }
.about { border-top: 0; }
