/* ============================================================
   Estilo "Thriveworks" — limpio, sans-serif, teal, healthcare
   Compartido por home + páginas de servicio
   ============================================================ */
:root{
  --navy:#13283d; --navy-soft:#4d5d6e; --ink:#1d2c3a; --mute:#8190a0;
  --teal:#13a399; --teal-600:#0f8f86; --teal-700:#0b746d; --teal-800:#0a5d58;
  --teal-50:#e7f6f3; --teal-100:#cdece8;
  --wa:#25d366; --wa-dark:#1da851;
  --coral:#ef7a5a; --coral-50:#fdeee7;
  --bg:#ffffff; --alt:#f4faf8; --surface:#ffffff; --border:#e6eceb;
  /* tiles pastel */
  --t-mint:#e6f5f2;  --t-sky:#e8f1fb;  --t-lilac:#efeafb;
  --t-peach:#fdeee5; --t-butter:#fbf3da; --t-rose:#fcedf0;
  --t-sage:#ecf3e6;
  --r:14px; --r-lg:22px; --r-xl:30px; --r-pill:999px;
  --shadow-sm:0 4px 14px -8px rgba(19,40,61,.18);
  --shadow:0 16px 40px -22px rgba(19,40,61,.28);
  --shadow-lg:0 30px 60px -30px rgba(19,40,61,.35);
  --container:1180px;
}
*,*::before,*::after{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'Plus Jakarta Sans',system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:'Plus Jakarta Sans',sans-serif;color:var(--navy);line-height:1.12;font-weight:800;letter-spacing:-.02em}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:clamp(1.1rem, .6rem + 2.5vw, 2rem)}
.section{padding-block:clamp(2.6rem, 1.6rem + 3vw, 4.4rem)}
.alt{background:var(--alt)}
.eyebrow{display:inline-block;font-weight:700;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal-700);margin-bottom:.6rem}
.lead{font-size:1.15rem;color:var(--navy-soft)}
.center{text-align:center}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;font-family:inherit;font-weight:700;font-size:1rem;line-height:1;padding:.95rem 1.5rem;border-radius:var(--r-pill);border:2px solid transparent;cursor:pointer;transition:.18s;white-space:nowrap}
.btn:active{transform:translateY(1px)}
.btn svg{width:20px;height:20px;flex:none}
.btn--wa{background:var(--wa);color:#06351c}
.btn--wa:hover{background:var(--wa-dark);color:#fff}
.btn--teal{background:var(--teal);color:#fff}
.btn--teal:hover{background:var(--teal-700)}
.btn--ghost{background:#fff;color:var(--teal-700);border-color:var(--teal-100)}
.btn--ghost:hover{border-color:var(--teal);background:var(--teal-50)}
.btn--light{background:#fff;color:var(--navy)}
.btn--light:hover{background:var(--teal-50)}
.btn--lg{padding:1.1rem 1.9rem;font-size:1.06rem}
.btn--block{width:100%}

/* utility top bar */
.topbar{background:var(--navy);color:#cfe3df;font-size:.86rem}
.topbar .container{display:flex;align-items:center;justify-content:space-between;min-height:40px;gap:1rem;flex-wrap:wrap}
.topbar a{color:#fff;font-weight:600}
.topbar .tb-left{display:flex;align-items:center;gap:.5rem}
.topbar .tb-left svg{width:15px;height:15px;stroke:var(--teal);stroke-width:2;fill:none}
@media(max-width:620px){.topbar .tb-note{display:none}}

/* header */
.hdr{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.92);backdrop-filter:saturate(150%) blur(10px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:72px}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:800;font-size:1.25rem;color:var(--navy);letter-spacing:-.02em}
.brand .mk{width:40px;height:40px;display:grid;place-items:center;flex:none}
.brand .mk svg{width:40px;height:40px}
.menu{display:flex;align-items:center;gap:1.6rem;list-style:none;font-weight:600;font-size:.94rem}
.menu a{color:var(--navy)}
.menu a:hover{color:var(--teal-700)}
.nav-cta{display:flex;align-items:center;gap:.7rem}
@media(max-width:900px){.menu{display:none}.nav-cta .btn--ghost{display:none}}

/* hero */
.hero{padding-block:clamp(1.8rem, 1.2rem + 2.5vw, 3.2rem)}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,1rem + 4vw,4rem);align-items:center}
@media(max-width:940px){.hero-grid{grid-template-columns:1fr}}
.hero h1{font-size:clamp(2.4rem, 1.6rem + 3.4vw, 4rem);margin-bottom:1.1rem}
.hero h1 .hl{color:var(--teal-700)}
.hero .lead{max-width:48ch;margin-bottom:1.6rem}
.hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-bottom:1.4rem}
.hero-rating{display:flex;align-items:center;gap:.6rem;font-size:.92rem;color:var(--navy-soft)}
.stars{display:inline-flex;gap:2px;color:#f5a623}
.stars svg{width:16px;height:16px;fill:currentColor;stroke:none}

/* booking selector card (estilo Thriveworks) */
.hero-visual{position:relative}
.photo{border-radius:var(--r-xl);background:linear-gradient(165deg,#f3faf8,#e7f3ef);
   aspect-ratio:5/5;box-shadow:var(--shadow);overflow:hidden;position:relative;display:grid;place-items:center;padding:8%}
.photo svg{width:100%;height:100%}
.photo .illus{width:100%;height:100%;object-fit:contain;transform:translateY(-5%)}
.booking{position:absolute;left:50%;transform:translateX(-50%);bottom:-28px;width:min(94%,440px);background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-lg);padding:1.1rem}
.booking h3{font-size:1.02rem;margin-bottom:.7rem;display:flex;align-items:center;gap:.45rem}
.booking h3 svg{width:18px;height:18px;stroke:var(--teal);stroke-width:2;fill:none}
.booking .row{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-bottom:.6rem}
.select{appearance:none;width:100%;font:inherit;font-size:.9rem;color:var(--navy);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2313a399' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .8rem center;border:1px solid var(--border);border-radius:10px;padding:.65rem 2rem .65rem .8rem}
.select:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-50)}
@media(max-width:940px){.booking{position:static;transform:none;width:100%;margin-top:1.2rem}}

/* logos / trust strip */
.trustlogos{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1.4rem 2.4rem;color:var(--mute);font-weight:700;font-size:.95rem}
.trustlogos span{opacity:.7}

/* specialty grid (tiles con ilustración flat) */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(192px,1fr));gap:1.1rem}
.tile{display:flex;flex-direction:column;justify-content:space-between;gap:1.1rem;padding:1.4rem 1.3rem;border-radius:var(--r-lg);background:#fff;border:1px solid var(--border);transition:.22s;min-height:190px}
.tile:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:transparent}
.tile .til{width:66px;height:66px;flex:none}
.tile .trow{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.tile .tname{font-weight:700;font-size:1.05rem;color:var(--navy);line-height:1.2}
.tile .tarrow{color:var(--mute);flex:none;transition:.2s}
.tile .tarrow svg{width:22px;height:22px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.tile:hover .tarrow{color:var(--teal-700);transform:translateX(3px)}

/* stats band */
.statband{background:linear-gradient(135deg,var(--teal-700),var(--teal-800));border-radius:var(--r-xl);padding:clamp(2rem,1.4rem + 2.5vw,3rem);color:#fff;display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem 1rem;text-align:center}
@media(max-width:720px){.statband{grid-template-columns:repeat(2,1fr)}}
.statband .n{font-size:clamp(2rem,1.4rem + 2vw,2.8rem);font-weight:800;line-height:1}
.statband .l{font-size:.9rem;color:#bfe4df;margin-top:.45rem}

/* value props */
.values{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.4rem}
.value{display:flex;gap:.9rem}
.value .vi{width:44px;height:44px;border-radius:12px;background:var(--teal-50);color:var(--teal-700);display:grid;place-items:center;flex:none}
.value .vi svg{width:22px;height:22px;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.value h3{font-size:1.08rem;margin-bottom:.25rem}
.value p{font-size:.92rem;color:var(--navy-soft)}

/* cards grid */
.grid{display:grid;gap:1.3rem}
.g3{grid-template-columns:repeat(auto-fill,minmax(290px,1fr))}
.g4{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:1.6rem;transition:.2s}
.card.link:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:transparent}

/* provider card */
.prov{text-align:left;display:flex;flex-direction:column}
.prov .pavatar{width:100%;aspect-ratio:1/1;border-radius:16px;background:linear-gradient(140deg,var(--teal-100),var(--t-peach));display:grid;place-items:center;font-weight:800;font-size:2rem;color:var(--teal-800);margin-bottom:1rem}
.prov .pphoto{width:100%;aspect-ratio:1/1;border-radius:16px;object-fit:cover;object-position:top center;display:block;margin-bottom:1rem;background:var(--teal-50)}
.prov .pname{font-weight:800;color:var(--navy);font-size:1.1rem}
.prov .prole{color:var(--navy-soft);font-size:.88rem;margin:.15rem 0 .7rem}
.prov .ptags{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:1rem}
.chip{font-size:.74rem;font-weight:700;padding:.28rem .6rem;border-radius:var(--r-pill);background:var(--teal-50);color:var(--teal-700)}
.prov .btn{margin-top:auto}

/* service cards (con flecha) */
.scard{display:flex;flex-direction:column;gap:.6rem}
.scard .si{width:50px;height:50px;border-radius:14px;background:var(--teal-50);color:var(--teal-700);display:grid;place-items:center}
.scard .si svg{width:26px;height:26px;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.scard h3{font-size:1.2rem}
.scard p{font-size:.92rem;color:var(--navy-soft)}
.scard .arrow{margin-top:.4rem;font-weight:700;color:var(--teal-700);font-size:.9rem}

/* testimonial */
.tgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.3rem}
.tcard{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:1.6rem}
.tcard .stars{margin-bottom:.7rem}
.tcard p{color:var(--ink);font-size:1.02rem}
.tcard .who{margin-top:.9rem;font-weight:700;font-size:.88rem;color:var(--navy-soft)}

/* conditions link grid */
.linkgrid{columns:4;column-gap:2rem}
@media(max-width:900px){.linkgrid{columns:2}}
@media(max-width:540px){.linkgrid{columns:1}}
.linkgrid a{display:block;padding:.4rem 0;color:var(--navy-soft);font-size:.94rem;font-weight:500;break-inside:avoid}
.linkgrid a:hover{color:var(--teal-700)}

/* signs / symptoms list (service) */
.signs{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.8rem}
.sign{display:flex;align-items:flex-start;gap:.7rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:1rem 1.1rem;font-weight:600;color:var(--navy)}
.sign svg{width:20px;height:20px;stroke:var(--teal);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none;margin-top:2px}

/* split (texto + media) */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.8rem,1rem + 3vw,3.5rem);align-items:center}
@media(max-width:860px){.split{grid-template-columns:1fr}}
.media{border-radius:var(--r-xl);aspect-ratio:5/4;background:
  radial-gradient(110% 90% at 30% 20%, var(--teal-50), transparent 55%),
  linear-gradient(160deg,#e2f1ed,#c2e2da);box-shadow:var(--shadow);overflow:hidden}
.media svg{width:100%;height:100%}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
@media(max-width:760px){.steps{grid-template-columns:1fr}}
.step .sn{width:46px;height:46px;border-radius:50%;background:var(--teal);color:#fff;font-weight:800;display:grid;place-items:center;margin-bottom:.9rem}
.step h3{font-size:1.15rem;margin-bottom:.3rem}
.step p{color:var(--navy-soft);font-size:.94rem}

/* zones */
.zones{display:flex;flex-wrap:wrap;gap:.55rem}
.zones a{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-pill);padding:.55rem 1.1rem;font-weight:700;font-size:.9rem;color:var(--teal-700);transition:.18s}
.zones a:hover{background:var(--teal);color:#fff;border-color:var(--teal)}
.zones a.on{background:var(--wa);color:#fff;border-color:var(--wa);display:inline-flex;align-items:center;gap:.35rem}
.zones a.on svg{width:15px;height:15px;stroke:#fff;stroke-width:2.2;fill:none}

/* faq */
.faq{max-width:780px;margin-inline:auto}
.faq details{border:1px solid var(--border);border-radius:var(--r);margin-bottom:.7rem;background:#fff}
.faq summary{cursor:pointer;list-style:none;padding:1.05rem 1.2rem;font-weight:700;color:var(--navy);display:flex;justify-content:space-between;gap:1rem;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--teal);font-size:1.4rem;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq .a{padding:0 1.2rem 1.15rem;color:var(--navy-soft)}

/* breadcrumb */
.crumb{font-size:.85rem;color:var(--navy-soft);padding-block:1rem}
.crumb a{color:var(--navy-soft)}.crumb a:hover{color:var(--teal-700)}
.crumb span{color:var(--mute);margin:0 .4rem}

/* cta band */
.ctaband{background:linear-gradient(135deg,var(--teal-700),var(--teal-800));border-radius:var(--r-xl);padding:clamp(2.4rem,1.6rem + 3vw,3.8rem);text-align:center;color:#fff;position:relative;overflow:hidden}
.ctaband::after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;background:rgba(239,122,90,.25);top:-140px;right:-80px}
.ctaband h2{color:#fff;font-size:clamp(1.8rem,1.3rem + 2vw,2.6rem);position:relative}
.ctaband p{color:#d2ece8;max-width:50ch;margin:.8rem auto 1.6rem;position:relative}
.ctaband .btn{position:relative}

/* footer */
.foot{background:var(--navy);color:#a9bccb;padding-block:3.5rem 2rem;font-size:.92rem}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2rem}
@media(max-width:760px){.foot-grid{grid-template-columns:1fr 1fr}}
.foot h4{color:#fff;font-size:.95rem;margin-bottom:.9rem}
.foot ul{list-style:none}.foot li{margin-bottom:.5rem}
.foot a:hover{color:#fff}
.foot-bottom{margin-top:2.5rem;padding-top:1.3rem;border-top:1px solid rgba(255,255,255,.12);color:#7e94a4;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}

/* whatsapp fab */
.fab{position:fixed;right:1.2rem;bottom:1.2rem;z-index:80;display:inline-flex;align-items:center;gap:.55rem;background:var(--wa);color:#fff;font-weight:700;padding:.85rem 1.25rem;border-radius:var(--r-pill);box-shadow:var(--shadow-lg);transition:.18s}
.fab:hover{background:var(--wa-dark);transform:scale(1.05)}
.fab svg{width:22px;height:22px;fill:#fff}
@media(max-width:480px){.fab span{display:none}}

/* version switcher */
.switcher{position:fixed;left:1.2rem;bottom:1.2rem;z-index:80;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border:1px solid var(--border);border-radius:var(--r-pill);padding:.3rem;display:flex;gap:.2rem;box-shadow:var(--shadow);font-size:.78rem;font-weight:700}
.switcher a{padding:.36rem .7rem;border-radius:var(--r-pill);color:var(--navy-soft)}
.switcher a.cur{background:var(--teal-700);color:#fff}
@media(max-width:640px){.switcher{display:none}}

/* ---------- PROSE / contenido editorial (blog, páginas largas SEO) ---------- */
.prose{max-width:720px;margin-inline:auto}
.prose p,.prose ul,.prose ol{color:var(--ink);font-size:1.06rem;margin-bottom:1.1rem}
.prose h2{font-size:clamp(1.5rem, 1.2rem + 1.2vw, 2rem);margin:2.2rem 0 .8rem}
.prose h3{font-size:1.25rem;margin:1.6rem 0 .6rem}
.prose ul,.prose ol{padding-left:1.3rem}
.prose li{margin-bottom:.5rem;color:var(--ink)}
.prose a{color:var(--teal-700);text-decoration:underline;text-underline-offset:2px}
.prose a:hover{color:var(--teal-800)}
/* skip link accesibilidad */
.skip{position:absolute;left:-9999px;top:.5rem;background:var(--teal-700);color:#fff;padding:.5rem 1rem;border-radius:8px;z-index:200}
.skip:focus{left:.5rem}

/* ---------- FIX MOBILE: botones sin cortes ---------- */
@media(max-width:520px){
  .btn{white-space:normal;max-width:100%;text-align:center;line-height:1.25}
  .btn--lg{padding:.95rem 1.2rem;font-size:1rem}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
  .ctaband{padding-left:1.1rem;padding-right:1.1rem}
  .nav-cta .btn--wa{padding:.7rem 1rem;font-size:.92rem}
}

/* ============ VARIEDAD DE SECCIONES (rompe monotonía) ============ */
/* Banda de diferenciales (estilo Cales) */
.diffs{background:var(--teal-50);border:1px solid var(--teal-100);border-radius:var(--r-xl);padding:clamp(1.8rem,1.2rem + 2vw,2.8rem)}
.diffs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
@media(max-width:820px){.diffs-grid{grid-template-columns:1fr}}
.diff{display:flex;gap:.9rem;text-align:left}
.diff .di{width:50px;height:50px;border-radius:14px;background:#fff;color:var(--teal-700);display:grid;place-items:center;flex:none;box-shadow:var(--shadow-sm)}
.diff .di svg{width:25px;height:25px;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.diff h3{font-size:1.08rem;margin-bottom:.2rem}
.diff p{font-size:.92rem;color:var(--navy-soft)}
.diffs-cta{margin-top:1.7rem;display:flex;justify-content:center}

/* Fila alternada imagen + texto (estilo Thriveworks) */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,1rem + 3vw,3.6rem);align-items:center}
.feature + .feature{margin-top:clamp(2.2rem,1.4rem + 2vw,3.4rem)}
@media(max-width:860px){.feature{grid-template-columns:1fr}}
.feature .fimg{border-radius:var(--r-xl);background:linear-gradient(165deg,#f3faf8,#e7f3ef);padding:8% 9%;display:grid;place-items:center;min-height:240px}
.feature .fimg img{width:100%;max-width:360px;height:auto}
.feature.reverse .ftext{order:2}
@media(max-width:860px){.feature.reverse .ftext{order:0}}

/* Checklist (qué van a lograr) */
.clist{list-style:none;padding:0;margin:.8rem 0 1.3rem}
.clist li{display:flex;gap:.65rem;align-items:flex-start;margin-bottom:.65rem;color:var(--ink);font-weight:500}
.clist li svg{width:21px;height:21px;color:var(--teal);stroke:currentColor;stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none;margin-top:2px}

/* Timeline "cómo funciona" (numerado con conector) */
.timeline{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:1.3rem}
@media(max-width:820px){.timeline{grid-template-columns:1fr 1fr;gap:1.6rem 1.2rem}}
@media(max-width:480px){.timeline{grid-template-columns:1fr}}
.tstep{position:relative;z-index:1}
.tstep .tn{width:46px;height:46px;border-radius:50%;background:var(--teal);color:#fff;font-weight:800;font-size:1.1rem;display:grid;place-items:center;margin-bottom:.85rem;box-shadow:0 0 0 6px var(--alt)}
.tstep h3{font-size:1.08rem;margin-bottom:.3rem}
.tstep p{font-size:.92rem;color:var(--navy-soft)}
@media(min-width:821px){.timeline::before{content:"";position:absolute;top:23px;left:11%;right:11%;height:2px;background:var(--teal-100);z-index:0}}

/* CTA intermedio compacto (inline) */
.cta-inline{background:linear-gradient(135deg,var(--teal-700),var(--teal-800));border-radius:var(--r-xl);padding:clamp(1.6rem,1.1rem + 2vw,2.4rem) clamp(1.4rem,1rem + 2vw,2.6rem);display:flex;align-items:center;justify-content:space-between;gap:1.4rem;flex-wrap:wrap;color:#fff}
.cta-inline h3{color:#fff;font-size:clamp(1.2rem,1rem + 1vw,1.6rem)}
.cta-inline p{color:#cdeae6;margin-top:.25rem;font-size:.96rem}

/* ============ BLOG ============ */
.post-head{max-width:760px;margin:0 auto;text-align:center}
.post-meta{color:var(--mute);font-size:.9rem;font-weight:700;margin-bottom:.7rem;text-transform:uppercase;letter-spacing:.04em}
.post-banner{max-width:880px;margin:2rem auto 0;border-radius:var(--r-xl);overflow:hidden;background:linear-gradient(165deg,#f3faf8,#e7f3ef);aspect-ratio:16/7;display:grid;place-items:center;padding:3% 6%}
.post-banner img{height:100%;width:auto;max-width:100%;object-fit:contain}
.bgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.bcard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;transition:.2s}
.bcard:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:transparent}
.bcard .bimg{aspect-ratio:16/9;background:linear-gradient(165deg,#f3faf8,#e7f3ef);display:grid;place-items:center;padding:7% 10%}
.bcard .bimg img{height:100%;width:auto;object-fit:contain}
.bcard .bbody{padding:1.3rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.bcard .bmeta{color:var(--teal-700);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.bcard h3{font-size:1.15rem;color:var(--navy)}
.bcard p{color:var(--navy-soft);font-size:.93rem;flex:1}
.bcard .blink{color:var(--teal-700);font-weight:700;font-size:.9rem}
.prose .cta-inline{margin:2.2rem 0}
.prose figure.note{background:var(--teal-50);border:1px solid var(--teal-100);border-radius:var(--r);padding:1.1rem 1.3rem;margin:1.6rem 0}
.prose figure.note p{margin:0;color:var(--navy)}

/* TOC artículos largos */
.toc{background:var(--alt);border:1px solid var(--border);border-radius:var(--r-lg);padding:1.2rem 1.4rem;margin:0 0 2.2rem}
.toc-t{font-weight:800;color:var(--navy);margin-bottom:.5rem;font-size:.95rem}
.toc ol{margin:0;padding-left:1.1rem;columns:2;column-gap:2rem}
.toc li{margin-bottom:.4rem;break-inside:avoid}
.toc a{color:var(--teal-700);font-weight:600;font-size:.92rem}
@media(max-width:640px){.toc ol{columns:1}}
.prose h2{scroll-margin-top:90px}
.prose h2{margin-top:2.4rem}

/* ===================== MEGA-NAV (dropdowns + hamburguesa) ===================== */
.menu{display:flex;align-items:center;gap:1.35rem;font-weight:600;font-size:.93rem}
.menu > a{color:var(--navy);white-space:nowrap}
.menu > a:hover{color:var(--teal-700)}
.burger{display:none}
.nd{position:relative}
.nd > summary{list-style:none;cursor:pointer;color:var(--navy);display:inline-flex;align-items:center;gap:.32rem;white-space:nowrap}
.nd > summary::-webkit-details-marker{display:none}
.nd > summary::after{content:"";width:.46rem;height:.46rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.55;transition:.15s}
.nd[open] > summary{color:var(--teal-700)}
.nd[open] > summary::after{transform:rotate(-135deg) translateY(-2px);opacity:.9}
.nd-panel{position:absolute;top:calc(100% + .9rem);left:0;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:.5rem;min-width:248px;display:flex;flex-direction:column;gap:.1rem;z-index:70}
.nd-panel::before{content:"";position:absolute;top:-.9rem;left:0;right:0;height:.9rem}
.nd-panel a{display:block;padding:.55rem .8rem;border-radius:9px;color:var(--navy);white-space:nowrap;font-weight:600}
.nd-panel a:hover{background:var(--teal-50);color:var(--teal-700)}
.nd-panel.nd-2col{display:grid;grid-template-columns:1fr 1fr;min-width:440px}
@media(max-width:1040px){.menu{gap:1rem;font-size:.9rem}}
@media(max-width:900px){
  .burger{display:grid;place-items:center;width:46px;height:46px;border-radius:11px;border:1px solid var(--border);background:#fff;color:var(--navy);cursor:pointer}
  .menu{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:#fff;border-top:1px solid var(--border);box-shadow:var(--shadow);padding:.3rem 0 1rem;max-height:82vh;overflow-y:auto}
  .mnav-cb:checked ~ .menu{display:flex}
  .menu > a{padding:.9rem var(--gutter);border-top:1px solid var(--border)}
  .nd{position:static;border-top:1px solid var(--border)}
  .nd > summary{padding:.9rem var(--gutter);justify-content:space-between;font-weight:700}
  .nd-panel,.nd-panel.nd-2col{position:static;display:block;box-shadow:none;border:none;border-radius:0;min-width:0;padding:.1rem 0 .5rem;background:var(--alt)}
  .nd-panel a{padding:.62rem calc(var(--gutter) + .9rem)}
  .nd-panel::before{display:none}
}
