@charset "utf-8";
/* CSS Document */
/* --- VARIABLES & RESET --- */
:root {
    --primary-color: #f5b002; /* Amarillo */
    --dark-bg: #111820;       /* Negro Azulado */
    --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: #111820 !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: #f5b002;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
}

.logo-img {
    height: 100px;       /* Altura ideal para que el header sea elegante */
    width: 200px;        /* Mantiene la proporción */
    display: block;
    transition: height 0.3s ease; /* Para que se haga pequeño al bajar */
}

/* Efecto opcional: Que el logo se reduzca un poco cuando el header se pone oscuro */
.main-header.header-active .logo-img {
    height: 100px; 
}

/* AJUSTE PARA MÓVIL */
@media (max-width: 768px) {
    .logo-img {
        height: 100px;   /* Un poco más pequeño en celular */
    }
}

.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: #f5b002; }

/* BOTÓN AMARILLO CON LETRAS AZULES */
.btn-yellow {
    background-color: #f5b002 !important; /* Amarillo Satuve */
    color: #111820 !important;           /* Azul Oscuro de la identidad */
    padding: 10px 22px !important;
    border-radius: 5px;
    font-weight: 800 !important;          /* Letras gruesas para que resalte el azul */
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.btn-yellow:hover {
    background-color: #ffffff !important; /* Cambia a blanco al pasar el mouse */
    color: #111820 !important;           /* Mantiene la letra azul */
    transform: translateY(-2px);          /* Pequeño salto hacia arriba */
    box-shadow: 0 5px 15px rgba(245, 176, 2, 0.4);
}

/* --- 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%; /* Escondido */
        top: 0;
        width: 70%;
        height: 100vh;
        background-color: #111820;
        transition: 0.4s;
    }

    .nav-menu.active { right: 0; } /* Mostrar */

    .nav-links {
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh; /* Pantalla completa */
    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;    /* La imagen cubre el espacio sin deformarse */
    object-position: center; /* Centra la imagen para que lo más importante no se corte */
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 60px; /* Para compensar el header */
}

.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: var(--primary-color); }

.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;       /* Fuerza el comportamiento flexible */
    flex-direction: row !important;  /* Obliga a estar uno al lado del otro */
    justify-content: center !important;
    gap: 20px !important;
    margin-top: 30px;
    width: 100%;
}

.btn {
    display: inline-block !important; /* Evita que ocupen todo el ancho de la línea */
    min-width: 200px;
    padding: 15px 30px;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: #d49800;
    border-color: #d49800;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}
.btn-outline:hover {
    background-color: var(--text-white);
    color: #000;
}

/* --- RESPONSIVE (MÓVIL) --- */
@media (max-width: 768px) {
	
	.nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 75%; /* Deja un 25% de la pantalla visible a la izquierda para poder tocar y cerrar */
        height: 100vh;
        background-color: #111820;
        transition: right 0.4s ease-in-out; /* Animación suave */
        box-shadow: -5px 0 15px rgba(0,0,0,0.5); /* Sombra para que se vea sobre el fondo */
    }
	
	
	.hero-buttons {
        flex-direction: column !important; /* Solo en móvil se apilan */
        align-items: center !important;
        gap: 15px !important;
    }

    .btn {
        width: 85% !important; /* Ancho cómodo para el dedo */
        min-width: unset !important; /* Quitamos el ancho mínimo de PC */
    }
	
	.hero-section {
        height: 80vh; /* Bajamos un poco la altura en móvil para que sea más cómodo */
        padding-top: 80px; /* Espacio para que el header no tape el título */
    }

    .hero-bg-img {
        /* Si tu imagen tiene el camión a la derecha, cambia 'center' por 'right' 
           para que el camión siempre sea visible en la pantalla pequeña */
        object-position: center; 
    }

    .hero-content h1 {
        font-size: 2rem; /* Reducimos el tamaño para que no se amontone */
        padding: 0 10px;
    }
}
	
    .menu-toggle { display: block; } /* Mostrar hamburguesa */

    .nav-list {
        position: fixed;
        left: -100%; /* Escondido a la izquierda */
        top: 70px; /* Debajo del header */
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

    .nav-list.active {
        left: 0; /* Mostrar menú al activar */
    }

    .hero-content h1 { font-size: 2.2rem; 
}
    
 
  


/* --- SECCIÓN SERVICIOS --- */
.services-section {
    padding: 80px 0;
    background-color: #111820; /* El mismo azul oscuro que clientes y hero */
    text-align: center;
}

/* Título "NUESTROS" en blanco */
.services-section .section-title {
    font-size: 2.5rem;
    color: #ffffff; /* Texto Blanco */
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 800;
}

/* Título "SERVICIOS" en amarillo (se mantiene igual) */
.services-section .section-title span {
    color: var(--primary-color);
    font-style: italic;
}

/* --- ESTILOS DE LAS TARJETAS (SE MANTIENEN IGUALES) --- */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background: #fff; /* Fondo blanco para que contraste con el fondo oscuro */
    width: 350px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); /* Sombra un poco más oscura */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 800;
}

.section-title span {
    color: var(--primary-color);
    font-style: italic; /* El estilo itálico de la imagen */
}

/* Grid Flexible */
.services-grid {
    display: flex;
    flex-wrap: wrap; /* Permite que bajen si no caben */
    justify-content: center; /* CLAVE: Esto centra los elementos sobrantes (los 2 de abajo) */
    gap: 30px; /* Espacio entre tarjetas */
}

/* Diseño de la Tarjeta */
.service-card {
    background: #fff;
    width: 350px; /* Ancho fijo para uniformidad */
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); /* Sombra suave idéntica a la imagen */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column; /* Para empujar el botón al fondo si es necesario */
}

.service-card:hover {
    transform: translateY(-10px); /* Efecto de flotar al pasar el mouse */
}

.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: #000;
    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;
}

/* Botón "MÁS INFO" */
.btn-card {
    margin-top: auto; /* Empuja el botón siempre al final */
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-card:hover {
    background-color: #d49800; /* Un poco más oscuro al hover */
    color: #fff;
}

/* --- SECCIÓN CLIENTES (CARRUSEL) --- */
.clients-carousel-section {
    padding: 60px 0; /* Menos padding para que sea compacta */
    background-color: #111820; /* Mismo fondo oscuro */
    text-align: center;
    border-bottom: 10px solid var(--primary-color); /* La franja amarilla */
    overflow: hidden; /* CLAVE: Oculta lo que se sale de la pantalla */
}

.clients-carousel-section .section-title {
    margin-bottom: 40px;
}

/* El contenedor del carrusel */
.slider-container {
    width: 100%;
    position: relative;
    padding: 20px 0;
}

/* La pista larga que se mueve */
.slider-track {
    display: flex;
    width: calc(250px * 14); /* Ancho aproximado: Ancho de slide * cantidad total (7 logos x 2) */
    animation: scroll 30s linear infinite; /* Animación continua de 30 segundos */
}

/* Pausar al pasar el mouse (mejor experiencia de usuario) */
.slider-track:hover {
    animation-play-state: paused;
}

/* Estilo para el contenedor de cada logo */
.slide {
    width: 250px; /* Ancho de cada espacio */
    height: 100px; /* Alto del espacio */
    display: flex;
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    padding: 0 30px; /* Espacio a los lados para que no se peguen */
}

/* Estilo para LA IMAGEN dentro del slide */
.slide img {
    max-width: 100%; /* Que no se salga del ancho */
    max-height: 80px; /* Que no sea más alta de 80px */
    object-fit: contain; /* Ajuste perfecto sin deformar */
    
    /* TRUCO DE DISEÑO: Vuelve los logos blancos */
    filter: grayscale(100%) brightness(1000%); 
    opacity: 0.7; /* Un poco transparentes */
    transition: all 0.3s ease;
}

/* Al pasar el mouse sobre el logo */
.slide:hover img {
    filter: none; /* Recupera sus colores originales */
    opacity: 1; /* Opacidad completa */
    transform: scale(1.1); /* Un pequeño zoom */
}

/* --- ANIMACIÓN KEYFRAMES --- */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Movemos la pista hacia la izquierda el 50% de su ancho total (porque tenemos el contenido duplicado) */
        transform: translateX(calc(-250px * 7)); 
    }
}

/* Corrección para que el título "NUESTROS" se vea blanco en el fondo oscuro */
.clients-carousel-section .section-title {
    color: #ffffff !important;
}

/* --- SECCIÓN NOSOTROS --- */
.about-section {
    padding: 100px 0;
    background-color: #fff; /* Fondo blanco como en la imagen */
}

.about-container {
    display: flex;
    align-items: center; /* Centra verticalmente el texto con la imagen */
    gap: 60px; /* Espacio grande entre imagen y texto */
}

/* Columna Imagen */
.about-img {
    flex: 1; /* Ocupa el 50% del espacio */
    border-radius: 8px;
    overflow: hidden;
    /* Un pequeño detalle de sombra amarilla sólida para darle estilo */
    box-shadow: -15px 15px 0px rgba(245, 176, 2, 0.2);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Columna Texto */
.about-text {
    flex: 1; /* Ocupa el otro 50% */
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Estilo específico para el número "12" gigante y amarillo */
.about-text h2 span {
    color: var(--primary-color);
    font-size: 4rem; /* Ajusté un poco el tamaño para que se vea bien en línea */
    font-weight: 800;
    display: inline-block; /* CLAVE: Ahora se comporta como texto en línea */
    margin-right: 15px; /* Espacio entre el 12 y la palabra AÑOS */
    vertical-align: middle; /* Alinea el número con el centro del texto */
    line-height: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1rem;
}

/* Párrafo destacado (lead) */
.about-text .lead-text {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

/* --- Subsección Certificaciones --- */
.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; /* Espacio entre los dos iconos */
}

.cert-item {
    flex: 1;
    text-align: center;
}

.cert-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px; /* Centrado y margen abajo */
    color: var(--primary-color); /* Pinta los SVGs de amarillo */
    background-color: rgba(245, 176, 2, 0.1); /* Un fondo amarillo muy clarito */
    border-radius: 50%;
    padding: 15px;
}

.cert-item p {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

/* --- Responsive para Nosotros --- */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column; /* Columna: Imagen arriba, texto abajo */
        gap: 40px;
    }

    .about-img {
        box-shadow: none;
        max-width: 100%; /* Asegura que la imagen no se salga */
    }
    
    /* ESTO ES LO NUEVO: Centra todo el texto en móvil */
    .about-text {
        text-align: center; 
        padding: 0 15px; /* Un poco de margen a los lados para que no pegue al borde */
    }

    /* Ajuste de tamaño del "12" en celular para que no se vea exagerado */
    .about-text h2 span {
        font-size: 3.5rem;
    }

    /* Centramos también el título y subtítulo por si acaso */
    .about-text h2, 
    .cert-subtitle {
        text-align: center;
    }
    
    .certs-grid {
       gap: 30px;
       justify-content: center; /* Centra los iconos de certificaciones */
    }
}

/* --- SECCIÓN NORMATIVIDAD --- */
.inspection-section {
    padding: 80px 0;
    background-color: #fff; /* Fondo blanco limpio */
}

.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);
}

/* Contenedor de la lista (limitamos el ancho para que sea fácil de leer) */
.inspection-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Cada Item (Fila) */
.inspection-item {
    display: flex; /* Icono a la izquierda, texto a la derecha */
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee; /* Línea divisoria sutil */
}

/* El último item no lleva línea divisoria */
.inspection-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Iconos */
.insp-icon {
    flex-shrink: 0; /* Evita que el icono se aplaste */
    width: 60px;
    height: 60px;
    background-color: #fff;
    border: 2px solid var(--primary-color); /* Borde amarillo */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
}

.insp-icon svg {
    width: 30px;
    height: 30px;
}

/* Textos */
.insp-content {
    padding-top: 5px; /* Para alinear visualmente con el icono */
}

.norm-code {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-bg); /* Azul oscuro */
    margin-bottom: 10px;
    font-family: var(--font-main);
}

.norm-desc {
    font-size: 1rem;
    color: #555; /* Gris para lectura cómoda */
    line-height: 1.6;
}

/* Responsive para celular */
@media (max-width: 768px) {
    .inspection-item {
        flex-direction: column; /* En celular, icono arriba, texto abajo */
        text-align: center;
        align-items: center;
    }
}
/* --- SECCIÓN CONTACTO (VERSIÓN FONDO BLANCO) --- */
.contact-section {
    background-color: #ffffff; /* Fondo Blanco */
    padding: 80px 0;
    color: #333; /* Texto base oscuro */
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

/* Columna Izquierda */
.contact-info {
    flex: 1;
}

/* Forzamos el título a color oscuro porque el fondo es blanco */
.contact-section .section-title {
    color: #111820 !important; 
}

.contact-desc {
    color: #666; /* Gris medio para la descripción */
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 450px;
}

/* Items de contacto */
.contact-details {
    margin-bottom: 40px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

/* Los círculos de los iconos ahora tienen fondo gris suave */
.c-icon {
    width: 50px;
    height: 50px;
    background-color: #f4f4f4; /* Gris muy clarito */
    color: var(--primary-color); /* Icono Amarillo */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.c-text h4 {
    color: #111820; /* Título en Azul Oscuro */
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 800;
}

.c-text p, .c-text a {
    color: #555; /* Texto en gris oscuro */
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Botón WhatsApp (Se mantiene igual, resalta mucho en blanco) */
.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: #999;
    margin-top: 10px;
    margin-left: 20px;
}

/* Columna Derecha: Mapa */
.contact-map {
    flex: 1;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    /* Borde gris claro para definir el mapa sobre el fondo blanco */
    border: 1px solid #ddd; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Sombra muy suave */
}

/* Responsive */
@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 (FINAL) --- */
.site-footer {
    background-color: #0d1218; /* Tono oscuro elegante */
    color: #fff;
    padding: 80px 0 30px 0;
    position: relative;
    overflow: hidden;
}

/* Decoración superior: Línea degradada amarilla */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #d49800 100%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

/* Columna 1: Marca */
.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: #aaa;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.brand-location {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Columnas de Enlaces (Nav y Legal) */
.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: #888;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

/* Efecto Hover: Se mueve a la derecha y se pone amarillo */
.site-footer ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Redes Sociales */
.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: var(--primary-color);
    color: #000;
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* Línea divisoria */
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

/* Parte inferior */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #555;
    font-size: 0.85rem;
}

/* Botón flotante "Volver arriba" */
.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: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* --- RESPONSIVE FOOTER (MÓVIL CENTRADO) --- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center; /* Centra el texto general */
    }
    
    /* Centrar explícitamente cada bloque */
    .footer-brand, .footer-nav, .footer-legal {
        width: 100%;
        text-align: center;
    }

    /* Centrar iconos de redes sociales */
    .social-icons {
        justify-content: center;
    }
    
    /* Centrar parte inferior */
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Centrar el botón "Volver arriba" */
    .back-to-top {
        margin: 0 auto;
    }
}

/* --- CORRECCIÓN FINAL HEADER (PEGAR AL FINAL DEL CSS) --- */

/* 1. Estructura Flotante */
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999; /* Por encima de todo */
    background-color: transparent; /* Transparente al inicio */
    transition: background-color 0.3s ease, padding 0.3s ease;
}

/* 2. Clase para cuando bajas el scroll (Fondo Oscuro) */
.site-header.scrolled {
    background-color: #111820 !important; /* Color Negro Azulado */
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* 3. Menú Escritorio (Pantallas Grandes) */
@media (min-width: 769px) {
    .nav-list {
        display: flex !important; /* Siempre visible en PC */
        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; /* Ocultar hamburguesa en PC */
    }
}

/* 4. Menú Móvil (Celulares) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
        margin-left: auto !important; /* Alinea a la DERECHA */
    }
    
    .nav-list {
        /* Oculto por defecto */
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #111820 !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease;
    }
    
    /* Mostrar al activar */
    .nav-list.active {
        left: 0;
    }
}

/* --- ESTILOS PARA PÁGINA SERVICIOS --- */
.hero-mini {
    background: linear-gradient(rgba(17, 24, 32, 0.9), rgba(17, 24, 32, 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: #f5b002; }

.pricing-grid {
    display: flex;
    gap: 30px;
    margin-top: -50px; /* Traslape moderno */
    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 #f5b002; }

.card-header {
    background: #111820;
    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;           /* Añadir esta */
    flex-direction: column;  /* Añadir esta */
    align-items: center;     /* Esto centra el botón y todo el contenido */
}

.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: #f5b002; 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: #111820; }

.flotilla-tag {
    background: #f5b002;
    color: #111820;
    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; }

/* Responsive */
@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; /* Formato legal estándar */
}
.legal-text-wrapper h3 { 
    color: #111820; 
    margin: 30px 0 15px; 
    font-size: 1rem; 
    border-left: 4px solid #f5b002; 
    padding-left: 15px;
}
.pub-date { 
    margin-top: 40px; 
    font-weight: bold; 
    color: #888; 
    border-top: 1px solid #eee; 
    padding-top: 20px; 
}

/* --- WIDGET WHATSAPP --- */
.whatsapp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

/* Botón flotante */
.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); }

/* Ventana de Chat */
.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; /* Se activa con JS */
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-header {
    background: #111820;
    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); /* Sombra muy suave */
    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: #f5b002;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.premium-header h3 {
    font-size: 2.2rem;
    color: #111820;
    margin: 15px 0;
    font-weight: 800;
}

.premium-header .text-highlight {
    color: #f5b002;
}

.premium-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Grid de Beneficios */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas limpias */
    gap: 40px 60px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-marker {
    width: 12px;
    height: 12px;
    background: #f5b002;
    border-radius: 2px; /* Cuadrado redondeado pequeño */
    margin-top: 6px;
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    font-size: 1.2rem;
    color: #111820;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.benefit-text p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsivo */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr; /* Una columna en tablets/móvil */
    }
    .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: #f5b002;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 13px;
}

.section-header-mini h3 {
    font-size: 2rem;
    color: #111820;
    margin: 10px 0;
}

.section-header-mini h3 span { color: #f5b002; }

/* Grid de Tarjetas */
.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: #f5b002;
    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: #111820;
    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: #f5b002;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
}

/* --- LISTA DE COMPROMISOS (Nosotros) --- */
.about-benefits-list {
    list-style: none; /* Quita los puntos feos */
    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; /* Color de texto suave */
    line-height: 1.5;
}

/* El icono de palomita */
.about-benefits-list .check-icon {
    width: 20px;
    height: 20px;
    color: #f5b002; /* Amarillo SATUVE */
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px; /* Alinea el icono con la primera línea de texto */
}

/* Asegura que el texto no se amontone si es muy largo */
.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;
}

.box-title {
    font-size: 1.3rem;
    color: #111820;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5b002;
    display: inline-block;
}

/* Diseño del Calendario (Izquierda) */
.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: #111820;
    color: #f5b002;
    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;
}

.highlight-row .plate-digits {
    background: #f5b002;
    color: #111820;
}

/* Guía de Placas (Derecha) */
.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 #111820;
    display: flex;
    flex-direction: column;
}

.plate-example {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.4rem;
    font-weight: 900;
    color: #111820;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.highlight-digit {
    color: #f5b002;
    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; /* Un rojo sutil para destacar la regla general */
    margin-top: 10px;
}

/* Responsivo */
@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: #f5b002;
    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;
}

/* Efecto de girar la flecha cuando está activo */
.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;
}

/* Cuando el botón tiene la clase 'active', revelamos el contenido */
.btn-toggle-list.active + .tramites-content {
    max-height: 800px; /* Un valor alto para que quepa toda la lista */
    padding: 15px;
    margin-top: 10px;
    border: 1px solid #eee;
}

/* Formato de las listas internas */
.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;
}

.tramites-others {
    color: #111820;
    font-size: 0.9rem;
    font-weight: 800;
    margin: 15px 0 10px;
    border-top: 2px solid #f5b002;
    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: #f5b002;
    font-weight: bold;
    position: absolute;
    left: 0;
}