/* ═══════════════════════════════════════════════════════════
   Nuria y Nieves — estilos
   Paleta "caja de ceras": crema, tinta, coral, turquesa, sol, lila
   ═══════════════════════════════════════════════════════════ */

@font-face { font-family: Lora; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/lora-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Lora; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/lora-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Lora; font-weight: 600; font-style: italic; font-display: swap; src: url(/fonts/lora-latin-600-italic.woff2) format('woff2'); }
@font-face { font-family: Lora; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/lora-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/nunito-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/nunito-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/nunito-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/nunito-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/nunito-latin-800-normal.woff2) format('woff2'); }

:root {
  /* Paleta del cartel de Nuria y Nieves: papel cálido, verde salvia, rosa empolvado, arena */
  --cream: #F7F3EC;
  --cream-2: #EEE7DA;
  --paper: #FFFDF9;
  --ink: #2F3A30;
  --ink-2: #5A6457;
  --line: #E3DACB;

  --coral: #B5655D;        /* rosa empolvado (acción) */
  --coral-dark: #8F4A43;
  --coral-soft: #F4E2DD;
  --teal: #56785A;         /* verde salvia */
  --teal-dark: #3F5A42;
  --teal-soft: #E2EBDC;
  --sun: #D1A866;          /* arena */
  --sun-dark: #A6803F;
  --sun-soft: #F4EAD7;
  --lilac: #6C8E8A;        /* eucalipto */
  --lilac-soft: #DFE9E6;

  --sage: var(--teal);
  --sage-2: #8DA88B;
  --sage-soft: #E5ECDF;
  --rose: #C98E86;
  --sand: var(--sun);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(47, 58, 48, .05), 0 14px 32px -20px rgba(47, 58, 48, .32);
  --wrap: 1160px;
  --font: Nunito, ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Lora, Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-top: 1.5rem; }
.center-text { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
mark.todo { background: #FFE95C; color: #4a3b00; padding: 1px 6px; border-radius: 4px; font-weight: 700; font-size: .92em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ── Tonos reutilizables ─────────────────────────────────── */
.tone-coral { --tone: var(--coral); --tone-soft: var(--coral-soft); }
.tone-teal  { --tone: var(--teal);  --tone-soft: var(--teal-soft); }
.tone-sun   { --tone: #8E6A2B;      --tone-soft: var(--sun-soft); }
.tone-lilac { --tone: var(--lilac); --tone-soft: var(--lilac-soft); }

.kicker { font: 800 .8rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .9rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 62ch; }

/* ── Iconos ──────────────────────────────────────────────── */
.ico { display: inline-grid; place-items: center; flex: none; }
.ico svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Botones ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--font); padding: .95em 1.5em; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .7em 1.15em; font-size: .93rem; }
.btn-lg { padding: 1.05em 1.75em; font-size: 1.05rem; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--coral-dark); }
.btn-coral:hover { color: #fff; box-shadow: 0 6px 0 var(--coral-dark); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 var(--sun-dark); }
.btn-sun:hover { color: var(--ink); box-shadow: 0 6px 0 var(--sun-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.link-arrow { font-weight: 800; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: .4em; }
.link-arrow::after { content: "→"; color: var(--coral); transition: transform .15s; }
.link-arrow:hover { color: var(--coral); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ── Cabecera ────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(45,42,74,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 600 1.3rem/1 var(--display); font-style: italic; }
.brand-text small { font-size: .75rem; color: var(--ink-2); font-weight: 700; letter-spacing: .02em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .97rem; }
.nav ul a:hover { background: var(--cream-2); color: var(--ink); }
.nav ul a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--ink); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: #fff; position: relative; transition: transform .2s, opacity .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; } .bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 16px 22px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(45,42,74,.35); display: none; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .btn { width: 100%; }
}
@media (max-width: 420px) { .brand-text small { display: none; } .logo-mark { width: 42px; height: 42px; } }

/* ── Hero portada ────────────────────────────────────────── */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -180px; border-radius: 50%; background: radial-gradient(circle, var(--sun-soft) 0%, rgba(244,234,215,0) 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hl { color: var(--coral); background: linear-gradient(transparent 68%, var(--sun-soft) 68%); padding: 0 .08em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6rem 0 1.8rem; }
.center-flex { justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 10px; font-weight: 700; font-size: .92rem; }
.chips .ico { color: var(--teal); }
.hero-art { width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(45,42,74,.12)); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto -10px; }
}

/* ── Secciones ───────────────────────────────────────────── */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); }
.section-head p:last-child { color: var(--ink-2); }

/* Cabecera de páginas interiores */
.page-hero { position: relative; background: var(--tone-soft); padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.page-hero .kicker { color: var(--tone); }
.page-hero h1 { max-width: 20ch; }
.page-hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 40px; }
.page-hero .wave path { fill: var(--cream); }

/* Tarjetas */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 28px 26px 24px; box-shadow: var(--shadow); border-top: 6px solid var(--tone); transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--tone-soft); color: var(--tone); margin-bottom: 16px; font-size: 1.35rem; }
.card p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Dos columnas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); margin-top: 1px; font-size: .9rem; }
.ticks-2 { grid-template-columns: 1fr 1fr; column-gap: 24px; }
@media (max-width: 600px) { .ticks-2 { grid-template-columns: 1fr; } }

/* Profesoras */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.person { background: var(--cream); border-radius: var(--radius); padding: 22px; text-align: center; border: 2px solid var(--tone-soft); }
.section:not(.section-tint) .person { background: var(--paper); box-shadow: var(--shadow); border: 0; }
.person-photo { width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; overflow: hidden; background: var(--tone-soft); outline: 5px solid var(--tone-soft); outline-offset: 4px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: .1em; }
.person-role { color: var(--tone); font-weight: 800; font-size: .92rem; margin-bottom: .8em; }
.person p:last-child { margin-bottom: 0; color: var(--ink-2); text-align: left; }
@media (min-width: 861px) { .team-wide .person { text-align: left; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

/* Modalidades */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode { position: relative; background: var(--tone-soft); border-radius: var(--radius); padding: 34px 32px 30px; overflow: hidden; }
.mode::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; top: -60px; background: var(--tone); opacity: .1; }
.mode > .ico { width: 58px; height: 58px; border-radius: 18px; background: var(--tone); color: #fff; font-size: 1.4rem; margin-bottom: 18px; }
.mode p { color: var(--ink-2); }
.mode-where { font-weight: 800; color: var(--tone) !important; margin-top: -.3em; }
.modes-big .mode { background: var(--paper); box-shadow: var(--shadow); border-top: 6px solid var(--tone); }
.modes-big .ticks .ico { background: var(--tone-soft); color: var(--tone); }
@media (max-width: 760px) { .modes { grid-template-columns: 1fr; } }

/* Testimonios */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { margin: 0; background: var(--cream); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; border: 2px solid var(--tone-soft); }
.section:not(.section-tint) .testi { background: var(--paper); box-shadow: var(--shadow); border: 0; }
.testi .quote { width: 38px; fill: var(--tone); opacity: .85; }
.testi blockquote { margin: 0; font-size: 1.05rem; flex: 1; }
.testi figcaption { display: flex; flex-direction: column; }
.testi figcaption span { color: var(--tone); font-weight: 700; font-size: .9rem; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 48px; margin-bottom: 40px; }
.stat { text-align: center; }
.stat strong { display: block; font: 600 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display); color: var(--coral); font-variant-numeric: tabular-nums; }
.stat span { font-weight: 700; color: var(--ink-2); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 800; font-size: 1.07rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--coral-soft); color: var(--coral); font: 600 1.3rem/1 var(--font); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq-a { padding: 0 24px 20px; color: var(--ink-2); }

/* Banda CTA */
.cta-band { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; }
.cta-band::before { width: 260px; height: 260px; background: var(--coral); opacity: .22; left: -80px; bottom: -120px; }
.cta-band::after { width: 160px; height: 160px; background: var(--sun); opacity: .2; right: 8%; top: -70px; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { color: rgba(255,255,255,.82); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Índice de la página de preparación */
.toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.toc a { text-decoration: none; font-weight: 800; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .95rem; }
.toc a:hover { border-color: var(--coral); color: var(--coral); }
.blocks { display: grid; gap: 22px; }
.block { display: grid; grid-template-columns: auto 1fr; gap: 26px; background: var(--paper); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border-left: 6px solid var(--tone); }
.block-ico .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--tone-soft); color: var(--tone); font-size: 1.6rem; }
.block h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.block p { color: var(--ink-2); }
.block .ticks .ico { background: var(--tone-soft); color: var(--tone); }
@media (max-width: 640px) { .block { grid-template-columns: 1fr; padding: 26px 22px; gap: 10px; } }

/* Pasos */
.steps { list-style: none; counter-reset: paso; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps li { counter-increment: paso; background: var(--cream); border-radius: var(--radius); padding: 26px 20px 20px; position: relative; }
.steps li::before { content: counter(paso); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--coral); color: #fff; font: 600 1.3rem/1 var(--display); margin-bottom: 14px; rotate: -6deg; }
.steps li:nth-child(2)::before { background: var(--teal); rotate: 5deg; }
.steps li:nth-child(3)::before { background: var(--sun); color: var(--ink); rotate: -3deg; }
.steps li:nth-child(4)::before { background: var(--lilac); rotate: 6deg; }
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Valores */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { background: var(--tone-soft); border-radius: var(--radius); padding: 22px; }
.value .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--tone); color: #fff; margin-bottom: 12px; }
.value h3 { font-size: 1.15rem; margin-bottom: .25em; }
.value p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card { background: var(--paper); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border-top: 6px solid var(--tone); }
.post-card h2 { font-size: 1.45rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--coral); }
.post-card p { color: var(--ink-2); }
.post-meta { font-size: .9rem; color: var(--ink-2); font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.post-meta a { color: var(--ink-2); }
.tag { display: inline-block; background: var(--tone-soft, var(--teal-soft)); color: var(--tone, var(--teal)); padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }
.article-head { background: var(--lilac-soft); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 52px); margin-bottom: clamp(32px, 5vw, 52px); }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.byline { font-weight: 700; color: var(--lilac); margin: 0; }

.prose { font-size: 1.1rem; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--coral); }
.article + .cta-band { margin-top: clamp(48px, 7vw, 88px); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 800; font-size: .95rem; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
input, select, textarea { font: inherit; color: var(--ink); width: 100%; padding: 13px 15px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); transition: border-color .15s, background .15s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--teal); background: #fff; }
textarea { resize: vertical; min-height: 130px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 700; background: var(--cream); }
.radios label:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.radios input, .check input { width: auto; accent-color: var(--teal); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.check input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.form-error { background: var(--coral-soft); color: var(--coral-dark); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 700; }
.is-invalid { border-color: var(--coral) !important; }
.contact-aside { display: grid; gap: 20px; }
.aside-card { background: var(--tone-soft); border-radius: var(--radius); padding: 26px; }
.aside-card h2 { font-size: 1.35rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: grid; }
.contact-list span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--tone); }
.contact-list a { font-weight: 700; color: var(--ink); word-break: break-word; }

/* Pie */
.site-footer { background: var(--cream-2); padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.brand-footer { margin-bottom: 14px; }
.foot-h { font: 800 .8rem/1 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--teal); margin-bottom: 14px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--coral); text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; font-size: .9rem; color: var(--ink-2); }
.foot-bottom a { color: var(--ink-2); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Panel */
.panel-h { font-size: 2rem; }
.panel-list { display: grid; gap: 14px; margin-top: 20px; }
.panel-item { background: var(--paper); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow); border-left: 6px solid var(--coral); }
.panel-item.is-done { border-left-color: var(--teal); opacity: .72; }
.panel-item header { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 6px; }
.panel-item time { margin-left: auto; color: var(--ink-2); font-size: .9rem; }
.panel-msg { white-space: pre-wrap; background: var(--cream); border-radius: 10px; padding: 10px 14px; }

/* Aparición suave al hacer scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; }
  .js .reveal.in { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

/* ── Añadidos: identidad del cartel ──────────────────────── */
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
.hero h1 em { font-style: italic; color: var(--coral); white-space: nowrap; }
.chips .ico { color: var(--teal); }
@media (prefers-reduced-motion: no-preference) {
  .steps-art > g { animation: pisada .5s ease-out both; }
  .steps-art > g:nth-child(1) { animation-delay: 0.35s; }
  .steps-art > g:nth-child(2) { animation-delay: 0.57s; }
  .steps-art > g:nth-child(3) { animation-delay: 0.79s; }
  .steps-art > g:nth-child(4) { animation-delay: 1.01s; }
  .steps-art > g:nth-child(5) { animation-delay: 1.23s; }
  .steps-art > g:nth-child(6) { animation-delay: 1.45s; }
  .steps-art > g:nth-child(7) { animation-delay: 1.67s; }
}
@keyframes pisada { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.steps-art > g { transform-box: fill-box; }

.section-results { padding-block: clamp(40px, 6vw, 72px); background: var(--sage-soft); }
.section-results .section-head { margin-bottom: 28px; }
.section-results .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 14px; }
.section-results .stat { background: var(--paper); border-radius: var(--radius); padding: 24px 18px; box-shadow: var(--shadow); }
.stat span { display: block; margin-top: 8px; font-size: .95rem; line-height: 1.35; }
.stats-note { text-align: center; color: var(--ink-2); font-size: .9rem; margin: 0; }
@media (max-width: 860px) { .section-results .stats { grid-template-columns: 1fr 1fr; } }

.when { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.when > * { min-width: 0; }
@media (max-width: 860px) { .when { grid-template-columns: 1fr; } }
.facts { margin: 1.4rem 0 1.4rem; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 800; color: var(--teal); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; padding-top: 3px; }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.includes { background: var(--cream); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.includes h3 { font-size: 1.4rem; }
.includes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.includes li { display: flex; gap: 14px; align-items: flex-start; }
.includes .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }
.includes li div { display: grid; }
.includes span { color: var(--ink-2); font-size: .95rem; }

.motto { padding-block: clamp(48px, 7vw, 88px); text-align: center; background: var(--coral-soft); }
.motto blockquote { margin: 0 auto; max-width: 30ch; font: italic 600 clamp(1.5rem, 3vw, 2.1rem)/1.35 var(--display); color: var(--ink); text-wrap: balance; }
.motto-sign { margin: 1.2rem 0 0; font: italic 500 1.15rem var(--display); color: var(--coral-dark); }
.motto-sign::before, .motto-sign::after { content: ""; display: inline-block; width: 48px; height: 1px; background: currentColor; vertical-align: middle; margin: 0 14px; opacity: .5; }
.after-box { margin-top: 2rem; }
.mode .facts { border-color: var(--line); }
.stats-plain { margin-bottom: 40px; }
.stats-plain .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 12px; }
.stats-plain .stat { background: var(--paper); border-radius: var(--radius); padding: 24px 18px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .stats-plain .stats { grid-template-columns: 1fr 1fr; } }

/* Resultados: índice de aprobadas */
.results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.results-main { background: var(--teal); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; text-align: center; box-shadow: var(--shadow); }
.results-main strong { font: 600 clamp(4rem, 9vw, 6.2rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.results-main span { margin-top: 12px; font-weight: 700; font-size: 1.1rem; line-height: 1.4; opacity: .95; }
.results-more { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.results-more li { background: var(--paper); border-radius: var(--radius-sm); padding: 18px 22px; display: flex; align-items: baseline; gap: 16px; box-shadow: var(--shadow); }
.results-more strong { font: 600 clamp(1.6rem, 3vw, 2.1rem)/1 var(--display); color: var(--coral); white-space: nowrap; min-width: 5.2em; }
.results-more span { font-weight: 700; color: var(--ink-2); }
@media (max-width: 760px) { .results { grid-template-columns: 1fr; } .results-more strong { min-width: 0; } }
@media (max-width: 420px) { .results-more li { flex-direction: column; gap: 6px; } }
.stats-plain { margin-bottom: 48px; }

/* ── Responsive: anti-desbordes (13-nov-2026) ─────────────── */
.split > *, .hero-grid > *, .cards > *, .team > *, .modes > *, .testi-grid > *, .values > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }
h1, h2, h3 { overflow-wrap: break-word; }

/* ── Logo (lápiz-N) 13-nov-2026 ── */
img.logo-mark { border-radius: 12px; object-fit: cover; }

/* ── Lema del logo (pie) y logo completo (Quiénes somos) ── */
.foot-lema { font: italic 600 1.05rem/1.4 var(--display); color: var(--ink-2); margin: -4px 0 12px; }
.logo-showcase { display: flex; justify-content: center; }
.logo-showcase img { width: min(100%, 380px); height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── Paleta alternativa «logo» (azul / rosa / menta) ──────────
   Se activa con paleta:'logo' en site.config.js, o en vista previa con ?paleta=logo.
   Tonos oscuros ajustados para contraste AA (blanco sobre botón ≥ 4,5:1). */
html[data-paleta="logo"] {
  --cream: #F8F2EE;
  --cream-2: #F0E8E2;
  --paper: #FFFDFB;
  --ink: #2F3B47;
  --ink-2: #5C6774;
  --line: #E6DCD5;

  --coral: #AE5552;        /* rosa del logo, oscurecido para botones */
  --coral-dark: #8E4240;
  --coral-soft: #F9E3E0;
  --teal: #3E6E8C;         /* azul del logo (#9DC0D6), oscurecido para texto */
  --teal-dark: #2F566E;
  --teal-soft: #E0ECF4;
  --sun: #D9AE72;          /* madera del lápiz */
  --sun-dark: #8C6630;
  --sun-soft: #F6ECDD;
  --lilac: #3D7A6C;        /* menta del logo (#A6D4C7), oscurecida */
  --lilac-soft: #DCEFE9;

  --sage-2: #A6D4C7;
  --sage-soft: #E2F0EC;
  --rose: #F2A7A1;
}

/* ── Portada: foto "dejar huella" y modalidades con una sola tarjeta (13-nov) ── */
/* acuarela troceada: esquinas en el hero + rótulo a la derecha */
.hero-deco { position: absolute; z-index: 0; height: auto; pointer-events: none; user-select: none; }
.hero-deco.tl { top: 0; left: 0; width: clamp(140px, 15vw, 270px); }
.hero-deco.tr { top: 0; right: 0; width: clamp(120px, 14vw, 240px); }
.hero-deco.bl { bottom: 0; left: 0; width: clamp(60px, 6vw, 110px); }
.hero-deco.br { bottom: 0; right: 0; width: clamp(170px, 20vw, 340px); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-lema { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
@media (max-width: 1280px) { .hero-deco.tl, .hero-deco.bl { opacity: .6; } }
@media (max-width: 900px) {
  .hero-deco.tl { width: 30vw; opacity: .55; } .hero-deco.tr { width: 24vw; opacity: .55; }
  .hero-deco.bl, .hero-deco.br { display: none; }
  .hero-visual { max-width: 270px; }
}
.modes > :only-child { grid-column: 1 / -1; max-width: 760px; width: 100%; justify-self: center; }

.cf-turnstile{margin:.75rem 0 1rem;min-height:65px}

/* Currículum de las profesoras (Quiénes somos) */
.cv { text-align: left; margin-top: .9rem; font-size: .95rem; line-height: 1.5; }
.cv .cv-intro { margin: .15rem 0; font-weight: 600; }
.cv h4 { margin: 1.1rem 0 .35rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.cv ul { margin: 0; padding-left: 1.1rem; }
.cv ul.cv-cols { columns: 2 11rem; column-gap: 1.5rem; }
.cv li { margin: .12rem 0; break-inside: avoid; }
.cv p { margin: .2rem 0; }

/* Recuadro de Actualidad en la página del blog */
.actualidad-blog { margin: 0 0 2rem; }
.actualidad-blog ul { margin: .5rem 0 .75rem; padding-left: 1.1rem; }
.actualidad-blog li { margin: .3rem 0; }
