:root{color-scheme:dark;--ng-bg:#0b1220;--ng-panel:#14233b;--ng-text:#e5e7eb;--ng-muted:#bdcce1;--ng-blue:#93c5fd}
html{scroll-behavior:smooth}body{background:var(--ng-bg)!important;color:var(--ng-text)!important;font-family:Inter,'Segoe UI',Arial,sans-serif!important;line-height:1.7;overflow-wrap:break-word}a{color:var(--ng-blue)}a:hover{color:#dbeafe}img{max-width:100%;height:auto}button,a,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #60a5fa;outline-offset:4px}
body>.container-fluid.fixed-top{position:relative!important;top:auto;background:#12243f}.col-cabecera{background:#12243f!important;padding:4px 3vw}.telefonoc{font-size:clamp(.75rem,2vw,1rem)}.telefonoc a{margin-right:18px}.navbar.fixed-top{position:relative!important;top:auto!important;background:#0b1220!important;padding:16px 4vw!important;border-bottom:1px solid #334155!important;flex-wrap:wrap}.navbar-brand{padding:0!important;margin-right:24px}.navbar-brand img{width:205px!important;height:auto!important;max-height:none!important}.navbar-light .navbar-nav .nav-link,.navbar-toggler{color:#e5e7eb!important}.navbar-nav .nav-link{font-size:.9rem!important;padding:12px!important;font-weight:600}.navbar-toggler{border-color:#64748b!important}.dropdown-menu{background:#14233b!important;border:1px solid #425974;max-height:70vh;overflow-y:auto}.dropdown-item{color:#e5e7eb!important;white-space:normal!important}.dropdown-item:hover,.dropdown-item:focus{background:#23416c!important}.bordeinferiorc{border-color:#334155!important}
body>header{margin-top:0!important}.carousel-item{height:clamp(360px,45vw,580px)!important;min-height:0!important;background-position:center!important;background-size:cover!important}.carousel-item:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,15,30,.88),rgba(6,15,30,.25))}.carousel-caption{left:8%!important;right:8%!important;bottom:15%!important;text-align:left!important;max-width:1000px}.text-carousel{font-size:clamp(2rem,4.4vw,4.6rem)!important;font-weight:800!important;line-height:1.15!important;color:#fff!important;text-shadow:none!important}.text-carousel-p{font-size:clamp(1rem,1.8vw,1.5rem)!important;font-weight:500!important;line-height:1.5!important;color:#e5e7eb!important;text-shadow:none!important}.carousel-indicators li{min-height:4px}.carousel-control-next,.carousel-control-prev{width:6%}
body>.container,body>.container-fluid:not(.fixed-top){padding-top:26px;padding-bottom:26px}h1,h2,h3,.h1,.h2,.h3{font-weight:750;line-height:1.25;color:#dbeafe}.h1.text-center{font-size:clamp(1.7rem,3vw,2.7rem);margin:18px auto}.text-secondary,.text-primary{color:#bdcce1!important}.text-dark{color:#e5e7eb!important}.grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:24px;max-width:1400px!important;margin:24px auto!important;padding:0 3vw!important}.grid>a{display:block;color:inherit;text-decoration:none;min-width:0}.grid figure{float:none!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;margin:0!important;background:#14233b!important;border:1px solid #33465e;border-radius:20px!important;overflow:hidden;text-align:left!important}.grid figure img{display:block!important;position:static!important;width:100%!important;max-width:none!important;min-height:0!important;height:220px!important;object-fit:cover!important;opacity:1!important;transform:none!important;transition:none!important}.grid figure figcaption{position:static!important;padding:24px!important;height:auto!important;width:auto!important;transform:none!important;color:#e5e7eb!important}.grid figure figcaption:before,.grid figure figcaption:after,.grid figure h2:after{display:none!important}.grid figure h2{padding:0!important;margin:0 0 12px!important;font-size:1.4rem!important;text-transform:none!important;transform:none!important;color:#dbeafe!important}.grid figure p{position:static!important;opacity:1!important;transform:none!important;padding:0!important;line-height:1.65!important;font-size:1rem!important;text-transform:none!important;letter-spacing:normal!important;color:#bdcce1!important}.grid figure figcaption>a{position:static!important;font-size:inherit!important;opacity:1!important}.grid>a:hover figure{border-color:#60a5fa;box-shadow:0 12px 35px #0004}
.card{background:#14233b!important;border:1px solid #33465e!important;border-radius:18px!important;color:#e5e7eb!important}.bg-light,.bg-white{background:#14233b!important;color:#e5e7eb!important}.border,.border-info{border-color:#425974!important}.btn-primary{background:#2563eb!important;border-color:#2563eb!important;border-radius:10px;font-weight:650;padding:12px 22px}.form-control{background:#101c30!important;color:#f1f5f9!important;border-color:#64748b!important;border-radius:8px;min-height:46px}.form-control::placeholder{color:#a7b5ca}.form-check-input{accent-color:#60a5fa}.txtpoliticas{color:#bdcce1!important}.text-danger{color:#fca5a5!important}.form-control:focus{box-shadow:0 0 0 3px #2563eb66}.ng-kit-image{background:white!important;padding:16px;border-radius:12px;object-fit:contain!important}
footer{background:#101c30!important;color:#e5e7eb!important;padding-bottom:100px!important;margin-top:35px}footer .fondocardfinal,footer .piefinal{background:transparent!important}footer a{color:#bdcce1!important}footer .capamapa{max-height:260px;width:100%}footer .card{border:0!important}.ng-contact{position:fixed;right:18px;bottom:18px;z-index:1020;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.ng-contact a{padding:12px 18px;border-radius:12px;font-size:.95rem;font-weight:700;text-decoration:none;box-shadow:0 6px 25px #0006}.ng-whatsapp{background:#167544;color:#fff!important}.ng-info{background:#1d4ed8;color:#fff!important}.ng-tracker{background:#14233b;padding:30px 5vw;border-top:1px solid #334155;border-bottom:1px solid #334155;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center}.ng-tracker h2{margin:0}.ng-tracker a{display:inline-block;margin:4px 12px 4px 0}.ng-concept{font-size:.8rem;color:#bdcce1;text-align:right;padding:8px 4vw}
@media(min-width:1200px){.navbar-expand-lg .navbar-collapse{flex-basis:100%}.navbar-expand-lg .navbar-nav{flex-wrap:wrap;margin-left:0!important}}
@media(max-width:991px){.navbar-collapse{max-height:70vh;overflow-y:auto}.navbar-brand img{width:170px!important}.navbar-nav .dropdown-menu{max-height:none}.carousel-caption{bottom:12%!important}.grid{padding:0 16px!important}.telefonoc{display:block;white-space:normal}.ng-contact{right:12px;bottom:12px}.ng-contact a{font-size:.85rem;padding:10px 14px}body>.container{padding-left:20px;padding-right:20px}table{max-width:100%}body>.container img{height:auto!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Ajustes contrastados sobre las plantillas originales */
.navbar.fixed-top{margin-top:0!important}.carousel{margin-top:0!important}.grid figure{max-height:none!important}.grid figure figcaption{max-height:none!important}.grid figure h2,.grid figure p{visibility:visible!important}.carousel-item .carousel-caption:empty{display:none}


/* Menú móvil contrastado */
.navbar.fixed-top{z-index:1030!important}.navbar .navbar-collapse{background:#0b1220!important}.navbar-nav{background:transparent!important}.navbar .dropdown-menu{z-index:1031!important}body:has(.navbar-collapse.show) .ng-contact{display:none}@media(max-width:991px){.navbar .navbar-collapse{position:static!important;width:100%;padding:12px 0}.navbar .navbar-nav{background:#0b1220!important}.navbar .dropdown-menu{position:static!important}}

.navbar.fixed-top{height:auto!important;min-height:0!important}.navbar .navbar-collapse{position:static!important;margin-top:12px!important}.navbar-brand{height:auto!important;line-height:1!important}

/* Legibilidad obligatoria: etiquetas, opciones y textos sobre paneles oscuros. */
label,.form-check-label,form legend,form .h5,form h5{color:#e5edf8!important}
h4,h5,h6,.h4,.h5,.h6{color:#dbeafe!important}
form .form-check-label{line-height:1.6;font-weight:500;cursor:pointer}
input[type=checkbox]{width:18px;height:18px;accent-color:#60a5fa;vertical-align:middle}
form .form-check{margin-bottom:10px}form .txtpoliticas{color:#cbd5e1!important}
.ng-offices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;padding:24px}
.ng-offices address{font-style:normal;background:#14233b;color:#e5edf8;padding:24px;border:1px solid #64748b;border-radius:12px;margin:0}
.ng-offices a,.ng-verifactu a{color:#bfdbfe;text-decoration:underline;text-underline-offset:3px}
.ng-verifactu{background:#14233b;color:#e5edf8;padding:28px;border:1px solid #64748b;border-radius:16px;margin:32px auto;max-width:1100px}
.ng-verifactu p,.ng-verifactu li{color:#e5edf8!important}.ng-verifactu h2{color:#fff!important}

body>.container :is(p,li,td,th,label,span,em,strong){color:#e5edf8!important}body>.container :is(p,li,td,th,span,em,strong)[style*="background"]{background-color:transparent!important}body>.container table{background:#14233b!important}body>.container a{color:#bfdbfe!important}

.grid figure h2{background:transparent!important;color:#dbeafe!important}
@media(max-width:600px){.ng-contact{position:static;align-items:stretch;padding:16px;background:#101c30}.ng-contact a{text-align:center}.form-check-label{padding-left:6px}}

/* Los contenidos antiguos también contienen texto directo en div. */
body>.container div{color:#e5edf8!important}footer .ubicacion_h2,footer .ubicacion_h2 .h2{background:#101c30!important;color:#dbeafe!important}

.ng-carousel-pause{position:absolute;right:16px;top:16px;z-index:5;background:#0b1220;color:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px;font-size:14px;cursor:pointer}

/* Cuaderno de campo: contenido HTML propio y superficies de lectura uniformes. */
.ng-fieldbook{color:#e5edf8;background:#0b1220}.ng-fieldbook :is(p,li,summary){color:#e5edf8!important}
.ng-fieldbook h1{font-size:clamp(2rem,4.2vw,3.8rem);line-height:1.13;color:#fff;max-width:900px}
.ng-fieldbook-hero{padding:80px 0;background:linear-gradient(90deg,rgba(6,15,30,.97),rgba(6,15,30,.85)),url('/ngpro-ui-20261201-r5/assets/tractor-gps.jpg') center/cover}
.ng-fieldbook-hero p{max-width:760px;font-size:1.15rem}.ng-eyebrow{font-size:.8rem!important;font-weight:700;letter-spacing:.08em;color:#bfdbfe!important}
.ng-fieldbook-section{padding:36px 0}.ng-fieldbook-section h2{margin-bottom:24px}.ng-fieldbook-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ng-fieldbook-card{background:#14233b;border:1px solid #52647e;border-radius:16px;padding:26px!important}.ng-fieldbook-card h3{font-size:1.35rem}.ng-fieldbook-card ul{padding-left:22px}
.ng-fieldbook a:not(.btn),.ng-fieldbook-spotlight a:not(.btn){color:#bfdbfe!important;text-decoration:underline;text-underline-offset:3px}.ng-fieldbook-link{display:inline-block;margin:16px}.ng-fieldbook-note{margin-top:24px}
.ng-fieldbook details{background:#14233b;border:1px solid #52647e;border-radius:10px;padding:18px 22px;margin:12px 0}.ng-fieldbook summary{font-weight:650;cursor:pointer}.ng-fieldbook details p{margin:16px 0 0}
.ng-fieldbook-spotlight{margin:32px auto!important;padding:28px!important;border:1px solid #6095d0;border-radius:16px;background:#14233b;display:flex;align-items:center;gap:24px}.ng-fieldbook-spotlight>div{flex:1}.ng-fieldbook-spotlight .btn{flex-shrink:0}.ng-fieldbook-spotlight p{margin-bottom:8px}.ng-fieldbook-nav{color:#bfdbfe!important}
@media(max-width:991px){.ng-fieldbook-grid{grid-template-columns:1fr}.ng-fieldbook-hero{padding:48px 0}.ng-fieldbook-spotlight{display:block;width:calc(100% - 32px)}.ng-fieldbook-spotlight .btn{margin-top:12px}.ng-fieldbook-section{padding:24px 0}.ng-fieldbook-link{margin-left:0}}

body:has(.ng-fieldbook) .ng-contact{position:static;align-items:center;padding:20px;background:#101c30}
