/* GENERADO por build-site.py — no editar a mano: tocá om.css u om-skin.css */
:root{
  --navy:#0D003E; --navy-2:#08002B; --navy-3:#1A0B5E; --blue:#0C5395; --blue-2:#1F6FBF;
  --yellow:#FFDF00; --yellow-2:#FFB800; --yellow-soft:#FFF6B8;
  --paper:#F7F6F1; --paper-2:#EFEDE4; --white:#fff;
  --ink:#0D003E; --ink-2:rgba(13,0,62,.68); --ink-3:rgba(13,0,62,.64);
  --line:rgba(13,0,62,.10); --line-2:rgba(13,0,62,.16);
  --radius:20px; --radius-sm:12px;
  --shadow-sm:0 1px 2px rgba(13,0,62,.06),0 2px 8px rgba(13,0,62,.04);
  --shadow:0 2px 4px rgba(13,0,62,.04),0 12px 32px rgba(13,0,62,.08);
  --shadow-lg:0 24px 64px rgba(13,0,62,.16);
  --ease:cubic-bezier(.22,1,.36,1);
  --font:'Instrument Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
}
html body .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 24px;border-radius:12px;font-family:inherit;font-size:15px;font-weight:600;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:transform .25s var(--ease),box-shadow .25s,background .25s,border-color .25s;white-space:nowrap}
html body .btn svg{width:18px;height:18px;transition:transform .25s var(--ease)}
html body .btn:hover svg{transform:translateX(3px)}
html body .btn-primary{background:var(--navy);color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.12) inset,0 8px 24px rgba(13,0,62,.25)}
html body .btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(13,0,62,.32)}
html body .btn-yellow{background:var(--yellow);color:var(--navy);box-shadow:0 8px 24px rgba(255,223,0,.35)}
html body .btn-yellow:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(255,223,0,.5)}
html body .btn-ghost{background:#fff;color:var(--navy);border-color:var(--line-2)}
html body .btn-ghost:hover{border-color:var(--navy);transform:translateY(-2px)}
html body .on-dark .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.25)}
html body .on-dark .btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.06)}
html body .btn-wa{background:#15803D;color:#fff;box-shadow:0 8px 24px rgba(21,128,61,.3)}
html body .btn-wa:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(37,211,102,.45)}
html body .link-arrow{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14px;color:var(--blue);text-decoration:none}
html body .link-arrow::after{content:'→';transition:transform .25s var(--ease)}
html body .link-arrow:hover::after{transform:translateX(4px)}
html body .skip{position:fixed;left:16px;top:-60px;z-index:700;background:var(--navy);color:#fff;padding:10px 16px;border-radius:10px;font-weight:600;text-decoration:none;transition:top .2s}
html body .skip:focus{top:12px}
html body .nav{position:fixed;inset:0 0 auto;z-index:500;transition:background .3s,box-shadow .3s,border-color .3s;border-bottom:1px solid transparent}
html body .nav.solid,html body .nav.scrolled{background:rgba(247,246,241,.86);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px);border-color:var(--line)}
html body .nav-in{max-width:1200px;margin:0 auto;padding:16px 32px;display:flex;align-items:center;gap:32px}
html body .nav-logo img{height:34px;width:auto}
html body .nav-links{display:flex;gap:4px;list-style:none;margin:0 auto}
html body .nav-links>li{position:relative}
html body .nav-links>li>a{display:flex;align-items:center;gap:4px;padding:8px 14px;border-radius:10px;font-size:14px;font-weight:500;color:var(--ink-2);text-decoration:none;transition:color .2s,background .2s}
html body .nav-links>li>a:hover,html body .nav-links>li>a[aria-current]{color:var(--navy);background:rgba(13,0,62,.05)}
html body .nav-links .caret{width:12px;height:12px;transition:transform .2s}
html body .dd:hover .caret{transform:rotate(180deg)}
html body .dd-menu{position:absolute;top:100%;left:50%;min-width:290px;padding:8px;margin-top:8px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transform:translate(-50%,6px);transition:opacity .2s,transform .2s var(--ease),visibility .2s}
html body .dd::after{content:'';position:absolute;left:0;right:0;top:100%;height:14px}
html body .dd:hover .dd-menu,html body .dd:focus-within .dd-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
html body .dd-menu a{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border-radius:10px;text-decoration:none;transition:background .15s}
html body .dd-menu a:hover{background:var(--paper)}
html body .dd-menu b{display:block;font-size:14px;font-weight:600;color:var(--navy)}
html body .dd-menu small{display:block;font-size:12.5px;color:var(--ink-3);line-height:1.4;margin-top:2px}
html body .ico-sq{flex-shrink:0;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--yellow-soft);color:var(--navy)}
html body .ico-sq svg{width:18px;height:18px}
html body .ico-sq.b{background:rgba(12,83,149,.1);color:var(--blue)}
html body .ico-sq.n{background:var(--navy);color:var(--yellow)}
html body .nav-cta{display:flex;gap:10px;align-items:center}
html body .nav-cta .btn{padding:10px 18px;font-size:14px;border-radius:10px}
html body .burger{display:none;width:42px;height:42px;border-radius:10px;border:1px solid var(--line-2);background:#fff;cursor:pointer;margin-left:auto;align-items:center;justify-content:center}
html body .burger span,html body .burger span::before,html body .burger span::after{display:block;width:18px;height:2px;background:var(--navy);border-radius:2px;position:relative;transition:transform .3s,background .3s}
html body .burger span::before,html body .burger span::after{content:'';position:absolute;left:0}
html body .burger span::before{top:-6px}
html body .burger span::after{top:6px}
html body .burger.open span{background:transparent}
html body .burger.open span::before{transform:translateY(6px) rotate(45deg)}
html body .burger.open span::after{transform:translateY(-6px) rotate(-45deg)}
html body .m-nav{position:fixed;inset:70px 12px auto;z-index:499;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-lg);padding:12px;display:none;max-height:calc(100vh - 90px);overflow:auto}
html body .m-nav.open{display:block;animation:pop .25s var(--ease)}
@keyframes pop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
html body .m-nav a{display:block;padding:13px 14px;border-radius:12px;font-weight:600;text-decoration:none;color:var(--navy)}
html body .m-nav a:hover{background:var(--paper)}
html body .m-nav .m-sub{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);padding:14px 14px 4px}
html body .m-nav .btn{display:flex;margin-top:10px}
html body .footer{background:var(--navy-2);color:rgba(255,255,255,.78);padding:72px 0 0;position:relative;overflow:hidden}
html body .f-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px}
html body .footer img{height:36px;width:auto;margin-bottom:16px}
html body .footer p{font-size:14px;max-width:280px;line-height:1.65}
html body .footer .f-h{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.6);margin-bottom:16px}
html body .footer ul{list-style:none;display:grid;gap:10px}
html body .footer a{text-decoration:none;font-size:14.5px;transition:color .2s}
html body .footer a:hover{color:var(--yellow)}
html body .socials{display:flex;gap:8px;margin-top:20px}
html body .socials a{width:38px;height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.14);display:grid;place-items:center}
html body .socials a:hover{border-color:var(--yellow);color:var(--yellow)}
html body .socials svg{width:17px;height:17px}
html body .f-bottom{margin-top:56px;padding:22px 0;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;font-size:13px;color:rgba(255,255,255,.6);gap:12px;flex-wrap:wrap}
html body .f-giant{font-size:clamp(80px,17vw,250px);font-weight:700;letter-spacing:-.06em;line-height:.8;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.08);text-align:center;margin-top:40px;user-select:none;white-space:nowrap}
html body .progress{position:fixed;top:0;left:0;height:3px;background:var(--yellow);z-index:600;width:100%;transform-origin:0 0;transform:scaleX(0)}
@media (max-width:1080px){html body .f-grid{grid-template-columns:1fr 1fr}}
@media (max-width:900px){html body .nav-links,html body .nav-cta{display:none}html body .burger{display:flex}}
@media (max-width:680px){html body .wrap{padding:0 20px}html body .nav-in{padding:12px 20px}html body .f-grid{grid-template-columns:1fr}}
html body header.nav .nav-cta{background:none;padding:0;border-radius:0;box-shadow:none;font-size:inherit;font-weight:inherit}
html body header.nav.solid{background:rgba(247,246,241,.96)}
html body header.nav .nav-cta:hover{transform:none;box-shadow:none}
html body header.nav .nav-logo img{height:34px;width:auto}
html body footer.footer{display:block;padding:72px 0 0;grid-template-columns:none;border:0}
html body footer.footer .wrap{max-width:1200px;margin:0 auto;padding:0 32px}

/* ═══════════════════════════════════════════════════════════
   OM Agency — skin para páginas internas (servicios, casos, posts)
   Se carga DESPUÉS del CSS propio de cada página y la lleva a la
   estética v2 (la misma de la home). build-site.py lo concatena
   con las reglas de nav/footer de om.css en om-pages.css.
   ═══════════════════════════════════════════════════════════ */

/* Base */
html body{font-family:var(--font)!important;background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased}
html body::before{display:none}
body h1,body h2,body h3,body h4,body .sec-title,body .pain-num,body .res-num,body .step-num,
body .post-cta h3,body .faq-section h2,body .toc h4,body .faq-deco-box h3,body .cta-band h2{font-family:var(--font)!important;letter-spacing:-.035em}
body h1{font-weight:700!important;line-height:1.04!important}
body .sec-title{font-weight:700!important;letter-spacing:-.04em!important}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

/* Palabras destacadas → marcador amarillo (igual que la home) */
body h1 em,body .sec-title em,body .cta-band h2 em{font-style:normal;background:var(--yellow)!important;color:var(--navy)!important;-webkit-text-fill-color:var(--navy)!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;padding:0 .12em;border-radius:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* Botones */
body .btn-y,body .btn-yellow{display:inline-flex;align-items:center;gap:8px;background:var(--navy)!important;color:#fff!important;border-radius:12px!important;padding:14px 24px!important;font-weight:600!important;font-size:15px!important;box-shadow:0 8px 24px rgba(13,0,62,.25)!important;text-decoration:none}
body .btn-y:hover,body .btn-yellow:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(13,0,62,.32)!important}
body .btn-g{border-radius:12px!important;padding:14px 24px!important;font-weight:600!important}
body .btn-dark{border-radius:12px!important;font-weight:600!important}
.on-navy .btn-y,.on-navy .btn-yellow,body .post-cta .btn-yellow,body .cta-band .btn-y,body .sec-dark .btn-y,body .sec-dark2 .btn-y{background:var(--yellow)!important;color:var(--navy)!important;box-shadow:0 8px 24px rgba(255,223,0,.3)!important}

/* ── Plantilla de SERVICIOS ── */
body.tpl-service .hero{background:var(--paper)!important;color:var(--ink);position:relative;overflow:hidden}
body.tpl-service .hero::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:48px 48px;
  -webkit-mask-image:radial-gradient(ellipse 80% 70% at 50% 40%,#000 30%,transparent 80%);mask-image:radial-gradient(ellipse 80% 70% at 50% 40%,#000 30%,transparent 80%);opacity:.7}
body.tpl-service .hero>*{position:relative;z-index:1}
body.tpl-service .hero .blob,body.tpl-service .hero .hero-dots,body.tpl-service .dots-dec{display:none!important}
body.tpl-service .hero h1{color:var(--navy)!important}
body.tpl-service .hero .hero-sub{color:var(--ink-2)!important}
body.tpl-service .hero .btn-g{background:#fff!important;color:var(--navy)!important;border:1px solid var(--line-2)!important}
body.tpl-service .hero .btn-g:hover{border-color:var(--navy)!important}
body.tpl-service .badge{background:#fff!important;border:1px solid var(--line)!important;color:var(--ink)!important;box-shadow:var(--shadow-sm);font-weight:600!important;letter-spacing:0!important}
body.tpl-service .badge-dot{background:#22C55E!important}
body.tpl-service .hero-visual-frame{border-radius:24px!important;box-shadow:var(--shadow-lg)!important}

body.tpl-service .sec-light{background:#fff!important}
body.tpl-service .sec-dark,body.tpl-service .sec-dark2{background:var(--navy)!important}
body.tpl-service .label-chip{background:none!important;border:0!important;padding:0!important;border-radius:0!important;font-size:12px!important;font-weight:700!important;letter-spacing:.14em!important;color:var(--blue)!important}
body.tpl-service .sec-dark .label-chip,body.tpl-service .sec-dark2 .label-chip{color:var(--yellow)!important}
body.tpl-service .label-chip-dot{display:none!important}
body.tpl-service .sec-light .sec-sub{color:var(--ink-2)!important}

body.tpl-service .card-l{background:#fff!important;border:1px solid var(--line)!important;border-radius:20px!important;box-shadow:var(--shadow-sm);transition:transform .35s var(--ease),box-shadow .35s}
body.tpl-service .card-l:hover{transform:translateY(-5px);box-shadow:var(--shadow)!important}
body.tpl-service .card-l::before{display:none!important}
body.tpl-service .card-icon{width:48px;height:48px;border-radius:14px;background:var(--yellow-soft);display:grid!important;place-items:center;font-size:22px!important}
body.tpl-service .card-l h3,body.tpl-service .card-d h3{font-weight:600!important;letter-spacing:-.02em!important}
body.tpl-service .card-d{border-radius:20px!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important}
body.tpl-service .card-d:hover{border-color:rgba(255,223,0,.35)!important}
body.tpl-service .step-num{background:none!important;color:var(--blue)!important;-webkit-text-fill-color:var(--blue)!important;font-weight:700!important;letter-spacing:-.04em!important}
body.tpl-service .sec-dark .step-num,body.tpl-service .sec-dark2 .step-num{color:var(--yellow)!important;-webkit-text-fill-color:var(--yellow)!important}
body.tpl-service .sec-dark .step h3,body.tpl-service .sec-dark2 .step h3{color:#fff!important}
body.tpl-service .sec-dark .step p,body.tpl-service .sec-dark2 .step p{color:rgba(255,255,255,.7)!important}
body.tpl-service .res-num{-webkit-text-fill-color:var(--navy)!important;background:none!important;color:var(--navy)!important;letter-spacing:-.05em!important}
body.tpl-service .sec-dark .res-num,body.tpl-service .sec-dark2 .res-num{-webkit-text-fill-color:var(--yellow)!important;color:var(--yellow)!important}
body.tpl-service .tool-tag{border-radius:100px!important}
body.tpl-service .faq-item{background:#fff!important;border:1px solid var(--line)!important;border-radius:16px!important}
body.tpl-service .faq-item.open{border-color:var(--line-2)!important;box-shadow:var(--shadow-sm)}
body.tpl-service .faq-q{font-family:var(--font)!important;font-weight:600!important;font-size:16px!important}
body.tpl-service .faq-deco-box{border-radius:20px!important;background:var(--navy)!important}
body.tpl-service .cta-band{border-radius:32px!important;background:var(--navy)!important}
body.tpl-service .cta-band::before,body.tpl-service .cta-band::after{opacity:.5}

/* ── Plantilla de POSTS ── */
body.tpl-post .post-hero{background:var(--paper)!important;color:var(--ink)!important;padding:56px 32px 40px!important;position:relative}
body.tpl-post .post-hero::before{content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:radial-gradient(ellipse 70% 80% at 50% 30%,#000 20%,transparent 75%);mask-image:radial-gradient(ellipse 70% 80% at 50% 30%,#000 20%,transparent 75%);opacity:.6}
body.tpl-post .post-hero-blob{display:none!important}
body.tpl-post .post-hero-inner{position:relative;max-width:820px!important;margin:0 auto!important}
body.tpl-post .post-hero h1{color:var(--navy)!important;font-size:clamp(34px,4.6vw,56px)!important;margin:18px 0 18px!important}
body.tpl-post .post-tag{display:inline-flex!important;background:rgba(12,83,149,.08)!important;color:var(--blue)!important;border:0!important;border-radius:100px!important;padding:5px 12px!important;font-size:11.5px!important;font-weight:700!important;letter-spacing:.05em!important;text-transform:uppercase}
body.tpl-post .post-meta-bar,body.tpl-post .post-meta-bar span{color:var(--ink-3)!important;font-size:14px!important}
body.tpl-post .post-banner{display:block;width:min(1000px,calc(100% - 40px))!important;max-height:none!important;height:auto!important;margin:110px auto 0!important;border-radius:24px!important;box-shadow:var(--shadow);border:1px solid var(--line)}
body.tpl-post .post-banner+.post-hero{padding-top:44px!important}
body.tpl-post .post-body-wrap{background:var(--paper)!important;padding:8px 32px 96px!important}
body.tpl-post .post-body-inner{max-width:740px!important;margin:0 auto!important;color:var(--ink-2)}
body.tpl-post .post-body-inner p,body.tpl-post .post-body-inner li{font-size:18px!important;line-height:1.75!important;color:var(--ink-2)!important}
body.tpl-post .post-body-inner h2{color:var(--navy)!important;font-size:clamp(26px,3vw,34px)!important;font-weight:700!important;margin:56px 0 16px!important;line-height:1.15!important;scroll-margin-top:100px}
body.tpl-post .post-body-inner h3{color:var(--navy)!important;font-size:21px!important;font-weight:600!important;margin:32px 0 10px!important;scroll-margin-top:100px}
body.tpl-post .post-body-inner strong{color:var(--navy)!important}
body.tpl-post .post-body-inner a{color:var(--blue)!important;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
body.tpl-post .post-body-inner a:hover{text-decoration-color:var(--yellow)}
body.tpl-post .post-body-inner table{width:100%;border-collapse:collapse;font-size:15px;margin:24px 0;background:#fff;border-radius:14px;overflow:hidden;border:1px solid var(--line)}
body.tpl-post .post-body-inner th{background:var(--navy);color:#fff;text-align:left;padding:12px 14px;font-weight:600}
body.tpl-post .post-body-inner td{padding:12px 14px;border-top:1px solid var(--line)}
body.tpl-post nav.toc{background:#fff!important;border:1px solid var(--line)!important;border-left:4px solid var(--yellow)!important;border-radius:16px!important;padding:22px 26px!important;box-shadow:var(--shadow-sm)}
body.tpl-post .toc h4{color:var(--navy)!important;font-size:15px!important;font-weight:700!important}
body.tpl-post .toc a{color:var(--ink-2)!important;text-decoration:none!important;font-size:15.5px}
body.tpl-post .toc a:hover{color:var(--blue)!important}
body.tpl-post .post-callout{background:var(--yellow-soft)!important;border:0!important;border-left:4px solid var(--yellow)!important;border-radius:0 16px 16px 0!important;padding:22px 26px!important}
body.tpl-post .post-callout p{color:var(--navy)!important}
body.tpl-post .post-cta{background:var(--navy)!important;border-radius:28px!important;padding:48px 40px!important;position:relative;overflow:hidden}
body.tpl-post .post-cta h3{color:#fff!important;font-size:28px!important;font-weight:700!important}
body.tpl-post .post-cta p{color:rgba(255,255,255,.72)!important}
body.tpl-post .faq-section h2{color:var(--navy)!important}
body.tpl-post .faq-section .faq-item{padding:20px 22px!important;margin-bottom:10px}
body.tpl-post .faq-section .faq-item h3{margin:0 0 6px!important;font-size:17px!important}
body.tpl-post .faq-section .faq-item p{font-size:16px!important}

/* ── Casos (plantillas a medida): solo tipografía y detalles ── */
body .foot{display:none!important}

@media (max-width:700px){
  body.tpl-post .post-banner{margin-top:86px!important;border-radius:16px!important}
  body.tpl-post .post-hero{padding:32px 20px 24px!important}
  body.tpl-post .post-body-wrap{padding:0 20px 64px!important}
  body.tpl-post .post-body-inner p,body.tpl-post .post-body-inner li{font-size:17px!important}
}

/* Footer y botones dentro del contenido */
html body footer.footer a{color:rgba(255,255,255,.78)!important;text-decoration:none!important}
html body footer.footer a:hover{color:var(--yellow)!important}
body.tpl-post .post-body-inner a.btn-yellow,body.tpl-post .post-cta a{text-decoration:none!important;color:var(--navy)!important}
body.tpl-post nav.toc h2.toc-h{font-size:15px!important;margin:0 0 12px!important;font-weight:700!important;color:var(--navy)!important;letter-spacing:-.01em!important}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
