/* =================================================================
   MEXI-CAN UNIFIED STYLES - ARCHIVO CSS CONSOLIDADO
   Todos los estilos CSS del proyecto unificados
   ================================================================= */

/* =========================
   VARIABLES CSS MEXICANAS
   ========================= */
:root {
    --color-red: #9a1d22;
    --color-bright-red: #BC2026;
    --color-green: #096D39;
    --color-navy: #0e1b31;
    --color-white: #FFFFFF;
    --color-light-gray: #f5f5f5;
    --color-medium-gray: #e0e0e0;
    --color-dark-gray: #333333;
    --color-whatsapp: #25D366;
    --color-success: #28A745;
    --color-warning: #FF6B35;
    --color-gold: #FFD700;
    --font-title: 'Playfair Display', serif;
    --font-subtitle: 'Roboto Condensed', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-logo: 'Bangers', cursive;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --text-shadow-global: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* =========================
   RESET Y ESTILOS GENERALES
   ========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================
   SISTEMA DE SECCIONES UNIFICADAS
   ========================= */

/* ESTRUCTURA BASE: Todas las páginas seguirán este patrón:
   1. Hero Section (imagen de fondo)
   2. Sección Verde (información principal)
   3. Sección Blanca (contenido detallado)
   4. Sección Roja (testimonios/comparativas)
   5. Sección Verde (características únicas)
   6. Sección Blanca (detalles técnicos)
   7. Sección Roja (CTA final)
*/

/* Estructura base para todas las secciones */
section {
    margin: 0;
    padding: 80px 0;
    position: relative;
    min-height: auto;
}

/* ===== CLASE 1: HERO SECTION ===== */
.section-hero {
    background-size: cover;
    background-position: center;
    padding: 160px 0;
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 1;
}

.section-hero .container {
    position: relative;
    z-index: 2;
}

.section-hero h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
    font-family: var(--font-title);
}

.section-hero .lead {
    margin-bottom: 40px;
    font-size: 1.4rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CLASE 2: SECCIÓN VERDE ===== */
.section-green {
    background: var(--color-green);
    padding: 100px 0;
    color: var(--color-white);
}

.section-green h2 {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    filter: none;
    display: block;
    font-size: 2.5rem;
}

.section-green .section-intro {
    text-align: center;
    color: rgba(255,255,255,0.9);
    margin-bottom: 50px;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CLASE 3: SECCIÓN BLANCA ===== */
.section-white {
    padding: 100px 0;
    background-color: var(--color-light-gray);
    color: var(--color-navy);
}

.section-white h2 {
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.section-white .section-intro {
    text-align: center;
    color: var(--color-dark-gray);
    margin-bottom: 50px;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-white p {
    color: var(--color-navy);
}

.section-white li {
    color: var(--color-navy);
}

/* ===== CLASE 4: SECCIÓN ROJA ===== */
.section-red {
    background: var(--color-red);
    padding: 100px 0;
    color: var(--color-white);
}

.section-red h2 {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    filter: none;
    display: block;
    font-size: 2.5rem;
}

.section-red .section-intro {
    text-align: center;
    color: rgba(255,255,255,0.9);
    margin-bottom: 50px;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CLASE 5: CTA FINAL ===== */
.section-cta {
    background: var(--color-red);
    padding: 100px 0;
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-red);
    opacity: 0.3;
}

.section-cta .container {
    position: relative;
    z-index: 2;
}

.section-cta h2 {
    color: var(--color-white);
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    filter: none;
    display: block;
}

.section-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* GRIDS COMUNES PARA TODAS LAS SECCIONES */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.content-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.section-white .content-card {
    background: var(--color-white);
    border: 3px solid var(--color-light-gray);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.section-white .content-card:hover {
    border-color: var(--color-green);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ===== RESPONSIVE STYLES UNIFICADOS ===== */
@media (max-width: 992px) {
    .section-hero h1,
    .hero-servicios h1,
    .service-hero h1,
    .index-hero h1,
    .about-hero h1,
    .contact-hero h1,
    .gallery-hero h1 {
        font-size: 2.8rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section-hero,
    .hero-servicios,
    .service-hero,
    .index-hero,
    .about-hero,
    .contact-hero,
    .gallery-hero {
        padding: 120px 0;
    }
    
    .section-hero h1,
    .hero-servicios h1,
    .service-hero h1,
    .index-hero h1,
    .about-hero h1,
    .contact-hero h1,
    .gallery-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-green,
    .section-white,
    .section-red,
    .section-cta {
        padding: 60px 0;
    }
    
    .section-green h2,
    .section-white h2,
    .section-red h2,
    .section-cta h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .section-hero h1,
    .hero-servicios h1,
    .service-hero h1,
    .index-hero h1,
    .about-hero h1,
    .contact-hero h1,
    .gallery-hero h1 {
        font-size: 2.2rem;
    }
    
    .section-green,
    .section-white,
    .section-red,
    .section-cta {
        padding: 40px 0;
    }
    
    .section-green h2,
    .section-white h2,
    .section-red h2,
    .section-cta h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .content-card {
        padding: 30px 20px;
    }
}

/* CLASES LEGACY MANTENIDAS PARA COMPATIBILIDAD */
.hero-servicios,
.service-hero,
.index-hero,
.about-hero,
.contact-hero,
.gallery-hero {
    /* Estas clases ahora heredan de .section-hero */
    background-size: cover;
    background-position: center;
    padding: 160px 0;
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-servicios::before,
.service-hero::before,
.index-hero::before,
.about-hero::before,
.contact-hero::before,
.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-servicios .container,
.service-hero .container,
.index-hero .container,
.about-hero .container,
.contact-hero .container,
.gallery-hero .container {
    position: relative;
    z-index: 2;
}

.hero-servicios h1,
.service-hero h1,
.index-hero h1,
.about-hero h1,
.contact-hero h1,
.gallery-hero h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
    font-family: var(--font-title);
}

/* SECCIONES VERDES LEGACY - COMPATIBILIDAD */
.section-unique,
.unique-features,
.different-section,
.why-unique-section,
.service-includes-section,
.services-selector-section,
.testimonials-servicios,
.facilities-unique,
.gallery-filters,
.contact-info-visual,
.service-areas {
    background: var(--color-green);
    color: var(--color-white);
    padding: 100px 0;
}

.section-unique h2,
.unique-features h2,
.different-section h2,
.why-unique-section h2,
.service-includes-section h2,
.services-selector-section h2,
.testimonials-servicios h2,
.facilities-unique h2,
.gallery-filters h2,
.contact-info-visual h2,
.service-areas h2 {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    filter: none;
    display: block;
    font-size: 2.5rem;
}

/* SECCIONES BLANCAS LEGACY - COMPATIBILIDAD */
.section-service,
.services-overview,
.service-description,
.philosophy-section,
.contact-form-section,
.services-detailed,
.gallery-grid,
.faq-section,
.certifications-section {
    padding: 100px 0;
    background-color: var(--color-light-gray);
    color: var(--color-navy);
}

.section-service h2,
.services-overview h2,
.service-description h2,
.philosophy-section h2,
.contact-form-section h2,
.services-detailed h2,
.gallery-grid h2,
.faq-section h2,
.certifications-section h2 {
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.section-service p,
.services-overview p,
.service-description p,
.philosophy-section p,
.contact-form-section p,
.services-detailed p,
.gallery-grid p,
.faq-section p,
.certifications-section p {
    color: var(--color-navy);
}

.section-service li,
.services-overview li,
.service-description li,
.philosophy-section li,
.contact-form-section li,
.services-detailed li,
.gallery-grid li,
.faq-section li,
.certifications-section li {
    color: var(--color-navy);
}

/* Tarjetas en sección blanca */
.service-card,
.service-selector-button,
.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    min-height: 400px;
}

/* SECCIONES ROJAS LEGACY - COMPATIBILIDAD */
.section-features,
.service-features,
.aquatic-activities,
.service-comparison,
.credibility-testimonials,
.whatsapp-cta,
.gallery-cta {
    background: var(--color-red);
    color: var(--color-white);
    padding: 100px 0;
}

.section-features h2,
.service-features h2,
.aquatic-activities h2,
.service-comparison h2,
.credibility-testimonials h2,
.whatsapp-cta h2,
.gallery-cta h2 {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    filter: none;
    display: block;
    font-size: 2.5rem;
}

/* Tabla de precios en sección roja */
.services-table,
.price-comparison-table {
    padding: 40px;
    margin: 30px auto;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.services-table table,
.price-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    color: var(--color-white);
}

.services-table th,
.services-table td,
.price-comparison-table th,
.price-comparison-table td {
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.services-table th,
.price-comparison-table th {
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

/* Sección 5: Verde - Diferenciadores */
.section-differentiators,
.about-section,
.service-comparison,
.certifications-section,
.area-cards {
    background: var(--color-green);
    color: var(--color-white);
}

.section-differentiators h2,
.about-section h2,
.service-comparison h2,
.certifications-section h2,
.area-cards h2 {
    color: var(--color-navy);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Sección 6: Blanco - Testimonios */
.section-testimonials,
.testimonials,
.service-testimonials,
.testimonials-servicios,
.credibility-testimonials {
    background: var(--color-white);
    color: var(--color-dark-gray);
}

/* Sección 7: Rojo - CTA */
.section-cta,
.cta-section,
.service-cta,
.about-cta {
    background: var(--color-red);
    color: var(--color-white);
    padding: 100px 0;
}

/* FAQ Section - Sección Blanca */
.faq-section {
    background: var(--color-white) !important;
    color: var(--color-dark-gray);
    padding: 80px 0;
}

.section-cta h2,
.cta-section h2,
.service-cta h2,
.about-cta h2 {
    color: var(--color-navy);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.faq-section h2 {
    color: var(--color-green);
    text-shadow: none;
}

/* =========================
   HEADER Y FOOTER UNIFICADOS
   ========================= */
/* Header unificado */
.site-header,
header {
    background: var(--color-navy) !important;
    color: var(--color-white);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.site-header .container,
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.site-header .logo,
header .logo {
    color: var(--color-navy);
    font-family: var(--font-logo);
    font-size: 2rem;
    text-decoration: none;
}

.site-header .main-nav,
header .main-nav {
    display: flex;
    gap: 30px;
}

.site-header .main-nav a,
header .main-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.site-header .main-nav a:hover,
header .main-nav a:hover {
    color: var(--color-green);
}

.site-header .header-cta,
header .header-cta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.site-header .whatsapp-button,
header .whatsapp-button {
    background: var(--color-whatsapp);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.site-header .whatsapp-button:hover,
header .whatsapp-button:hover {
    background: #20b558;
    transform: translateY(-2px);
}

/* Footer unificado */
.site-footer,
footer {
    background: var(--color-navy) !important;
    color: var(--color-white);
    padding: 60px 0 0px;
}

/* Footer Logo */
.footer-logo {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 300px;
    height: auto;
    margin: 0 auto;
}

/* Footer Description */
.footer-description {
    text-align: center;
    margin-bottom: 40px;
}

.footer-description p {
    color: var(--color-white);
    font-size: 1.2rem;
    margin: 0;
}

/* Footer Columns */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer .footer-column,
footer .footer-column {
    color: var(--color-white);
    text-align: left;
}

.site-footer .footer-column h3,
footer .footer-column h3 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.site-footer .footer-column ul,
footer .footer-column ul {
    color: var(--color-white);
}

.site-footer .footer-column li,
footer .footer-column li {
    color: var(--color-white);
    margin-bottom: 8px;
}

.site-footer .footer-column a,
footer .footer-column a,
.footer-column a {
    color: var(--color-white) !important;
    text-decoration: none;
    transition: var(--transition);
}

.site-footer .footer-column a:hover,
footer .footer-column a:hover,
.footer-column a:hover {
    color: var(--color-red) !important;
}

/* Sección de redes sociales */
.footer-social-section {
    background: var(--color-navy);
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-social-section h3 {
    color: var(--color-white);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.footer-social-section p {
    color: var(--color-white) !important;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 24px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--color-red);
    transform: translateY(-3px);
}

.site-footer .footer-bottom,
footer .footer-bottom,
.footer-info .footer-bottom {
    background: var(--color-navy) !important;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.8);
}

.footer-info {
    background: var(--color-navy);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-dark-gray);
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--color-white);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* =========================
   TEXT SHADOW ESCALADO
   ========================= */
/* Títulos grandes mantienen delineado fuerte */
.hero h1, .page-title, .section-title {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* Títulos medianos - delineado reducido */
.hero h2, .hero h3, .feature-box h3 {
    text-shadow: -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000, 0.5px 0.5px 0 #000;
}

/* Texto normal - sombra suave */
.nav a, .btn, .feature-box p, .testimonial-content {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Texto pequeño - sombra mínima */
.footer-links, .footer-services, .cert-title, .media-filename {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

/* =========================
   HERO BUTTONS
   ========================= */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
    justify-content: center;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--color-red), var(--color-bright-red));
    color: var(--color-white);
    box-shadow: 0 5px 15px rgba(154, 29, 34, 0.3);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, var(--color-bright-red), var(--color-red));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(154, 29, 34, 0.4);
    color: var(--color-white);
}

.cta-button.secondary {
    background: linear-gradient(135deg, var(--color-whatsapp), #1da851);
    color: var(--color-white);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #1da851, #16873d);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    color: var(--color-white);
}

/* =========================
   CLASES UTILITARIAS
   ========================= */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-center {
    display: grid;
    place-items: center;
}

.grid-responsive {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    align-items: stretch;
}

.grid-responsive-small {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    align-items: stretch;
}

/* =========================
   FORMULARIOS
   ========================= */
.contact-form-optimized {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-optimized .form-group {
    width: 100%;
    margin-bottom: 20px;
}

.contact-form-optimized input,
.contact-form-optimized select,
.contact-form-optimized textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-light-gray);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--color-white);
    box-sizing: border-box;
    font-family: inherit;
}

.contact-form-optimized input:focus,
.contact-form-optimized select:focus,
.contact-form-optimized textarea:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(154, 29, 34, 0.1);
}

.contact-form-optimized textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* =========================
   TABLAS DE COMPARACIÓN
   ========================= */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.comparison-table th {
    background: var(--color-red);
    color: var(--color-white);
    font-weight: bold;
    padding: 15px 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 2px solid var(--color-bright-red);
}

.comparison-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--color-light-gray);
    text-align: center;
    vertical-align: middle;
    color: var(--color-navy);
}

.comparison-table tbody tr:hover {
    background-color: rgba(154, 29, 34, 0.05);
}

/* =========================
   TÍTULOS Y TIPOGRAFÍA
   ========================= */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--color-navy);
}

h2 {
    font-family: var(--font-logo);
    font-size: 2rem;
    letter-spacing: 1px;
    color: var(--color-navy);
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

h3 {
    font-family: var(--font-subtitle);
    font-size: 1.5rem;
    color: var(--color-red);
    display: inline-block;
    margin-bottom: 0.8rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

h4 {
    font-family: var(--font-subtitle);
    font-size: 1.25rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
    text-align: center;
    padding: 5px;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.section-title {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    letter-spacing: 1px;
    color: var(--color-navy);
    display: inline-block;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.mexican-title {
    color: var(--color-green);
    display: inline-block;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.footer a {
    color: var(--color-white);
}

/* Excepciones para títulos específicos */
.hero h1,
.hero h2,
.cta-section h2,
.footer-links h3,
.footer-services h3,
.footer-social h3,
.testimonial-author h4 {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--color-white);
    display: block;
    filter: none;
}

.testimonial-author h4 {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    color: var(--color-dark-gray);
    text-shadow: none;
}

.about-features h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.inline-logo {
    height: 2.5rem;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 0.3rem;
    margin-left: 5px;
    margin-right: 5px;
}

/* =========================
   BOTONES
   ========================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-subtitle);
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.1rem;
}

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

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

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

.btn-secondary:hover {
    background-color: #162b5a;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background-color: #1da851;
    border-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-button {
    background-color: #25D366;
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-button:hover {
    background-color: #1da851;
    color: var(--color-white);
}

.cta-button {
    display: inline-block;
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 15px 30px;
    border-radius: 30px;
    font-family: var(--font-subtitle);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(154, 29, 34, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #7a1a1c;
    transform: translateY(-2px);
    color: var(--color-white);
}

/* Badges de precio */
.price-badge {
    background: linear-gradient(135deg, var(--color-warning), #ff4500);
    color: var(--color-white);
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin: 15px 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: var(--transition);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    min-width: 120px;
    min-height: 50px;
    text-align: center;
}

.price-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.free-offer {
    background: linear-gradient(135deg, var(--color-success), #20c997);
    color: var(--color-white);
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin: 15px 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    animation: pulse-offer 3s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    min-width: 120px;
    text-align: center;
    font-size: 0.9rem;
}

@keyframes pulse-offer {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
}

.whatsapp-price {
    background: linear-gradient(135deg, var(--color-whatsapp), #1da851);
    color: var(--color-white);
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin: 15px 0;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    min-width: 120px;
    text-align: center;
    font-size: 0.9rem;
}

.whatsapp-price:hover {
    background: linear-gradient(135deg, #1da851, #16873d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: var(--color-white);
}

.whatsapp-price i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* =========================
   HEADER Y NAVEGACIÓN
   ========================= */
.header, .site-header {
    background-color: var(--color-navy);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.header .container, .site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 300px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.nav, .main-nav {
    display: flex;
    align-items: center;
}

.nav-menu, .main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu li, .main-nav li {
    position: relative;
    margin-left: 30px;
}

.nav-menu a, .main-nav a {
    font-family: var(--font-subtitle);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-white);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active,
.main-nav a:hover {
    color: var(--color-red);
}

.nav-menu a::after, .main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after,
.main-nav a:hover::after {
    width: 80%;
}

.nav-toggle, .menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger, .menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    position: relative;
    transition: var(--transition);
    margin: 6px 0;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-navy);
    min-width: 280px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: var(--color-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background-color: var(--color-red);
    color: var(--color-white);
}

.dropdown-menu li:first-child a {
    border-radius: 10px 10px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 10px 10px;
    border-bottom: none;
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0;
    color: var(--color-white);
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: block;
}

.hero-galeria {
    background-image: linear-gradient(rgba(14, 27, 49, 0.7), rgba(154, 29, 34, 0.7)), 
                      url('img/gallery-hero-bg.jpg');
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-white);
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-family: var(--font-subtitle);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--color-light-gray);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero .lead {
    margin-bottom: 40px;
    font-size: 1.4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    min-width: 140px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--color-gold);
    display: block;
    font-family: var(--font-logo);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.stat-label {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-top: 8px;
    font-weight: 600;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* =========================
   SECCIONES GENERALES
   ========================= */
.section {
    padding: 80px 0;
}

.section-description {
    font-size: 1.2rem;
    color: var(--color-dark-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.bg-light {
    background-color: var(--color-light-gray);
}

/* =========================
   SERVICES OVERVIEW
   ========================= */
.services-overview {
    padding: 80px 0;
    background-color: var(--color-light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
    gap: 25px;
    justify-content: center;
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-green), var(--color-red));
    transition: var(--transition);
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    margin-bottom: 25px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-light-gray), var(--color-medium-gray));
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-icon i {
    font-size: 36px;
    color: var(--color-red);
}

.service-card h3 {
    margin-bottom: 20px;
    text-shadow: none;
}

.service-card p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--color-green);
    text-shadow: none;
    text-align: center;
}

/* =========================
   ABOUT SECTION
   ========================= */
.about-section {
    padding: 80px 0;
    background: var(--color-red);
}

.about-section p {
    color: var(--color-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow-hover);
}

.about-features {
    margin: 40px 0;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--color-green);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: left;
}

.about-features li:hover {
    background: var(--color-green);
    transform: translateX(10px);
}

.about-features i {
    color: var(--color-red);
    font-size: 28px;
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.about-features h3 {
    margin-bottom: 8px;
}

/* =========================
   UNIQUE FEATURES
   ========================= */
.unique-features {
    background: var(--color-green);
    padding: 80px 0;
    color: var(--color-white);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.unique-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-green);
    opacity: 0.3;
}

.unique-features .container {
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
    align-items: stretch;
}

.feature-box {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
}

.feature-box h3 {
    color: var(--color-white);
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.feature-box p {
    color: var(--color-white);
    line-height: 1.6;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials {
    padding: 80px 0;
    background-color: var(--color-green);
}
.testimonials h2 {
    color: var(--color-white); 
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--box-shadow);
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-red);
    opacity: 0.2;
    font-family: serif;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.testimonial-content {
    margin-bottom: 25px;
    flex-grow: 1;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 3px solid var(--color-red);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.testimonial-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 2px solid var(--color-red);
    color: var(--color-red);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    transform: scale(1.1);
}

/* =========================
   LOCATION SECTION
   ========================= */
.location-section {
    padding: 80px 0;
    background: var(--color-white);
}

.location-content {
    display: flex;
    gap: 60px;
}

.location-map {
    flex: 1;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow-hover);
}

.location-info {
    flex: 1;
}

.location-distances {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.distance-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--color-light-gray), #fafafa);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.distance-item:hover {
    background: linear-gradient(135deg, #f0f0f0, var(--color-light-gray));
    transform: translateY(-3px);
}

.distance-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-red), var(--color-bright-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--color-white);
}

.distance-text h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--color-green);
}

.distance-text p {
    margin-bottom: 0;
    color: var(--color-red);
    font-weight: 600;
}

/* =========================
   GALERÍA
   ========================= */
.hero-galeria {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-galeria.jpg');
    background-position: center;
    background-size: cover;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

/* Filtros */
.filtros-galeria {
    background-color: var(--color-light-gray);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--color-red);
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-red);
    color: white;
}

/* Galería Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    background-color: var(--color-white);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(154, 29, 34, 0.9), 
        rgba(9, 109, 57, 0.9));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    padding: 20px;
}

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

.overlay span {
    font-family: var(--font-subtitle);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Video Items */
.video-item {
    border: 3px solid var(--color-red);
}

.video-link {
    position: relative;
}

.play-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: rgba(154, 29, 34, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 24px;
    transition: var(--transition);
    z-index: 2;
}

.video-item:hover .play-icon {
    background-color: var(--color-red);
    transform: scale(1.1);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.video-container iframe {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
}

/* Modales */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--color-white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-red);
    transform: scale(1.1);
}

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-navigation:hover {
    background-color: rgba(154, 29, 34, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    color: var(--color-white);
    text-align: center;
    font-size: 1.2rem;
    font-family: var(--font-subtitle);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--color-white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.video-modal-close:hover {
    color: var(--color-red);
    transform: scale(1.1);
}

/* =========================
   CTA SECTION
   ========================= */
.cta-section {
    background: var(--color-red);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-red);
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--color-white);
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    filter: none;
    display: block;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================
   FOOTER
   ========================= */
.footer, .site-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer .container {
    display: block;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--color-light-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-links,
.footer-services,
.footer-contact {
    text-align: center;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-family: var(--font-subtitle);
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--color-white);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    filter: none;
    display: block;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--color-red);
}

.footer-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--color-light-gray);
}

.footer-contact img {
    width: 18px;
    height: 18px;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

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

.social-media a:hover {
    background-color: var(--color-red);
    transform: translateY(-3px);
}

.social-media img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--color-light-gray);
}

/* Certificaciones */
.footer-certifications {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    padding-bottom: 40px;
    background: var(--color-navy);
}

.footer-certifications h3 {
    margin-bottom: 40px;
    font-size: 1.6rem;
    text-align: center;
}

.certification-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    width: 100%;
    justify-items: center;
    align-items: center;
}

.certification-logo {
    justify-content: center;
    display: flex;
    overflow: hidden;
    transition: var(--transition);
    height: 160px;
    width: 100%;
    max-width: 180px;
}

.certification-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.certification-logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 15px 10px;
    text-decoration: none;
}

.certification-logo img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 12px auto;
}

.cert-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    display: block;
    margin-top: auto;
    color: var(--color-white);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* =========================
   CONTACT FORMS
   ========================= */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    margin-bottom: 30px;
    text-align: center;
    font-family: var(--font-logo);
    font-size: 2.5rem;
    letter-spacing: 1px;
    background: linear-gradient(to right, var(--color-green) 33%, var(--color-medium-gray) 33%, var(--color-medium-gray) 66%, var(--color-red) 66%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-align: center;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section h3 {
    margin-bottom: 20px;
    font-family: var(--font-subtitle);
    font-size: 18px;
    font-family: var(--font-logo);
    letter-spacing: 1px;
    background: linear-gradient(to right, var(--color-green) 33%, var(--color-medium-gray) 33%, var(--color-medium-gray) 66%, var(--color-red) 66%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-align: center;
}

.form-row {
    margin-bottom: 15px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-family: var(--font-body);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: var(--font-body);
}

.form-control:focus {
    border-color: #096D39;
    outline: none;
}

.form-control.is-invalid {
    border-color: #BC2026;
}

.invalid-feedback {
    color: #BC2026;
    font-size: 13px;
    margin-top: 5px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary {
    background-color: #096D39;
    color: white;
}

.btn-primary:hover {
    background-color: #075a30;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* Contact Page Específico */
.contact-hero {
    background: linear-gradient(135deg, #0F1E3D 0%, #096D39 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.contact-hero .lead {
    font-size: 1.6rem;
    margin-bottom: 40px;
    font-style: italic;
}

.contact-quick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-option {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px 20px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.contact-option.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25D366;
}

.contact-option i {
    font-size: 2.5rem;
}

.option-content {
    text-align: left;
}

.option-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.option-content small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Info Visual */
.contact-info-visual {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-info-visual .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info-visual .contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
}

.contact-info-visual .contact-card:hover {
    border-color: #096D39;
    transform: translateY(-5px);
}

.contact-info-visual .contact-card i {
    font-size: 3rem;
    color: #096D39;
    margin-bottom: 20px;
}

.contact-info-visual .contact-card h3 {
    color: #0F1E3D;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-info-visual .contact-card p {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-link {
    color: #096D39;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    border: 2px solid #096D39;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #096D39;
    color: white;
}

/* =========================
   SERVICIOS ESPECÍFICOS
   ========================= */
/* Hero Servicios */
.hero-servicios {
    background: linear-gradient(135deg, #0F1E3D 0%, #096D39 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.hero-servicios h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-servicios .lead {
    font-size: 1.6rem;
    margin-bottom: 40px;
    font-style: italic;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Services Comparison */
.services-comparison {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0F1E3D;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #666;
}

.services-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-selector-button {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-selector-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #096D39;
}

.service-selector-button i {
    font-size: 3rem;
    color: #096D39;
    margin-bottom: 15px;
}

.service-selector-button h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #0F1E3D;
}

.service-selector-button p {
    color: #666;
    margin-bottom: 15px;
}

.service-selector-button .price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #BC2026;
    margin-bottom: 10px;
}

.service-selector-button .offer {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* =========================
   ESTADOS ACTIVOS
   ========================= */
.active {
    /* Estado activo general - se aplica específicamente según el contexto */
}

/* Activo en navegación */
.nav-menu .active {
    color: var(--color-red) !important;
}

/* Activo en filtros */
.filter-btn.active {
    background-color: var(--color-red) !important;
    color: var(--color-white) !important;
}

/* Activo en modales */
.gallery-modal.active,
.video-modal.active {
    display: flex !important;
}

/* =========================
   ANIMACIONES Y EFECTOS
   ========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Ocultar elementos filtrados */
.gallery-item.hidden {
    display: none;
}

/* Efectos de hover adicionales */
.feature-box:hover h3 {
    transform: scale(1.05);
}

.filter-btn:active {
    transform: translateY(-1px);
}

/* Loading states */
.gallery-item.loading {
    opacity: 0.5;
    pointer-events: none;
}

.gallery-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-light-gray);
    border-top: 3px solid var(--color-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content,
    .location-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-image,
    .location-map {
        order: -1;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 40px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .certification-logos {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
        row-gap: 20px;
    }
    
    .certification-logo {
        height: 140px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero .lead {
        font-size: 1.3rem;
    }
    
    .contact-info-visual .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .hero-servicios h1 {
        font-size: 2.5rem;
    }
    
    .hero-servicios .lead {
        font-size: 1.3rem;
    }
    
    .services-selector {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        justify-content: center;
        text-align: center;
    }
    
    .gallery-container {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nav-toggle, .menu-toggle {
        display: block;
    }
    
    .nav-menu, .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-navy);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        gap: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active, .main-nav.active {
        transform: translateY(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
    }
    
    .nav-menu li, .main-nav li {
        margin: 0 0 15px 0;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .modal-navigation {
        display: none;
    }
    
    .modal-close,
    .video-modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .certification-logos {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        row-gap: 15px;
    }
    
    .certification-logo {
        height: 130px;
    }
    
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .location-distances {
        grid-template-columns: 1fr;
    }
    
    .distance-item {
        padding: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-box {
        padding: 30px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero {
        padding: 80px 0 50px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero .lead {
        font-size: 1.1rem;
    }
    
    .contact-quick {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-option {
        padding: 20px 15px;
    }
    
    .contact-option i {
        font-size: 2rem;
    }
    
    .option-title {
        font-size: 1.1rem;
    }
    
    .contact-info-visual .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-info-visual .contact-card {
        padding: 30px 20px;
    }
    
    .hero-servicios {
        padding: 80px 0 50px;
    }
    
    .hero-servicios h1 {
        font-size: 2rem;
    }
    
    .hero-servicios .lead {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-selector {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-selector-button {
        padding: 25px 15px;
    }
    
    .service-selector-button .price {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .video-container iframe {
        height: 300px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .certification-logos {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        row-gap: 15px;
    }
    
    .certification-logo {
        height: 120px;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .certification-logo img {
        max-height: 70px;
    }
    
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-hero .lead {
        font-size: 1rem;
    }
    
    .contact-option {
        padding: 15px;
    }
    
    .contact-option i {
        font-size: 1.8rem;
    }
    
    .option-title {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .contact-form-container h2 {
        font-size: 1.8rem;
    }
    
    .contact-info-visual .contact-card {
        padding: 30px 20px;
    }
    
    .hero-servicios h1 {
        font-size: 1.8rem;
    }
    
    .hero-servicios .lead {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-selector-button {
        padding: 20px 15px;
    }
    
    .service-selector-button .price {
        font-size: 1.6rem;
    }
}

/* =========================
   ACCESIBILIDAD
   ========================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .pulse-offer {
        animation: none;
    }
}

/* Focus states para accesibilidad */
.cta-button:focus,
.btn:focus,
.whatsapp-price:focus {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .whatsapp-cta,
    .cta-section,
    .header-cta {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1,
    h2,
    h3 {
        page-break-after: avoid;
    }
}
 .nav-menu a::after, .main-nav a::after {
  content: '';
  position: absolute;
  top: 50%;                              /* Cambiar de bottom: -5px a top: 50% */
  left: 50%;
  transform: translate(-50%, -50%);      /* Centrar tanto horizontal como verticalmente */
  width: 0;
  height: 2px;
  background-color: var(--color-red);
  transition: var(--transition);
}
.site-header .main-nav a, header .main-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: flex;              /* Activa flexbox */
  align-items: center;        /* Centra verticalmente */
  justify-content: center;    /* Centra horizontalmente (opcional) */
  height: 100%;              /* Usa toda la altura disponible del padre */
}