:root{
  --verde:#0F4336; --verde-h:#0A3229; --vo:#08231C; --vo2:#05170F; --menta:#C9A96E;
  --bg:#F6F0E4; --surface:#FBF7EF; --alt:#EFE6D5; --ink:#14201B; --muted:#4A5550; --line:#E2D8C6;
  --tint:#E4EBDF; --tint-ink:#08231C; --ph:#E6DDCB; --ph-ink:#3F4D46; --link:#0F4336;
  --wa:#1C8C4E; --radius:18px;
  --serif:'Bebas Neue','Oswald',Impact,'Arial Narrow',sans-serif;
  --sans:Manrope,'Segoe UI',system-ui,-apple-system,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#0C1512; --surface:#13201B; --alt:#10201A; --ink:#EAF0EC; --muted:#A9B6AF; --line:#24362F;
    --tint:#123D30; --tint-ink:#CFF3E2; --ph:#1A2A24; --ph-ink:#A9B6AF; --link:#C9A96E; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0C1512; --surface:#13201B; --alt:#10201A; --ink:#EAF0EC; --muted:#A9B6AF; --line:#24362F;
  --tint:#123D30; --tint-ink:#CFF3E2; --ph:#1A2A24; --ph-ink:#A9B6AF; --link:#C9A96E; color-scheme:dark;
}
:root{box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:calc(env(safe-area-inset-top,0px) + 90px);scroll-behavior:smooth}
*,*::before,*::after{box-sizing:inherit}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid var(--menta);outline-offset:3px;border-radius:6px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1;margin:0;letter-spacing:.015em}
p{margin:0}
.wrap{max-width:1280px;margin:0 auto;padding-inline:clamp(20px,5vw,80px)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
svg.i{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.kicker{font-family:var(--serif);font-size:20px;letter-spacing:.08em;font-weight:400;color:var(--link);margin-bottom:14px}
.on-dark .kicker{color:var(--menta)}
.lead{font-size:clamp(17px,1.6vw,19px);color:var(--muted);max-width:62ch}

/* Botones */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 24px;border-radius:999px;font:600 15px/1 var(--sans);border:1.5px solid transparent;cursor:pointer;text-decoration:none!important;transition:background .15s,border-color .15s,color .15s;white-space:nowrap}
.btn-primary{background:var(--verde);color:#fff}
.btn-primary:hover{background:var(--verde-h);color:#fff}
.btn-light{background:#fff;color:var(--vo)}
.btn-light:hover{background:#EFE6D5;color:var(--vo)}
.btn-ghost{border-color:var(--verde);color:var(--link);background:transparent}
.btn-ghost:hover{background:var(--tint)}
.btn-ghost-dark{border-color:rgba(255,255,255,.5);color:#fff}
.btn-ghost-dark:hover{background:rgba(255,255,255,.08);color:#fff}
.btn-wa{background:var(--wa);color:#fff}
.btn-wa:hover{background:#177A43;color:#fff}
.chip{min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:600 14px var(--sans);cursor:pointer}
.chip[aria-pressed="true"]{background:var(--verde);border-color:var(--verde);color:#fff}
.textlink{font-weight:700;display:inline-flex;gap:8px;align-items:center;min-height:44px}

/* Header */
.topbar{background:var(--vo);color:#DDE6E1;font-size:13px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;min-height:40px;gap:20px}
.topbar a{color:#DDE6E1}
.topbar .info{display:flex;gap:26px;flex-wrap:wrap}
.topbar .info span,.topbar .info a{display:inline-flex;gap:8px;align-items:center}
.social{display:flex;gap:6px}
.social a{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.social a:hover{background:rgba(255,255,255,.1);text-decoration:none}
header.site{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;height:84px;gap:24px}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink)!important;text-decoration:none!important}
.brand .mark{width:44px;height:44px;border-radius:50%;background:var(--verde);color:#fff;display:flex;align-items:center;justify-content:center}
.brand b{display:block;font:400 34px/1 var(--serif);letter-spacing:.1em}
.brand small{white-space:nowrap;display:block;font-size:10.5px;font-weight:700;letter-spacing:.14em;color:var(--muted);margin-top:3px}
nav.main ul{list-style:none;margin:0;padding:0;display:flex;gap:clamp(16px,1.8vw,28px)}
nav.main a{white-space:nowrap;color:var(--ink);font-weight:500;font-size:15px;padding:8px 0;border-bottom:2px solid transparent;text-decoration:none}
nav.main a:hover{color:var(--link)}
nav.main a[aria-current="page"]{color:var(--link);font-weight:700;border-bottom-color:currentColor}
.menu-btn{display:none;width:46px;height:46px;border-radius:50%;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);align-items:center;justify-content:center;cursor:pointer}
.header-cta{display:flex;gap:10px}

/* Drawer móvil */
.drawer{position:fixed;inset:0;z-index:80;display:none}
.drawer.open{display:block}
.drawer .scrim{position:absolute;inset:0;background:rgba(3,20,15,.55)}
.drawer .panel{position:absolute;top:0;right:0;bottom:0;width:min(86vw,360px);background:var(--surface);padding:calc(env(safe-area-inset-top,0px) + 20px) 24px calc(env(safe-area-inset-bottom,0px) + 24px);display:flex;flex-direction:column;gap:6px;overflow:auto;animation:slide .22s ease-out}
@keyframes slide{from{transform:translateX(30px);opacity:0}}
.drawer .panel a.nav{font:400 32px/1.2 var(--serif);letter-spacing:.03em;color:var(--ink);padding:12px 4px;border-bottom:1px solid var(--line);text-decoration:none}
.drawer .panel a.nav[aria-current="page"]{color:var(--link)}
.drawer .close{align-self:flex-end}

/* Hero */
.hero{background:var(--vo);color:#fff;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:7fr 5fr;gap:48px;padding-top:clamp(56px,8vw,100px)}
.hero h1{font-size:clamp(44px,6.2vw,82px);line-height:1.02;margin-top:6px}
.hero .lead{color:#CFDAD4;margin-top:26px}
.hero .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:36px;padding-bottom:clamp(56px,8vw,100px)}
.hero .visual{position:relative;display:flex;align-items:flex-end}
.hero .visual .ph{width:100%;height:min(560px,52vw);border-radius:240px 240px 0 0}
.badge{position:absolute;left:-36px;bottom:48px;background:#fff;color:#14201B;border-radius:16px;padding:18px 22px;display:flex;gap:14px;align-items:center;box-shadow:0 18px 40px rgba(0,0,0,.25)}
.badge b{font:700 48px/1 var(--serif);color:#0F4336}
.badge span{font-size:14px;font-weight:600;line-height:1.35}

.ph{background-color:var(--ph);background-image:repeating-linear-gradient(135deg,rgba(15,67,54,.09) 0 1px,transparent 1px 16px);display:flex;align-items:center;justify-content:center;color:var(--ph-ink);font-size:13px;font-weight:600;text-align:center;padding:12px}

/* Secciones */
section.block{padding-block:clamp(64px,9vw,120px)}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:44px}
.sec-head h2{font-size:clamp(36px,4.4vw,56px);max-width:18ch}
.stats{background:var(--surface);border-bottom:1px solid var(--line)}
.stats .wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-block:40px}
.stat{padding-left:22px;border-left:2px solid var(--tint)}
.stat b{display:block;font:700 clamp(38px,4vw,50px)/1 var(--serif);color:var(--link)}
.stat span{font-size:15px;color:var(--muted)}
.two{display:grid;grid-template-columns:5fr 6fr;gap:clamp(32px,6vw,96px);align-items:start}
.two h2{font-size:clamp(36px,4.4vw,56px)}
.pills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:26px 0 10px}
.pills div{background:var(--alt);border-color:transparent!important;border:1px solid var(--line);border-radius:14px;padding:18px;font-weight:600;font-size:15px;line-height:1.4}

.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:34px;display:flex;flex-direction:column;gap:16px}
.card h3{font-size:34px}
.card p{color:var(--muted)}
.checks{list-style:none;margin:0;padding:20px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.checks li{display:flex;gap:12px;font-size:15px;line-height:1.5}
.checks li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--verde);margin-top:8px;flex-shrink:0}
.card .textlink{margin-top:auto}
.svc-icon{width:56px;height:56px;border-radius:16px;background:var(--tint);color:var(--link);display:flex;align-items:center;justify-content:center}
.svc-icon svg{width:26px;height:26px}

.sectors{background:var(--vo);color:#fff}
.sectors .lead{color:#CFDAD4}
.sector{border:1px solid rgba(255,255,255,.16);border-radius:var(--radius);padding:30px 26px;display:flex;flex-direction:column;gap:16px;background:rgba(255,255,255,.03)}
.sector .ic{width:56px;height:56px;border-radius:50%;background:var(--menta);color:var(--vo);display:flex;align-items:center;justify-content:center}
.sector .ic svg{width:26px;height:26px}
.sector h3{font-size:28px}
.sector p{color:#CFDAD4;font-size:15px}

.person{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.person .ph{aspect-ratio:4/5}
.person .body{padding:22px;display:flex;flex-direction:column;gap:6px;flex-grow:1}
.person .role{font-size:13px;font-weight:700;color:var(--link)}
.person h3{font-size:27px}
.person .esp{font-size:14px;font-weight:600}
.person p{font-size:14px;color:var(--muted)}
.person .links{display:flex;gap:8px;margin-top:auto;padding-top:14px}
.iconbtn{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--line);color:var(--link);display:inline-flex;align-items:center;justify-content:center;background:transparent;cursor:pointer}
.iconbtn:hover{background:var(--tint);text-decoration:none}

.post{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.post .ph{aspect-ratio:16/10}
.post .body{padding:24px;display:flex;flex-direction:column;gap:12px;flex-grow:1}
.meta{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--muted);flex-wrap:wrap}
.tag{background:var(--tint);color:var(--tint-ink);padding:5px 12px;border-radius:999px;font-weight:700}
.post h3{font-size:27px;line-height:1.15}
.post p{font-size:15px;color:var(--muted)}
.post .textlink{margin-top:auto;background:none;border:0;padding:0;font:700 15px var(--sans);color:var(--link);cursor:pointer}
.featured{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden;margin-bottom:28px}
.featured .ph{min-height:360px}
.featured .body{padding:clamp(28px,4vw,56px);display:flex;flex-direction:column;gap:16px;justify-content:center}
.featured h3{font-size:clamp(32px,3.4vw,44px)}

.cta-band{background:var(--verde);color:#fff;border-radius:28px;padding:clamp(32px,5vw,64px);display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.cta-band h2{font-size:clamp(30px,3.6vw,46px);max-width:20ch}
.cta-band p{color:#E1F2E9;margin-top:12px;font-size:17px}
.cta-band .actions{display:flex;flex-direction:column;gap:12px}

/* Page header */
.pagehead{background:var(--vo);color:#fff;padding-block:clamp(48px,7vw,84px)}
.crumbs{font-size:14px;color:#AFC0B7;display:flex;gap:8px}
.crumbs a{color:#AFC0B7}
.pagehead h1{font-size:clamp(44px,5.6vw,72px);margin-top:18px}
.pagehead .lead{color:#CFDAD4;margin-top:14px}
.jump{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}

/* Estudio */
.timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:2px solid var(--verde);margin-top:clamp(48px,6vw,80px)}
.timeline div{padding:26px 24px 0 0;position:relative}
.timeline div::before{content:"";position:absolute;top:-9px;left:0;width:16px;height:16px;border-radius:50%;background:var(--verde);box-shadow:0 0 0 4px var(--bg)}
.timeline b{display:block;font:700 38px/1.1 var(--serif);color:var(--link)}
.mv{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.mv > div{border-radius:24px;padding:clamp(32px,4vw,56px);display:flex;flex-direction:column;gap:16px}
.mv .dark{background:var(--vo);color:#fff}
.mv .light{background:var(--surface);border:1px solid var(--line)}
.mv p{font:500 clamp(20px,1.9vw,26px)/1.45 var(--sans)}
.mv h3{font:700 15px var(--sans)}
.mv .dark h3{color:var(--menta)}
.mv .light h3{color:var(--link)}
.values{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.values .card{padding:28px 24px}
.values .card h3{font-size:28px}
.values .card p{font-size:14px}
.num-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.num-grid div{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:28px}
.num-grid b{display:block;font:700 48px/1 var(--serif);color:var(--link)}
.num-grid span{display:block;margin-top:10px;font-size:15px;color:var(--muted)}

/* Servicios detalle */
.area{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:clamp(28px,4vw,56px);display:grid;grid-template-columns:5fr 6fr;gap:clamp(28px,4vw,56px);margin-bottom:28px}
.area h2{font-size:clamp(36px,4vw,48px);margin-top:14px}
.area p{color:var(--muted);margin-top:16px;font-size:17px}
.area .btn{margin-top:26px}
.area ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-content:start}
.area li{background:var(--alt);border-radius:14px;padding:20px;display:flex;gap:12px;font-weight:600;font-size:15px;line-height:1.45}
.area li svg{width:22px;height:22px;padding:4px;border-radius:50%;background:var(--verde);color:#fff;stroke-width:2.4}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;counter-reset:s}
.steps div{border-top:2px solid var(--verde);padding-top:20px}
.steps div::before{counter-increment:s;content:"Paso " counter(s);font-size:13px;font-weight:800;color:var(--link)}
.steps h3{font-size:30px;margin:8px 0}
.steps p{font-size:15px;color:var(--muted)}

/* Toolbar / búsqueda */
.toolbar{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center;margin-bottom:32px}
.chips{display:flex;gap:10px;flex-wrap:wrap}
.search{display:flex;align-items:center;gap:10px;background:var(--surface);border:1.5px solid var(--line);border-radius:999px;padding:0 18px;min-height:50px;min-width:min(100%,320px);color:var(--muted)}
.search:focus-within{border-color:var(--verde)}
.search input{border:0;outline:0;background:transparent;font:15px var(--sans);color:var(--ink);width:100%;min-height:46px}
.empty{padding:48px;text-align:center;border:1.5px dashed var(--line);border-radius:var(--radius);color:var(--muted)}
.pager{display:flex;justify-content:center;gap:10px;margin-top:40px}
.pager button{width:46px;height:46px;border-radius:50%;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:700 15px var(--sans);cursor:pointer}
.pager button[aria-current="page"]{background:var(--verde);border-color:var(--verde);color:#fff}

/* Compendio */
.comp{display:grid;grid-template-columns:280px 1fr;gap:32px;align-items:start}
.comp aside{position:sticky;top:110px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.comp aside h2{font:700 14px var(--sans);color:var(--link);padding:6px 12px 12px}
.comp aside button{display:flex;justify-content:space-between;width:100%;text-align:left;padding:11px 12px;border-radius:10px;border:0;background:transparent;color:var(--ink);font:500 15px/1.4 var(--sans);cursor:pointer}
.comp aside button:hover{background:var(--alt)}
.comp aside button[aria-current="true"]{background:var(--tint);color:var(--tint-ink);font-weight:700}
.comp aside button small{color:var(--muted);font-weight:600}
.materia{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:16px}
.materia > button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 28px;background:transparent;border:0;color:var(--ink);cursor:pointer;text-align:left}
.materia > button h3{font-size:30px}
.materia > button .count{display:flex;gap:14px;align-items:center;font:600 14px var(--sans);color:var(--muted);white-space:nowrap}
.materia > button .pm{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--link);transition:transform .2s}
.materia[data-open="true"] > button .pm{transform:rotate(45deg)}
.docs{display:none;border-top:1px solid var(--line)}
.materia[data-open="true"] .docs{display:block}
.doc{display:flex;gap:18px;align-items:center;padding:18px 28px;border-bottom:1px solid var(--line)}
.doc:last-child{border-bottom:0}
.doc .pdf{width:46px;height:54px;border-radius:8px;background:var(--tint);color:var(--tint-ink);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;flex-shrink:0}
.doc .t{flex-grow:1}
.doc .t b{display:block;font-size:16px}
.doc .t span{font-size:14px;color:var(--muted)}
.doc .acts{display:flex;gap:8px}
.doc .btn{min-height:44px;padding:0 16px;font-size:14px}

/* Contacto */
.contact{display:grid;grid-template-columns:5fr 6fr;gap:32px;align-items:start}
.cinfo{display:flex;flex-direction:column;gap:14px}
.ccard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;display:flex;gap:18px;align-items:center;color:var(--ink)!important;text-decoration:none!important}
a.ccard:hover{border-color:var(--verde)}
.ccard .ic{width:52px;height:52px;border-radius:50%;background:var(--tint);color:var(--link);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ccard small{display:block;font-size:13px;font-weight:700;color:var(--link)}
.ccard b{display:block;font-size:18px;line-height:1.35;word-break:break-word}
.ccard.wa{background:var(--wa);border-color:var(--wa);color:#fff!important}
.ccard.wa .ic{background:rgba(255,255,255,.18);color:#fff}
.ccard.wa small,.ccard.wa span{color:#E3F5EA}
form.cf{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:clamp(24px,4vw,44px);display:grid;grid-template-columns:1fr 1fr;gap:18px}
form.cf h2{grid-column:1/-1;font-size:38px}
form.cf .full{grid-column:1/-1}
.fld{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600}
.fld input,.fld select,.fld textarea{font:15px var(--sans);border:1.5px solid var(--line);border-radius:12px;padding:0 14px;min-height:50px;background:var(--surface);color:var(--ink)}
.fld textarea{min-height:130px;padding:12px 14px;resize:vertical}
.fld input:focus,.fld select:focus,.fld textarea:focus{outline:0;border-color:var(--verde)}
.fld .err{color:#B42318;font-weight:600;font-size:13px;display:none}
.fld[data-invalid="true"] .err{display:block}
.fld[data-invalid="true"] input,.fld[data-invalid="true"] textarea{border-color:#B42318}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--muted)}
.consent input{width:20px;height:20px;margin:2px 0 0;accent-color:#0F4336}
.formnote{font-size:13px;color:var(--muted)}
.map{margin-top:32px;border-radius:24px;min-height:320px;flex-direction:column;gap:14px}

/* Footer */
footer.site{background:var(--vo);color:#D5DDD8;padding:64px 0 28px;font-size:15px}
footer.site .cols{display:grid;grid-template-columns:4fr 2fr 3fr 3fr;gap:32px}
footer.site h2{font:700 14px var(--sans);color:var(--menta);margin-bottom:14px}
footer.site ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
footer.site a{color:#D5DDD8}
footer.site .brand b{color:#fff}
footer.site .brand small{color:var(--menta)}
footer.site .brand .mark{background:transparent;border:1px solid var(--menta);color:var(--menta)}
footer.site .legal{margin-top:48px;padding-top:22px;border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:#AFC0B7}
footer.site .legal a{color:#AFC0B7}

/* WhatsApp flotante + barra móvil */
.fab{position:fixed;right:24px;bottom:calc(env(safe-area-inset-bottom,0px) + 24px);z-index:60;width:62px;height:62px;border-radius:50%;background:var(--wa);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(0,0,0,.28)}
.fab svg{width:30px;height:30px}
.fab:hover{background:#177A43;text-decoration:none}
.mbar{display:none}

/* Modal */
dialog{border:0;border-radius:24px;padding:0;max-width:min(720px,92vw);width:100%;background:var(--surface);color:var(--ink)}
dialog::backdrop{background:rgba(3,20,15,.6)}
dialog .ph{aspect-ratio:16/7}
dialog .body{padding:32px;display:flex;flex-direction:column;gap:14px}
dialog h2{font-size:38px}
dialog p{color:var(--muted)}

.toast{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 100px);transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:14px 20px;border-radius:12px;font-size:14px;font-weight:600;z-index:90;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw;text-align:center}
.toast.show{opacity:1}

[data-page][hidden]{display:none}


/* Marca de agua */
.wm{position:relative;overflow:hidden;isolation:isolate}
.wm::before,.wm::after{content:"";position:absolute;z-index:-1;pointer-events:none;background-repeat:no-repeat;background-position:center;background-size:contain}
.wm-scale::before{width:min(680px,80vw);aspect-ratio:1;right:-110px;top:50%;transform:translateY(-50%) rotate(-8deg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%230F4336' stroke-opacity='.11' stroke-linecap='round' stroke-linejoin='round'%3E %3Ccircle cx='100' cy='100' r='97' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='93' stroke-width='.5'/%3E%3Ccircle cx='100' cy='100' r='71' stroke-width='.6'/%3E %3Cpath id='c' d='M100,18 a82,82 0 1,1 -0.01,0' stroke='none'/%3E %3Ctext font-family='Georgia,serif' font-size='10.5' letter-spacing='3.4' fill='%230F4336' fill-opacity='.13' stroke='none'%3E%3CtextPath href='%23c'%3ELABORO %C2%B7 ABOGADOS LABORALISTAS %C2%B7 DERECHO LABORAL %C2%B7%3C/textPath%3E%3C/text%3E %3Cg transform='translate(56.8,38) scale(3.6)' stroke-width='.24'%3E%3Cpath d='M12 2.6v18.2M7.5 20.8h9M6.5 22h11M3.5 6.6h17M7 6.6l-3.2 7.2a3.2 3.2 0 0 0 6.4 0zM17 6.6l-3.2 7.2a3.2 3.2 0 0 0 6.4 0zM3.8 13.8h6.4M13.8 13.8h6.4'/%3E%3Ccircle cx='12' cy='2.6' r='.9'/%3E%3C/g%3E %3Cpath d='M41.7,121.2 L44.9,128.4 L48.9,135.1 L53.7,141.2 L59.2,146.7 L65.4,151.5 L72.2,155.4 L79.4,158.5 L86.9,160.6 L94.6,161.8' stroke-width='.9'/%3E%3Cellipse cx='48.8' cy='130.2' rx='4.4' ry='1.7' transform='rotate(24.8 48.8 130.2)'/%3E%3Cellipse cx='44.1' cy='132.6' rx='4.4' ry='1.7' transform='rotate(100.8 44.1 132.6)'/%3E%3Cellipse cx='52.9' cy='136.3' rx='4.2' ry='1.7' transform='rotate(17.6 52.9 136.3)'/%3E%3Cellipse cx='48.6' cy='139.3' rx='4.2' ry='1.7' transform='rotate(93.6 48.6 139.3)'/%3E%3Cellipse cx='57.7' cy='141.9' rx='4.1' ry='1.6' transform='rotate(10.3 57.7 141.9)'/%3E%3Cellipse cx='53.9' cy='145.3' rx='4.1' ry='1.6' transform='rotate(86.3 53.9 145.3)'/%3E%3Cellipse cx='63.2' cy='146.9' rx='3.9' ry='1.6' transform='rotate(3.1 63.2 146.9)'/%3E%3Cellipse cx='60.0' cy='150.6' rx='3.9' ry='1.6' transform='rotate(79.1 60.0 150.6)'/%3E%3Cellipse cx='69.2' cy='151.2' rx='3.8' ry='1.5' transform='rotate(-4.1 69.2 151.2)'/%3E%3Cellipse cx='66.6' cy='155.1' rx='3.8' ry='1.5' transform='rotate(71.9 66.6 155.1)'/%3E%3Cellipse cx='75.8' cy='154.7' rx='3.7' ry='1.5' transform='rotate(-11.3 75.8 154.7)'/%3E%3Cellipse cx='73.7' cy='158.7' rx='3.7' ry='1.5' transform='rotate(64.7 73.7 158.7)'/%3E%3Cellipse cx='82.7' cy='157.3' rx='3.5' ry='1.4' transform='rotate(-18.6 82.7 157.3)'/%3E%3Cellipse cx='81.3' cy='161.4' rx='3.5' ry='1.4' transform='rotate(57.4 81.3 161.4)'/%3E%3Cellipse cx='89.9' cy='159.1' rx='3.4' ry='1.4' transform='rotate(-25.8 89.9 159.1)'/%3E%3Cellipse cx='89.0' cy='163.2' rx='3.4' ry='1.4' transform='rotate(50.2 89.0 163.2)'/%3E%3Cellipse cx='97.3' cy='160.0' rx='3.2' ry='1.3' transform='rotate(-33.0 97.3 160.0)'/%3E%3Cellipse cx='97.0' cy='164.0' rx='3.2' ry='1.3' transform='rotate(43.0 97.0 164.0)'/%3E%3Cpath d='M158.3,121.2 L155.1,128.4 L151.1,135.1 L146.3,141.2 L140.8,146.7 L134.6,151.5 L127.8,155.4 L120.6,158.5 L113.1,160.6 L105.4,161.8' stroke-width='.9'/%3E%3Cellipse cx='155.9' cy='132.6' rx='4.4' ry='1.7' transform='rotate(79.2 155.9 132.6)'/%3E%3Cellipse cx='151.2' cy='130.2' rx='4.4' ry='1.7' transform='rotate(155.2 151.2 130.2)'/%3E%3Cellipse cx='151.4' cy='139.3' rx='4.2' ry='1.7' transform='rotate(86.4 151.4 139.3)'/%3E%3Cellipse cx='147.1' cy='136.3' rx='4.2' ry='1.7' transform='rotate(162.4 147.1 136.3)'/%3E%3Cellipse cx='146.1' cy='145.3' rx='4.1' ry='1.6' transform='rotate(93.7 146.1 145.3)'/%3E%3Cellipse cx='142.3' cy='141.9' rx='4.1' ry='1.6' transform='rotate(169.7 142.3 141.9)'/%3E%3Cellipse cx='140.0' cy='150.6' rx='3.9' ry='1.6' transform='rotate(100.9 140.0 150.6)'/%3E%3Cellipse cx='136.8' cy='146.9' rx='3.9' ry='1.6' transform='rotate(176.9 136.8 146.9)'/%3E%3Cellipse cx='133.4' cy='155.1' rx='3.8' ry='1.5' transform='rotate(108.1 133.4 155.1)'/%3E%3Cellipse cx='130.8' cy='151.2' rx='3.8' ry='1.5' transform='rotate(184.1 130.8 151.2)'/%3E%3Cellipse cx='126.3' cy='158.7' rx='3.7' ry='1.5' transform='rotate(115.3 126.3 158.7)'/%3E%3Cellipse cx='124.2' cy='154.7' rx='3.7' ry='1.5' transform='rotate(191.3 124.2 154.7)'/%3E%3Cellipse cx='118.7' cy='161.4' rx='3.5' ry='1.4' transform='rotate(122.6 118.7 161.4)'/%3E%3Cellipse cx='117.3' cy='157.3' rx='3.5' ry='1.4' transform='rotate(198.6 117.3 157.3)'/%3E%3Cellipse cx='111.0' cy='163.2' rx='3.4' ry='1.4' transform='rotate(129.8 111.0 163.2)'/%3E%3Cellipse cx='110.1' cy='159.1' rx='3.4' ry='1.4' transform='rotate(205.8 110.1 159.1)'/%3E%3Cellipse cx='103.0' cy='164.0' rx='3.2' ry='1.3' transform='rotate(137.0 103.0 164.0)'/%3E%3Cellipse cx='102.7' cy='160.0' rx='3.2' ry='1.3' transform='rotate(213.0 102.7 160.0)'/%3E %3C/svg%3E")}
.wm-scale.left::before{right:auto;left:-110px;transform:translateY(-50%) rotate(6deg)}
.wm-gavel::before{width:min(560px,70vw);aspect-ratio:1;right:-60px;top:50%;transform:translateY(-50%) rotate(4deg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%230F4336' stroke-opacity='.11' stroke-width='.8' stroke-linecap='round' stroke-linejoin='round'%3E %3Cpath d='M14 78q23-9 46 0q23-9 46 0v28q-23-9-46 0q-23-9-46 0z'/%3E%3Cpath d='M60 78v28M14 106l-4 4h100l-4-4'/%3E %3Cpath d='M22 85q15-5 30 0M22 91q15-5 30 0M22 97q15-5 30 0M68 85q15-5 30 0M68 91q15-5 30 0M68 97q15-5 30 0'/%3E %3Cg transform='translate(26,-8) rotate(-35 62 63)'%3E%3Crect x='58' y='8' width='8' height='46' rx='2'/%3E%3Crect x='40' y='54' width='44' height='18' rx='3'/%3E%3Cpath d='M47 54v18M77 54v18'/%3E%3C/g%3E %3Cellipse cx='88' cy='70' rx='14' ry='3.5'/%3E%3Cpath d='M74 70v3q14 6 28 0v-3'/%3E %3Ctext x='18' y='52' font-family='Georgia,serif' font-size='30' fill='%230F4336' fill-opacity='.1' stroke='none'%3E%C2%A7%3C/text%3E %3C/svg%3E")}
.wm-house::before{width:min(720px,85vw);aspect-ratio:1;left:50%;top:50%;transform:translate(-50%,-50%);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%230F4336' stroke-opacity='.08' stroke-width='.45' stroke-linejoin='round'%3E%3Cpath d='M8 22 32 8l24 14z'/%3E%3Ccircle cx='32' cy='16' r='2.5'/%3E%3Cpath d='M10 22h44v4H10zM15 26v22M19 26v22M25 26v22M29 26v22M35 26v22M39 26v22M45 26v22M49 26v22M10 48h44v4H10zM6 52h52v5H6z'/%3E%3Cpath d='M9 23h46M7 22.5h50'/%3E%3C/svg%3E")}
.wm-cols::before,.wm-cols::after{width:200px;height:560px;top:50%;transform:translateY(-50%);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 170' fill='none' stroke='%230F4336' stroke-opacity='.1' stroke-width='.7'%3E%3Crect x='4' y='4' width='52' height='6'/%3E%3Cpath d='M8 10h44l-5 8H13z'/%3E%3Cpath d='M10 12c-4 0-5 5-1 6M50 12c4 0 5 5 1 6'/%3E%3Crect x='15' y='18' width='30' height='124'/%3E%3Cpath d='M20.5 20v120M26 20v120M30 20v120M34 20v120M39.5 20v120'/%3E%3Crect x='11' y='142' width='38' height='6'/%3E%3Crect x='6' y='148' width='48' height='8'/%3E%3Crect x='2' y='156' width='56' height='8'/%3E%3C/svg%3E")}
.wm-cols::before{left:-30px}
.wm-cols::after{right:-30px}
@media (max-width:860px){.wm-cols::before,.wm-cols::after{width:120px;height:340px;opacity:.8}.wm-scale::before{right:-140px}.wm-scale.left::before{left:-140px}}

/* Servicios con ilustraciones */
.svc7{display:flex;flex-wrap:wrap;justify-content:center;gap:48px 28px}
.svc7 .it{width:calc(25% - 21px);min-width:220px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px}
.svc7 .ill{width:120px;height:120px;border-radius:50%;background:var(--alt);display:flex;align-items:center;justify-content:center;color:var(--vo);position:relative}
.svc7 .ill::after{content:"";position:absolute;inset:-8px;border-radius:50%;border:1px solid var(--line)}
.svc7 .ill svg{width:70px;height:70px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.svc7 p{font-size:15.5px;font-weight:600;line-height:1.45;max-width:26ch;color:var(--ink)}
@media (max-width:600px){.svc7{gap:36px 12px}.svc7 .it{width:calc(50% - 6px);min-width:0}.svc7 .ill{width:92px;height:92px}.svc7 .ill svg{width:54px;height:54px}.svc7 p{font-size:14px}}

/* Rombos solo en crema */
body{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 0 48 24 24 48 0 24z' fill='none' stroke='%230F4336' stroke-opacity='.09'/%3E%3Cpath d='M24 20.5 27.5 24 24 27.5 20.5 24z' fill='%230F4336' fill-opacity='.08'/%3E%3C/svg%3E");background-size:48px 48px}
section[style*="var(--alt)"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 0 48 24 24 48 0 24z' fill='none' stroke='%230F4336' stroke-opacity='.09'/%3E%3Cpath d='M24 20.5 27.5 24 24 27.5 20.5 24z' fill='%230F4336' fill-opacity='.08'/%3E%3C/svg%3E")!important;background-size:48px 48px!important}

/* Sello animado */
.hero .visual{align-items:center;justify-content:center;padding-bottom:clamp(40px,6vw,90px)}
.seal{position:relative;width:min(460px,100%);aspect-ratio:1;color:#C9A96E}
.seal::before{content:"";position:absolute;inset:-12%;border-radius:50%;background:radial-gradient(circle,rgba(15,67,54,.55),transparent 65%);z-index:0}
.seal svg{position:relative;width:100%;height:100%;overflow:visible}
.seal .ring{transform-origin:100px 100px;animation:spin 40s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.seal .draw path,.seal .draw circle,.seal .draw ellipse{stroke-dasharray:400;stroke-dashoffset:400;animation:draw 2.8s cubic-bezier(.16,1,.3,1) forwards;animation-delay:.4s}
@keyframes draw{to{stroke-dashoffset:0}}
.seal .sway{transform-origin:100px 58px;animation:sway 6s ease-in-out infinite 3s}
@keyframes sway{25%{transform:rotate(2.5deg)}75%{transform:rotate(-2.5deg)}}
.seal{animation:sealIn 1.2s cubic-bezier(.16,1,.3,1) both}
@keyframes sealIn{from{opacity:0;transform:scale(.9) rotate(-10deg)}}
@media (max-width:860px){.seal{width:min(300px,78%);margin:8px auto 0}.hero .visual{padding-bottom:48px}}

/* Intro de entrada */
.intro{position:fixed;inset:0;z-index:300;background:#08231C;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;transition:background-color .9s ease}
.intro .seal{width:min(420px,68vw);transform-origin:0 0;animation:none}
.intro .seal .ring{animation-duration:10s}
.intro .word{font:400 clamp(22px,3vw,30px)/1 var(--serif);letter-spacing:.5em;padding-left:.5em;color:#C9A96E;opacity:0;animation:wordIn 1s .9s cubic-bezier(.16,1,.3,1) forwards}
@keyframes wordIn{from{opacity:0;transform:translateY(12px);letter-spacing:.9em}to{opacity:1}}
.intro.fly{background-color:transparent;pointer-events:none}
.intro.fly .word{opacity:0!important;transition:opacity .3s;animation:none}
.intro.fade{opacity:0;transition:opacity .6s}
.intro .skip{position:absolute;right:24px;bottom:calc(env(safe-area-inset-bottom,0px) + 24px);background:transparent;border:1px solid rgba(201,169,110,.4);color:#C9A96E;border-radius:999px;min-height:44px;padding:0 18px;font:600 13px var(--sans);cursor:pointer}
.intro.fly .skip{display:none}
body.intro-on{overflow:hidden}
.hero .seal.wait{opacity:0;animation:none}
.seal.ready{animation:none}
.seal.ready .draw path,.seal.ready .draw circle,.seal.ready .draw ellipse{animation:none;stroke-dashoffset:0}

/* ===== Herramientas, casos y agenda ===== */
.tools3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tcard{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:32px;display:flex;flex-direction:column;gap:14px;color:var(--ink);text-decoration:none!important;transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s,border-color .3s}
.tcard:hover{transform:translateY(-6px);box-shadow:0 24px 50px rgba(8,35,28,.12);border-color:var(--verde)}
.tcard .ti{width:60px;height:60px;border-radius:16px;background:var(--verde);color:#C9A96E;display:flex;align-items:center;justify-content:center}
.tcard .ti svg{width:30px;height:30px}
.tcard h3{font-size:32px}
.tcard p{color:var(--muted);font-size:15px}
.tcard .go{margin-top:auto;font-weight:700;color:var(--link);display:inline-flex;gap:8px;align-items:center}
.badge-new{position:absolute;top:22px;right:22px;background:#C9A96E;color:#08231C;font-size:11px;font-weight:800;letter-spacing:.08em;padding:5px 10px;border-radius:999px}
.cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.case{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:32px;display:flex;flex-direction:column;gap:12px;border-top:4px solid #C9A96E}
.case .num{font:400 64px/1 var(--serif);color:var(--verde)}
.case .what{font-weight:700;font-size:16px}
.case p{color:var(--muted);font-size:15px}
.case .tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:10px}
.testi{margin-top:28px;background:#08231C;color:#fff;border-radius:26px;padding:clamp(28px,5vw,56px);display:grid;grid-template-columns:auto 1fr;gap:32px;align-items:center}
.testi .q{font:400 120px/.7 var(--serif);color:#C9A96E}
.testi blockquote{margin:0;font-size:clamp(19px,2vw,24px);line-height:1.55;color:#E7EDE9}
.testi cite{display:block;margin-top:18px;font-style:normal;font-weight:700;color:#C9A96E;font-size:15px}
.testi .dots{display:flex;gap:8px;margin-top:20px}
.testi .dots button{width:12px;height:12px;border-radius:50%;border:0;background:rgba(255,255,255,.25);cursor:pointer;padding:0}
.testi .dots button[aria-current="true"]{background:#C9A96E;width:28px;border-radius:6px}
.tabsx{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px}
.panelx{background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:clamp(22px,4vw,48px)}
.quiz-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;font-size:14px;color:var(--muted);font-weight:600}
.pbar{height:8px;border-radius:8px;background:var(--alt);overflow:hidden;margin-bottom:34px}
.pbar i{display:block;height:100%;background:linear-gradient(90deg,var(--verde),#C9A96E);width:0;transition:width .4s ease}
.quiz-q{font:400 clamp(30px,3.4vw,44px)/1.1 var(--serif);max-width:26ch}
.quiz-help{color:var(--muted);margin-top:12px;font-size:15px;max-width:60ch}
.quiz-opts{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.quiz-opts .btn{min-width:150px}
.result{display:grid;grid-template-columns:260px 1fr;gap:40px;align-items:start}
.gauge{position:relative;width:240px;aspect-ratio:1}
.gauge svg{width:100%;height:100%;transform:rotate(-90deg)}
.gauge .v{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.gauge .v b{font:400 64px/1 var(--serif)}
.gauge .v span{font-size:13px;font-weight:700;color:var(--muted)}
.lvl{display:inline-block;padding:6px 14px;border-radius:999px;font-weight:800;font-size:13px;letter-spacing:.06em}
.lvl.bajo{background:#DCEBDD;color:#0F4336}.lvl.medio{background:#F4E6C6;color:#6B4E12}.lvl.alto{background:#F6D6D0;color:#8A1F11}
.gaps{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.gaps li{display:flex;gap:12px;align-items:flex-start;background:var(--alt);border-radius:12px;padding:12px 14px;font-size:15px;font-weight:600}
.gaps li i{flex-shrink:0;width:22px;height:22px;border-radius:50%;background:#C9A96E;color:#08231C;font-style:normal;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;margin-top:1px}
.disc{font-size:13px;color:var(--muted);margin-top:18px;line-height:1.5}
.calc{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start}
.calc form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.calc .full{grid-column:1/-1}
.fld .hint{font-weight:500;color:var(--muted);font-size:12.5px}
.seg{display:flex;gap:8px;flex-wrap:wrap}
.seg label{display:flex;align-items:center;gap:8px;border:1.5px solid var(--line);border-radius:12px;padding:0 14px;min-height:48px;font-weight:600;font-size:14px;cursor:pointer;background:var(--bg)}
.seg input{accent-color:#0F4336;width:18px;height:18px}
.seg label:has(input:checked){border-color:var(--verde);background:var(--tint)}
.res{background:#08231C;color:#fff;border-radius:22px;padding:30px}
.res small{display:block;color:#C9A96E;font-weight:700;font-size:13px;letter-spacing:.06em}
.res .total{font:400 clamp(52px,6vw,72px)/1 var(--serif);margin:10px 0 18px}
.res dl{margin:0;display:grid;grid-template-columns:1fr auto;gap:10px 16px;font-size:14px;border-top:1px solid rgba(255,255,255,.15);padding-top:16px}
.res dt{color:#B8C7BF}.res dd{margin:0;text-align:right;font-weight:700}
.res .btn{margin-top:22px;width:100%}
.agenda{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:start}
.step{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:26px;margin-bottom:18px}
.step h3{font-size:28px;display:flex;align-items:center;gap:12px;margin-bottom:16px}
.step h3 span{width:34px;height:34px;border-radius:50%;background:var(--verde);color:#C9A96E;font:400 20px/34px var(--serif);text-align:center;flex-shrink:0}
.days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.days button,.slots button{border:1.5px solid var(--line);background:var(--bg);border-radius:12px;min-height:64px;cursor:pointer;font:600 14px var(--sans);color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transition:all .2s}
.days button b{font:400 26px/1 var(--serif)}
.days button small{font-size:11px;color:var(--muted);font-weight:700;text-transform:uppercase}
.days button:hover,.slots button:hover{border-color:var(--verde)}
.days button[aria-pressed="true"],.slots button[aria-pressed="true"]{background:var(--verde);border-color:var(--verde);color:#fff}
.days button[aria-pressed="true"] small{color:#C9A96E}
.slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.slots button{min-height:48px}
.slots button:disabled{opacity:.35;cursor:not-allowed;text-decoration:line-through}
.summary{position:sticky;top:120px;background:#08231C;color:#fff;border-radius:22px;padding:30px}
.summary h3{font-size:34px;color:#C9A96E}
.summary dl{display:grid;grid-template-columns:auto 1fr;gap:12px 14px;margin:20px 0;font-size:15px}
.summary dt{color:#B8C7BF}.summary dd{margin:0;font-weight:700;text-align:right}
.summary .btn{width:100%}
@media (max-width:980px){.tools3,.cases{grid-template-columns:1fr}.result,.calc,.agenda{grid-template-columns:1fr}.gauge{margin:0 auto}.summary{position:static}.testi{grid-template-columns:1fr;gap:8px}.testi .q{font-size:80px}}
@media (max-width:600px){.calc form{grid-template-columns:1fr}.days{grid-template-columns:repeat(3,minmax(0,1fr))}.slots{grid-template-columns:repeat(3,minmax(0,1fr))}.quiz-opts .btn{flex:1;min-width:0}}

/* ===== v4: asistente, radar, tarjetas, capacitaciones, accesibilidad ===== */
.a11y{display:flex;gap:4px;align-items:center;margin-left:14px;padding-left:14px;border-left:1px solid rgba(255,255,255,.18)}
.a11y button{min-width:36px;height:30px;border-radius:8px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#DDE6E1;font:700 12px var(--sans);cursor:pointer}
.a11y button[aria-pressed="true"]{background:#C9A96E;color:#08231C;border-color:#C9A96E}
html.hc{--muted:#1B2621;--line:#9FA89F}
html.hc body{background-image:none!important}
html.hc section[style*="var(--alt)"]{background-image:none!important}
html.hc .wm::before,html.hc .wm::after{display:none}
.radar{display:flex;flex-direction:column;gap:12px}
.ritem{display:grid;grid-template-columns:130px 1fr auto;gap:24px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px 26px;transition:border-color .3s,transform .3s}
.ritem:hover{border-color:var(--verde);transform:translateX(4px)}
.ritem time{font:400 26px/1 var(--serif);color:var(--verde)}
.ritem h3{font-size:24px;margin-bottom:4px}
.ritem p{color:var(--muted);font-size:15px}
.ritem .act{font-size:14px;font-weight:600;margin-top:6px}
.imp{padding:6px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.06em;white-space:nowrap}
.imp.alto{background:#F6D6D0;color:#8A1F11}.imp.medio{background:#F4E6C6;color:#6B4E12}.imp.bajo{background:#DCEBDD;color:#0F4336}
.live{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--muted)}
.live i{width:9px;height:9px;border-radius:50%;background:#C0392B;box-shadow:0 0 0 0 rgba(192,57,43,.5);animation:livep 1.8s infinite}
@keyframes livep{70%{box-shadow:0 0 0 10px rgba(192,57,43,0)}100%{box-shadow:0 0 0 0 rgba(192,57,43,0)}}
.courses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.course{position:relative;background:var(--surface);border:1.5px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:12px;cursor:pointer;transition:border-color .25s,box-shadow .25s}
.course:hover{border-color:var(--verde)}
.course:has(input:checked){border-color:var(--verde);box-shadow:0 0 0 3px rgba(15,67,54,.15);background:var(--tint)}
.course input{position:absolute;top:22px;right:22px;width:22px;height:22px;accent-color:#0F4336}
.course h3{font-size:28px;padding-right:34px}
.course p{color:var(--muted);font-size:14.5px}
.course .meta{margin-top:auto;padding-top:8px}
.cbar{position:sticky;bottom:16px;margin-top:22px;background:#08231C;color:#fff;border-radius:18px;padding:16px 20px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;box-shadow:0 20px 40px rgba(0,0,0,.2)}
.cbar label{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:600}
.cbar input{width:90px;min-height:44px;border-radius:10px;border:0;padding:0 10px;font:600 15px var(--sans)}
.person .card-btn{margin-left:auto;min-height:44px;padding:0 14px;border-radius:999px;border:1.5px solid var(--verde);background:transparent;color:var(--link);font:700 13px var(--sans);cursor:pointer;display:inline-flex;gap:6px;align-items:center}
.person .card-btn:hover{background:var(--verde);color:#fff}
dialog.vcard{max-width:min(460px,94vw);background:transparent;padding:0}
.vc{background:#08231C;color:#fff;border-radius:24px;padding:30px;position:relative;overflow:hidden}
.vc::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;border:1px solid rgba(201,169,110,.35)}
.vc .top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.vc .brandx{font:400 30px/1 var(--serif);letter-spacing:.1em}
.vc .brandx small{display:block;font:700 9px var(--sans);letter-spacing:.2em;color:#C9A96E;margin-top:4px}
.vc h2{font-size:38px;margin-top:26px}
.vc .rol{color:#C9A96E;font-weight:700;font-size:14px;margin-top:4px}
.vc ul{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-direction:column;gap:8px;font-size:14px;color:#DDE6E1}
.vc ul li{display:flex;gap:10px;align-items:center}
.vc .qrw{display:flex;gap:16px;align-items:center;margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,.14)}
.vc .qr{background:#fff;padding:8px;border-radius:12px;width:124px;height:124px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.vc .qr img,.vc .qr canvas{width:108px!important;height:108px!important}
.vc .qrw p{font-size:13px;color:#B8C7BF}
.vc-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.vc-actions .btn{flex:1;min-height:46px;font-size:14px}
.botbtn{position:fixed;right:24px;bottom:calc(env(safe-area-inset-bottom,0px) + 100px);z-index:61;height:56px;padding:0 20px 0 8px;border-radius:999px;border:1px solid rgba(201,169,110,.5);background:#08231C;color:#fff;display:flex;align-items:center;gap:10px;font:700 14px var(--sans);cursor:pointer;box-shadow:0 12px 28px rgba(0,0,0,.28)}
.botbtn .av{width:42px;height:42px;border-radius:50%;background:#C9A96E;color:#08231C;display:flex;align-items:center;justify-content:center}
.botbtn .av svg{width:22px;height:22px}
.bot{position:fixed;right:24px;bottom:calc(env(safe-area-inset-bottom,0px) + 100px);z-index:120;width:min(400px,calc(100vw - 24px));height:min(600px,calc(100vh - 140px));background:var(--surface);border-radius:24px;box-shadow:0 30px 70px rgba(0,0,0,.3);display:flex;flex-direction:column;overflow:hidden;transform-origin:bottom right;animation:botin .35s cubic-bezier(.16,1,.3,1)}
.bot[hidden]{display:none}
@keyframes botin{from{opacity:0;transform:scale(.92) translateY(10px)}}
.bot header{background:#08231C;color:#fff;padding:16px 16px 16px 18px;display:flex;align-items:center;gap:12px}
.bot header .av{width:40px;height:40px;border-radius:50%;background:#C9A96E;color:#08231C;display:flex;align-items:center;justify-content:center}
.bot header b{display:block;font:400 22px/1 var(--serif);letter-spacing:.04em}
.bot header small{color:#C9A96E;font-size:12px;font-weight:600}
.bot header button{margin-left:auto;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;cursor:pointer}
.msgs{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:12px;background:var(--bg)}
.m{max-width:86%;padding:12px 14px;border-radius:16px;font-size:14.5px;line-height:1.5;white-space:pre-wrap}
.m.b{background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:4px;align-self:flex-start}
.m.u{background:var(--verde);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
.m .cta{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px;white-space:normal}
.m .cta a{font-size:12.5px;font-weight:700;padding:7px 11px;border-radius:999px;background:var(--tint);color:var(--link);text-decoration:none}
.typing{display:inline-flex;gap:4px}.typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:tp 1s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
@keyframes tp{50%{opacity:.25;transform:translateY(-3px)}}
.quick{display:flex;gap:6px;flex-wrap:wrap;padding:10px 14px 0;background:var(--surface)}
.quick button{border:1.5px solid var(--line);background:var(--bg);border-radius:999px;padding:7px 12px;font:600 12.5px var(--sans);color:var(--ink);cursor:pointer}
.quick button:hover{border-color:var(--verde)}
.bot form{display:flex;gap:8px;padding:12px 14px;background:var(--surface);border-top:1px solid var(--line)}
.bot form input{flex:1;min-height:46px;border:1.5px solid var(--line);border-radius:999px;padding:0 16px;font:14.5px var(--sans);background:var(--bg);color:var(--ink)}
.bot form input:focus{outline:0;border-color:var(--verde)}
.bot form button{width:46px;height:46px;border-radius:50%;border:0;background:var(--verde);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.bot .note{font-size:11.5px;color:var(--muted);padding:0 16px 10px;background:var(--surface)}
@media (max-width:980px){.courses{grid-template-columns:1fr 1fr}.ritem{grid-template-columns:1fr;gap:10px}}
@media (max-width:600px){.courses{grid-template-columns:1fr}.botbtn{right:14px;bottom:calc(env(safe-area-inset-bottom,0px) + 84px);padding:0 8px}.botbtn span.t{display:none}.bot{right:12px;bottom:calc(env(safe-area-inset-bottom,0px) + 84px);height:calc(100vh - 170px)}}
/* Responsive */
@media (max-width:1360px){
  nav.main,.header-cta .btn-ghost{display:none}
  .menu-btn{display:inline-flex}
  .grid4,.values{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid3{grid-template-columns:1fr 1fr}
  .comp{grid-template-columns:1fr}
  .comp aside{position:static}
  .comp aside nav{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
  .comp aside button{white-space:nowrap;width:auto;border:1.5px solid var(--line);border-radius:999px}
  .comp aside button small{display:none}
}
@media (max-width:860px){
  .topbar .info span.addr{display:none}
  .hero .wrap,.two,.area,.mv,.contact,.featured{grid-template-columns:1fr}
  .hero .visual .ph{height:300px}
  .badge{left:16px;bottom:24px}
  .stats .wrap{grid-template-columns:1fr 1fr}
  .pills{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .timeline,.steps{grid-template-columns:1fr 1fr;row-gap:32px}
  .area ul{grid-template-columns:1fr}
  footer.site .cols{grid-template-columns:1fr 1fr}
  .featured .ph{min-height:220px}
  .cta-band .actions{width:100%}
}
@media (max-width:600px){
  .topbar{display:none}
  header.site .wrap{height:68px}
  .brand b{font-size:24px}
  .brand .mark{width:38px;height:38px}
  .header-cta .btn-primary{display:none}
  .grid4,.values{grid-template-columns:1fr 1fr;gap:14px}
  .person .body{padding:16px}
  .person h3{font-size:22px}
  .person p{display:none}
  .hero .actions .btn,.cta-band .btn{width:100%}
  form.cf{grid-template-columns:1fr}
  .doc{flex-wrap:wrap;padding:18px 20px}
  .doc .acts{width:100%}
  .doc .acts .btn{flex:1}
  .materia > button{padding:20px}
  .materia > button h3{font-size:24px}
  .materia > button .count span.n{display:none}
  footer.site .cols{grid-template-columns:1fr}
  footer.site{padding-bottom:110px}
  .fab{display:none}
  .mbar{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--surface);border-top:1px solid var(--line);padding:10px 14px calc(env(safe-area-inset-bottom,0px) + 10px);box-shadow:0 -8px 20px rgba(0,0,0,.08)}
  .toast{bottom:calc(env(safe-area-inset-bottom,0px) + 90px)}
}
@media (prefers-reduced-motion:reduce){*:not(.seal):not(.seal *):not(.intro):not(.intro *){animation:none!important;transition:none!important}html{scroll-behavior:auto}}

/* ===== Ajustes WordPress ===== */
.admin-bar header.site{top:32px}
@media (max-width:782px){.admin-bar header.site{top:46px}}
@media (max-width:600px){#wpadminbar{position:fixed}}
.wp-page{padding-block:clamp(48px,7vw,96px)}
.wp-page .entry{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:clamp(24px,4vw,56px);max-width:900px;margin:0 auto}
.wp-page .entry h2,.wp-page .entry h3{margin:28px 0 12px}
.wp-page .entry h2{font-size:clamp(30px,3vw,42px)}
.wp-page .entry p,.wp-page .entry ul,.wp-page .entry ol{margin:0 0 16px}
.wp-page .entry img{height:auto;border-radius:12px}
.btn-ghost-dark{background:transparent}
.jump .btn-light{border-color:#fff}
.jump .btn-light:hover{background:#C9A96E;border-color:#C9A96E;color:#08231C}

/* ===== v1.0.2 Responsive: PC, tablet y celular ===== */
.comp > *,.agenda > *,.two > *,.contact > *,.calc > *,.result > *,.area > *,.featured > *{min-width:0}
.card h3,.values .card h3,.person h3,.post h3,.sector h3{overflow-wrap:anywhere}
@media (max-width:1100px){
  .topbar .info{gap:18px}
  .topbar .info a[href^="mailto"]{display:none}
}
@media (max-width:860px){
  .values{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jump{gap:8px}
  .jump .btn{min-height:44px;padding:0 16px;font-size:14px}
  .testi{padding:28px}
}
@media (max-width:600px){
  .values .card{padding:20px 16px}
  .values .card h3{font-size:22px}
  #agForm{grid-template-columns:1fr!important}
  .step{padding:20px}
  .step h3{font-size:24px}
  .seg label{flex:1 1 auto;min-width:0}
  .days button b{font-size:22px}
  .jump{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(-1 * clamp(20px,5vw,80px));padding-inline:clamp(20px,5vw,80px);padding-bottom:6px;scrollbar-width:none}
  .jump::-webkit-scrollbar{display:none}
  .jump .btn{flex-shrink:0}
  .pagehead h1{font-size:44px}
  .sec-head h2,.two h2{font-size:34px}
  .cbar{flex-direction:column;align-items:stretch}
  .cbar > div{flex-direction:column;align-items:stretch!important}
  .cbar label{justify-content:space-between}
  .cbar .btn{width:100%}
  .ritem{padding:18px}
  .materia > button{gap:10px}
}
@media (max-width:380px){
  .values{grid-template-columns:1fr}
  .grid4{grid-template-columns:1fr}
}
@media (max-width:600px){
  .quiz-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .quiz-opts .btn{min-width:0;white-space:normal;text-align:center;line-height:1.2}
  .quiz-opts .btn:nth-child(3){grid-column:1/-1}
  .quiz-top{flex-wrap:wrap}
}

/* ===== v1.1 Testimonios ===== */
.tstars{font-size:20px;letter-spacing:2px;line-height:1;margin-bottom:14px}
.tstars .on{color:#C9A96E}.tstars .off{color:rgba(255,255,255,.22)}
.opbar{margin-top:18px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.opsum{display:flex;flex-direction:column;gap:2px}
.opsum b{font-size:18px;display:flex;align-items:center;gap:10px}
.opsum .avg{font:400 40px/1 var(--serif);color:var(--verde)}
.opsum .tstars{margin:0;font-size:18px}
.opsum .tstars .off{color:var(--line)}
.opsum > span{color:var(--muted);font-size:15px}
dialog.opdlg{max-width:min(640px,94vw);max-height:92vh;overflow:auto}
#opForm{padding:clamp(22px,4vw,36px);display:grid;grid-template-columns:1fr 1fr;gap:16px}
#opForm .full,#opForm .ophead{grid-column:1/-1}
.ophead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.ophead h2{font-size:38px}
.rate{display:flex;gap:6px}
.rate button{width:48px;height:48px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);color:#D9CFBC;font-size:26px;line-height:1;cursor:pointer;transition:color .15s,border-color .15s,transform .15s}
.rate button:hover{transform:scale(1.08)}
.rate button.on{color:#C9A96E;border-color:#C9A96E;background:#FBF3E2}
.fld[data-invalid="true"] .rate button{border-color:#B42318}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
#opSend{min-height:54px;font-size:16px}
#opSend:disabled{opacity:.7;cursor:wait}
.opok{padding:clamp(28px,5vw,48px);display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.opok .okic{width:72px;height:72px;border-radius:50%;background:var(--verde);color:#C9A96E;display:flex;align-items:center;justify-content:center}
.opok .okic svg{width:36px;height:36px;stroke-width:2.4}
.opok h2{font-size:40px}
.opok p{color:var(--muted);max-width:40ch}
@media (max-width:600px){
  #opForm{grid-template-columns:1fr;gap:14px}
  .ophead h2{font-size:32px}
  .rate{justify-content:space-between}
  .rate button{flex:1;width:auto;height:52px}
  .opbar{flex-direction:column;align-items:stretch;padding:18px}
  .opbar .btn{width:100%}
  dialog.opdlg{max-width:100vw;width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0}
}
#opForm[hidden],.opok[hidden]{display:none}
#opRate button.on{color:#C9A96E;border-color:#C9A96E;background:#FBF3E2}

/* ===== v1.2 Imágenes ===== */
.ph.has-img{padding:0;background:var(--ph);overflow:hidden}
.ph.has-img img{width:100%;height:100%;object-fit:cover;display:block}
.person .ph.has-img img{object-position:50% 12%;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.person:hover .ph.has-img img{transform:scale(1.04)}
.post .ph.has-img img,.featured .ph.has-img img{transition:transform .5s cubic-bezier(.16,1,.3,1)}
.post:hover .ph.has-img img,.featured:hover .ph.has-img img{transform:scale(1.04)}
.hist-photo{border-radius:24px;min-height:440px;height:100%}
.hist-photo img{object-position:50% 30%}
dialog .ph.has-img{aspect-ratio:16/7}
.grid4.sectors6{grid-template-columns:repeat(3,minmax(0,1fr))}
.sector.with-img{padding:0 0 26px;overflow:hidden;gap:14px}
.sector.with-img .simg{aspect-ratio:16/9;overflow:hidden;position:relative}
.sector.with-img .simg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,35,28,.05) 40%,rgba(8,35,28,.75))}
.sector.with-img .simg img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.16,1,.3,1)}
.sector.with-img:hover .simg img{transform:scale(1.05)}
.sector.with-img .ic{margin:-46px 0 0 24px;position:relative;z-index:1;box-shadow:0 0 0 5px var(--vo)}
.sector.with-img h3,.sector.with-img p{padding-inline:26px}
@media (max-width:980px){.grid4.sectors6{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:860px){.hist-photo{min-height:300px;aspect-ratio:4/3}}
@media (max-width:600px){
  .grid4.sectors6{grid-template-columns:1fr}
  .hist-photo{min-height:0}
  .person .body{gap:4px}
  .person h3{font-size:21px;line-height:1.05}
  .person .links{flex-wrap:wrap;gap:6px}
  .person .card-btn{margin-left:0;flex:1 1 100%;justify-content:center}
}
@media (min-width:700px) and (max-width:1360px){#team{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ===== v1.3 Radar normativo automático ===== */
.ritem time{display:flex;flex-direction:column;gap:2px}
.ritem time small{font:700 12px var(--sans);color:var(--muted);letter-spacing:.06em}
.ritem h3 a{color:var(--ink);text-decoration:none}
.ritem h3 a:hover{color:var(--link);text-decoration:underline}
.ritem > div{min-width:0}
.ritem h3,.ritem p{overflow-wrap:anywhere}
.rent{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--link);background:var(--tint);padding:3px 10px;border-radius:999px;margin-bottom:8px}
.rlink{display:inline-flex;gap:6px;align-items:center;margin-top:8px;font-size:14px;font-weight:700;min-height:32px}
.radar-src{margin-top:16px;font-size:13px;color:var(--muted)}
@media (max-width:980px){
  .ritem{grid-template-columns:auto 1fr;gap:10px 18px}
  .ritem time{grid-row:span 2}
  .ritem .imp{justify-self:start;grid-column:2}
}
@media (max-width:600px){
  .ritem{grid-template-columns:1fr}
  .ritem time{flex-direction:row;align-items:baseline;gap:8px;grid-row:auto}
  .ritem .imp{grid-column:auto}
  .ritem h3{font-size:21px}
}

/* ===== v1.4 Inicio resumido ===== */
.radar-more{display:flex;justify-content:center;margin-top:24px}
@media (max-width:600px){.radar-more .btn{width:100%}}
.svc7-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:56px}
@media (max-width:600px){.svc7-actions{flex-direction:column;margin-top:40px}.svc7-actions .btn{width:100%}}

/* ===== v1.5 Compendio con documentos ===== */
.compnote{font-size:14px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 18px;margin:0 0 18px}
.doc .t{min-width:0}
.doc .t b,.doc .t span{overflow-wrap:anywhere}
.dver{display:inline-block!important;margin-top:6px;font-size:12px!important;font-weight:700;color:var(--link)!important;background:var(--tint);padding:3px 10px;border-radius:999px}
.dmods{display:flex;flex-direction:column;gap:4px;margin-top:8px}
.dmods a{font-size:13px;font-weight:600;color:#8A5A00;text-decoration:none}
.dmods a:hover{text-decoration:underline}
.dnew{display:inline-block;background:#C9A96E;color:#08231C;font-size:10px;letter-spacing:.06em;padding:2px 7px;border-radius:999px;margin-right:6px;text-transform:uppercase}
.doc .acts{flex-shrink:0}
@media (max-width:980px) and (min-width:601px){.doc{flex-wrap:wrap}.doc .acts{width:100%;padding-left:64px}}
.doc .t b.dnew{display:inline-block;font-size:10px;line-height:1.4;margin:0 6px 0 0;vertical-align:1px}
.doc .t{flex:1 1 0}
@media (max-width:980px) and (min-width:601px){.doc .t{flex:1 1 calc(100% - 70px)}}
@media (max-width:600px){.doc .t{flex:1 1 calc(100% - 70px)}}
