/* ==========================================================================
   PERSONALIZA · Psicología y Educación
   Identidad: cuaderno, rotulador y piezas de puzle que encajan.
   ========================================================================== */

/* Fuentes autoalojadas (sin peticiones a terceros) */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Paleta pastel, en la línea de las redes sociales de PERSONALIZA */
  --paper: #f4f8fb;
  --paper-2: #e8eff5;
  --card: #ffffff;
  --ink: #2f4a66;
  --ink-soft: #5e6f86;
  --edge: #8fa7c0;
  --shadow-c: #cddcea;
  --blue: #4c76a6;
  --blue-fill: #b5d0ea;
  --blue-deep: #dde9f5;
  --blue-soft: #e6f0f9;
  --turq: #a6dfd3;
  --turq-deep: #3c8a80;
  --turq-soft: #e3f5f0;
  --yellow: #ffe7a0;
  --peach: #f9cfc2;
  --line: rgba(47, 74, 102, .14);
  --grid: rgba(76, 118, 166, .07);
  --wa: #4fd08a;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;

  --bw: 2px;
  --radius: 22px;
  --radius-sm: 14px;
  --hard: 5px 5px 0 var(--shadow-c);
  --hard-lg: 8px 8px 0 var(--shadow-c);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 76px;
  --topbar-h: 40px;
  --header-h: calc(var(--nav-h) + var(--topbar-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* Papel cuadriculado */
.paper-grid, .hero, .page-hero, .story, .ages, .split-section, .team, .blog-teaser, .post-body {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.035em;
  line-height: 1.02;
}
/* Subrayado de rotulador que se dibuja al entrar en pantalla */
.display em, .page-title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  background: linear-gradient(104deg, transparent .4em, var(--yellow) .4em, var(--yellow) calc(100% - .15em), transparent calc(100% - .15em)) no-repeat 0 78% / 100% .42em;
  padding: 0 .08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.display em.alt { background-image: linear-gradient(104deg, transparent .4em, var(--turq-soft) .4em, var(--turq-soft) calc(100% - .15em), transparent calc(100% - .15em)); }
.js .reveal .display em, .js .display.reveal em { background-size: 0% .42em; transition: background-size 1.1s .25s var(--ease); }
.js .reveal.is-in em, .js .reveal.is-in .display em { background-size: 100% .42em; }
.method .display em, .adults-band .display em { background-image: linear-gradient(104deg, transparent .4em, var(--card) .4em, var(--card) calc(100% - .15em), transparent calc(100% - .15em)); }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-hand); font-weight: 700; font-size: 1.65rem; line-height: 1;
  color: var(--turq-deep);
  margin-bottom: .9rem;
  transform: rotate(-2deg);
}
.kicker::before { content: ""; width: 22px; height: 22px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-14 -14 140 140'%3E%3Cpath d='M0 0 L100 0 L100 38 C108 40 122 28 122 50 C122 72 108 60 100 62 L100 100 L62 100 C60 108 72 122 50 122 C28 122 40 108 38 100 L0 100 Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-14 -14 140 140'%3E%3Cpath d='M0 0 L100 0 L100 38 C108 40 122 28 122 50 C122 72 108 60 100 62 L100 100 L62 100 C60 108 72 122 50 122 C28 122 40 108 38 100 L0 100 Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.method .kicker, .adults-band .kicker, .final-cta .kicker { color: var(--turq-deep); }
.hand-note { font-family: var(--f-hand); font-weight: 700; color: var(--blue); font-size: 1.7rem; line-height: 1; }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.section-lead { font-size: 1.15rem; color: var(--ink-soft); margin-top: 1.25rem; max-width: 60ch; }
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.45rem;
  border-radius: 999px;
  border: var(--bw) solid var(--edge);
  font: 800 1rem/1 var(--f-body);
  text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--shadow-c);
  transform: translate(var(--bx), var(--by));
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s;
}
.btn:hover { transform: translate(calc(var(--bx) - 2px), calc(var(--by) - 2px)); box-shadow: 6px 6px 0 var(--shadow-c); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow-c); transition-duration: .08s; }
.btn-wa { background: var(--wa); color: var(--ink); }
.btn-wa:hover { background: #6bdc9e; }
.btn-ghost { background: var(--card); color: var(--ink); }
.btn-ghost:hover { background: var(--yellow); }
.btn-ghost-dark { background: var(--blue-fill); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--blue-soft); }
.btn-sm { padding: .65rem 1.05rem; font-size: .92rem; box-shadow: 3px 3px 0 var(--shadow-c); }
.btn-lg { padding: 1.1rem 1.75rem; font-size: 1.08rem; }
.btn-xl { padding: 1.3rem 2.1rem; font-size: 1.2rem; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.method .btn, .final-cta .btn, .adults-band .btn, .site-footer .btn { border-color: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--blue); text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 100% / 0 .4em; transition: background-size .35s var(--ease); }
.link-arrow:hover { background-size: 100% .4em; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- Barra de progreso ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--turq); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: transform .45s var(--ease), background-color .3s, border-color .3s; border-bottom: var(--bw) solid transparent; }
.site-header.is-scrolled { background: var(--paper); border-bottom-color: var(--ink); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo-mark { width: 46px; height: 46px; transition: transform .6s var(--spring); }
.logo:hover .logo-mark { transform: rotate(-18deg) scale(1.08); }
.logo-text { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; line-height: 1; display: flex; flex-direction: column; }
.logo-text small { font-family: var(--f-hand); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; color: var(--turq-deep); margin-top: .1rem; }
.logo-light { color: var(--ink); }
.logo-light .logo-text small { color: var(--turq-deep); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .15rem; }
.main-nav a { display: block; padding: .5rem .7rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .93rem; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 50% 78% / 0 .45em; transition: background-size .35s var(--ease); }
.main-nav a:hover, .main-nav a.is-active, .main-nav a[aria-current="page"] { background-size: calc(100% - 1.2rem) .45em; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: var(--bw) solid var(--edge); background: var(--card); cursor: pointer; position: relative; box-shadow: 3px 3px 0 var(--shadow-c); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--yellow); padding: 2rem 1.5rem 7rem; display: flex; flex-direction: column; gap: 2rem; overflow-y: auto; border-top: var(--bw) solid var(--edge); clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); }
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu a:not(.btn) { display: block; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-size: 2.1rem; font-weight: 800; padding: .3rem 0; letter-spacing: -.02em; }
.mobile-menu li { opacity: 0; transform: translateX(-20px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open li:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open li:nth-child(6) { transition-delay: .2s; }
.mobile-menu.is-open li:nth-child(7) { transition-delay: .24s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 2.5rem) 0 6rem; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .95rem; border-radius: 999px; background: var(--card); border: var(--bw) solid var(--edge); font-weight: 700; font-size: .88rem; margin-bottom: 1.6rem; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--turq-deep); box-shadow: 0 0 0 0 rgba(60,138,128,.45); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(60,138,128,0); } 100% { box-shadow: 0 0 0 0 rgba(60,138,128,0); } }

.hero-title { font-family: var(--f-display); font-weight: 800; letter-spacing: -.05em; line-height: .9; font-size: clamp(3.3rem, 9vw, 7.6rem); }
.hero-title .line { display: block; overflow: hidden; padding: .02em 0 .1em; }
.hero-title .word { display: inline-block; animation: rise 1s var(--ease) both; }
.hero-title .line:nth-child(2) .word { animation-delay: .1s; }
.hero-title .line:nth-child(2) .word + .word { animation-delay: .18s; }
.hero-title .amp { font-family: var(--f-hand); font-weight: 700; color: var(--turq-deep); letter-spacing: 0; font-size: .8em; transform: rotate(-8deg); }
.hero-title .grad { color: var(--blue); position: relative; }
.hero-title .grad::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.02em; height: .14em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 60 4, 120 18, 180 9 S 270 6, 297 11' fill='none' stroke='%23ffd98a' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; transform-origin: left; animation: swipe .9s .7s var(--ease) both; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes swipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-title-sub { display: block; margin-top: 1.4rem; font-family: var(--f-body); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.18rem); letter-spacing: 0; line-height: 1.45; color: var(--ink-soft); max-width: 38ch; animation: fadeUp .9s .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); margin: 1.5rem 0 2.1rem; max-width: 36ch; }
.rotator { position: relative; display: inline-grid; vertical-align: baseline; font-family: var(--f-hand); font-weight: 700; font-size: 1.45em; line-height: 1; color: var(--blue); }
.rotator-word { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(50%) rotate(4deg); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rotator-word.is-active { opacity: 1; transform: rotate(-2deg); }
.rotator-word.is-leaving { opacity: 0; transform: translateY(-50%) rotate(-6deg); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 2.8rem; border: var(--bw) solid var(--edge); border-radius: var(--radius-sm); background: var(--card); width: fit-content; max-width: 100%; box-shadow: var(--hard); }
.hero-facts li { display: flex; flex-direction: column; padding: .9rem 1.3rem; }
.hero-facts li + li { border-left: var(--bw) dashed var(--line); }
.hero-facts strong { font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; }
.hero-facts span { font-size: .86rem; color: var(--ink-soft); }

/* Puzle del hero: las piezas llegan y encajan */
.hero-visual { position: relative; }
.puzzle { width: 100%; max-width: 520px; margin-inline: auto; overflow: visible; }
.pz { --dx: 0px; --dy: 0px; --rot: 0deg; transform-box: fill-box; transform-origin: center; animation: assemble 1.2s var(--spring) both; cursor: default; }
.pz path { stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; transition: transform .45s var(--spring), filter .3s; transform-box: fill-box; transform-origin: center; }
.pz text { font-family: var(--f-hand); font-weight: 700; font-size: 25px; text-anchor: middle; fill: var(--ink); pointer-events: none; }
.pz-a path { fill: var(--turq); }
.pz-b path { fill: var(--blue-fill); }
.pz-b text { fill: var(--ink); }
.pz-c path { fill: var(--yellow); }
.pz-d path { fill: var(--card); }
.pz-d text { font-size: 38px; }
.pz-a { --dx: -90px; --dy: -60px; --rot: -24deg; animation-delay: .25s; }
.pz-b { --dx: 110px; --dy: -70px; --rot: 20deg; animation-delay: .4s; }
.pz-c { --dx: -100px; --dy: 90px; --rot: 16deg; animation-delay: .55s; }
.pz-d { --dx: 120px; --dy: 110px; --rot: -30deg; animation-delay: .75s; }
@keyframes assemble { from { opacity: 0; translate: var(--dx) var(--dy); rotate: var(--rot); } 60% { opacity: 1; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
.pz:hover path { transform: translate(-3px, -4px); filter: drop-shadow(4px 5px 0 var(--shadow-c)); }
.puzzle .pz { will-change: translate; }
.note-hero { position: absolute; left: -2%; bottom: -1.2rem; display: flex; align-items: flex-end; gap: .4rem; transform: rotate(-6deg); animation: fadeUp .8s 1.6s var(--ease) both; }
.note-hero .ico { width: 90px; height: 30px; color: var(--blue); transform: scaleY(-1) rotate(10deg); }
.sticker { position: absolute; display: grid; place-items: center; text-align: center; width: 112px; height: 112px; border-radius: 50%; background: var(--card); border: var(--bw) solid var(--edge); box-shadow: 4px 4px 0 var(--shadow-c); font-family: var(--f-hand); font-weight: 700; font-size: 1.3rem; line-height: 1; color: var(--ink); }
.sticker-hero { right: -1%; top: -4%; transform: rotate(12deg); animation: stickIn .6s 1.4s var(--spring) both; }
@keyframes stickIn { from { opacity: 0; transform: rotate(40deg) scale(.3); } to { opacity: 1; transform: rotate(12deg) scale(1); } }

.scroll-cue { position: absolute; left: 50%; bottom: 2rem; width: 28px; height: 46px; margin-left: -14px; border: var(--bw) solid var(--edge); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Cinta ---------- */
.marquee { background: var(--turq); color: var(--ink); overflow: hidden; padding: .95rem 0; transform: rotate(-1.6deg) scale(1.03); margin-top: -1.5rem; position: relative; z-index: 2; border-block: var(--bw) solid var(--edge); }
.marquee-track { display: flex; gap: 1.6rem; width: max-content; animation: marquee 45s linear infinite; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.55rem); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--yellow); -webkit-text-stroke: 1.5px var(--ink); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Tarjeta base (papel con borde de tinta) ---------- */
.story-step, .card, .member, .post, .age-stops > li, .feature-list li, .center-card, .faq-list details {
  background: var(--card);
  border: var(--bw) solid var(--edge);
  border-radius: var(--radius-sm);
  box-shadow: var(--hard);
}

/* ---------- Historia ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.story-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.story-body { display: grid; gap: 1.6rem; }
.story-step { position: relative; padding: 1.9rem 1.9rem 1.4rem 5.4rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.story-step:nth-child(2) { transform: rotate(.8deg); margin-left: 1.2rem; }
.story-step:nth-child(3) { transform: rotate(-.6deg); }
.js .story-step.reveal:not(.is-in) { transform: translateY(36px); }
.story-step:hover { transform: rotate(0) translate(-3px, -3px); box-shadow: var(--hard-lg); }
.story-step::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: rgba(255, 231, 160, .9); border: 1px solid rgba(47,74,102,.12); transform: rotate(-3deg); }
.story-num { position: absolute; left: 1.3rem; top: 1.4rem; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: var(--bw) solid var(--edge); background: var(--turq); font-family: var(--f-hand); font-weight: 700; font-size: 1.6rem; }
.story-step:nth-child(2) .story-num { background: var(--yellow); }
.story-step:nth-child(3) .story-num { background: var(--blue-fill); }
.story-step h3 { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: .6rem; letter-spacing: -.02em; }
.story-step p { color: var(--ink-soft); }

/* ---------- Servicios ---------- */
.services { background: var(--card); }
.world { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(1.75rem, 5vw, 3.75rem); border-radius: calc(var(--radius) + 8px); border: var(--bw) solid var(--edge); position: relative; }
.world + .world { margin-top: 2.5rem; }
.world-psy { background: var(--turq-soft); }
.world-edu { background: var(--blue-soft); grid-template-columns: 1.1fr .9fr; }
.world-edu .world-intro { order: 2; }
.world-intro { align-self: start; position: sticky; top: calc(var(--header-h) + 2rem); }
.world-badge { display: inline-block; padding: .4rem .85rem; border-radius: 999px; border: var(--bw) solid var(--edge); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.2rem; background: var(--card); }
.world-psy .world-badge { background: var(--turq); }
.world-edu .world-badge { background: var(--blue-fill); }
.world-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.035em; margin-bottom: 1.1rem; }
.world-title span { display: block; font-family: var(--f-hand); font-weight: 700; font-size: 1.05em; letter-spacing: 0; transform: rotate(-2deg); transform-origin: left; margin-top: .2rem; }
.world-psy .world-title span { color: var(--turq-deep); }
.world-edu .world-title span { color: var(--blue); }
.world-intro p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.world-actions, .center-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cards { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.card { --rx: 0deg; --ry: 0deg; --tilt: 0deg; position: relative; padding: 1.5rem; transform: perspective(900px) rotate(var(--tilt)) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:nth-child(odd) { --tilt: -.7deg; }
.card:nth-child(even) { --tilt: .6deg; }
.js .card.reveal:not(.is-in) { transform: translateY(36px); }
.card:hover { --tilt: 0deg; box-shadow: var(--hard-lg); }
.card-wide { grid-column: 1 / -1; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link h4::after { content: " →"; color: var(--blue); }
.card-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; border: var(--bw) solid var(--edge); margin-bottom: 1rem; transition: transform .5s var(--spring); }
.card-icon .ico { width: 28px; height: 28px; }
.world-psy .card-icon { background: var(--turq-soft); color: var(--turq-deep); }
.world-edu .card-icon { background: var(--blue-soft); color: var(--blue); }
.card:nth-child(3n+2) .card-icon { background: #fff4c7; }
.card:hover .card-icon { transform: rotate(-10deg) scale(1.08); }
.card h4, .card .h4 { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: .45rem; }
.card p { font-size: .97rem; color: var(--ink-soft); margin-bottom: 1rem; }
.card-tag { display: inline-block; font-family: var(--f-hand); font-weight: 700; font-size: 1.15rem; line-height: 1; padding: .3rem .7rem; border-radius: 999px; border: 1.5px dashed var(--edge); }
.world-flat { display: block; padding: clamp(1.25rem, 3vw, 2.5rem); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Edades ---------- */
.age-track { position: relative; padding-top: 1rem; }
.age-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.age-path-bg, .age-path { fill: none; stroke-width: 3; stroke-linecap: round; }
.age-path-bg { stroke: var(--ink); stroke-dasharray: 2 10; opacity: .35; }
.age-path { stroke: var(--blue); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); }
.age-stops { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding-top: 140px; }
.age-stops > li { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem; transition: transform .4s var(--ease); }
.age-stops > li:hover { transform: translateY(-6px) rotate(-1deg); }
.age-dot { position: absolute; top: -80px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--yellow); border: var(--bw) solid var(--edge); }
.age-dot::after { content: ""; position: absolute; left: 50%; top: 100%; width: 0; height: 52px; margin-left: -1px; border-left: var(--bw) dashed var(--edge); opacity: .5; }
.age-stops > li:nth-child(even) .age-dot { background: var(--turq); }
.age-stops strong { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -.02em; }
.age-stops > li > span:not(.age-dot) { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Cómo trabajamos (plano azul) ---------- */
.method { background-color: var(--blue-deep); background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 28px 28px; color: var(--ink); overflow: hidden; border-block: var(--bw) solid var(--edge); }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); position: relative; }
.method-sticky { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
.method .section-lead { color: var(--ink-soft); }
.method-progress { height: 10px; width: 100%; max-width: 320px; background: rgba(255,255,255,.7); border: var(--bw) solid var(--edge); border-radius: 10px; margin: 2rem 0; overflow: hidden; }
.method-progress span { display: block; height: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .3s linear; }
.method-steps { display: grid; gap: 1.25rem; }
.m-step { display: flex; gap: 1.4rem; padding: 2rem; border-radius: var(--radius-sm); border: var(--bw) dashed var(--edge); opacity: .55; transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .5s, border-color .5s, box-shadow .5s; }
.m-step.is-active { opacity: 1; background: var(--card); color: var(--ink); border: var(--bw) solid var(--edge); box-shadow: 6px 6px 0 var(--yellow); transform: rotate(-.8deg); }
.m-num { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-hand); font-weight: 700; font-size: 2rem; color: var(--ink); background: var(--yellow); border: var(--bw) solid var(--edge); transition: transform .5s var(--spring); }
.m-step.is-active .m-num { transform: rotate(-12deg) scale(1.08); }
.m-step h3 { font-family: var(--f-display); font-size: 1.4rem; letter-spacing: -.02em; margin: .35rem 0 .55rem; }
.m-step p { margin: 0; opacity: .85; }
.method-sticky .btn { margin-top: .5rem; }

/* ---------- Manifiesto ---------- */
.manifesto { position: relative; overflow: hidden; padding: clamp(6rem, 13vw, 10rem) 0; background: var(--yellow); border-bottom: var(--bw) solid var(--edge); }
.manifesto-text { position: relative; z-index: 1; font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; font-size: clamp(2rem, 5.4vw, 4.5rem); line-height: 1.06; max-width: 17ch; margin: 0 auto; text-align: center; color: var(--ink); }
.manifesto-text .w { opacity: .18; transition: opacity .35s; }
.manifesto-text .w.on { opacity: 1; }
.manifesto-shapes .shape { position: absolute; width: 170px; overflow: visible; will-change: transform; }
.manifesto-shapes path { stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.shape.s1 { left: 5%; top: 12%; rotate: -18deg; }
.shape.s1 path { fill: var(--turq); }
.shape.s2 { right: 8%; top: 10%; width: 110px; rotate: 22deg; }
.shape.s2 path { fill: var(--card); }
.shape.s3 { right: 3%; bottom: -40px; width: 200px; rotate: -8deg; }
.shape.s3 path { fill: var(--blue-fill); }

/* ---------- Centros ---------- */
.centers { background: var(--card); }
.center-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.center-card { overflow: hidden; border-radius: var(--radius); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.center-card:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-lg); }
.center-map { position: relative; aspect-ratio: 16 / 10; border-bottom: var(--bw) solid var(--edge); background: var(--paper-2); }
.center-map-big { aspect-ratio: 21 / 9; border: var(--bw) solid var(--edge); border-radius: var(--radius); overflow: hidden; box-shadow: var(--hard-lg); margin-bottom: 2.5rem; }
.map-frame { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map-tag { position: absolute; left: 1rem; top: 1rem; padding: .35rem .9rem; border-radius: 999px; background: var(--yellow); border: var(--bw) solid var(--edge); box-shadow: 3px 3px 0 var(--shadow-c); font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; line-height: 1; transform: rotate(-4deg); pointer-events: none; }
.center-body { padding: 1.8rem 2rem 2rem; }
.center-body h3 { font-family: var(--f-display); font-size: 1.85rem; letter-spacing: -.03em; margin-bottom: .8rem; }
.center-body h3 a { text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 85% / 0 .4em; transition: background-size .4s var(--ease); }
.center-body h3 a:hover { background-size: 100% .4em; }
.center-body p { color: var(--ink-soft); }
.center-address { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink) !important; }
.center-address .ico { color: var(--turq-deep); margin-top: .2rem; }
.center-zones { font-size: .95rem; }
.center-zones strong { color: var(--ink); }
.center-cards-plain .center-card { border-radius: var(--radius-sm); }
.other-center { grid-column: 2; margin-top: 1rem; font-weight: 700; }
.other-center a { color: var(--blue); }

/* ---------- Equipo ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.member { --rx: 0deg; --ry: 0deg; padding: 2rem 1.5rem; text-align: center; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .45s var(--ease), box-shadow .45s; }
.js .member.reveal:not(.is-in) { transform: translateY(36px); }
.member:hover { box-shadow: var(--hard-lg); }
.avatar { width: 104px; height: 104px; margin: 0 auto 1.3rem; display: grid; place-items: center; color: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-22 -22 144 144'%3E%3Cpath d='M0 0 L38 0 C40 -8 28 -22 50 -22 C72 -22 60 -8 62 0 L100 0 L100 38 C92 40 78 28 78 50 C78 72 92 60 100 62 L100 100 L62 100 C60 108 72 122 50 122 C28 122 40 108 38 100 L0 100 L0 62 C-8 60 -22 72 -22 50 C-22 28 -8 40 0 38 Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-22 -22 144 144'%3E%3Cpath d='M0 0 L38 0 C40 -8 28 -22 50 -22 C72 -22 60 -8 62 0 L100 0 L100 38 C92 40 78 28 78 50 C78 72 92 60 100 62 L100 100 L62 100 C60 108 72 122 50 122 C28 122 40 108 38 100 L0 100 L0 62 C-8 60 -22 72 -22 50 C-22 28 -8 40 0 38 Z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .6s var(--spring); }
.member:hover .avatar { transform: rotate(-12deg); }
.avatar .ico { width: 38px; height: 38px; }
.av-1 { background: var(--turq); }
.av-2 { background: var(--yellow); }
.av-3 { background: var(--blue-fill); }
.av-4 { background: var(--turq-soft); }
.member h3 { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.member p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--card); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.faq .section-head .btn { margin-top: 1.5rem; }
.faq-list { display: grid; gap: 1rem; }
.faq-list details { box-shadow: 3px 3px 0 var(--shadow-c); transition: box-shadow .3s, transform .3s var(--ease); }
.faq-list details[open] { box-shadow: var(--hard); background: #fffbea; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: var(--bw) solid var(--edge); background: var(--yellow); font: 800 1.3rem/1 var(--f-body); transition: transform .45s var(--spring), background-color .3s; }
.faq-list details[open] summary::after { transform: rotate(135deg); background: var(--turq); }
.faq-a { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
.faq-a p { margin: 0; }
.faq-a a { color: var(--blue); font-weight: 700; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post { --rx: 0deg; --ry: 0deg; display: flex; flex-direction: column; text-decoration: none; padding: .9rem .9rem 1.5rem; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .45s var(--ease), box-shadow .45s; }
.js .post.reveal:not(.is-in) { transform: translateY(36px); }
.post:hover { box-shadow: var(--hard-lg); }
.post-art { aspect-ratio: 16 / 10; border-radius: 10px; border: var(--bw) solid var(--edge); display: grid; place-items: center; margin-bottom: 1.2rem; overflow: hidden; position: relative; }
.post-art .ico { width: 64px; height: 64px; transition: transform .6s var(--spring); position: relative; z-index: 1; }
.post-art::before { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; border: var(--bw) solid var(--edge); background: var(--card); }
.post:hover .post-art .ico { transform: scale(1.18) rotate(-10deg); }
.pa-1 { background: var(--turq); color: var(--turq-deep); }
.pa-2 { background: var(--yellow); color: var(--blue); }
.pa-3 { background: var(--blue-fill); color: var(--blue); }
.post-cat { align-self: flex-start; margin: 0 .5rem .6rem; font-family: var(--f-hand); font-weight: 700; font-size: 1.3rem; line-height: 1; color: var(--turq-deep); }
.post h3, .post .h3 { margin: 0 .5rem .6rem; font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -.02em; }
.post p { margin: 0 .5rem; color: var(--ink-soft); font-size: .97rem; }

/* ---------- CTA final ---------- */
.final-cta { position: relative; overflow: hidden; background: var(--turq); color: var(--ink); padding: clamp(6rem, 13vw, 9.5rem) 0; text-align: center; border-top: var(--bw) solid var(--edge); }
.final-inner { position: relative; z-index: 1; max-width: 900px; }
.final-inner .display { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.final-inner .display em { display: inline-block; margin-top: .2em; white-space: normal; background-image: linear-gradient(104deg, transparent .4em, var(--yellow) .4em, var(--yellow) calc(100% - .15em), transparent calc(100% - .15em)); }
.final-inner > p { font-size: 1.2rem; margin: 1.5rem auto 2.4rem; max-width: 50ch; }
.final-alt a { font-weight: 800; }
.final-inner .final-alt { margin-top: 1.6rem; font-size: 1rem; }

/* Decoración con piezas sueltas */
.decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.decor-piece { position: absolute; right: 4%; top: 18%; width: clamp(140px, 18vw, 240px); overflow: visible; rotate: 14deg; }
.decor-piece path { stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.decor-piece-2 { right: auto; left: -40px; top: auto; bottom: -50px; width: clamp(110px, 12vw, 170px); rotate: -20deg; }
.decor-piece-2 path { stroke-dasharray: 8 10; stroke-width: 3.5; }
.decor-cta .decor-piece { right: 6%; top: 10%; }
.decor-cta .decor-piece-2 { left: 4%; bottom: -40px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--blue-deep); color: var(--ink-soft); border-top: var(--bw) solid var(--edge); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { margin-top: 1.2rem; max-width: 36ch; font-size: .95rem; }
.footer-title { font-family: var(--f-hand); font-weight: 700; font-size: 1.6rem; color: var(--turq-deep); margin-bottom: .8rem; }
.nap { font-style: normal; font-size: .95rem; line-height: 1.9; }
.nap strong { color: var(--ink); }
.site-footer a { color: var(--ink); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--blue); }
.footer-list { display: grid; gap: .45rem; font-size: .95rem; }
.footer-centers li { line-height: 1.5; margin-bottom: .5rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px dashed var(--edge); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: var(--bw) solid var(--edge); background: var(--card); transition: background-color .3s, transform .4s var(--spring), color .3s; }
.social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--edge); transform: translateY(-4px) rotate(-8deg); }
.social .ico { width: 20px; height: 20px; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 150; display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.wa-float-btn { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--wa); border: var(--bw) solid var(--edge); box-shadow: 4px 4px 0 var(--shadow-c); transition: transform .4s var(--spring), box-shadow .3s; }
.wa-float-btn .ico { width: 32px; height: 32px; }
.wa-float-btn::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: var(--bw) solid var(--wa); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover .wa-float-btn { transform: rotate(-10deg) scale(1.06); }
.wa-float-label { padding: .45rem .95rem; border-radius: 12px; background: var(--card); color: var(--ink); border: var(--bw) solid var(--edge); box-shadow: 3px 3px 0 var(--shadow-c); font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; line-height: 1; transform: rotate(-3deg); transform-origin: right center; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.wa-float.is-compact .wa-float-label { opacity: 0; transform: scale(.6) translateX(10px); pointer-events: none; }
.wa-float:hover .wa-float-label { opacity: 1; transform: rotate(-3deg); }

/* ==========================================================================
   Páginas interiores
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(3rem, 8vw, 5.5rem)) 0 clamp(4rem, 8vw, 6rem); border-bottom: var(--bw) solid var(--edge); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-small { padding-bottom: 3.5rem; }
.page-title { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 17ch; animation: fadeUp .9s var(--ease) both; }
.page-title em { background-size: 100% .42em; }
.page-hero-post .page-title { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 22ch; }
.page-lead { color: var(--ink-soft); font-size: clamp(1.08rem, 1.6vw, 1.22rem); max-width: 56ch; margin: 1.4rem 0 2.1rem; animation: fadeUp .9s .12s var(--ease) both; }
.page-hero .hero-actions { animation: fadeUp .9s .24s var(--ease) both; }
.page-hero-psy { background-color: #eaf9f6; }
.page-hero-edu { background-color: #edf2ff; }
.page-hero-edu .decor-piece path { fill: var(--blue-fill); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; margin-bottom: 1.5rem; color: var(--ink-soft); font-weight: 600; }
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.narrow { width: min(820px, 100% - 2.5rem); }
.h3 { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -.02em; }

.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.split-aside .btn { margin-top: 1.5rem; }
.pill-cloud { display: flex; flex-wrap: wrap; gap: .75rem; }
.pill-cloud li { padding: .65rem 1.1rem; border-radius: 999px; background: var(--card); border: var(--bw) solid var(--edge); box-shadow: 3px 3px 0 var(--shadow-c); font-weight: 700; transition: transform .35s var(--spring), background-color .25s, color .25s; }
.pill-cloud li:nth-child(3n+1):hover { background: var(--turq); }
.pill-cloud li:nth-child(3n+2):hover { background: var(--yellow); }
.pill-cloud li:nth-child(3n):hover { background: var(--blue-fill); }
.pill-cloud li:hover { transform: translateY(-4px) rotate(-3deg); }
.feature-list { display: grid; gap: 1rem; }
.feature-list li { position: relative; display: flex; flex-direction: column; padding: 1.2rem 1.4rem 1.2rem 4rem; box-shadow: 3px 3px 0 var(--shadow-c); transition: transform .4s var(--ease), box-shadow .4s; }
.feature-list li:hover { transform: translate(-2px, -2px); box-shadow: var(--hard); }
.feature-list li::before { content: "✓"; position: absolute; left: 1.15rem; top: 1.15rem; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: var(--bw) solid var(--edge); background: var(--turq); font-weight: 800; font-size: .95rem; }
.feature-list li:nth-child(even)::before { background: var(--yellow); }
.feature-list strong { font-family: var(--f-display); font-size: 1.12rem; letter-spacing: -.01em; }
.feature-list span { color: var(--ink-soft); font-size: .97rem; }

.combo { background: var(--card); padding-block: clamp(3rem, 7vw, 5rem); }
.combo-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: clamp(2rem, 5vw, 3.25rem); border-radius: var(--radius); background: var(--yellow); border: var(--bw) solid var(--edge); box-shadow: var(--hard-lg); }
.combo-inner .display { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 18ch; }
.combo-inner .display em { background-image: linear-gradient(104deg, transparent .4em, var(--card) .4em, var(--card) calc(100% - .15em), transparent calc(100% - .15em)); }
.combo-inner .section-lead { margin-bottom: 0; color: var(--ink); }
.combo-inner .kicker { color: var(--blue); }

.adults-band { background: var(--blue-deep); color: var(--ink); overflow: hidden; border-block: var(--bw) solid var(--edge); }
.adults-band .section-lead { color: var(--ink-soft); }
.adults-band .btn { margin-top: 2rem; }
.adults-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.adults-clock { display: grid; justify-items: center; gap: .8rem; font-family: var(--f-hand); font-weight: 700; font-size: 1.9rem; color: var(--blue); }
.adults-clock svg { width: clamp(140px, 20vw, 210px); fill: var(--card); stroke: var(--edge); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(6px 6px 0 var(--shadow-c)); }
.adults-clock circle:last-child { fill: var(--ink); }
.adults-clock .hand-m { transform-origin: 60px 60px; animation: spin 8s linear infinite; }
.adults-clock .hand-h { transform-origin: 60px 60px; animation: spin 96s linear infinite; stroke: var(--blue); stroke-width: 5; }
@keyframes spin { to { rotate: 360deg; } }

.prose { font-size: 1.1rem; background: var(--card); border: var(--bw) solid var(--edge); border-radius: var(--radius); padding: clamp(1.5rem, 5vw, 3.5rem); box-shadow: var(--hard-lg); }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; margin: 2.4rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #26355a; }
.prose ol, .prose ul { padding-left: 1.4rem; margin: 0 0 1.2rem; }
.prose ol { list-style: decimal; }
.prose ul { list-style: disc; }
.prose li { margin-bottom: .6rem; }
.prose li::marker { color: var(--turq-deep); font-weight: 800; }
.prose a:not(.btn) { color: var(--blue); font-weight: 700; }
mark.todo { background: var(--yellow); color: var(--ink); padding: 0 .3rem; border-radius: 4px; font-weight: 700; }
.article-cta { margin: 3rem 0 2rem; padding: 1.6rem; border-radius: var(--radius-sm); background: var(--turq-soft); border: var(--bw) solid var(--edge); display: flex; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta p { margin: 0; font-family: var(--f-hand); font-weight: 700; font-size: 1.7rem; line-height: 1.1; }
.back-link { margin: 0; }

.big-404 { font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 22vw, 13rem); line-height: .9; letter-spacing: -.06em; margin: 0 0 1rem; color: var(--blue-fill); -webkit-text-stroke: 3px var(--ink); }
.big-404 span { display: inline-block; color: var(--turq); animation: spin 6s linear infinite; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .age-stops { grid-template-columns: repeat(3, 1fr); padding-top: 0; }
  .age-line, .age-dot { display: none; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; width: 100%; margin: 1rem auto 0; }
  .story-grid, .method-grid, .faq-grid, .world, .world-edu, .split-grid, .adults-inner { grid-template-columns: 1fr; }
  .story-head, .method-sticky, .faq .section-head, .world-intro, .split-aside { position: static; }
  .world-edu .world-intro { order: 0; }
  .center-cards, .post-grid { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .other-center { grid-column: auto; }
  .adults-clock { justify-items: start; }
  .center-map-big { aspect-ratio: 4 / 3; }
  .story-step:nth-child(2) { margin-left: 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container, .narrow { width: calc(100% - 2rem); }
  .cards, .cards-3, .team-grid, .age-stops { grid-template-columns: 1fr; }
  .hero { padding-bottom: 5rem; }
  .hero-actions .btn, .page-hero .hero-actions .btn { width: 100%; }
  .hero-facts { width: 100%; }
  .hero-facts li { padding: .75rem 1rem; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li.fact-main { grid-column: 1 / -1; border-bottom: var(--bw) dashed var(--line); }
  .hero-facts li.fact-main + li { border-left: 0; }
  .sticker { width: 88px; height: 88px; font-size: 1.05rem; }
  .story-step { padding: 1.5rem 1.3rem 1.1rem 4.6rem; }
  .story-num { left: 1rem; width: 42px; height: 42px; }
  .m-step { flex-direction: column; gap: .9rem; padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float-btn { width: 58px; height: 58px; }
  .wa-float-label { display: none; }
  .scroll-cue { display: none; }
  .final-inner .btn-xl { width: 100%; font-size: 1.05rem; padding: 1.2rem 1.4rem; }
  .decor-piece { width: 110px; right: -30px; top: auto; bottom: 10px; opacity: .9; }
  .manifesto-shapes .shape { width: 90px; }
  .shape.s3 { width: 120px; }
}

/* ==========================================================================
   Movimiento reducido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; animation-delay: 0s !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal .display em, .js .display.reveal em { background-size: 100% .42em; }
  .marquee-track { animation: none; }
  .m-step { opacity: 1; }
  .manifesto-text .w { opacity: 1; }
  .rotator-word:not(.is-active) { display: none; }
  .age-path { stroke-dashoffset: 0; }
}

/* Pasos inactivos del método: número en blanco sobre el plano */
.m-step:not(.is-active) .m-num { background: transparent; color: var(--ink); }

/* ---------- Mapas con consentimiento ---------- */
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; overflow: hidden; background: var(--paper-2); }
.map-sketch { position: absolute; inset: 0; width: 100%; height: 100%; }
.ms-block { fill: #e8dfcb; }
.ms-road { fill: none; stroke: var(--card); stroke-width: 14; stroke-linecap: round; }
.ms-street { fill: none; stroke: var(--card); stroke-width: 6; stroke-linecap: round; }
.map-consent-box { position: relative; z-index: 1; max-width: 330px; padding: 1.1rem 1.25rem; text-align: center; background: var(--card); border: var(--bw) solid var(--edge); border-radius: var(--radius-sm); box-shadow: 4px 4px 0 var(--shadow-c); font-size: .9rem; color: var(--ink-soft); }
.map-consent-box p { margin: 0 0 .8rem; }
.map-consent-box a:not(.link-arrow) { color: var(--blue); font-weight: 700; }
.map-consent-title { font-family: var(--f-hand); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--ink); margin-bottom: .4rem !important; }
.map-consent-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem 1rem; }
.map-consent-actions .link-arrow { font-size: .9rem; }
.center-map .map-tag { z-index: 2; }
.center-map .map-frame { position: absolute; inset: 0; animation: fadeUp .5s var(--ease) both; }
.consent-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.2rem; padding: 1rem 1.2rem; border: var(--bw) dashed var(--edge); border-radius: var(--radius-sm); background: #fffbea; }
.consent-status p { margin: 0; font-weight: 700; }
@media (max-width: 600px) {
  .map-consent-box { padding: .9rem 1rem; font-size: .85rem; }
  .center-map { aspect-ratio: 4 / 3.4; }
  .center-map:has(.map-consent) .map-tag { display: none; }
}

/* ---------- Perfiles del equipo ---------- */
.profile { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 1040px; margin: 0 auto clamp(3rem, 7vw, 5rem); }
.profile-full { align-items: start; }
.polaroid { position: relative; margin: 0; padding: 14px 14px 64px; background: var(--card); border: var(--bw) solid var(--edge); box-shadow: var(--hard-lg); transform: rotate(-3deg); transition: transform .6s var(--spring); }
.profile-full .polaroid { position: sticky; top: calc(var(--header-h) + 2rem); }
.polaroid::before { content: ""; position: absolute; top: -14px; left: 50%; z-index: 2; width: 110px; height: 28px; margin-left: -55px; background: rgba(166, 223, 211, .85); border: 1px solid rgba(47,74,102,.12); transform: rotate(4deg); }
.polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: var(--bw) solid var(--edge); }
.polaroid .polaroid-alt { position: absolute; top: 14px; left: 14px; width: calc(100% - 28px); opacity: 0; transition: opacity .5s var(--ease); }
.polaroid:hover { transform: rotate(1.5deg) scale(1.02); }
.polaroid:hover .polaroid-alt, .polaroid.is-swapped .polaroid-alt { opacity: 1; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--f-hand); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.profile-name { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -.04em; margin-bottom: 1rem; }
.profile-quote { margin: 0 0 1.2rem; padding: 0 0 0 1.1rem; border-left: 4px solid var(--turq); font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.35; color: var(--ink); }
.profile-quote em { font-style: normal; background: linear-gradient(transparent 60%, var(--yellow) 60%); }
.profile-body > p { color: var(--ink-soft); }
.profile-bio p { color: var(--ink-soft); }
.profile-bio { margin: 1.4rem 0 1.8rem; }
.profile-facts { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1.6rem; }
.profile-facts li { padding: .4rem .85rem; border-radius: 999px; border: var(--bw) solid var(--edge); background: var(--card); font-weight: 700; font-size: .88rem; }
.profile-facts li:first-child { background: var(--turq-soft); }
.profile-facts li:nth-child(2) { background: #fff4c7; }
.team-sub { text-align: center; margin: 0 0 2rem; transform: rotate(-1.5deg); }
.team-soon { max-width: 640px; margin: 0 auto; padding: 1.6rem 1.8rem; text-align: center; border: var(--bw) dashed var(--edge); border-radius: var(--radius); background: var(--card); }
.team-soon .hand-note { margin-bottom: .5rem; }
.team-soon p:last-child { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) {
  .profile { grid-template-columns: 1fr; }
  .polaroid { max-width: 340px; margin-inline: auto; }
  .profile-full .polaroid { position: relative; top: 0; }
}

/* Registro sanitario y avisos de centro */
.center-reg { display: inline-block; margin: 0 0 1rem; padding: .3rem .7rem; border: 1.5px dashed var(--edge); border-radius: 8px; font-size: .82rem; font-weight: 700; color: var(--ink) !important; background: var(--turq-soft); }
.health-reg { font-size: .82rem; opacity: .85; }
.center-cards-plain .card-icon { background: var(--turq-soft); color: var(--turq-deep); }
.center-note { margin-top: 2rem; padding: 1.5rem 1.8rem; border: var(--bw) dashed var(--edge); border-radius: var(--radius); background: #fffbea; }
.center-note .hand-note { margin-bottom: .4rem; }
.center-note p:not(.hand-note) { color: var(--ink-soft); }
.section-head .center-address { margin-top: 1rem; }

/* ---------- Personas (portada) ---------- */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.person { display: flex; flex-direction: column; gap: 1.6rem; }
.person .polaroid { padding: 10px 10px 50px; }
.person .polaroid .polaroid-alt { top: 10px; left: 10px; width: calc(100% - 20px); }
.person .polaroid figcaption { bottom: 10px; font-size: 1.6rem; }
.polaroid-r { transform: rotate(2.5deg); }
.person-name { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; margin-bottom: .3rem; }
.person-role { font-weight: 800; font-size: .9rem; color: var(--turq-deep); margin: 0 0 1rem; }
.person-body .profile-quote { font-size: 1.08rem; }
.person-body > p:not(.person-role) { color: var(--ink-soft); font-size: .97rem; }
.profile-rev { grid-template-columns: 1fr minmax(240px, 380px); }
.profile-rev .polaroid { order: 2; transform: rotate(3deg); }
.profile-full + .profile-full { padding-top: clamp(3rem, 6vw, 4.5rem); border-top: var(--bw) dashed var(--line); }

/* ---------- Quiénes somos ---------- */
.timeline { position: relative; display: grid; gap: 1.4rem; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 47px; top: 10px; bottom: 10px; border-left: 3px dashed var(--edge); opacity: .35; }
.timeline li { position: relative; display: flex; gap: 1.5rem; align-items: flex-start; }
.tl-year { flex: none; z-index: 1; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; border: var(--bw) solid var(--edge); background: var(--yellow); box-shadow: 4px 4px 0 var(--shadow-c); font-family: var(--f-hand); font-weight: 700; font-size: 1.7rem; line-height: 1; text-align: center; }
.timeline li:nth-child(2) .tl-year { background: var(--turq); font-size: 1.35rem; }
.timeline li:nth-child(3) .tl-year { background: var(--blue-fill); font-size: 2.2rem; }
.timeline li:nth-child(4) .tl-year { background: var(--card); }
.timeline li > div { flex: 1; padding: 1.3rem 1.5rem; background: var(--card); border: var(--bw) solid var(--edge); border-radius: var(--radius-sm); box-shadow: var(--hard); }
.timeline h3 { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .4rem; }
.timeline p { margin: 0; color: var(--ink-soft); }
.timeline a { color: var(--blue); font-weight: 700; }
.letter-section { background: var(--card); }
.letter-grid { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.letter-grid .polaroid { position: sticky; top: calc(var(--header-h) + 2rem); }
.letter { padding: clamp(1.6rem, 5vw, 3.2rem); background-color: #fffdf6; background-image: repeating-linear-gradient(transparent 0 31px, rgba(33,82,224,.12) 31px 32px); border: var(--bw) solid var(--edge); border-radius: var(--radius-sm); box-shadow: var(--hard-lg); line-height: 2rem; }
.letter p { color: #26355a; margin-bottom: 1rem; }
.letter-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.03em; line-height: 1.12; margin-bottom: .8rem; }
.signature { font-family: var(--f-hand); font-weight: 700; font-size: 2.6rem; color: var(--blue) !important; transform: rotate(-4deg); margin: 1.5rem 0 0 !important; }
.values { background: var(--paper); }
@media (max-width: 1000px) {
  .people-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .letter-grid, .profile-rev { grid-template-columns: 1fr; }
  .letter-grid .polaroid { position: relative; top: 0; max-width: 300px; margin-inline: auto; }
  .profile-rev .polaroid { order: 0; }
}
@media (max-width: 600px) {
  .people-grid { grid-template-columns: 1fr; }
  .person .polaroid { max-width: 300px; margin-inline: auto; }
  .tl-year { width: 70px; height: 70px; font-size: 1.3rem; }
  .timeline li:nth-child(2) .tl-year { font-size: 1rem; }
  .timeline::before { left: 34px; }
  .timeline li { gap: 1rem; }
}

/* ---------- Franja superior: cita gratuita, modalidad y teléfonos ---------- */
.topbar { background: var(--blue-fill); color: var(--ink); font-size: .86rem; font-weight: 700; border-bottom: var(--bw) solid var(--edge); }
.topbar-inner { min-height: var(--topbar-h); display: flex; align-items: center; gap: .6rem 1.4rem; flex-wrap: wrap; padding-block: .3rem; }
.topbar-free { display: inline-flex; align-items: center; padding: .25rem .8rem; border-radius: 999px; background: var(--yellow); color: var(--ink); border: var(--bw) solid var(--card); text-decoration: none; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; transition: transform .3s var(--spring), background-color .2s; }
.topbar-free:hover { transform: rotate(-2deg) scale(1.04); background: #fff; }
.topbar-modes { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); }
.mode-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--turq-deep); box-shadow: 0 0 0 3px rgba(60,138,128,.25); }
.topbar-phones { margin-left: auto; display: inline-flex; gap: 1.2rem; }
.topbar-phone { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.topbar-phone .ico { width: 1.05em; height: 1.05em; color: var(--blue); }
.topbar-phone:hover span { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.site-header.is-scrolled .topbar { border-bottom-color: var(--ink); }
@media (max-width: 760px) {
  :root { --topbar-h: 68px; --nav-h: 68px; }
  .topbar-inner { gap: .35rem .9rem; justify-content: center; }
  .topbar-phones { margin-left: 0; width: 100%; justify-content: center; }
  .topbar-modes { font-size: .8rem; }
  .logo-mark { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  .topbar-free { font-size: .7rem; padding: .2rem .6rem; }
  .topbar-modes { font-size: .74rem; }
}

/* ---------- Equipo multidisciplinar ---------- */
.team-link { background: var(--card); border-block: var(--bw) solid var(--edge); }
.link-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.goal { margin: 1.8rem 0 2rem; padding: 1.2rem 1.5rem; border: var(--bw) solid var(--edge); border-radius: var(--radius-sm); background: var(--yellow); box-shadow: var(--hard); transform: rotate(-1deg); max-width: 520px; }
.goal .hand-note { margin: 0 0 .2rem; color: var(--ink); }
.goal-text { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.75rem); letter-spacing: -.02em; line-height: 1.2; }
.link-diagram svg { width: 100%; max-width: 480px; margin-inline: auto; overflow: visible; }
.link-line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 8 9; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -340; } }
.link-node path { stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; transition: transform .45s var(--spring); transform-box: fill-box; transform-origin: center; }
.link-node text { font-family: var(--f-hand); font-weight: 700; font-size: 25px; text-anchor: middle; fill: var(--ink); }
.ln-1 path { fill: var(--turq); }
.ln-2 path { fill: var(--blue-fill); }
.ln-2 text { fill: var(--ink); }
.ln-3 path { fill: var(--yellow); }
.link-node:hover path { transform: rotate(-6deg) scale(1.05); }
.link-center { font-family: var(--f-hand); font-weight: 700; font-size: 34px; text-anchor: middle; fill: var(--blue); }

/* ---------- Redes sociales ---------- */
.social-section { background: var(--paper); }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.social-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.5rem; text-decoration: none; color: var(--ink); background: var(--card); border: var(--bw) solid var(--edge); border-radius: var(--radius-sm); box-shadow: var(--hard); transition: transform .35s var(--spring), box-shadow .3s, background-color .25s; }
.social-card .ico { width: 40px; height: 40px; margin-bottom: .6rem; transition: transform .45s var(--spring); }
.social-card:hover { transform: translate(-3px, -3px) rotate(-1.5deg); box-shadow: var(--hard-lg); }
.social-card:hover .ico { transform: rotate(-12deg) scale(1.1); }
.sc-net { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; }
.sc-handle { font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; color: var(--turq-deep); }
.sc-ig:hover { background: #ffe1ec; }
.sc-fb:hover { background: var(--blue-soft); }
.sc-tt:hover { background: var(--turq-soft); }
.sc-x:hover { background: #fff4c7; }
.social-label { margin: 1.4rem 0 0; font-family: var(--f-hand); font-weight: 700; font-size: 1.4rem; color: var(--turq-deep); }
.social-label + .social { margin-top: .5rem; }
.feature-list span a { color: var(--blue); font-weight: 700; }
@media (max-width: 900px) {
  .link-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .social-grid { grid-template-columns: 1fr; }
}

/* Dato destacado del hero: familias atendidas */
.hero-facts li.fact-main { background: var(--yellow); }
.hero-facts li.fact-main strong { font-size: 1.4rem; }
.hero-facts li.fact-main span { color: var(--ink); font-weight: 700; }
.hero-facts { overflow: hidden; display: grid; grid-template-columns: repeat(3, auto); }
.hero-facts li { padding: .85rem 1.1rem; }

/* Lista de servicios por etapa */
.age-list { display: grid; gap: .35rem; margin-top: .4rem; }
.age-list li { position: relative; padding-left: 1.1rem; color: var(--ink-soft); font-size: .93rem; line-height: 1.35; }
.age-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--turq); border: 1.5px solid var(--edge); }
.age-stops > li:nth-child(even) .age-list li::before { background: var(--yellow); }
@media (max-width: 600px) {
  .decor-cta .decor-piece-2 { display: none; }
}

/* Imágenes añadidas desde el panel /admin */
.cms-img { display: block; max-width: 100%; height: auto; margin: 1.2rem 0; border-radius: var(--radius-sm); border: var(--bw) solid var(--edge); box-shadow: var(--hard); }

/* Artículos del blog con imagen (creados desde el panel) */
.post-art-img .ico { display: none; }
.post-art-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .6s var(--ease); }
.post:hover .post-art-img img { transform: scale(1.05); }
.prose .post-cover { width: 100%; margin-top: 0; margin-bottom: 2rem; }
.prose h3 { font-family: var(--f-display); font-size: clamp(1.2rem, 2.2vw, 1.4rem); letter-spacing: -.02em; margin: 1.8rem 0 .8rem; }
