* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos para el carrusel hero y animaciones GSAP */
@keyframes carouselZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes revealText {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes parallaxMove {
    0% { transform: translateY(100px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

:root {
    /* Colores Primarios */
    --primary: #E8B73D;          /* Amarillo - Pintura */
    --secondary: #0066CC;        /* Azul - Profesionalismo */
    --accent: #D32F2F;           /* Rojo - Energía */
    --dark: #1A1A1A;             /* Negro */
    --light: #FFFFFF;            /* Blanco */
    
    /* Colores Secundarios */
    --bg-light: #F5F5F5;
    --bg-subtle: #FAFAFA;
    --text-muted: #666666;
    --border-color: #E0E0E0;
    
    /* Tipografía */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 50px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 70px;
}

/* ====== NAVBAR CON GLASSMORPHISM ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem var(--spacing-md);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo-brand:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex: 1;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::before {
    width: 100%;
}

.language-selector {
    display: flex;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--light);
    font-weight: 700;
    font-size: 0.85rem;
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary);
    color: var(--dark);
}

.lang-btn:hover {
    background: rgba(232, 183, 61, 0.2);
}

/* ====== HERO CAROUSEL ====== */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.65) 0%, rgba(232, 183, 61, 0.15) 100%);
    z-index: 2;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 90%;
    max-width: 800px;
    color: var(--light);
}

.carousel-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(40px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.carousel-title.reveal {
    animation: revealText 0.9s ease-out forwards;
}

.carousel-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(40px);
}

.carousel-subtitle.reveal {
    animation: revealText 0.9s ease-out forwards 0.2s;
}

.carousel-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.carousel-stats .stat-box {
    opacity: 0;
    transform: scale(0.8);
}

.carousel-stats .stat-box.reveal {
    animation: scaleIn 0.6s ease-out forwards 0.4s;
}

@keyframes scaleIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 4;
}

.carousel-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--light);
    background: transparent;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    transform: scale(1.15);
}

.carousel-btn.prev::before {
    content: '←';
}

.carousel-btn.next::before {
    content: '→';
}

.carousel-dots {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 35px;
    border-radius: 7px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* ====== SECTION STYLING ====== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== GALERÍA MASONRY ====== */
.galeria {
    padding: 60px 20px;
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    aspect-ratio: 1;
    opacity: 0;
    transform: translateY(50px);
}

.gallery-item.stagger {
    animation: parallaxMove 0.7s ease-out forwards;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 183, 61, 0.85), rgba(0, 102, 204, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: var(--light);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ====== REELS (VIDEOS VERTICALES) ====== */
.reels {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(232, 183, 61, 0.08) 100%);
}

.reels-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    max-width: 1400px;
    margin: 0 auto;
}

.reels-container::-webkit-scrollbar {
    height: 8px;
}

.reels-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

.reels-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.reel-item {
    flex: 0 0 280px;
    aspect-ratio: 9 / 16;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    scroll-snap-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: var(--dark);
    transition: transform 0.3s ease;
}

.reel-item:hover {
    transform: scale(1.02);
}

.reel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    color: var(--light);
    padding: 2.5rem 1rem 1.5rem;
}

.reel-info h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ====== TIMELINE INTERACTIVO ====== */
.historia {
    padding: 60px 20px;
    background: var(--light);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.timeline-item.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.timeline-item:nth-child(1).animate { animation-delay: 0.1s; }
.timeline-item:nth-child(2).animate { animation-delay: 0.2s; }
.timeline-item:nth-child(3).animate { animation-delay: 0.3s; }
.timeline-item:nth-child(4).animate { animation-delay: 0.4s; }

.timeline-item:nth-child(odd) {
    text-align: right;
    padding-right: 52%;
}

.timeline-item:nth-child(even) {
    text-align: left;
    padding-left: 52%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--dark);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 20px rgba(232, 183, 61, 0.5), 0 0 0 4px var(--dark);
}

.timeline-content {
    background: rgba(232, 183, 61, 0.08);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(232, 183, 61, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ====== MISIÓN Y VISIÓN ====== */
.mision {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(232, 183, 61, 0.08) 100%);
    perspective: 1000px;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card {
    background: var(--light);
    padding: 40px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform-style: preserve-3d;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(232, 183, 61, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

.mission-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 15%);
    border-color: var(--primary);
}

.mission-card:hover::before {
    opacity: 1;
    top: -50%;
    left: -50%;
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.4s ease;
}

.mission-card:hover .card-icon {
    transform: scale(1.25) rotateY(360deg);
    animation: spin3d 0.7s ease;
}

@keyframes spin3d {
    0% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.15); }
    100% { transform: rotateY(360deg) scale(1.25); }
}

.mission-card h3 {
    color: var(--secondary);
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.mission-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 400;
}

/* ====== SERVICIOS ====== */
.servicios {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: var(--light);
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-subtle);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    background: var(--light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-card:hover .service-icon {
    animation: none;
    transform: scale(1.2);
}

.service-card h3 {
    color: var(--dark);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ====== UBICACIÓN ====== */
.ubicacion {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: var(--light);
    max-width: 1400px;
    margin: 0 auto;
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.location-info {
    padding: 1rem;
}

.location-info h3 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.location-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.location-info a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.location-info a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ====== CTA FINAL ====== */
.cta-final {
    padding: 3rem var(--spacing-md);
    background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
    color: var(--light);
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.cta-final h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 183, 61, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* ====== FOOTER ====== */
.footer {
    background: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 2rem var(--spacing-md);
    border-top: 3px solid var(--primary);
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.85;
}

/* ====== MOBILE RESPONSIVE ====== */
/* ====== MOBILE RESPONSIVE ====== */

@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .carousel-content {
        width: 95%;
    }

    .carousel-title {
        font-size: 2.5rem;
    }

    .carousel-controls {
        bottom: 30px;
        gap: 1rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .mission-card:hover {
        transform: translateY(-12px) rotateX(3deg);
    }
}

@media (max-width: 768px) {
    body {
        margin-top: 0;
    }

    .navbar {
        padding: 0.8rem 1rem;
    }

    .navbar-content {
        gap: 1rem;
    }

    .nav-toggle {
        display: flex !important;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        padding: 1.5rem 1rem;
        gap: 1rem;
        border-bottom: 2px solid rgba(232, 183, 61, 0.3);
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        display: flex !important;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .language-selector {
        order: -1;
        gap: 0.3rem;
    }

    .lang-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }

    /* Hero Carousel */
    .hero-carousel {
        margin-top: 60px;
        height: 80vh;
        min-height: 500px;
    }

    .carousel-content {
        width: 95%;
    }

    .carousel-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .carousel-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .carousel-stats {
        gap: 1rem;
    }

    .stat-box {
        padding: 1rem 0.8rem;
        background: rgba(255, 255, 255, 0.08);
        flex: 1;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .carousel-controls {
        bottom: 25px;
        gap: 1rem;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .carousel-dots {
        bottom: 95px;
        gap: 0.6rem;
    }

    .carousel-dot {
        width: 11px;
        height: 11px;
    }

    .carousel-dot.active {
        width: 28px;
    }

    /* Galería */
    .galeria {
        padding: 40px 15px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    /* Reels */
    .reels {
        padding: 40px 15px;
    }

    .reels-container {
        gap: 12px;
        padding: 15px 0;
    }

    .reel-item {
        flex: 0 0 200px;
        aspect-ratio: 9/16;
    }

    /* Timeline */
    .historia {
        padding: 40px 15px;
    }

    .timeline {
        padding: 20px 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        margin-bottom: 30px;
        padding: 15px;
        padding-left: 60px;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        text-align: left;
        padding-left: 60px;
        padding-right: 15px;
    }

    .timeline-dot {
        left: 12px;
        top: 20px;
        width: 18px;
        height: 18px;
        border-width: 3px;
    }

    .timeline-content {
        padding: 15px;
        border-left: 4px solid var(--primary);
        font-size: 0.9rem;
    }

    .timeline-year {
        font-size: 1.3rem;
    }

    /* Misión */
    .mision {
        padding: 40px 15px;
    }

    .mission-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mission-card {
        padding: 25px 20px;
    }

    .mission-card:hover {
        transform: translateY(-8px) rotateX(2deg);
    }

    .card-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .mission-card h3 {
        font-size: 1.2rem;
    }

    .mission-card p {
        font-size: 0.9rem;
    }

    /* Servicios */
    .servicios {
        padding: 40px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    /* Ubicación */
    .ubicacion {
        padding: 40px 15px;
    }

    .location-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .map-container {
        height: 300px;
    }

    .location-info {
        padding: 0;
    }

    .location-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    /* CTA Final */
    .cta-final {
        padding: 50px 15px;
    }

    .cta-final h2 {
        font-size: 1.6rem;
    }

    .cta-final p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.7rem 0.8rem;
    }

    .navbar-content {
        gap: 0.5rem;
    }

    .logo-img {
        width: 30px;
        height: 30px;
    }

    .logo-text {
        font-size: 0.95rem;
        display: none;
    }

    .nav-menu {
        top: 60px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    /* Hero */
    .hero-carousel {
        margin-top: 55px;
        height: 70vh;
        min-height: 400px;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .carousel-stats {
        gap: 0.8rem;
        margin-top: 1rem;
    }

    .stat-box {
        padding: 0.8rem 0.6rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .carousel-controls {
        bottom: 20px;
        gap: 0.8rem;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .carousel-dots {
        bottom: 80px;
        gap: 0.4rem;
    }

    .carousel-dot {
        width: 9px;
        height: 9px;
    }

    .carousel-dot.active {
        width: 22px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }

    .reel-item {
        flex: 0 0 160px;
    }

    /* Timeline */
    .timeline-item {
        padding-left: 50px;
        margin-bottom: 25px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: 7px;
    }

    .timeline-year {
        font-size: 1.2rem;
    }

    .timeline-content {
        padding: 12px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .mission-card {
        padding: 20px 15px;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .mission-card h3 {
        font-size: 1.1rem;
    }

    .mission-card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .cta-final h2 {
        font-size: 1.3rem;
    }

    .cta-final p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}
