@charset "utf-8";
/* CSS Document */
/* --- VARIABLES & RESET --- */
:root {
    --primary-color: #272d61; /* Nuevo Azul Principal */
    --dark-bg: #272d61;       /* Nuevo Azul para fondos completos */
    --text-white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; }

/* --- HEADER RESTRUCTURADO --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 10000;
    background-color: transparent;
    transition: 0.3s ease;
}

/* Estado cuando bajas el scroll */
.main-header.header-active {
    background-color: var(--dark-bg) !important;
    padding: 12px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
}

.logo-img {
    height: 100px;       
    width: 100px;        
    display: block;
    transition: height 0.3s ease; 
}

.main-header.header-active .logo-img {
    height: 100px; 
}

/* AJUSTE PARA MÓVIL */
@media (max-width: 768px) {
    .logo-img { height: 100px; }
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover { 
    color: #ffffff; 
    opacity: 0.7; /* Para dar efecto al tocar sobre el texto blanco */
}

/* BOTÓN HEADER BLANCO CON LETRAS AZULES */
.btn-contact-header {
    background-color: #ffffff !important; 
    color: var(--dark-bg) !important;            
    padding: 10px 22px !important;
    border-radius: 5px;
    font-weight: 800 !important;          
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-contact-header:hover {
    background-color: var(--dark-bg) !important; 
    color: #ffffff !important;            
    transform: translateY(-2px);          
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* --- MOBILE MENU --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #fff;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger { display: block; }

    .nav-menu {
        position: fixed;
        right: -100%; 
        top: 0;
        width: 70%;
        height: 100vh;
        background-color: var(--dark-bg);
        transition: 0.4s;
    }

    .nav-menu.active { right: 0; } 

    .nav-links {
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;    
    object-position: center; 
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(39, 45, 97, 0.4), rgba(39, 45, 97, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 60px; 
}

.hero-content h1 {
    color: var(--text-white);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-content h1 span { color: #ffffff; }

.hero-content p {
    color: #ddd;
    font-size: 1.2rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- BOTONES HERO --- */
.hero-buttons {
    display: flex !important;       
    flex-direction: row !important;  
    justify-content: center !important;
    gap: 20px !important;
    margin-top: 30px;
    width: 100%;
}

.btn {
    display: inline-block !important; 
    min-width: 200px;
    padding: 15px 30px;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ffffff;
    color: var(--dark-bg);
    border: 2px solid #ffffff;
    font-weight: 800;
}
.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    font-weight: 800;
}
.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--dark-bg);
}

/* --- RESPONSIVE (MÓVIL) --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 75%; 
        height: 100vh;
        background-color: var(--dark-bg);
        transition: right 0.4s ease-in-out; 
        box-shadow: -5px 0 15px rgba(0,0,0,0.5); 
    }
    
    .hero-buttons {
        flex-direction: column !important; 
        align-items: center !important;
        gap: 15px !important;
    }

    .btn {
        width: 85% !important; 
        min-width: unset !important; 
    }
    
    .hero-section {
        height: 80vh; 
        padding-top: 80px; 
    }

    .hero-bg-img { object-position: center; }

    .hero-content h1 {
        font-size: 2rem; 
        padding: 0 10px;
    }
}
    
.menu-toggle { display: block; } 

.nav-list {
    position: fixed;
    left: -100%; 
    top: 70px; 
    flex-direction: column;
    background-color: var(--dark-bg);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 20px 0;
}

.nav-list.active { left: 0; }
.hero-content h1 { font-size: 2.2rem; }
  
/* --- SECCIÓN SERVICIOS --- */
.services-section {
    padding: 80px 0;
    background-color: var(--dark-bg); 
    text-align: center;
}

/* TÍTULO NUESTROS SERVICIOS TOTALMENTE BLANCO */
.services-section .section-title,
.services-section .section-title span {
    font-size: 2.5rem;
    color: #ffffff !important; 
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 800;
    font-style: normal;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background: #fff; 
    width: 350px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 800;
}

.section-title span {
    color: var(--primary-color);
    font-style: italic;
}

.service-card:hover {
    transform: translateY(-10px); 
}

.card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-card {
    margin-top: auto; 
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-card:hover {
    background-color: #1a1e42; /* Azul sutilmente más oscuro */
    color: #fff;
}

/* --- SECCIÓN CLIENTES (CARRUSEL) --- */
.clients-carousel-section {
    padding: 60px 0; 
    background-color: var(--dark-bg); 
    text-align: center;
    border-bottom: 10px solid #ffffff; /* Línea de borde a borde cambiada a BLANCO */
    overflow: hidden; 
}

.clients-carousel-section .section-title {
    margin-bottom: 40px;
    color: #ffffff !important;
}

.slider-container {
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    width: calc(250px * 14); 
    animation: scroll 30s linear infinite; 
}

.slider-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 250px; 
    height: 100px; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    padding: 0 30px; 
}

.slide img {
    max-width: 100%; 
    max-height: 80px; 
    object-fit: contain; 
    filter: grayscale(100%) brightness(1000%); 
    opacity: 0.7; 
    transition: all 0.3s ease;
}

.slide:hover img {
    filter: none; 
    opacity: 1; 
    transform: scale(1.1); 
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); }
}

/* --- SECCIÓN NOSOTROS --- */
.about-section {
    padding: 100px 0;
    background-color: #fff; 
}

.about-container {
    display: flex;
    align-items: center; 
    gap: 60px; 
}

.about-img {
    flex: 1; 
    border-radius: 8px;
    overflow: hidden;
    /* Sombra con el azul oscuro ajustado */
    box-shadow: -15px 15px 0px rgba(39, 45, 97, 0.2);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1; 
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-text h2 span {
    color: var(--primary-color);
    font-size: 4rem; 
    font-weight: 800;
    display: inline-block; 
    margin-right: 15px; 
    vertical-align: middle; 
    line-height: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1rem;
}

.about-text .lead-text {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.cert-subtitle {
    color: var(--primary-color);
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: 1px;
}

.certs-grid {
    display: flex;
    gap: 40px; 
}

.cert-item {
    flex: 1;
    text-align: center;
}

.cert-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px; 
    color: var(--primary-color); 
    background-color: rgba(39, 45, 97, 0.08); /* Fondo azul muy claro */
    border-radius: 50%;
    padding: 15px;
}

.cert-item p {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .about-container { flex-direction: column; gap: 40px; }
    .about-img { box-shadow: none; max-width: 100%; }
    .about-text { text-align: center; padding: 0 15px; }
    .about-text h2 span { font-size: 3.5rem; }
    .about-text h2, .cert-subtitle { text-align: center; }
    .certs-grid { gap: 30px; justify-content: center; }
}

/* --- SECCIÓN NORMATIVIDAD --- */
.inspection-section {
    padding: 80px 0;
    background-color: #fff; 
}

.inspection-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-bg);
    margin-bottom: 60px;
    font-weight: 800;
}

.inspection-section .section-title span {
    color: var(--primary-color);
}

.inspection-list { max-width: 900px; margin: 0 auto; }

.inspection-item {
    display: flex; 
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee; 
}

.inspection-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.insp-icon {
    flex-shrink: 0; 
    width: 60px;
    height: 60px;
    background-color: #fff;
    border: 2px solid var(--primary-color); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.insp-icon svg { width: 30px; height: 30px; }
.insp-content { padding-top: 5px; }

.norm-code {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-bg); 
    margin-bottom: 10px;
    font-family: var(--font-main);
}

.norm-desc {
    font-size: 1rem;
    color: #555; 
    line-height: 1.6;
}

@media (max-width: 768px) {
    .inspection-item { flex-direction: column; text-align: center; align-items: center; }
}

/* --- SECCIÓN CONTACTO (VERSIÓN FONDO BLANCO) --- */
.contact-section {
    background-color: #ffffff; 
    padding: 80px 0;
    color: #333; 
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info { flex: 1; }

.contact-section .section-title {
    color: var(--dark-bg) !important; 
}

.contact-desc {
    color: #666; 
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 450px;
}

.contact-details { margin-bottom: 40px; }

.c-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.c-icon {
    width: 50px;
    height: 50px;
    background-color: #f4f4f4; 
    color: var(--primary-color); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.c-text h4 {
    color: var(--dark-bg); 
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 800;
}

.c-text p, .c-text a {
    color: #555; 
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Botón WhatsApp */
.btn-whatsapp-big {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #25D366;
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    width: 100%;
    max-width: 400px;
}

.btn-whatsapp-big:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-big svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.small-note {
    font-size: 0.8rem;
    color: #fff;
    margin-top: 10px;
    margin-left: 20px;
}

.contact-map {
    flex: 1;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

@media (max-width: 900px) {
    .contact-wrapper { flex-direction: column; }
    .contact-map { width: 100%; height: 300px; }
    .contact-info { text-align: center; }
    .c-item { justify-content: center; text-align: left; }
    .contact-desc { margin: 0 auto 40px auto; }
}

/* --- FOOTER COMPLETO --- */
.site-footer {
    background-color: var(--dark-bg); 
    color: #fff;
    padding: 80px 0 30px 0;
    position: relative;
    overflow: hidden;
}

/* Decoración superior cambiada a línea totalmente Blanca */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand { flex: 2; min-width: 250px; }

.footer-brand h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.brand-tagline {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.brand-location {
    color: #ffffff; /* Ubicación en blanco puro para resaltar */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-nav, .footer-legal { flex: 1; min-width: 150px; }

.footer-nav h4, .footer-legal h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li { margin-bottom: 15px; }

.site-footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

/* Efecto Hover transformado a Blanco */
.site-footer ul li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #ffffff;
    color: var(--dark-bg); /* Al poner mouse brilla en blanco con icono azul */
}

.social-icons svg { width: 20px; height: 20px; }

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #fff;
    font-size: 0.85rem;
}

.back-to-top {
    background-color: #222;
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: 0.3s;
    border: 1px solid #333;
    text-decoration: none;
}

.back-to-top:hover {
    background-color: #ffffff;
    color: var(--dark-bg);
    border-color: #ffffff;
}

.back-to-top svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
    .footer-brand, .footer-nav, .footer-legal { width: 100%; text-align: center; }
    .social-icons { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .back-to-top { margin: 0 auto; }
}

/* --- FIX DE HEADER --- */
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999; 
    background-color: transparent; 
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
    background-color: var(--dark-bg) !important; 
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

@media (min-width: 769px) {
    .nav-list {
        display: flex !important; 
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        position: static !important;
        flex-direction: row !important;
        height: auto !important;
        gap: 20px;
    }
    .menu-toggle { display: none !important; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block !important; margin-left: auto !important; }
    .nav-list {
        position: fixed; top: 0; left: -100%; width: 100%; height: 100vh;
        background-color: var(--dark-bg) !important;
        display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.3s ease;
    }
    .nav-list.active { left: 0; }
}

/* --- ESTILOS PARA PÁGINA SERVICIOS --- */
.hero-mini {
    background: linear-gradient(rgba(39, 45, 97, 0.9), rgba(39, 45, 97, 0.9)), url('/"../img/servicios.jpg');
    background-size: cover;
    padding: 150px 0 80px;
    text-align: center;
    color: white;
}

.hero-mini h1 { font-size: 2.5rem; font-weight: 800; }
.hero-mini h1 span { color: #ffffff; }

.pricing-grid {
    display: flex; gap: 30px; margin-top: -50px; flex-wrap: wrap; justify-content: center; padding-bottom: 80px;
}

.pricing-card {
    background: white; flex: 1; min-width: 300px; max-width: 380px; border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); overflow: hidden; transition: 0.3s;
}

.pricing-card:hover { transform: translateY(-10px); }
.pricing-card.featured { border: 3px solid var(--primary-color); }

.card-header {
    background: var(--dark-bg); color: white; padding: 30px; position: relative;
}

.card-header .number {
    position: absolute; right: 20px; top: 10px; font-size: 3rem; font-weight: 900; opacity: 0.1;
}

.card-body { 
    padding: 30px; display: flex; flex-direction: column; align-items: center; 
}

.cost-item {
    display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee;
}

.requirements {
    margin-top: 20px; background: #f9f9f9; padding: 15px; border-radius: 8px; text-align: left;
}

.requirements h4 { font-size: 0.8rem; color: var(--primary-color); text-transform: uppercase; margin-bottom: 10px; }
.requirements ul { list-style: none; padding-left: 0; font-size: 0.9rem; }

.total-price { text-align: center; margin-bottom: 20px; }
.total-price .price { display: block; font-size: 3rem; font-weight: 800; color: var(--dark-bg); }

.flotilla-tag {
    background: var(--primary-color); color: #fff; font-weight: 800; padding: 8px;
    border-radius: 5px; font-size: 0.75rem; text-align: center; margin-bottom: 20px;
}

.penalty-notice { margin-top: 20px; font-size: 0.8rem; font-weight: 700; color: #666; text-align: center; }
.penalty-notice.red { color: #d9534f; }

@media (max-width: 768px) {
    .pricing-grid { margin-top: 20px; }
    .pricing-card { max-width: 100%; }
}

.legal-page { background-color: #f8f9fa; }
.legal-content { padding: 120px 0 60px; max-width: 900px !important; }
.legal-text-wrapper { 
    background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
    line-height: 1.7; text-align: justify; 
}
/* Borde del apartado legal ahora en Azul para eliminar rastro amarillo */
.legal-text-wrapper h3 { 
    color: var(--dark-bg); margin: 30px 0 15px; font-size: 1rem; 
    border-left: 4px solid var(--primary-color); padding-left: 15px;
}
.pub-date { margin-top: 40px; font-weight: bold; color: #888; border-top: 1px solid #eee; padding-top: 20px; }

/* --- WIDGET WHATSAPP (Mantiene verdes de la marca) --- */
.whatsapp-container { position: fixed; bottom: 25px; right: 25px; z-index: 1000; }
.whatsapp-btn { background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; border: none; box-shadow: 0 5px 15px rgba(0,0,0,0.2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.whatsapp-btn svg { width: 35px; }
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-chat-box { position: absolute; bottom: 80px; right: 0; width: 320px; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: none; overflow: hidden; animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.chat-header { background: var(--dark-bg); color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; }
.chat-logo { width: 40px; height: 40px; border-radius: 50%; background: white; padding: 2px; }
.status-info { margin-left: 10px; font-size: 0.85rem; }
.online-dot { display: inline-block; width: 8px; height: 8px; background: #25d366; border-radius: 50%; margin-right: 5px; }
.close-chat { background: none; border: none; color: white; font-size: 25px; cursor: pointer; }
.chat-body { padding: 25px; background: #e5ddd5; font-size: 0.95rem; }
.chat-footer { padding: 15px; text-align: center; }
.btn-send-wa { background: #25d366; color: white; text-decoration: none; padding: 10px 20px; border-radius: 20px; font-weight: bold; display: inline-block; width: 100%; }

.footer-logo-custom { width: 180px; height: auto; max-width: 100%; margin-bottom: 20px; display: flex; justify-content: center; }
@media (min-width: 768px) { .footer-logo-custom { width: 220px; } }

/* --- SECCIÓN BENEFICIOS PREMIUM --- */
.benefits-wide-section { margin-top: 60px; width: 100%; }
.card-service-premium { background: #ffffff; border-radius: 12px; padding: 60px 50px; box-shadow: 0 15px 40px rgba(0,0,0,0.06); border: 1px solid #eaeaea; position: relative; }
.premium-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.premium-label { font-size: 12px; font-weight: 800; color: var(--primary-color); letter-spacing: 2px; text-transform: uppercase; }
.premium-header h3 { font-size: 2.2rem; color: var(--dark-bg); margin: 15px 0; font-weight: 800; }
.premium-header .text-highlight { color: var(--primary-color); }
.premium-header p { color: #666; font-size: 1.1rem; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; }
.benefit-item { display: flex; align-items: flex-start; gap: 20px; }
.benefit-marker { width: 12px; height: 12px; background: var(--primary-color); border-radius: 2px; margin-top: 6px; flex-shrink: 0; }
.benefit-text strong { display: block; font-size: 1.2rem; color: var(--dark-bg); margin-bottom: 8px; text-transform: uppercase; }
.benefit-text p { color: #555; font-size: 0.95rem; line-height: 1.6; margin: 0; }
@media (max-width: 992px) { .benefits-grid { grid-template-columns: 1fr; } .card-service-premium { padding: 40px 25px; } .premium-header h3 { font-size: 1.8rem; } }

/* --- SECCIÓN DE ENLACES EXTERNOS --- */
.external-links-section { padding: 80px 0; }
.section-header-mini { text-align: center; margin-bottom: 50px; }
.section-header-mini .label { color: var(--primary-color); font-weight: 800; letter-spacing: 2px; font-size: 13px; }
.section-header-mini h3 { font-size: 2rem; color: var(--dark-bg); margin: 10px 0; }
.section-header-mini h3 span { color: var(--primary-color); }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.link-card { background: #ffffff; border: 1px solid #eee; padding: 20px; border-radius: 10px; display: flex; align-items: center; text-decoration: none; transition: all 0.3s ease; }
.link-card:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.link-icon { font-size: 1.8rem; margin-right: 20px; min-width: 40px; text-align: center; }
.link-info h4 { color: var(--dark-bg); font-size: 1rem; margin-bottom: 4px; font-weight: 700; }
.link-info p { color: #777; font-size: 0.85rem; margin: 0; line-height: 1.3; }
.link-arrow { margin-left: auto; color: #ccc; font-weight: bold; transition: 0.3s; }
.link-card:hover .link-arrow { color: var(--primary-color); transform: translateX(5px); }
@media (max-width: 768px) { .links-grid { grid-template-columns: 1fr; } }

/* --- LISTA DE COMPROMISOS (Nosotros) --- */
.about-benefits-list { list-style: none; padding: 0; margin: 20px 0 40px 0; }
.about-benefits-list li { display: flex; align-items: flex-start; margin-bottom: 12px; font-size: 0.95rem; color: #444; line-height: 1.5; }
.about-benefits-list .check-icon { width: 20px; height: 20px; color: var(--primary-color); margin-right: 12px; flex-shrink: 0; margin-top: 2px; }
.about-benefits-list span { flex: 1; }

/* --- SECCIÓN CALENDARIO NOM-68 --- */
.calendar-section { padding: 60px 0; }
.calendar-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.calendar-box, .plate-guide-box { background: #ffffff; border-radius: 12px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); border: 1px solid #eaeaea; }
/* Borde del título del calendario cambiado a azul */
.box-title { font-size: 1.3rem; color: var(--dark-bg); margin-bottom: 25px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-color); display: inline-block; }
.month-row { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px dashed #ddd; }
.month-row:last-child { border-bottom: none; }
.plate-digits { background: var(--dark-bg); color: #fff; font-size: 1.2rem; font-weight: 800; padding: 10px 20px; border-radius: 8px; min-width: 100px; text-align: center; margin-right: 20px; }
.months-list { font-size: 1rem; color: #444; font-weight: 600; }
/* Resaltado de placas modificado a azul y blanco con borde */
.highlight-row .plate-digits { background: var(--primary-color); color: #fff; border: 1px solid #fff; }
.guide-desc { color: #666; margin-bottom: 20px; font-size: 0.95rem; }
.guide-item { background: #f9f9f9; padding: 20px; border-radius: 8px; margin-bottom: 15px; border-left: 4px solid var(--dark-bg); display: flex; flex-direction: column; }
.plate-example { font-family: 'Courier New', Courier, monospace; font-size: 1.4rem; font-weight: 900; color: var(--dark-bg); letter-spacing: 2px; margin-bottom: 5px; }
.highlight-digit { color: var(--primary-color); text-decoration: underline; }
.multiple-plates { font-size: 1.1rem; line-height: 1.5; color: #555; }
.plate-rule { font-size: 0.9rem; color: #666; font-weight: 600; }
.rule-main { color: #d9534f; margin-top: 10px; }
@media (max-width: 992px) { .calendar-layout { grid-template-columns: 1fr; } .month-row { flex-direction: column; align-items: flex-start; } .plate-digits { margin-bottom: 10px; } }

/* --- DESPLEGABLE DE TRÁMITES SICT --- */
.tramites-dropdown { width: 100%; margin-bottom: 20px; text-align: left; }
.btn-toggle-list { background: transparent; border: none; color: var(--primary-color); font-weight: 800; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: center; align-items: center; width: 100%; padding: 10px 0; transition: 0.3s; }
.btn-toggle-list .arrow { margin-left: 8px; font-size: 0.8rem; transition: transform 0.3s ease; }
.btn-toggle-list.active .arrow { transform: rotate(180deg); }
.tramites-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease; background: #f9f9f9; border-radius: 8px; }
.btn-toggle-list.active + .tramites-content { max-height: 800px; padding: 15px; margin-top: 10px; border: 1px solid #eee; }
.tramites-list { padding-left: 20px; margin: 0; font-size: 0.85rem; color: #444; line-height: 1.4; }
.tramites-list li { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed #e0e0e0; }
.tramites-list li:last-child { border-bottom: none; }
/* Borde superior del apartado de Trámites cambiado a azul */
.tramites-others { color: var(--dark-bg); font-size: 0.9rem; font-weight: 800; margin: 15px 0 10px; border-top: 2px solid var(--primary-color); padding-top: 10px; }
.tramites-list-others { list-style: none; padding-left: 0; margin: 0; font-size: 0.85rem; color: #444; }
.tramites-list-others li { position: relative; padding-left: 15px; margin-bottom: 8px; }
.tramites-list-others li::before { content: "•"; color: var(--primary-color); font-weight: bold; position: absolute; left: 0; }

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* =========================================
   FIX PARA EL VIDEO DE FONDO DEL HERO
========================================= */
.hero-section {
    position: relative !important;
    overflow: hidden !important;
}

.hero-bg-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

.hero-section .overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1 !important;
}

.hero-section .hero-content {
    position: relative !important;
    z-index: 2 !important;
    width: 100%;
}