:root{--navy:#0d1b2a;--navy2:#162b40;--blue:#1d5f91;--gold:#b8944a;--light:#f5f7fa;--text:#263442;--muted:#667382;--white:#fff;--shadow:0 12px 35px rgba(13,27,42,.10);--radius:16px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);line-height:1.7;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1120px,92%);margin:auto}.topbar{background:var(--navy);color:#fff;font-size:.9rem}.topbar .container{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #e8edf2}.nav{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:25px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;color:var(--navy)}.brand img{width:52px;height:52px;object-fit:contain}.brand small{display:block;color:var(--muted);font-weight:500;font-size:.72rem}.menu{display:flex;align-items:center;gap:24px;font-weight:650;font-size:.95rem}.menu a:hover{color:var(--blue)}.menu .cta{background:var(--navy);color:#fff;padding:10px 16px;border-radius:10px}.hero{background:linear-gradient(115deg,var(--navy),#173b58 65%,#1d5f91);color:#fff;padding:90px 0 80px}.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:55px;align-items:center}.eyebrow{color:#e7d09a;text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:800}.hero h1{font-size:clamp(2.4rem,5vw,4.5rem);line-height:1.05;margin:15px 0 22px;letter-spacing:-.04em}.hero p{font-size:1.12rem;color:#e8eef4;max-width:680px}.actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-radius:10px;font-weight:800;border:1px solid transparent}.btn-primary{background:#fff;color:var(--navy)}.btn-gold{background:var(--gold);color:#fff}.btn-outline{border-color:rgba(255,255,255,.45);color:#fff}.hero-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);padding:25px;border-radius:var(--radius);box-shadow:var(--shadow)}.hero-card img{width:100%;height:360px;object-fit:cover;border-radius:12px}.hero-card .caption{padding-top:15px}.section{padding:78px 0}.section.alt{background:var(--light)}.section-head{text-align:center;max-width:760px;margin:0 auto 42px}.section-head h2{font-size:clamp(1.9rem,3vw,2.8rem);line-height:1.15;margin:8px 0 12px;color:var(--navy)}.section-head p{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{padding:26px;background:#fff;border:1px solid #e4eaf0;border-radius:var(--radius);box-shadow:0 7px 25px rgba(13,27,42,.06)}.card h3{color:var(--navy);margin:8px 0 10px;font-size:1.15rem}.card p{color:var(--muted);margin:0}.icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#eaf1f7;color:var(--blue);font-weight:900}.split{display:grid;grid-template-columns:.85fr 1.15fr;gap:55px;align-items:center}.split img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;max-height:520px;object-fit:cover}.checklist{padding:0;list-style:none}.checklist li{margin:10px 0;padding-left:28px;position:relative}.checklist li:before{content:'✓';position:absolute;left:0;color:var(--gold);font-weight:900}.prose{max-width:850px;margin:auto}.prose h2{font-size:2rem;color:var(--navy);line-height:1.2;margin-top:50px}.prose h3{color:var(--navy);margin-top:30px}.prose p,.prose li{color:#4e5b68}.prose ul{padding-left:22px}.page-hero{background:var(--light);padding:60px 0;border-bottom:1px solid #e5e9ee}.page-hero h1{color:var(--navy);font-size:clamp(2.1rem,4vw,3.4rem);line-height:1.1;margin:10px 0}.breadcrumbs{font-size:.86rem;color:var(--muted)}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px}.contact-box,.form-box{border:1px solid #e3e8ed;border-radius:var(--radius);padding:30px;box-shadow:var(--shadow)}.contact-box{background:var(--navy);color:#fff}.contact-box h2{margin-top:0}.contact-item{padding:15px 0;border-bottom:1px solid rgba(255,255,255,.15)}.contact-item:last-child{border-bottom:0}.contact-item strong{display:block;color:#e6d39f;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-weight:750;font-size:.9rem}.field input,.field textarea,.field select{font:inherit;padding:12px 13px;border:1px solid #ccd5de;border-radius:9px;background:#fff}.field textarea{min-height:150px;resize:vertical}.footer{background:#09131e;color:#dbe3ea;padding:55px 0 20px}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:35px}.footer h3{color:#fff;margin-top:0}.footer a{color:#dbe3ea}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:18px;font-size:.85rem;color:#9eabb7}.whatsapp{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;font-size:29px;z-index:100;box-shadow:0 8px 25px rgba(0,0,0,.25)}.whatsapp:hover{transform:translateY(-2px)}.notice{padding:16px 18px;background:#fff8e8;border-left:4px solid var(--gold);border-radius:8px;margin:25px 0}.form-status{display:none;padding:12px;background:#edf8f0;border-radius:8px;margin-top:15px}.blog-list{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.blog-card{border:1px solid #e2e8ee;border-radius:var(--radius);overflow:hidden;background:#fff}.blog-card img{height:220px;width:100%;object-fit:cover}.blog-card div{padding:24px}.small{font-size:.9rem;color:var(--muted)}@media(max-width:850px){.menu{display:none}.hero-grid,.split,.contact-grid,.footer-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.hero{padding:65px 0}.hero-card img{height:280px}}@media(max-width:560px){.topbar .container{display:block;text-align:center}.cards,.blog-list,.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.section{padding:58px 0}.nav{min-height:68px}.brand img{width:45px;height:45px}.hero h1{font-size:2.35rem}.actions .btn{width:100%}.whatsapp{right:16px;bottom:16px}}

/* Inner-page visual hero */
.page-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,var(--navy) 0%,#173b58 62%,#1d5f91 100%);padding:0;border:0;color:#fff}
.page-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.10),transparent 32%),linear-gradient(90deg,rgba(13,27,42,.18),rgba(13,27,42,0));pointer-events:none}
.page-hero-grid{position:relative;display:grid;grid-template-columns:1.08fr .92fr;gap:54px;align-items:center;min-height:390px;padding:58px 0}
.page-hero-copy{max-width:720px}
.page-hero .breadcrumbs{color:#b9c8d5;margin-bottom:16px}
.page-hero .eyebrow{color:#e7d09a}
.page-hero h1{color:#fff;font-size:clamp(2.2rem,4.5vw,4rem);line-height:1.06;letter-spacing:-.035em;margin:8px 0 18px}
.page-hero p{color:#e5edf4;font-size:1.08rem;max-width:650px;margin:0}
.page-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero-visual{position:relative}
.hero-visual img{width:100%;height:320px;object-fit:cover;border-radius:18px;border:1px solid rgba(255,255,255,.20);box-shadow:0 22px 55px rgba(0,0,0,.25)}
.hero-visual:after{content:"";position:absolute;right:-12px;bottom:-12px;width:110px;height:110px;border:1px solid rgba(231,208,154,.35);border-radius:18px;z-index:-1}
.page-hero--compact .page-hero-grid{min-height:300px}
.delitos-intro{max-width:820px;margin:0 auto 38px;text-align:center;color:var(--muted)}
.delitos-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.delito-card{position:relative;padding:30px;background:#fff;border:1px solid #e3e9ef;border-radius:18px;box-shadow:0 12px 32px rgba(13,27,42,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.delito-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(13,27,42,.11);border-color:#cbd8e3}
.delito-card .icon{margin-bottom:16px}
.delito-card h3{font-size:1.2rem;line-height:1.25;margin:0 0 10px;color:var(--navy)}
.delito-card p{margin:0;color:var(--muted)}
.delito-card .link{display:inline-block;margin-top:18px;color:var(--blue);font-weight:800}
.prose h3{font-size:1.45rem;line-height:1.25;padding:16px 0 4px;border-top:1px solid #e8edf2}
@media(max-width:850px){.page-hero-grid{grid-template-columns:1fr;gap:28px;min-height:auto;padding:52px 0}.hero-visual img{height:260px}.delitos-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.page-hero-grid{padding:42px 0}.page-hero h1{font-size:2.2rem}.page-hero-actions .btn{width:100%}.delitos-grid{grid-template-columns:1fr}}

/* V3 — lenguaje visual unificado con la página de Inicio */
:root{--blue-deep:#0b2942;--blue-mid:#155985;--blue-soft:#eaf3f8;--blue-pale:#f2f7fa;--gold-soft:#d8c080}
body{background:linear-gradient(180deg,#f7fafc 0%,#eef4f8 48%,#f7fafc 100%)}
.page-hero{background-image:linear-gradient(105deg,rgba(8,27,43,.97) 0%,rgba(13,46,70,.91) 46%,rgba(20,88,133,.78) 100%),url('/assets/img/9b368d59372166f78f14948d666c6349.jpg');background-size:cover;background-position:center;box-shadow:inset 0 -1px rgba(255,255,255,.12)}
.page-hero:before{background:radial-gradient(circle at 80% 25%,rgba(255,255,255,.14),transparent 30%),linear-gradient(90deg,rgba(8,27,43,.18),rgba(20,88,133,.10));}
.page-hero-grid{min-height:430px;padding:68px 0}
.hero-visual img{box-shadow:0 24px 65px rgba(0,0,0,.30);border-color:rgba(255,255,255,.28)}
.section{position:relative}
.section:not(.alt){background:rgba(255,255,255,.72)}
.section.alt{background:linear-gradient(135deg,#eaf3f8 0%,#dfeaf1 100%)}
.section-head h2,.prose h2,.prose h3{color:var(--blue-deep)}
.cards,.delitos-grid{align-items:stretch}
.card,.delito-card{background:linear-gradient(145deg,#fff 0%,#f3f8fb 100%);border-color:#d4e1e9}
.delito-card:nth-child(3n+1){border-top:4px solid #1d5f91}
.delito-card:nth-child(3n+2){border-top:4px solid #3a7da5}
.delito-card:nth-child(3n){border-top:4px solid #b8944a}
.delito-card .icon{background:#e4f0f7;color:#155985}
.service-section{background:linear-gradient(135deg,#0b2942 0%,#123e5d 58%,#1d5f91 100%);color:#fff;overflow:hidden}
.service-section:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.10),transparent 28%);pointer-events:none}
.service-section .section-head h2{color:#fff}.service-section .section-head p{color:#d9e5ed}.service-section .eyebrow{color:#e7d09a}
.service-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;position:relative}
.service-card{padding:28px;border:1px solid rgba(255,255,255,.17);border-radius:18px;background:rgba(255,255,255,.09);box-shadow:0 16px 38px rgba(0,0,0,.18);backdrop-filter:blur(8px)}
.service-card:nth-child(1){border-top:4px solid #8bb8d3}.service-card:nth-child(2){border-top:4px solid #b8944a}.service-card:nth-child(3){border-top:4px solid #d5e6f0}
.service-card .icon{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.15)}
.service-card h3{color:#fff;margin:12px 0 8px}.service-card p{color:#dbe7ef;margin:0}
.service-card .service-link{display:inline-block;margin-top:18px;color:#fff;font-weight:800}
.prose{background:rgba(255,255,255,.58);padding:38px 42px;border-radius:22px;border:1px solid #dce6ed;box-shadow:0 12px 34px rgba(13,27,42,.06)}
.prose p,.prose li{color:#465765}
.notice{background:#eef6fa;border-left-color:var(--blue-mid)}
.contact-box{background:linear-gradient(145deg,#0b2942,#1d5f91)}
.footer{background:linear-gradient(145deg,#071521,#0b2942 65%,#123e5d)}
@media(max-width:850px){.service-cards{grid-template-columns:1fr}.prose{padding:28px 24px}}
.hero-home-style{position:relative;overflow:hidden;background-image:linear-gradient(105deg,rgba(8,27,43,.96) 0%,rgba(13,46,70,.90) 50%,rgba(20,88,133,.78) 100%),url('/assets/img/9b368d59372166f78f14948d666c6349.jpg');background-size:cover;background-position:center}
.hero-home-style:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 25%,rgba(255,255,255,.10),transparent 28%);pointer-events:none}.hero-home-style .container{position:relative;z-index:1}


/* V5 — contraste y legibilidad de todas las tarjetas */
:root{--card-blue:#155985;--card-navy:#0b2942;--card-gold:#b8944a;--card-bg:#f4f8fb;--card-border:#cbdde8}
.card,.delito-card,.blog-card{color:var(--card-navy)}
.card h3,.delito-card h3,.blog-card h3{color:var(--card-navy)!important}
.card p,.delito-card p,.blog-card p{color:#43586a!important}
.card .link,.delito-card .link,.blog-card a{color:var(--card-blue)!important}
.card,.delito-card{background:linear-gradient(145deg,#ffffff 0%,#edf5f9 100%)!important;border:1px solid var(--card-border)!important}
.delito-card:nth-child(3n+1){border-top:4px solid #155985!important}
.delito-card:nth-child(3n+2){border-top:4px solid #3a7da5!important}
.delito-card:nth-child(3n){border-top:4px solid #b8944a!important}
.service-section .service-card{background:linear-gradient(145deg,#fafdff 0%,#e6f1f7 100%)!important;border:1px solid #bcd2df!important;box-shadow:0 16px 38px rgba(7,35,55,.20);backdrop-filter:none}
.service-section .service-card:nth-child(1){border-top:4px solid #155985!important}
.service-section .service-card:nth-child(2){border-top:4px solid #b8944a!important}
.service-section .service-card:nth-child(3){border-top:4px solid #3a7da5!important}
.service-section .service-card .icon{background:#dcecf5!important;color:#155985!important;border:1px solid #bfd7e4!important}
.service-section .service-card h3{color:#0b2942!important;font-weight:800}
.service-section .service-card p{color:#40586a!important}
.service-section .service-card .service-link{color:#155985!important;font-weight:850}
.service-section .service-card:nth-child(2) .service-link{color:#9a7634!important}
.service-section .service-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(7,35,55,.25);border-color:#9dbdce!important}
.blog-card{background:linear-gradient(145deg,#ffffff,#edf5f9)!important;border-color:#cbdde8!important}
.blog-card .small{color:#617789!important}
.prose{color:#0b2942}
.prose h2,.prose h3{color:#0b2942!important}
.prose p,.prose li{color:#40586a!important}
.notice{color:#28485d!important}
@media(max-width:850px){.service-section .service-card{min-height:0}}


/* V6 — contraste fuerte y accesible */
:root{--ink:#0b2942;--ink-soft:#29485d;--gold-strong:#9a741d;--gold-bright:#f0d27b;--card-surface:#eef5f9}

/* Texto general: azul oscuro para máxima legibilidad */
.section-head p,.delitos-intro,.card p,.delito-card p,.blog-card p,.prose p,.prose li{color:var(--ink-soft)!important}
.card h3,.delito-card h3,.blog-card h2,.blog-card h3,.prose h2,.prose h3,.section-head h2{color:var(--ink)!important}

/* Dorado oscuro sobre fondos claros; dorado luminoso sobre fondos oscuros */
.section:not(.service-section) .eyebrow{color:var(--gold-strong)!important}
.page-hero .eyebrow,.hero .eyebrow,.service-section .eyebrow{color:var(--gold-bright)!important;text-shadow:0 1px 10px rgba(0,0,0,.35)}

/* Servicios: fondo oscuro + tarjetas claras para evitar cualquier texto perdido */
.service-section{background:linear-gradient(135deg,#081d2f 0%,#0b2942 52%,#155985 100%)!important;color:#fff!important}
.service-section .section-head{position:relative;z-index:2}
.service-section .section-head h2{color:#fff!important;text-shadow:0 2px 8px rgba(0,0,0,.22)}
.service-section .section-head p{color:#eef5f9!important}
.service-section .service-cards{position:relative;z-index:2}
.service-section .service-card{background:#f4f8fb!important;border:1px solid #c7dbe7!important;border-top:4px solid #155985!important;box-shadow:0 14px 32px rgba(0,0,0,.28)!important;backdrop-filter:none!important}
.service-section .service-card:nth-child(2){border-top-color:#b8944a!important}
.service-section .service-card:nth-child(3){border-top-color:#3a7da5!important}
.service-section .service-card .icon{background:#dcecf5!important;color:#0b2942!important;border:1px solid #bfd5e2!important}
.service-section .service-card h3{color:#0b2942!important}
.service-section .service-card p{color:#29485d!important}
.service-section .service-card .service-link{color:#155985!important;text-decoration:underline;text-underline-offset:3px}
.service-section .service-card:nth-child(2) .service-link{color:#7b5b16!important}

/* Tarjetas de delitos: mismo azul de texto que ya funciona en la sección Tipos de delitos */
.delito-card,.card,.blog-card{background:linear-gradient(145deg,#f7fbfd 0%,#e8f2f7 100%)!important}
.delito-card h3,.card h3{color:#0b2942!important}
.delito-card p,.card p{color:#29485d!important}
.delito-card .link,.card .link{color:#155985!important}

/* Contenido interno */
.prose{background:rgba(242,247,250,.94)!important;border-color:#cbdde8!important}
.prose p,.prose li{color:#29485d!important}
.notice{background:#e6f1f6!important;color:#0b2942!important}

/* Eyebrows en bloques claros: nunca amarillo claro sobre blanco */
.section.alt .eyebrow,.section:not(.service-section) .split .eyebrow{color:#7b5b16!important}

@media(max-width:850px){.service-section .service-card{min-height:0}}

/* V9 — menú móvil visible y accesible */
.menu-toggle{display:none;width:46px;height:46px;padding:10px;border:1px solid #cbd8e3;border-radius:10px;background:#fff;color:var(--navy);cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px;flex:0 0 auto}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--navy);border-radius:2px;transition:transform .2s ease,opacity .2s ease}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:850px){
  .header .nav{position:relative}
  .menu-toggle{display:flex}
  .header .menu{display:none;position:absolute;top:calc(100% + 1px);left:0;right:0;z-index:60;flex-direction:column;align-items:stretch;gap:0;padding:10px 4%;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);border-bottom:1px solid #dce5ec;box-shadow:0 14px 30px rgba(13,27,42,.14);font-size:1rem}
  .header .menu.menu-open{display:flex}
  .header .menu a{display:block;padding:13px 10px;border-radius:8px}
  .header .menu a:hover{background:#eef4f8}
  .header .menu .cta{margin-top:4px;text-align:center;padding:12px 16px}
}
@media(max-width:560px){
  .menu-toggle{width:44px;height:44px}
  .header .menu{left:-1px;right:-1px;padding:10px 5% 14px}
}

/* V11 — menú móvil reforzado */
@media(max-width:850px){
  .header{z-index:9990}
  .header .nav{min-height:72px;position:relative}
  .menu-toggle{display:flex!important;position:relative;z-index:10000;width:50px!important;height:50px!important;min-width:50px;border:2px solid var(--navy)!important;background:#fff!important;box-shadow:0 4px 12px rgba(13,27,42,.18);padding:9px!important;pointer-events:auto!important}
  .menu-toggle span{width:27px!important;height:3px!important;background:var(--navy)!important}
  .header .menu{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;z-index:9999!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;padding:12px 5%!important;background:#fff!important;opacity:1!important;visibility:visible!important;box-shadow:0 16px 30px rgba(13,27,42,.2)!important}
  .header .menu.menu-open{display:flex!important}
  .header .menu a{color:var(--navy)!important;font-size:1rem!important;padding:14px 12px!important}
}
