/* Reset y configuración general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevenir desbordamiento horizontal */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Transición suave entre páginas */
body {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}
body.page-loaded {
    opacity: 1;
}
body.page-exit {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --success: #27ae60;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding-top: 80px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Prevenir que imágenes desborden */
img {
    max-width: 100%;
    height: auto;
}

/* ==================== */
/* HEADER & NAVEGACIÓN  */
/* ==================== */
.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    overflow: visible;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    position: absolute;
    left: 0;
}

.logo-img {
    max-height: 60px;
    width: auto;
}

.logo i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 2rem;
}

.logo span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0 auto;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--accent);
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 10;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark);
    transition: var(--transition);
}

/* Laptop pequeña: logo más compacto */
@media (max-width: 1200px) {
    .logo-img {
        max-height: 50px;
    }
    .nav-menu {
        gap: 0.8rem;
    }
    .nav-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.9rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .logo-img {
        max-height: 45px;
    }
    .nav-menu {
        gap: 0.5rem;
    }
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        gap: 5px;
    }
}

/* ==================== */
/* HERO SECTION         */
/* ==================== */
.hero {
    background-image: linear-gradient(rgba(44, 62, 80, 0.5), rgba(44, 62, 80, 0.6)), 
                url('imageWEB/fondos/fondoservicios2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    min-height: 60vh;
}

/* ==================== */
/* FIX DEFINITIVO PARA HERO-TITLE */
/* ==================== */

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem) !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3 !important;
    hyphens: auto;
    max-width: 100%;
    text-align: center;
    overflow: visible !important;
    height: auto !important;
}

/* Móviles medianos */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.5rem, 4.5vw, 2rem) !important;
        line-height: 1.4 !important;
        padding: 0 10px;
    }

    /* Fondos responsive: quitar fixed en móvil (causa bugs en iOS/Android) */
    .hero,
    .parallax-section {
        background-attachment: scroll !important;
        min-height: 50vh;
        padding: 4rem 0;
    }

    .nosotros-hero {
        min-height: 50vh;
        padding: 60px 15px;
        background-attachment: scroll !important;
    }

    .contact-hero {
        padding: 6rem 0 3rem;
        background-attachment: scroll !important;
    }

    .services-hero {
        padding: 6rem 0 3rem;
        background-attachment: scroll !important;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.3rem, 4vw, 1.7rem) !important;
        line-height: 1.4 !important;
        padding: 0 5px;
        word-break: break-word;
    }

    .hero {
        min-height: 40vh;
        padding: 3rem 0;
    }

    .nosotros-hero {
        min-height: 40vh;
        padding: 50px 10px;
    }

    .contact-hero {
        padding: 5rem 0 2rem;
    }

    .services-hero {
        padding: 5rem 0 2rem;
    }

    .contact-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
/* Efecto de partículas flotantes */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><circle cx="50" cy="50" r="1"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 4rem;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    hyphens: auto;
}

.highlight {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* ==================== */
/* SERVICES GENERAL     */
/* ==================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
}

.services {
    padding: 6rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==================== */
/* FLEET GALLERY        */
/* ==================== */
.fleet-gallery {
    padding: 6rem 0;
    background-color: #f5f7fa;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fleet-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.fleet-image {
    position: relative;
    height: 250px;
    max-height: 50vw;
    overflow: hidden;
}

.fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-image img {
    transform: scale(1.05) rotate(1deg);
}

.fleet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fleet-card:hover .fleet-overlay {
    opacity: 1;
}

.zoom-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.fleet-info {
    padding: 1.5rem;
}

.fleet-info h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.fleet-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.fleet-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    font-size: 0.9rem;
}

.fleet-specs i {
    color: var(--accent);
}

.btn-details {
    background: none;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-details:hover {
    background: var(--accent);
    color: white;
}

/* ==================== */
/* HOW IT WORKS         */
/* ==================== */
.how-it-works {
    padding: 6rem 0;
    background-color: #f5f7fa;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Línea central decorativa */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--secondary));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    z-index: 2;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.timeline-content {
    background: white;
    padding: 3.5rem 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    text-align: center;
    max-width: 750px;
    width: 100%;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    min-height: 180px;
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--accent);
}

.timeline-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content p {
    color: #555;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;  
    margin: 0;
    font-size: 1.05rem;
    hyphens: auto;
    word-spacing: normal;
    max-width: 100%;
}

.timeline-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    z-index: 3;
}

/* Animación de entrada progresiva */
.timeline-item {
    opacity: 0;
    transform: translateY(30px);
}

.timeline-item.visible {
    animation: slideInTimeline 0.6s ease forwards;
}

@keyframes slideInTimeline {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay progresivo para cada item */
.timeline-item:nth-child(1).visible { animation-delay: 0.1s; }
.timeline-item:nth-child(2).visible { animation-delay: 0.3s; }
.timeline-item:nth-child(3).visible { animation-delay: 0.5s; }
.timeline-item:nth-child(4).visible { animation-delay: 0.7s; }

/* ==================== */
/* ANIMACIÓN OPCIONAL PREMIUM */
/* ==================== */

/* Iconos flotantes en el fondo (OPCIONAL) */
.how-it-works {
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '🚚';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 4rem;
    opacity: 0.05;
    animation: float-icon 6s ease-in-out infinite;
}

.how-it-works::after {
    content: '📦';
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-size: 4rem;
    opacity: 0.05;
    animation: float-icon 8s ease-in-out infinite reverse;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Efecto de brillo al hacer hover */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.timeline-content:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-dot {
        position: absolute;
        left: 0;
        top: 0;
        margin-bottom: 0;
    }
    
    .timeline-content {
        max-width: 100%;
    }
    
    .timeline-content p {
        text-align: left;
    }
    
    .timeline-number {
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* ==================== */
/* TESTIMONIALS         */
/* ==================== */
.testimonials {
    padding: 6rem 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #f5f7fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ==================== */
/* CTA SECTION          */
/* ==================== */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ========================================================================= */
/* FOOTER RESPONSIVE */
/* ========================================================================= */

/* ────────────────────────────────────────────────────────────────────── */
/* BASE DEL FOOTER */
/* ────────────────────────────────────────────────────────────────────── */

.footer {
    background-color: var(--dark);
    color: white;
    padding: 2rem 0 1rem;
    position: relative;
}

/* Separador visual arriba del footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--secondary), 
        var(--accent), 
        var(--secondary), 
        transparent);
}

/* ────────────────────────────────────────────────────────────────────── */
/* GRID DEL FOOTER - DESKTOP (Pantallas grandes) */
/* ────────────────────────────────────────────────────────────────────── */

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr; /* Logo más ancho */
    gap: 2rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

/* ────────────────────────────────────────────────────────────────────── */
/* COLUMNAS DEL FOOTER */
/* ────────────────────────────────────────────────────────────────────── */

.footer-col {
    display: flex;
    flex-direction: column;
}

/* PRIMERA COLUMNA - Logo y descripción */
.footer-col:first-child {
    padding-right: 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* ────────────────────────────────────────────────────────────────────── */
/* LOGO DEL FOOTER */
/* ────────────────────────────────────────────────────────────────────── */

.footer .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 1.5rem;
    width: fit-content;
    transition: all 0.3s ease;
    position: relative;
    left: 0;
}

.footer .logo:hover {
    transform: translateX(5px);
    color: var(--secondary);
}

.footer .logo-img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer .logo span {
    color: var(--secondary);
    white-space: nowrap;
}

/* ────────────────────────────────────────────────────────────────────── */
/* DESCRIPCIÓN DEL FOOTER */
/* ────────────────────────────────────────────────────────────────────── */

.footer-description {
    margin: 0 0 1.5rem 0;
    color: #bdc3c7;
    line-height: 1.7;
    max-width: 320px;
    font-size: 0.95rem;
}

/* ────────────────────────────────────────────────────────────────────── */
/* TÍTULOS DE COLUMNAS */
/* ────────────────────────────────────────────────────────────────────── */

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

/* ────────────────────────────────────────────────────────────────────── */
/* LISTAS Y ENLACES */
/* ────────────────────────────────────────────────────────────────────── */

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

/* Flecha al hacer hover */
.footer-col a::before {
    content: '›';
    color: var(--accent);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-col a:hover::before {
    opacity: 1;
}

/* ────────────────────────────────────────────────────────────────────── */
/* INFORMACIÓN DE CONTACTO */
/* ────────────────────────────────────────────────────────────────────── */

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.contact-info i {
    color: var(--accent);
    width: 20px;
    flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────────────── */
/* REDES SOCIALES */
/* ────────────────────────────────────────────────────────────────────── */

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Colores específicos por red social */
.social-links a:nth-child(1):hover { background: #1877f2; } /* Facebook */
.social-links a:nth-child(2):hover { background: #1da1f2; } /* Twitter */
.social-links a:nth-child(3):hover { background: #e4405f; } /* Instagram */
.social-links a:nth-child(4):hover { background: #0077b5; } /* LinkedIn */
.social-links a:nth-child(5):hover { background: #25d366; } /* WhatsApp */

/* ────────────────────────────────────────────────────────────────────── */
/* FOOTER BOTTOM */
/* ────────────────────────────────────────────────────────────────────── */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: white;
}

/* ========================================================================= */
/* RESPONSIVE - TABLET (1024px y menos) */
/* ========================================================================= */

@media (max-width: 1024px) {
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columnas en tablet */
        gap: 2.5rem;
    }
    
    /* Logo ocupa todo el ancho arriba */
    .footer-col:first-child {
        grid-column: 1 / -1; /* Span completo */
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 2rem;
        padding-right: 0;
        max-width: 100%;
        text-align: center;
    }
    
    .footer .logo {
        justify-content: center;
        margin: 0 auto 1rem;
        position: relative;
        left: 0;
    }
    
    .footer-description {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Centrar títulos de las otras columnas */
    .footer-col h3 {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========================================================================= */
/* RESPONSIVE - MÓVIL (768px y menos) */
/* ========================================================================= */

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr; /* 1 columna en móvil */
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col:first-child {
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 2rem;
    }
    
    .footer .logo {
        font-size: 1.4rem;
        justify-content: center;
        position: relative;
        left: 0;
    }
    
    .footer .logo-img {
        width: 180px;
        height: 180px;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-col h3 {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .footer-col ul {
        text-align: center;
    }
    
    .footer-col a {
        justify-content: center;
    }
    
    /* Centrar información de contacto */
    .contact-info {
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    /* Footer bottom en columna */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ========================================================================= */
/* RESPONSIVE - MÓVIL PEQUEÑO (480px y menos) */
/* ========================================================================= */

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer::before {
        width: 95%;
        height: 2px;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer .logo {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.5rem;
        position: relative;
        left: 0;
    }
    
    .footer .logo-img {
        width: 150px;
        height: 150px;
    }
    
    .footer-description {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
    
    .footer-col h3 {
        font-size: 1rem;
    }
    
    .footer-col a {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .contact-info li {
        font-size: 0.9rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
}

.footer-description {
    margin: 1rem 0;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--accent);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* ==================== */
/* ZOOM INTERACTIVO MEJORADO */
/* ==================== */
.service-detail-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    height: 300px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.service-detail-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform-origin: center center;
}

/* Efecto hover: imagen crece ligeramente */
.service-detail-image:hover .service-main-image {
    transform: scale(1.08);
}

/* Indicador visual de que es clickeable */
.service-detail-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-detail-image:hover::after {
    opacity: 1;
}

/* Icono de lupa que aparece al hover */
.zoom-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: rgba(231, 76, 60, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.service-detail-image:hover .zoom-indicator {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* MODAL DE ZOOM - CENTRADO Y PROPORCIONAL */
.service-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.service-zoom-modal.active {
    display: flex;
    opacity: 1;
    animation: modalOpen 0.3s ease;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-zoom-modal-content {
    position: relative;
    width: auto;
    max-width: 800px;
    max-height: 85vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

/* CONTENEDOR DE IMAGEN CENTRADO */
.service-zoom-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #f8f9fa;
    min-height: 300px;
    max-height: 60vh;
    overflow: hidden;
}

.service-zoom-modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Área de texto en la parte inferior */
.service-zoom-text-area {
    padding: 25px;
    background: white;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.service-zoom-text-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-zoom-text-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Botón de cerrar */
.service-zoom-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-zoom-close-btn:hover {
    background: rgba(192, 57, 43, 0.9);
    transform: rotate(90deg);
}

/* Instrucciones */
.service-zoom-instruction {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    text-align: center;
    white-space: nowrap;
}

/* ==================== */
/* MODALES EXISTENTES   */
/* ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 2% auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 12px;
    animation: modalOpen 0.3s ease;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    z-index: 10;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.close-modal:hover {
    color: var(--secondary);
}

/* Modal para Zoom */
.modal-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal-body img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.modal-body img:hover {
    transform: scale(1.02);
}

.image-info {
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.image-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.image-specs {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.image-specs span {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid #eee;
    font-size: 0.9rem;
}

/* Modal para Detalles */
.details-modal .modal-body {
    padding: 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-height: 500px;
}

.details-image {
    background: #f5f7fa;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.details-image img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.details-image img:hover {
    transform: scale(1.05);
}

.details-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.details-content {
    padding: 2rem;
    overflow-y: auto;
    max-height: 500px;
}

.details-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.details-section:last-child {
    border-bottom: none;
}

.details-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.details-section h3 i {
    color: var(--accent);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
}

.spec-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 5px;
}

#featuresList {
    list-style: none;
    padding-left: 0;
}

#featuresList li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#featuresList li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
}

.availability {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.available {
    color: var(--success);
    font-weight: 600;
}

/* Galería dentro del modal */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 1rem;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

.gallery-thumb.active {
    border: 3px solid var(--accent);
}

/* ==================== */
/* RESPONSIVE           */
/* ==================== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 10px;
    }

    .navbar {
        justify-content: center;
        padding: 0.8rem 0;
    }

    .logo {
        position: relative;
        left: 0;
    }

    .logo-img {
        max-height: 45px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 1.5rem;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive para Zoom de Servicios */
    .service-detail-image {
        height: 250px;
    }
    
    .service-zoom-modal-content {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .service-zoom-image-container {
        padding: 15px;
        max-height: 50vh;
    }
    
    .service-zoom-text-area {
        padding: 15px;
    }
    
    .service-zoom-text-title {
        font-size: 1.2rem;
    }
    
    .service-zoom-instruction {
        font-size: 0.8rem;
        top: 15px;
        padding: 6px 12px;
    }
    
    .zoom-indicator {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
        letter-spacing: -0.5px;
        margin-bottom: 0.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card h3 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-detail-image {
        height: 200px;
    }
    
    .service-zoom-modal-content {
        max-width: 98%;
        max-height: 95vh;
    }
    
    .service-zoom-image-container {
        padding: 10px;
        max-height: 45vh;
    }
}

/* ==================== */
/* ANIMACIONES PROFESIONALES */
/* ==================== */

/* Animaciones al aparecer */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Clases para animaciones */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efecto parallax mejorado */
.parallax-section {
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Header con efecto al hacer scroll */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Timeline animado para "Cómo Funciona" */
.step {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step:nth-child(even).visible {
    transform: translateX(0);
}

/* Efectos hover mejorados */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.7s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Iconos animados */
.service-icon {
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg) scale(1.1);
}

/* Botones con efecto de onda */
.btn-wave {
    position: relative;
    overflow: hidden;
}

.btn-wave::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-wave:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Tarjetas de estadísticas animadas */
.stat-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Efecto de máquina de escribir */
.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--secondary);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--secondary) }
}

/* Flota con efecto 3D */
.fleet-card {
    perspective: 1000px;
}

.fleet-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.fleet-card:hover .fleet-card-inner {
    transform: rotateY(180deg);
}

.fleet-card-front, .fleet-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
}

.fleet-card-back {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonials {
    padding: 6rem 0;
    background-color: white;
    overflow: hidden; /* Importante para las animaciones */
}

.testimonials-slider {
    position: relative;
    min-height: 350px;
    margin-bottom: 1rem;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
    z-index: 10;
}

.testimonial-slide.prev {
    transform: translateX(-100%);
    visibility: hidden;
}

/* Contenedor de indicadores con mejor diseño */
.slider-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 2rem 0 1rem;
    position: relative;
    width: 100%;
}

/* Indicadores mejorados */
.slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
}

.slider-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    transition: transform 0.3s ease;
}

.slider-indicator:hover {
    background: var(--accent);
    transform: scale(1.2);
}

.slider-indicator.active {
    background: var(--secondary);
    width: 30px;
    border-radius: 15px;
}

.slider-indicator.active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Animación suave al cambiar */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-slide.active .testimonial-card {
    animation: slideIn 0.6s ease;
}

/* ────────────────────────────────────────── */
/* RESPONSIVE MEJORADO */
/* ────────────────────────────────────────── */

@media (max-width: 768px) {
    .testimonials-slider {
        min-height: 400px; /* Más altura en móvil */
    }
    
    .slider-indicators {
        gap: 10px;
        padding: 1.5rem 0 1rem;
    }
    
    .slider-indicator {
        width: 8px;
        height: 8px;
    }
    
    .slider-indicator.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider {
        min-height: 450px;
    }
    
    .slider-indicators {
        gap: 8px;
    }
}

/* ────────────────────────────────────────── */
/* CONTROLES DE NAVEGACIÓN (OPCIONAL - BONUS) */
/* ────────────────────────────────────────── */

/* Si quieres agregar flechas de navegación también: */

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 20;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .slider-controls {
        display: none; /* Ocultar en móvil, solo mostrar indicadores */
    }
}

/* ────────────────────────────────────────── */
/* PROGRESO ANIMADO (OPCIONAL - MUY PROFESIONAL) */
/* ────────────────────────────────────────── */

.slider-progress {
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin: 1rem auto 2rem;
    max-width: 300px;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    width: 0%;
    transition: width 5s linear;
    border-radius: 2px;
}

.slider-progress-bar.active {
    width: 100%;
}


/* Efecto de partículas mejorado */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Línea de tiempo vertical */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 3rem;
    padding-right: 0;
}

.timeline-dot {
    position: absolute;
    right: -12px;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--secondary);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--accent);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -12px;
}

/* Efecto de carga para imágenes */
.img-loading {
    position: relative;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Botones con gradiente animado */
.btn-gradient {
    background: linear-gradient(45deg, var(--secondary), var(--accent), var(--secondary));
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    border: none;
    color: white;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Efecto de sombra dinámica */
.dynamic-shadow {
    transition: box-shadow 0.3s ease;
}

.dynamic-shadow:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(52, 152, 219, 0.1);
}

/* Scroll personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent), var(--secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
}

/* Responsive para animaciones */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        margin-left: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-dot,
    .timeline-item .timeline-dot {
        left: 8px;
        right: auto;
    }
    
    .header.scrolled {
        padding: 0.3rem 0;
    }
    
    .fleet-card:hover .fleet-card-inner {
        transform: none;
    }
}

/* Preloader profesional */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center; 
}

.timeline-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.timeline-item:nth-child(even) .timeline-number {
    right: auto;
    left: -15px;
}

/* ================================================================ */
/* CARRUSEL DE IMÁGENES EN MODAL DE ESPECIFICACIONES */
/* ================================================================ */

.carousel-container-specs {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-images-specs {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-images-specs .modal-specs-imagen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.carousel-images-specs .modal-specs-imagen.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: none;
    top: auto;
    left: auto;
}

.carousel-btn-specs {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 62, 80, 0.4);
    color: white;
    border: none;
    width: 40px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0.6;
}

.carousel-btn-specs:hover {
    background: rgba(44, 62, 80, 0.95);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.carousel-prev-specs {
    left: 10px;
}

.carousel-next-specs {
    right: 10px;
}

.carousel-indicators-specs {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator-specs {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(44, 62, 80, 0.3);
}

.carousel-indicator-specs:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicator-specs.active {
    background: #e74c3c;
    border-color: #c0392b;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-btn-specs {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .carousel-prev-specs {
        left: 5px;
    }
    
    .carousel-next-specs {
        right: 5px;
    }
    
    .carousel-indicator-specs {
        width: 10px;
        height: 10px;
    }
}

/* ========================================== */
/* FORMULARIOS PROFESIONALES PARA SERVICIOS */
/* ========================================== */

/* Hero específico para servicios */
.services-hero {
    background-image: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.95)),
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&h=600&fit=crop');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero .hero-title {
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.services-hero .hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease 0.3s both;
}

/* Tarjetas de servicios mejoradas */
.service-detail-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    border: 1px solid #eee;
}

.service-detail-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-detail-card:nth-child(even) {
    transform: translateY(50px);
}

.service-detail-card:nth-child(even).visible {
    transform: translateY(0);
}

.service-detail-image {
    height: 400px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

.service-detail-content {
    padding: 3rem;
}

.service-detail-content h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-detail-content h2 i {
    color: var(--secondary);
    font-size: 2rem;
}

.service-intro {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Secciones dentro de los servicios */
.service-features,
.service-equipment,
.service-specs,
.service-process,
.service-materials,
.service-countries,
.service-documents {
    margin-bottom: 2.5rem;
}

.service-features h3,
.service-equipment h3,
.service-specs h3,
.service-process h3,
.service-materials h3,
.service-countries h3,
.service-documents h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features h3 i,
.service-equipment h3 i,
.service-specs h3 i,
.service-process h3 i,
.service-materials h3 i,
.service-countries h3 i,
.service-documents h3 i {
    color: var(--accent);
}

.service-features ul {
    list-style: none;
    padding-left: 0;
}

.service-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li strong {
    color: var(--primary);
    min-width: 180px;
}

/* Control de temperatura */
.temperature-control {
    background: linear-gradient(to right, #3498db, #2ecc71);
    padding: 2rem;
    border-radius: 10px;
    color: white;
}

.temp-range {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.temp-min, .temp-max {
    font-weight: bold;
    font-size: 1.2rem;
}

.temp-bar {
    flex: 1;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.temp-indicator {
    height: 100%;
    background: white;
    border-radius: 10px;
    position: relative;
    animation: tempPulse 2s infinite;
}

@keyframes tempPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.temp-info {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Grid de especificaciones */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.spec-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.spec-item i {
    font-size: 2rem;
    color: var(--accent);
}

.spec-item div {
    flex: 1;
}

.spec-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.spec-item span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Grid de equipos */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.equipment-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.equipment-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.equipment-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.equipment-item span {
    display: block;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    background: #f8f9fa;
}

/* ========================================== */
/* ESTILOS PARA VEHÍCULOS DE MUDANZA */
/* ========================================== */

.service-vehicles {
    margin-bottom: 2.5rem;
}

.vehicles-mudanza-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.vehicle-mudanza-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #eee;
    position: relative;
    overflow: hidden;
}

.vehicle-mudanza-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vehicle-mudanza-card:hover::before {
    transform: scaleX(1);
}

.vehicle-mudanza-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.vehicle-mudanza-card.vehicle-highlight {
    border-color: var(--secondary);
    background: linear-gradient(135deg, #fff 0%, #fffaf0 100%);
}

.vehicle-mudanza-card.vehicle-highlight::before {
    background: var(--secondary);
}

.vehicle-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
    transition: all 0.4s ease;
}

.vehicle-mudanza-card:hover .vehicle-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.5);
}

.vehicle-icon i {
    font-size: 2.5rem;
    color: white;
}

.vehicle-mudanza-card h4 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.vehicle-capacity {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px dashed #eee;
}

.vehicle-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.vehicle-features-mini {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vehicle-features-mini li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #555;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.vehicle-features-mini li:hover {
    background: var(--accent);
    color: white;
    transform: translateX(5px);
}

.vehicle-features-mini li i {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.vehicle-features-mini li:hover i {
    color: white;
}

/* Badge "RECOMENDADO" */
.vehicle-highlight::after {
    content: 'MÁS POPULAR';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .vehicles-mudanza-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vehicle-mudanza-card {
        padding: 1.5rem;
    }
    
    .vehicle-icon {
        width: 70px;
        height: 70px;
    }
    
    .vehicle-icon i {
        font-size: 2rem;
    }
    
    .vehicle-mudanza-card h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .vehicle-icon {
        width: 60px;
        height: 60px;
    }
    
    .vehicle-icon i {
        font-size: 1.8rem;
    }
    
    .vehicle-highlight::after {
        font-size: 0.65rem;
        padding: 4px 35px;
    }
}

/* ========================================== */
/* ANIMACIÓN PROFESIONAL PROCESO DE MUDANZA */
/* ========================================== */

.service-process {
    margin-bottom: 3rem;
    position: relative;
}

.service-process h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-bottom: 1rem;
}

.service-process h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.service-process h3 i {
    color: var(--accent);
    font-size: 1.4rem;
}

/* Grid del proceso con animaciones */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

/* Línea conectora entre pasos (desktop) */
.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--secondary) 0%, 
        var(--accent) 25%, 
        var(--success) 50%, 
        var(--accent) 75%, 
        var(--secondary) 100%);
    z-index: 0;
    opacity: 0.3;
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Tarjeta de proceso individual */
.process-step {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border: 2px solid #eee;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

/* Delays progresivos para cada paso */
.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.3s; }
.process-step:nth-child(3) { animation-delay: 0.5s; }
.process-step:nth-child(4) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Borde animado superior */
.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover::before {
    transform: scaleX(1);
}

/* Efecto de brillo al hover */
.process-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(52, 152, 219, 0.1), 
        transparent);
    transition: left 0.7s ease;
}

.process-step:hover::after {
    left: 100%;
}

.process-step:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

/* Número del paso - Círculo animado */
.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary), #ff6b6b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 30px rgba(231, 76, 60, 0.6);
    }
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.7);
    animation: none;
}

/* Anillo exterior del número */
.step-number::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(231, 76, 60, 0.3);
    border-radius: 50%;
    transform: scale(1.3);
    animation: ringExpand 2s ease-in-out infinite;
}

@keyframes ringExpand {
    0%, 100% {
        transform: scale(1.3);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Contenido del paso */
.step-content {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}

.step-content h4 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.process-step:hover .step-content h4 {
    color: var(--secondary);
}

/* Icono decorativo en el título */
.step-content h4::before {
    content: '✓';
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--success), #27ae60);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 900;
    flex-shrink: 0;
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0);
}

.process-step:hover .step-content h4::before {
    opacity: 1;
    transform: scale(1) rotate(360deg);
}

.step-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.process-step:hover .step-content p {
    color: #555;
}

/* Decoración de fondo */
.process-step .bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.03;
    transform: rotate(-15deg);
    transition: all 0.5s ease;
}

.process-step:hover .bg-icon {
    opacity: 0.06;
    transform: rotate(-10deg) scale(1.1);
}

/* Efecto de progreso en la parte inferior */
.process-step .progress-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success), var(--accent));
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .progress-indicator {
    width: 100%;
}

/* ========================================== */
/* RESPONSIVE - PROCESO DE MUDANZA */
/* ========================================== */

@media (max-width: 1024px) {
    .process-steps::before {
        display: none;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        top: -18px;
        left: -18px;
    }
    
    .step-content h4 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .process-step .bg-icon {
        font-size: 4rem;
        bottom: -10px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .service-process h3 {
        font-size: 1.3rem;
    }
    
    .process-step {
        padding: 1.8rem 1.2rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .step-content h4::before {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
}

/* Materiales */
.materials-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.materials-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.materials-list span:hover {
    background: var(--accent);
    color: white;
    transform: translateX(10px);
}

.materials-list span i {
    color: var(--success);
}

.materials-list span:hover i {
    color: white;
}

/* ====================*/
/* TRANSPORTE NACIONAL */
/* =================== */

/* Cobertura Nacional */
.national-coverage {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 2px solid #dee2e6;
}

.national-coverage h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.national-coverage h3 i {
    color: var(--secondary);
}

/* Estadísticas de Cobertura */
.coverage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.coverage-stat-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.coverage-stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.coverage-stat-item .stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.4s ease;
}

.coverage-stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
}

.coverage-stat-item .stat-icon i {
    font-size: 2rem;
    color: white;
}

.coverage-stat-item .stat-content {
    display: flex;
    flex-direction: column;
}

.coverage-stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.coverage-stat-item .stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* ========================================== */
/* REGIONES DE COBERTURA */
/* ========================================== */

.service-regions {
    margin-bottom: 3rem;
}

.service-regions h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-regions h3 i {
    color: var(--accent);
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.region-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #eee;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.region-card:hover::before {
    transform: scaleX(1);
}

.region-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

/* Región Destacada (Centro) */
.region-card.region-highlight {
    border-color: var(--secondary);
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.region-card.region-highlight::before {
    background: var(--secondary);
}

.region-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.region-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.4s ease;
}

.region-card:hover .region-icon {
    transform: scale(1.15) rotate(360deg);
}

.region-icon i {
    font-size: 1.8rem;
    color: white;
}

.region-header h4 {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.badge-popular {
    background: var(--secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Estados dentro de cada región */
.region-states {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed #eee;
}

.state-badge {
    background: #f8f9fa;
    color: #555;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.state-badge:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.region-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.region-time i {
    color: var(--success);
    font-size: 1.1rem;
}

/* ========================================== */
/* SERVICIOS INCLUIDOS */
/* ========================================== */

.service-included-national {
    margin-bottom: 3rem;
}

.service-included-national h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-included-national h3 i {
    color: var(--success);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.included-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #eee;
    transition: all 0.4s ease;
    text-align: center;
}

.included-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.included-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success), #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
    transition: all 0.4s ease;
}

.included-item:hover .included-icon {
    transform: scale(1.15) rotate(10deg);
}

.included-icon i {
    font-size: 2.2rem;
    color: white;
}

.included-item h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.included-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========================================== */
/* RUTAS POPULARES */
/* ========================================== */

.popular-routes {
    margin-bottom: 3rem;
}

.popular-routes h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-routes h3 i {
    color: var(--secondary);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.route-item {
    background: white;
    padding: 1.8rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #eee;
    transition: all 0.4s ease;
}

.route-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.route-path {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px dashed #eee;
}

.route-from,
.route-to {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.route-from i {
    color: var(--success);
    font-size: 1.2rem;
}

.route-to i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.route-arrow {
    color: var(--accent);
    font-size: 1.5rem;
    animation: slideArrow 2s ease-in-out infinite;
}

@keyframes slideArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

.route-details {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.route-details span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.route-details i {
    color: var(--accent);
}

/* ========================================== */
/* RESPONSIVE - TRANSPORTE NACIONAL */
/* ========================================== */

@media (max-width: 1024px) {
    .coverage-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .national-coverage {
        padding: 2rem 1.5rem;
    }
    
    .coverage-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .coverage-stat-item {
        padding: 1.5rem;
    }
    
    .coverage-stat-item .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .coverage-stat-item .stat-icon i {
        font-size: 1.8rem;
    }
    
    .coverage-stat-item .stat-number {
        font-size: 2rem;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .included-grid {
        grid-template-columns: 1fr;
    }
    
    .routes-grid {
        grid-template-columns: 1fr;
    }
    
    .route-path {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .route-arrow {
        transform: rotate(90deg);
    }
    
    @keyframes slideArrow {
        0%, 100% { transform: rotate(90deg) translateX(0); }
        50% { transform: rotate(90deg) translateX(8px); }
    }
}

@media (max-width: 480px) {
    .national-coverage h3 {
        font-size: 1.3rem;
    }
    
    .region-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .badge-popular {
        align-self: flex-start;
        margin-left: 0;
    }
    
    .included-icon {
        width: 70px;
        height: 70px;
    }
    
    .included-icon i {
        font-size: 2rem;
    }
}

/* CTA específico para servicios */
.service-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.service-cta .btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.3);
}

.service-cta .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.service-cta .btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* ========================================== */
/* COMPARATIVA DE SERVICIOS - VERSIÓN MEJORADA */
/* ========================================== */

.services-comparison {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.comparison-table-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

/* ========================================== */
/* HEADER DE LA TABLA */
/* ========================================== */

.comparison-table thead {
    background: linear-gradient(135deg, #1a3c6e 0%, #2c3e50 50%, #34495e 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.comparison-table th {
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th:last-child {
    border-right: none;
}

.feature-column {
    text-align: left !important;
    background: rgba(0, 0, 0, 0.2);
    min-width: 280px;
}

.service-column {
    min-width: 200px;
}

.highlight-column {
    background: linear-gradient(135deg, #e63946 0%, #c0392b 100%);
    position: relative;
}

.service-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.service-header i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.service-header span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-popular-table {
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========================================== */
/* CUERPO DE LA TABLA */
/* ========================================== */

.comparison-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

/* FIX: Evitar que los subtemas desaparezcan */
.comparison-table tbody tr.section-divider:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    transform: none;
}

.section-title-row {
    pointer-events: none; /* Evita que el hover afecte el texto */
}

.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    color: #555;
    font-size: 1rem;
    border-right: 1px solid #f0f0f0;
}

.comparison-table td:last-child {
    border-right: none;
}

.feature-name {
    text-align: left !important;
    font-weight: 600;
    color: #2c3e50;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-name i {
    color: #3498db;
    font-size: 1.2rem;
    width: 25px;
    flex-shrink: 0;
}

/* Iconos de check y badges */
.success {
    color: #27ae60;
    font-size: 1.5rem;
}

.error {
    color: #e74c3c;
    font-size: 1.5rem;
}

.badge-optional {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
}

/* ========================================== */
/* DIVISORES DE SECCIÓN */
/* ========================================== */

.section-divider {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.section-title-row {
    color: white !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.2rem 1.5rem !important;
    text-align: left !important;
    letter-spacing: 0.5px;
}

.section-title-row i {
    margin-right: 12px;
    color: #3498db;
    font-size: 1.3rem;
}

/* ========================================== */
/* LISTAS "IDEAL PARA" */
/* ========================================== */

.ideal-for-row {
    background: #f8f9fa;
}

.ideal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.ideal-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.95rem;
}

.ideal-list li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.text-muted {
    color: #999;
    font-size: 0.85rem;
    font-style: italic;
    display: block;
    margin-top: 4px;
}

/* ========================================== */
/* NOTA ACLARATORIA */
/* ========================================== */

.comparison-note {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 5px solid #f39c12;
    padding: 1.8rem 2.5rem;
    border-radius: 12px;
    margin-top: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.2);
}

.comparison-note i {
    color: #f39c12;
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.comparison-note p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

.comparison-note strong {
    color: #2c3e50;
}

.comparison-note a {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.comparison-note a:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
}

/* ========================================== */
/* ANIMACIONES */
/* ========================================== */

@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comparison-table-wrapper {
    animation: fadeInTable 0.8s ease;
}

.comparison-table tbody tr {
    opacity: 0;
    animation: fadeInTable 0.6s ease forwards;
}

.comparison-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.comparison-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.comparison-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.comparison-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.comparison-table tbody tr:nth-child(5) { animation-delay: 0.5s; }
.comparison-table tbody tr:nth-child(6) { animation-delay: 0.6s; }

/* ========================================== */
/* RESPONSIVE */
/* ========================================== */

@media (max-width: 1024px) {
    .comparison-table-wrapper {
        margin: 2rem -20px;
        border-radius: 0;
    }
    
    .comparison-table {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-note {
        flex-direction: column;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-comparison {
        padding: 4rem 0;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .service-header i {
        font-size: 1.5rem;
    }
    
    .service-header span {
        font-size: 0.95rem;
    }
    
    .feature-name {
        font-size: 0.9rem;
    }
    
    .ideal-list li {
        font-size: 0.85rem;
    }
    
    .comparison-note {
        padding: 1.2rem;
    }
    
    .comparison-note i {
        font-size: 1.5rem;
    }
    
    .comparison-note p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .service-header {
        gap: 5px;
    }
    
    .service-header i {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .service-header span {
        font-size: 0.85rem;
    }
    
    .badge-popular-table {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
    
    .feature-name {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .feature-name i {
        font-size: 1rem;
        width: 20px;
    }
    
    .section-title-row {
        font-size: 0.95rem;
        padding: 1rem !important;
    }
    
    .badge-optional {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .success,
    .error {
        font-size: 1.2rem;
    }
}

/* Scrollbar personalizado para la tabla */
.comparison-table::-webkit-scrollbar {
    height: 10px;
}

.comparison-table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.comparison-table::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #3498db, #2c3e50);
    border-radius: 10px;
}

.comparison-table::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #2980b9, #1a3c6e);
}


/* Responsive */
@media (max-width: 768px) {
    .services-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .service-detail-image {
        height: 300px;
    }
    
    .service-detail-content {
        padding: 2rem;
    }
    
    .modal-cotizacion-content {
        max-height: 95vh;
    }
    
    .cotizacion-form-container {
        max-height: 70vh;
    }
    
    .form-actions-cotizacion {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit-cotizacion {
        width: 100%;
        justify-content: center;
    }
    
    .cotizacion-flotante {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .services-hero .hero-title {
        font-size: 2rem;
    }
    
    .service-detail-image {
        height: 250px;
    }
    
    .specs-grid,
    .equipment-grid,
    .process-steps,
    .materials-list,
    .countries-grid,
    .documents-list {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        margin: 1rem -20px;
        border-radius: 0;
    }
}



/* Responsive */
@media (max-width: 1024px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .calculator-sidebar {
        display: none;
    }
    
    .modal-admin-content {
        max-width: 95%;
    }
    
    .admin-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .budget-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-options {
        grid-template-columns: 1fr;
    }
    
    .distance-display {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-prev, .btn-next, .btn-submit {
        width: 100%;
        min-width: auto;
    }
    
    .result-details {
        grid-template-columns: 1fr;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-table {
        font-size: 0.9rem;
    }
    
    .clients-table th,
    .clients-table td {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .budget-hero .hero-title {
        font-size: 2rem;
    }
    
    .calculator-main {
        padding: 2rem 1rem;
    }
    
    .form-step h2 {
        font-size: 1.5rem;
    }
    
    .admin-panel-btn {
        bottom: 80px;
        right: 20px;
    }
    
    .btn-admin-panel {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ========================================== */
/* COMPLEMENTOS PARA PRESUPUESTO COMPLETO */
/* ========================================== */

/* Animaciones para el formulario de presupuesto */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mejoras para los checkboxes */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.5rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

.terms-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Mejoras para los botones del resultado */
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Mejoras para el modal admin */
.modal-admin.active .modal-admin-content {
    animation: modalOpen 0.5s ease;
}

.admin-table-container {
    position: relative;
    min-height: 300px;
}

.clients-table {
    animation: fadeIn 0.5s ease;
}

/* Estado de carga */
.loading-table {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: var(--success);
    color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: var(--secondary);
}

/* Responsive mejorado para presupuesto */
@media (max-width: 768px) {
    .calculator-container {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .calculator-main {
        padding: 2rem;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .result-actions .btn,
    .result-actions .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .payment-card {
        padding: 2rem 1rem;
    }
    
    .admin-panel-btn {
        bottom: 80px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .budget-hero .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 250px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1rem;
    }
    
    .btn-admin-panel {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Efectos de validación mejorados */
.form-group input:invalid:not(:placeholder-shown) {
    border-color: var(--secondary);
    animation: shake 0.5s ease;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: var(--success);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Progress bar animada */
.progress-bar-animated {
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2.5px;
    position: relative;
    overflow: hidden;
}

.progress-bar-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ========================================== */
/* TOOLTIPS MEJORADOS - FIX LÍMITES */
/* ========================================== */

[data-tooltip] {
    position: relative;
    cursor: help;
}

/* Tooltip principal */
[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 0;
    background: #2c3e50;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    pointer-events: none;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    /* FIX: Permitir que el texto se ajuste */
    white-space: normal;
    max-width: 280px;
    width: max-content;
    min-width: 200px;
    
    /* FIX: Mantener dentro de la pantalla */
    transform: translateX(0);
}

/* Flecha del tooltip */
[data-tooltip]:after {
    content: '';
    position: absolute;
    bottom: calc(120% - 8px);
    left: 20px;
    border: 8px solid transparent;
    border-top-color: #2c3e50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10001;
    pointer-events: none;
}

/* Mostrar al hacer hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    opacity: 1;
    visibility: visible;
}

/* FIX: Ajustar posición para columnas de la derecha */
.comparison-table td:last-child[data-tooltip]:before {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.comparison-table td:last-child[data-tooltip]:after {
    left: auto;
    right: 20px;
}

/* FIX: Ajustar posición para columnas del centro */
.comparison-table td:nth-child(2)[data-tooltip]:before,
.comparison-table td:nth-child(3)[data-tooltip]:before {
    left: 50%;
    transform: translateX(-50%);
}

.comparison-table td:nth-child(2)[data-tooltip]:after,
.comparison-table td:nth-child(3)[data-tooltip]:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive: Tooltips en móvil */
@media (max-width: 768px) {
    [data-tooltip]:before {
        max-width: 220px;
        font-size: 0.8rem;
        padding: 10px 12px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 130%;
    }
    
    [data-tooltip]:after {
        left: 50%;
        transform: translateX(-50%);
        bottom: calc(130% - 8px);
    }
    
    /* En móvil, todos centrados */
    .comparison-table td:last-child[data-tooltip]:before {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .comparison-table td:last-child[data-tooltip]:after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

/* Efectos de impresión */
@media print {
    .admin-panel-btn,
    .btn-admin-panel,
    .modal-admin,
    .modal-client-details,
    .nav-menu,
    .hamburger,
    .footer,
    .cta,
    .hero-buttons {
        display: none !important;
    }
    
    .calculator-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .budget-result {
        display: block !important;
    }
    
    .result-actions {
        display: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .calculator-container {
        background: #1a1a1a;
        color: #f0f0f0;
    }
    
    .calculator-sidebar {
        background: linear-gradient(135deg, #2c3e50, #34495e);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #2c3e50;
        border-color: #444;
        color: #f0f0f0;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        background: #34495e;
    }
    
    .option-content {
        background: #2c3e50;
        border-color: #444;
        color: #f0f0f0;
    }
}

/* ========================================== */
/* FIX: Prevenir overflow de tooltips */
/* ========================================== */

.comparison-table-wrapper {
    position: relative;
    overflow: visible !important; /* Permitir que tooltips salgan */
}

.comparison-table {
    overflow-x: auto;
    overflow-y: visible; /* Permitir tooltips verticales */
}

/* Asegurar que las celdas tengan overflow visible */
.comparison-table td,
.comparison-table th {
    overflow: visible;
    position: relative;
}

/* FIX: Z-index correcto para tooltips */
.comparison-table tbody tr {
    position: relative;
    z-index: 1;
}

.comparison-table tbody tr:hover {
    z-index: 10; /* Elevar fila al hacer hover */
}

/* FIX: Sección de divisores no debe afectar tooltips */
.section-divider {
    position: relative;
    z-index: 2;
}

.section-title-row {
    cursor: default !important;
    user-select: none;
}

/* ==================== */
/* MODAL DE COMPARTIR PRESUPUESTO */
/* ==================== */

.modal-share {
    display: none; /* <-- IMPORTANTE: Empieza OCULTO */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-share-content {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: modalOpen 0.3s ease;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-share-header {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-share-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-share-close {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-share-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.modal-share-body {
    padding: 2rem;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.share-option {
    background: #f8f9fa;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-option:hover {
    background: white;
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.share-option i {
    font-size: 2rem;
    color: var(--accent);
}

.share-option span {
    font-weight: 600;
    color: var(--primary);
}

.share-link {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.share-link input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #f8f9fa;
}

.share-link input:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-copy {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-copy.copied {
    background: var(--success);
}

/* ==================== */
/* BOTÓN FLOTANTE DE AYUDA */
/* ==================== */

.help-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.btn-help {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), #c0392b);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-help:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.6);
}

.help-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.help-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    border: 8px solid transparent;
    border-top-color: var(--primary);
}

.help-floating-btn:hover .help-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 80px;
}

.help-tooltip h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.help-tooltip p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ==================== */
/* PRELOADER DE CÁLCULO */
/* ==================== */

.calculation-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.loader-content {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-content p {
    margin: 0 0 1rem 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
}

.loader-progress {
    width: 200px;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    width: 0%;
    animation: progressAnimation 2s ease-in-out infinite;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem) !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    font-family: 'Poppins', sans-serif !important;
    
    /* CRÍTICO: Permitir ajuste de texto */
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    
    /* CRÍTICO: Sin animaciones */
    animation: none !important;
    border-right: none !important;
    
    /* Layout correcto */
    line-height: 1.3 !important;
    max-width: 100% !important;
    text-align: center !important;
    overflow: visible !important;
    height: auto !important;
    
    /* Sin transformaciones que corten el texto */
    transform: none !important;
    transition: none !important;
}

/* Remover COMPLETAMENTE la clase typewriter si existe */
.hero-title.typewriter,
.typewriter {
    white-space: normal !important;
    border-right: none !important;
    animation: none !important;
}

/* Responsive sin conflictos */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.5rem, 4.5vw, 2rem) !important;
        line-height: 1.4 !important;
        padding: 0 15px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.3rem, 4vw, 1.7rem) !important;
        line-height: 1.4 !important;
        padding: 0 10px !important;
        word-break: break-word !important;
    }
}

/* ELIMINAR animación typewriter globalmente */
@keyframes typing {
    /* Vacío para desactivar */
}

@keyframes blink-caret {
    /* Vacío para desactivar */
}

/* ===================================
   NOSOTROS PAGE - PROFESSIONAL STYLES
   =================================== */

/* Reset adicional para esta página */
.nosotros-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Hero Section Específico para Nosotros */
.nosotros-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(26, 60, 110, 0.7), rgba(26, 60, 110, 0.85)), 
                url('imageWEB/fondos/fondoindex.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    overflow: hidden;
    padding: 100px 20px;
}

.nosotros-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(58, 108, 189, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.nosotros-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.nosotros-hero .hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInFromTop 0.8s ease-out;
}

.nosotros-hero .hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    animation: slideInFromBottom 0.8s ease-out 0.2s backwards;
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sección Principal de Nosotros */
.nosotros-section {
    background-color: transparent;
    padding: 80px 0;
    margin-top: 0;
}

.section-title {
    text-align: center;
    color: #1a3c6e;
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #e63946, #ff6b6b);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.8s ease-out 0.3s;
}

.section-title.animate:after {
    width: 120px;
}

/* Layout Mejorado - Imagen Izquierda/Derecha Alternado */
.nosotros-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.content-row.animate {
    opacity: 1;
    transform: translateY(0);
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
    min-width: 300px;
}

.content-text h3 {
    color: #1a3c6e;
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.content-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e63946, #ff6b6b);
}

.content-text p {
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

.features-list {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
    padding-left: 35px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease-out;
}

.features-list li.animate {
    opacity: 1;
    transform: translateX(0);
}

.features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #e63946;
    font-size: 1.2rem;
}

.features-list li:hover {
    transform: translateX(5px);
    color: #1a3c6e;
}

/* Contenedor de Imagen Mejorado */
.content-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.image-box-large {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.image-box-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 60, 110, 0.8) 0%, rgba(230, 57, 70, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.image-box-large:hover::before {
    opacity: 1;
}

.image-box-large:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.image-box-large img {
    width: 100%;
    height: 450px;
    max-height: 60vw;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

.image-box-large:hover img {
    transform: scale(1.1);
}

.image-caption-large {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 60, 110, 0.95), transparent);
    color: white;
    padding: 30px;
    text-align: left;
    font-weight: 600;
    font-size: 1.3rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 2;
}

.image-box-large:hover .image-caption-large {
    transform: translateY(0);
}

/* Botón Mejorado */
.btn-contacto {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e63946, #ff6b6b);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    margin-top: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-contacto:hover::before {
    left: 100%;
}

.btn-contacto:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
}

.btn-contacto i {
    font-size: 1.2rem;
}

/* Estadísticas Mejoradas */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
    padding: 60px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a3c6e, #e63946, #3a6cbd);
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease-out;
}

.stat-item.animate {
    opacity: 1;
    transform: scale(1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e63946, #ff6b6b);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a3c6e, #3a6cbd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

/* Efectos de Resaltado */
.highlight {
    color: #e63946;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(230, 57, 70, 0.2);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.highlight.animate::after {
    transform: scaleX(1);
}

/* Decorative Elements */
.decorative-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* Responsive */
@media (max-width: 1024px) {
    .content-row {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .nosotros-hero .hero-title {
        font-size: 3rem;
    }
    
    .content-text h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nosotros-hero {
        min-height: 50vh;
        padding: 60px 20px;
    }
    
    .nosotros-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .nosotros-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 30px;
        padding: 40px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .image-box-large img {
        height: 300px;
    }
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1a3c6e, #e63946);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2a4c7d, #ff6b6b);
}


/* ========================================== */
/* HEADER DE LA TARJETA */
/* ========================================== */

.equipment-card-header {
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
}

.equipment-card-header img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.equipment-card-header:hover img {
    transform: scale(1.05);
}

.equipment-card-header span {
    display: block;
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    background: #f8f9fa;
    font-size: 1.2rem;
}

/* ========================================== */
/* BOTÓN "VER GALERÍA" */
/* ========================================== */

.btn-expand-gallery {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    z-index: 15;
    white-space: nowrap;
}

.equipment-card-header:hover .btn-expand-gallery {
    opacity: 1;
    visibility: visible;
    bottom: 90px;
}

.btn-expand-gallery:hover {
    background: #c0392b;
    transform: translateX(-50%) scale(1.08);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.5);
}


/* ========================================== */
/* BARRA SUPERIOR */
/* ========================================== */

.gallery-close-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    position: sticky;
    top: 0;
    z-index: 250;
    border-radius: 0;
}

.gallery-close-bar span {
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-close-bar span::before {
    content: '📸';
    font-size: 1.6rem;
}

/* ========================================== */
/* GRID DE IMÁGENES */
/* ========================================== */

.equipment-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.92) 0%, 
        rgba(231, 76, 60, 0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    gap: 12px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 4rem;
    color: white;
    animation: zoomPulse 1.5s infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.gallery-overlay::after {
    content: 'Click para ampliar';
    color: white;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

@keyframes zoomPulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.25); 
    }
}

/* ========================================== */
/* LIGHTBOX */
/* ========================================== */

.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.gallery-lightbox.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95vh;
    animation: zoomIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.7) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
    position: absolute;
    top: -65px;
    right: 0;
    background: var(--secondary);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.5);
    font-weight: bold;
}

.lightbox-close:hover {
    background: #c0392b;
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.7);
}

/* ========================================== */
/* BOTÓN "COTIZAR ESTE SERVICIO" - SEPARACIÓN MEJORADA */
/* ========================================== */

.service-cta {
    text-align: center;
    margin-top: 8rem; /* Aumentado de 6rem */
    padding-top: 4rem; /* Aumentado de 3rem */
    border-top: 2px solid #eee;
    position: relative;
    z-index: 1;
    clear: both;
    background: white; /* Asegurar fondo blanco */
    transition: all 0.6s ease; /* Transición suave */
}

/* Separador decorativo antes del botón */
.service-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: 2px;
}

.service-cta .btn {
    position: relative;
    z-index: 1;
}

/* ========================================== */
/* RESPONSIVE */
/* ========================================== */

/* Desktop grande */
@media (max-width: 1200px) {
    .equipment-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 2rem;
        padding: 2.5rem;
    }
    
    .gallery-item img {
        height: 230px;
    }
    
    .equipment-gallery-container.active {
        max-height: 3000px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .equipment-grid-expandable {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-gallery-container {
        width: calc(200% + 2rem);
    }
    
    .equipment-item-expandable:nth-child(2) .equipment-gallery-container,
    .equipment-item-expandable:nth-child(even) .equipment-gallery-container {
        left: calc(-100% - 2rem);
    }
    
    .equipment-item-expandable:nth-child(3) .equipment-gallery-container {
        left: -2rem;
    }
    
    .equipment-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.8rem;
        padding: 2rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .service-equipment.gallery-open {
        margin-bottom: 10rem;
    }
    
    .service-cta {
        margin-top: 6rem;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .equipment-grid-expandable {
        grid-template-columns: 1fr;
    }
    
    .equipment-gallery-container {
        left: -20px;
        width: calc(100% + 40px);
    }
    
    .equipment-item-expandable:nth-child(2) .equipment-gallery-container,
    .equipment-item-expandable:nth-child(3) .equipment-gallery-container {
        left: -20px;
    }
    
    .equipment-gallery-container.active {
        max-height: 2800px;
    }
    
    .equipment-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .btn-expand-gallery {
        font-size: 0.9rem;
        padding: 10px 20px;
        bottom: 75px;
    }
    
    .equipment-card-header:hover .btn-expand-gallery {
        bottom: 85px;
    }
    
    .service-equipment.gallery-open {
        margin-bottom: 8rem;
    }
    
    .service-cta {
        margin-top: 4rem;
        padding-top: 3rem;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .equipment-gallery-container {
        left: -20px;
        width: calc(100vw - 0px);
        border-radius: 0;
    }
    
    .equipment-gallery-container.active {
        max-height: 3000px;
    }
    
    .equipment-gallery-grid {
        grid-template-columns: 1fr;
        padding: 1.2rem;
        gap: 1.2rem;
    }
    
    .gallery-item img {
        height: 240px;
    }
    
    .btn-expand-gallery {
        bottom: 70px;
        font-size: 0.85rem;
        padding: 9px 18px;
    }
    
    .equipment-card-header:hover .btn-expand-gallery {
        bottom: 80px;
    }
    
    .gallery-overlay i {
        font-size: 3rem;
    }
    
    .gallery-overlay::after {
        font-size: 0.85rem;
    }
    
    .service-equipment.gallery-open {
        margin-bottom: 6rem;
    }
    
    .service-cta {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}

/* ========================================== */
/* GALERÍA MODAL DE EQUIPOS - 4 COLUMNAS */
/* ========================================== */

/* Grid de tarjetas de equipos */
.equipment-grid-modal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.equipment-card-modal {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.equipment-card-modal:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.equipment-card-modal img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.equipment-card-modal:hover img {
    transform: scale(1.08);
}

.equipment-info {
    padding: 1.8rem;
    text-align: center;
    background: #f8f9fa;
}

.equipment-info h4 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* NUEVO: Descripción del equipo */
.equipment-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: left;
    padding: 0 0.5rem;
}

/* NUEVO: Especificaciones mini */
.equipment-specs-mini {
    display: flex;
    justify-content: space-around;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0.5rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.equipment-specs-mini span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.equipment-specs-mini span i {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 3px;
}

.btn-view-gallery {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
}

.btn-view-gallery:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Responsive para descripción */
@media (max-width: 768px) {
    .equipment-info {
        padding: 1.5rem;
    }
    
    .equipment-description {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .equipment-specs-mini {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .equipment-specs-mini span {
        flex-direction: row;
        justify-content: center;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .equipment-info h4 {
        font-size: 1.2rem;
    }
    
    .equipment-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .equipment-specs-mini {
        padding: 0.8rem;
    }
}

.btn-view-gallery {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-view-gallery:hover {
    background: #c0392b;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* ========================================== */
/* MODAL DE GALERÍA */
/* ========================================== */

.equipment-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.equipment-gallery-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.equipment-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
}

.equipment-gallery-container-modal {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 1400px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10000;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Header del modal */
.equipment-gallery-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 1.8rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--secondary);
}

.equipment-gallery-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.equipment-gallery-header {
    background: linear-gradient(135deg, #1a3c6e 0%, #2c3e50 50%, #34495e 100%);
    color: white;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, #e63946, #3498db, #e63946) 1;
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo animado en el fondo */
.equipment-gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    animation: headerShine 3s infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.equipment-gallery-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Icono personalizado por tipo de vehículo */
.equipment-gallery-header h3::before {
    content: '';
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e63946, #ff6b6b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
    flex-shrink: 0;
}

/* Iconos específicos según el título */
.equipment-gallery-header h3[data-vehicle="rabon"]::before {
    content: '\f0d1'; /* fa-truck */
}

.equipment-gallery-header h3[data-vehicle="torton"]::before {
    content: '\f63b'; /* fa-truck-moving */
}

.equipment-gallery-header h3[data-vehicle="trailer"]::before {
    content: '\f0d1'; /* fa-truck con variante */
    font-size: 1.8rem;
}

/* Texto del título */
.equipment-gallery-header h3 .title-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.equipment-gallery-header h3 .title-main {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.equipment-gallery-header h3 .title-sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

/* Badge con contador de imágenes */
.gallery-image-count {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.gallery-image-count i {
    color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    .equipment-gallery-header {
        padding: 20px 25px;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .equipment-gallery-header h3 {
        font-size: 1.4rem;
        gap: 15px;
    }
    
    .equipment-gallery-header h3::before {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
    
    .gallery-image-count {
        align-self: flex-end;
    }
}

/* Header más limpio */
.equipment-gallery-header {
    background: linear-gradient(135deg, #1a3c6e 0%, #2c3e50 50%, #34495e 100%);
    color: white;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, #e63946, #3498db, #e63946) 1;
    position: relative;
    overflow: hidden;
}

/* ========================================== */
/* HEADER DE GALERÍA MODAL - SIN SUPERPOSICIÓN */
/* ========================================== */

.equipment-gallery-header {
    background: linear-gradient(135deg, #1a3c6e 0%, #2c3e50 50%, #34495e 100%);
    color: white;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, #e63946, #3498db, #e63946) 1;
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo animado */
.equipment-gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: headerShine 3s infinite;
    z-index: 0;
}

@keyframes headerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Título del header */
.equipment-gallery-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Contenedor DERECHO para contador + botón cerrar */
.gallery-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 10;
}

/* Contador de imágenes */
.gallery-image-count {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(230, 57, 70, 0.15));
    backdrop-filter: blur(20px);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.gallery-image-count .count-number {
    font-weight: 800;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #fff, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: countPulse 2s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gallery-image-count i {
    color: #3498db;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 6px rgba(52, 152, 219, 0.5));
}

/* Botón CERRAR (sin position absolute) */
.equipment-gallery-close {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.95), rgba(192, 57, 43, 0.98));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    position: relative;
}

.equipment-gallery-close::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(231, 76, 60, 0.5);
    border-radius: 50%;
    transform: scale(1);
    opacity: 1;
    transition: all 0.4s ease;
}

.equipment-gallery-close:hover::before {
    transform: scale(1.4);
    opacity: 0;
}

.equipment-gallery-close:hover {
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.equipment-gallery-close:active {
    transform: rotate(90deg) scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .equipment-gallery-header {
        padding: 20px 25px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .equipment-gallery-header h3 {
        font-size: 1.4rem;
        width: 100%;
    }
    
    .gallery-header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .equipment-gallery-close {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .gallery-image-count {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
    
    .gallery-image-count .count-number {
        font-size: 1.1rem;
    }
}

/* Cuerpo del modal */
.equipment-gallery-body {
    padding: 2.5rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
}

/* Grid de 4 columnas */
.equipment-gallery-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.equipment-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.equipment-gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.equipment-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.equipment-gallery-item:hover img {
    transform: scale(1.15);
}

.equipment-gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.9) 0%, 
        rgba(231, 76, 60, 0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    gap: 10px;
}

.equipment-gallery-item:hover .equipment-gallery-item-overlay {
    opacity: 1;
}

.equipment-gallery-item-overlay i {
    font-size: 3.5rem;
    color: white;
    animation: zoomPulse 1.5s infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.equipment-gallery-item-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* ========================================== */
/* LIGHTBOX PARA ZOOM DE IMÁGENES */
/* ========================================== */

.gallery-image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.gallery-image-lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.gallery-lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--secondary);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.5);
    font-weight: bold;
    z-index: 10002;
}

.gallery-lightbox-close:hover {
    background: #c0392b;
    transform: rotate(90deg) scale(1.15);
}

#galleryLightboxImage {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    animation: imageZoom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes imageZoom {
    from {
        opacity: 0;
        transform: scale(0.7) rotate(-3deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.gallery-lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.95));
    color: white;
    padding: 20px 35px;
    border-radius: 15px;
    max-width: 85%;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUpCaption 0.5s ease 0.3s backwards;
}

.gallery-lightbox-caption h4 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gallery-lightbox-caption h4::before {
    content: '📸';
    font-size: 1.4rem;
}

.gallery-lightbox-caption p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

@keyframes slideUpCaption {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .gallery-lightbox-caption {
        max-width: 90%;
        padding: 15px 20px;
        bottom: 20px;
    }
    
    .gallery-lightbox-caption h4 {
        font-size: 1.1rem;
    }
    
    .gallery-lightbox-caption p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .gallery-lightbox-caption {
        max-width: 95%;
        padding: 12px 16px;
        bottom: 15px;
        border-radius: 10px;
    }
    
    .gallery-lightbox-caption h4 {
        font-size: 1rem;
    }
    
    .gallery-lightbox-caption p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* ========================================== */
/* RESPONSIVE */
/* ========================================== */

/* Desktop grande */
@media (max-width: 1400px) {
    .equipment-gallery-grid-4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Laptop */
@media (max-width: 1024px) {
    .equipment-grid-modal {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-gallery-grid-4col {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .equipment-gallery-item img {
        height: 200px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .equipment-grid-modal {
        grid-template-columns: 1fr;
    }
    
    .equipment-gallery-container-modal {
        width: 98%;
        max-height: 95vh;
    }
    
    .equipment-gallery-header {
        padding: 1.2rem 1.5rem;
    }
    
    .equipment-gallery-header h3 {
        font-size: 1.4rem;
    }
    
    .equipment-gallery-body {
        padding: 1.5rem;
    }
    
    .equipment-gallery-grid-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .equipment-gallery-item img {
        height: 180px;
    }
    
    .gallery-lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .equipment-gallery-container-modal {
        border-radius: 15px;
    }
    
    .equipment-gallery-header {
        padding: 1rem;
    }
    
    .equipment-gallery-header h3 {
        font-size: 1.2rem;
    }
    
    .equipment-gallery-close {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    
    .equipment-gallery-body {
        padding: 1rem;
    }
    
    .equipment-gallery-grid-4col {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .equipment-gallery-item img {
        height: 220px;
    }
    
    .equipment-gallery-item-overlay i {
        font-size: 2.8rem;
    }
    
    #galleryLightboxImage {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .gallery-lightbox-caption {
        font-size: 0.95rem;
        padding: 12px 20px;
        bottom: 20px;
    }
}

/* Scrollbar personalizado para el modal */
.equipment-gallery-body::-webkit-scrollbar {
    width: 10px;
}

.equipment-gallery-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.equipment-gallery-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary), var(--accent));
    border-radius: 10px;
}

.equipment-gallery-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c0392b, #2980b9);
}

/* ========================================== */
/* BOTÓN FLOTANTE DE WHATSAPP - LADO IZQUIERDO */
/* ========================================== */

.whatsapp-float {
    position: fixed;
    left: 30px; /* Lado IZQUIERDO */
    bottom: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    cursor: pointer;
    animation: whatsappPulse 2s infinite;
}

/* Animación de pulso */
@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
    }
}

/* Efecto de onda al hover */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #25D366;
    border-radius: 50%;
    transform: scale(1);
    opacity: 0.7;
    animation: whatsappRipple 2s infinite;
}

@keyframes whatsappRipple {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Hover */
.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.8);
}

.whatsapp-float:active {
    transform: scale(1.05);
}

/* Tooltip "Chatea con nosotros" */
.whatsapp-float::after {
    content: '¡Cotiza por WhatsApp!';
    position: absolute;
    left: 80px; /* Aparece a la DERECHA del botón (porque el botón está a la izquierda) */
    top: 50%;
    transform: translateY(-50%);
    background: #128C7E;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
}

/* Flecha del tooltip */
.whatsapp-float::after {
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        -8px 0 0 -4px #128C7E; /* Flecha apuntando a la izquierda */
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
    left: 85px;
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        left: 20px;
        bottom: 80px; /* Subir un poco en móvil para evitar choques */
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .whatsapp-float::after {
        display: none; /* Ocultar tooltip en móvil */
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        left: 15px;
        bottom: 70px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* ========================================== */
/* MAPA DE MÉXICO - TRANSPORTE NACIONAL */
/* ========================================== */

.mexico-map-container {
    position: relative;
    margin: 3rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    transition: all 0.4s ease;
}

.mexico-map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.mexico-map {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.mexico-map-container:hover .mexico-map {
    transform: scale(1.02);
}

/* Overlay decorativo */
.map-overlay {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
}

.mexico-map-container:hover .map-overlay {
    opacity: 1;
    transform: translateX(0);
}

/* Leyenda del mapa */
.map-legend {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 1.8rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(52, 152, 219, 0.2);
    min-width: 250px;
}

.map-legend h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 0 0 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e0e0e0;
}

.map-legend h4 i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.map-legend ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.map-legend li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 0;
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-legend li:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.map-legend li i {
    color: var(--success);
    font-size: 1.1rem;
}

.map-legend li:hover i {
    color: var(--accent);
    transform: scale(1.2);
}

/* Título decorativo del mapa */
.mexico-map-container::before {
    content: '🇲🇽 Cobertura en los 32 Estados';
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.3);
    animation: slideInFromLeft 0.8s ease;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================== */
/* RESPONSIVE - MAPA DE MÉXICO */
/* ========================================== */

@media (max-width: 1024px) {
    .map-overlay {
        position: static;
        opacity: 1;
        transform: none;
        margin-top: 2rem;
    }
    
    .map-legend {
        width: 100%;
        max-width: 100%;
    }
    
    .mexico-map-container::before {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .mexico-map-container {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .mexico-map-container::before {
        position: static;
        display: block;
        margin-bottom: 1.5rem;
        text-align: center;
        font-size: 0.85rem;
    }
    
    .map-legend {
        padding: 1.5rem;
    }
    
    .map-legend h4 {
        font-size: 1.1rem;
    }
    
    .map-legend li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .mexico-map-container {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .mexico-map {
        border-radius: 10px;
    }
    
    .map-legend {
        padding: 1.2rem;
    }
    
    .legend-dot {
        width: 14px;
        height: 14px;
    }
}

/* ========================================== */
/* CONTACTO PROFESIONAL - DISEÑO MODERNO */
/* ========================================== */

.contact-hero {
    background-image: linear-gradient(135deg, rgba(26, 60, 110, 0.95), rgba(44, 62, 80, 0.98)),
                url('imageWEB/fondos/fondocontacto.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    color: white;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(230, 57, 70, 0.15) 0%, transparent 50%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-stats .stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.contact-stats .stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-stats .stat-card i {
    font-size: 2.5rem;
    color: var(--secondary);
}

/* ========================================== */
/* GRID DE CONTACTO */
/* ========================================== */

.contact-main {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* ========================================== */
/* TARJETAS DE INFORMACIÓN */
/* ========================================== */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

/* Tarjeta destacada (WhatsApp) */
.featured-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #25D366;
    position: relative;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.gradient-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-icon i {
    font-size: 2rem;
    color: white;
}

.info-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.info-content > p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ========================================== */
/* BADGE DE DISPONIBILIDAD */
/* ========================================== */

.availability-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem !important;
    border: 1px solid #c3e6cb;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* ========================================== */
/* ENLACE PRINCIPAL DE WHATSAPP */
/* ========================================== */

.contact-link-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 1.8rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    position: relative;
    overflow: hidden;
}

.contact-link-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-link-primary:hover::before {
    left: 100%;
}

.contact-link-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.link-content i {
    font-size: 2.5rem;
}

.link-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.link-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.link-number {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.link-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-link-primary:hover .link-arrow {
    transform: translateX(5px);
}

/* ========================================== */
/* TIEMPO DE RESPUESTA */
/* ========================================== */

.response-time {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid var(--accent);
}

.response-time i {
    color: var(--accent);
    font-size: 1.2rem;
}

.response-time span {
    color: #555;
    font-size: 0.95rem;
}

/* ========================================== */
/* TELÉFONOS MODERNOS */
/* ========================================== */

.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link-modern {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-link-modern:hover {
    background: white;
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrapper.emergency {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.icon-wrapper i {
    color: white;
    font-size: 1.3rem;
}

.link-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.link-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.link-value {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

.link-schedule {
    font-size: 0.8rem;
    color: #666;
}

/* ========================================== */
/* EMAILS MODERNOS */
/* ========================================== */

.contact-emails-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.email-link:hover {
    background: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.email-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent), #2980b9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.email-icon i {
    color: white;
    font-size: 1.2rem;
}

.email-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.email-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.email-address {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.email-external {
    color: var(--accent);
    font-size: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.email-link:hover .email-external {
    opacity: 1;
    transform: translateX(5px);
}

/* ========================================== */
/* HORARIOS */
/* ========================================== */

.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.schedule-item.emergency-schedule {
    background: linear-gradient(135deg, #fff5f5, #ffe5e5);
    border: 2px solid #e74c3c;
}

.schedule-day {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
}

.schedule-day i {
    color: var(--accent);
    font-size: 1.2rem;
}

.schedule-time {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    color: #666;
}

.schedule-time.active {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.schedule-time.emergency {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.schedule-time i {
    font-size: 1rem;
}

/* ========================================== */
/* REDES SOCIALES MODERNAS */
/* ========================================== */

.social-contact-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-btn-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.social-btn-modern i {
    font-size: 1.3rem;
}

.social-btn-modern.facebook {
    background: linear-gradient(135deg, #1877f2, #0d5dbd);
}

.social-btn-modern.instagram {
    background: linear-gradient(135deg, #e1306c, #C13584, #833AB4);
}

.social-btn-modern.linkedin {
    background: linear-gradient(135deg, #0077b5, #005582);
}

.social-btn-modern.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-btn-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================== */
/* FORMULARIO MODERNO */
/* ========================================== */

.contact-form-container-modern {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.form-header-modern {
    text-align: center;
    margin-bottom: 3rem;
}

.form-icon-header {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.form-icon-header i {
    font-size: 2.5rem;
    color: white;
}

.form-header-modern h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.form-header-modern > p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.form-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.form-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-features i {
    font-size: 1rem;
}

/* ========================================== */
/* CAMPOS DEL FORMULARIO */
/* ========================================== */

.form-group-modern {
    margin-bottom: 2rem;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.form-group-modern label i {
    color: var(--accent);
    font-size: 1.1rem;
}

.optional-badge {
    background: #e9ecef;
    color: #666;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: auto;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.form-group-modern input::placeholder,
.form-group-modern textarea::placeholder {
    color: #999;
}

.form-row-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* ========================================== */
/* CONTADOR DE CARACTERES */
/* ========================================== */

.char-counter-modern {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.5rem;
    color: #999;
    font-size: 0.9rem;
}

.char-counter-modern i {
    font-size: 0.9rem;
}

/* ========================================== */
/* CHECKBOX PERSONALIZADO */
/* ========================================== */

.checkbox-modern {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.terms-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* ========================================== */
/* BOTONES DEL FORMULARIO */
/* ========================================== */

.form-actions-modern {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-submit-modern {
    flex: 1;
    background: linear-gradient(135deg, var(--secondary), #c0392b);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-submit-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit-modern:hover::before {
    left: 100%;
}

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.6);
}

.btn-submit-modern:active {
    transform: translateY(0);
}

.btn-submit-modern.loading .btn-text {
    display: none;
}

.btn-submit-modern .btn-loading {
    display: none;
}

.btn-submit-modern.loading .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-reset-modern {
    background: #f8f9fa;
    color: var(--primary);
    border: 2px solid #e0e0e0;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-modern:hover {
    background: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ========================================== */
/* RESULTADO DEL ENVÍO */
/* ========================================== */

.contact-result-modern {
    text-align: center;
    padding: 3rem;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.result-animation {
    margin-bottom: 2rem;
}

/* Animación de checkmark */
.success-checkmark {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.check-icon {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}

.check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 56px;
    left: 24px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
    top: 50px;
    right: 16px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(76, 175, 80, 0.5);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 34px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: white;
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 24px;
        top: 56px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 16px;
        top: 50px;
    }
}

.contact-result-modern h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-result-modern p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.result-actions-modern {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-new-message,
.btn-go-home {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-new-message {
    background: var(--accent);
    color: white;
    border: none;
}

.btn-new-message:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-go-home {
    background: #f8f9fa;
    color: var(--primary);
    border: 2px solid #e0e0e0;
}

.btn-go-home:hover {
    background: white;
    border-color: var(--accent);
}

/* ========================================== */
/* RESPONSIVE */
/* ========================================== */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container-modern {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }
    
    .contact-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
    }
    
    .social-contact-modern {
        grid-template-columns: 1fr;
    }
    
    .form-actions-modern {
        flex-direction: column;
    }
    
    .contact-form-container-modern {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .form-header-modern h2 {
        font-size: 1.5rem;
    }
    
    .btn-submit-modern,
    .btn-reset-modern {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

