/* Variables de color */
:root {
    --gold-primary: #E8B763;
    --gold-light: #F5D48D;
    --gold-dark: #C89F4A;
    --bronze: #9D7B3A;
    --dark-brown: #1a1410;
    --cream: #FAF4E8;
    --text-gold: #E8B763;
    --bg-dark: #0a0908;
    --bg-darker: #000000;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-dark);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navegación */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    background: rgba(15, 12, 8, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 165, 116, 0.3);
    transition: padding 0.3s ease, background 0.3s ease;
}

nav.scrolled {
    padding: 0.8rem 5%;
    background: rgba(15, 12, 8, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(212, 165, 116, 0.3));
    object-fit: contain;
    background: var(--bg-darker);
    padding: 4px;
}

nav.scrolled .nav-logo {
    width: 55px;
    height: 55px;
}

.nav-logo:hover {
    transform: rotate(360deg);
    border-color: var(--gold-light);
    filter: drop-shadow(0 4px 12px rgba(212, 165, 116, 0.5));
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

nav.scrolled .logo {
    font-size: 1.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold-primary);
}

/* Header / Hero */
header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--dark-brown) 50%, var(--bg-darker) 100%);
}

.sound-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.08;
    z-index: 1;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.wave:nth-child(2) {
    animation-delay: 1s;
    border-color: var(--gold-light);
}

.wave:nth-child(3) {
    animation-delay: 2s;
    border-color: var(--bronze);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.logo-container {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.logo-container img {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 10px 30px rgba(212, 165, 116, 0.4));
    animation: float 3s ease-in-out infinite;
    object-fit: contain;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--bronze) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    animation: fadeInUp 1.2s ease-out 0.2s backwards;
    font-weight: 700;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    animation: fadeInUp 1.2s ease-out 0.4s backwards;
    color: var(--gold-light);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--bg-darker);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--gold-primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 25px rgba(212, 165, 116, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(212, 165, 116, 0.5);
    border-color: var(--gold-light);
}

/* Secciones */
section {
    padding: 8rem 5%;
    position: relative;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    color: var(--gold-primary);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--bronze));
}

/* Quiénes Somos */
#nosotros {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--dark-brown) 100%);
}

.nosotros-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.nosotros-content {
    max-width: 900px;
}

.nosotros-text {
    color: var(--cream);
    line-height: 1.9;
}

.nosotros-text p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.intro-text {
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    color: var(--gold-light);
    margin-bottom: 2.5rem !important;
    line-height: 1.7;
}

.intro-text strong {
    color: var(--gold-primary);
    font-weight: 600;
}

.nosotros-video {
    position: sticky;
    top: 120px;
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 10px 40px rgba(232, 183, 99, 0.4);
    transition: all 0.4s ease;
    background: var(--bg-darker);
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(232, 183, 99, 0.6);
    border-color: var(--gold-light);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Servicios */
#servicios {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--dark-brown) 100%);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.servicio-card {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05), rgba(139, 111, 71, 0.05));
    padding: 3rem 2rem;
    border: 1px solid rgba(212, 165, 116, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.2);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(139, 111, 71, 0.1));
}

.servicio-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.servicio-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--gold-light);
    font-weight: 600;
}

.servicio-card p {
    font-weight: 300;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.85);
}

/* Equipamiento */
#equipamiento {
    background: var(--bg-dark);
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.equipo-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(139, 111, 71, 0.08));
    border: 1px solid rgba(212, 165, 116, 0.25);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.equipo-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.equipo-item:hover::before {
    opacity: 1;
}

.equipo-item:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 35px rgba(212, 165, 116, 0.25);
}

.equipo-item h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
    color: var(--gold-primary);
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.equipo-item p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gold-light);
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Experiencia */
#experiencia {
    background: linear-gradient(180deg, var(--dark-brown) 0%, var(--bg-darker) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
    text-align: center;
}

.stat-item {
    position: relative;
    padding: 2rem;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--bronze));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--gold-light);
}

/* Referencias - Galería de Videos */
#referencias {
    background: var(--bg-darker);
    padding: 8rem 5%;
}

.referencias-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 4rem;
    font-style: italic;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-card {
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 3px solid rgba(232, 183, 99, 0.4);
    background: linear-gradient(135deg, rgba(232, 183, 99, 0.1), rgba(157, 123, 58, 0.1));
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 40px rgba(232, 183, 99, 0.5);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-darker);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-darker);
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(232, 183, 99, 0.5);
}

.video-card:hover .play-button {
    transform: scale(1.2);
    box-shadow: 0 8px 35px rgba(232, 183, 99, 0.7);
}

.video-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold-light);
    padding: 1.5rem;
    text-align: center;
    letter-spacing: 0.05em;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal de Video */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.video-modal-content {
    position: relative;
    width: 85%;
    max-width: 900px;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--gold-primary);
    color: var(--bg-darker);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
    z-index: 10001;
}

.close-modal:hover {
    background: var(--gold-light);
    transform: rotate(90deg) scale(1.1);
}

.video-modal video {
    width: 100%;
    max-height: 70vh;
    border: 3px solid var(--gold-primary);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(232, 183, 99, 0.5);
    background: var(--bg-darker);
}

/* Contacto */
#contacto {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--dark-brown) 100%);
}

.contacto-content {
    max-width: 900px;
    margin: 4rem auto 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    justify-items: center;
}

.contacto-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(232, 183, 99, 0.15), rgba(157, 123, 58, 0.15));
    border: 2px solid rgba(232, 183, 99, 0.5);
    transition: all 0.3s ease;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.contacto-item:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(232, 183, 99, 0.4);
    background: linear-gradient(135deg, rgba(232, 183, 99, 0.25), rgba(157, 123, 58, 0.25));
}

.contacto-item h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.contacto-item p, 
.contacto-item a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: 0.95rem;
}

.contacto-item a:hover {
    color: var(--gold-light);
}

.redes-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold-primary);
    text-align: center;
    margin: 4rem 0 2rem;
    letter-spacing: 0.08em;
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.red-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(232, 183, 99, 0.1), rgba(157, 123, 58, 0.1));
    border: 2px solid var(--gold-primary);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.4s ease;
    min-width: 140px;
}

.red-social:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(232, 183, 99, 0.4);
    border-color: var(--gold-light);
}

.red-social .icon {
    font-size: 3rem;
}

.red-social .name {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    letter-spacing: 0.05em;
}

.red-social.instagram:hover {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(193, 53, 132, 0.2));
}

.red-social.facebook:hover {
    background: linear-gradient(135deg, rgba(66, 103, 178, 0.2), rgba(59, 89, 152, 0.2));
}

.red-social.youtube:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(204, 0, 0, 0.2));
}

.contacto-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
footer {
    background: rgba(15, 12, 8, 0.98);
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(212, 165, 116, 0.3);
}

footer p {
    font-weight: 300;
    opacity: 0.7;
    letter-spacing: 0.05em;
    color: var(--gold-light);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    color: var(--bg-darker);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.4);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 95px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: 2px solid #25D366;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 35px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .logo-nav {
        gap: 0.6rem;
    }

    .nav-logo {
        width: 40px;
        height: 40px;
    }

    .logo {
        font-size: 1.3rem;
    }

    nav.scrolled .nav-logo {
        width: 35px;
        height: 35px;
    }

    nav.scrolled .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 12, 8, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 400px;
        border-bottom: 1px solid rgba(212, 165, 116, 0.3);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 5%;
    }

    .nav-links a::after {
        display: none;
    }

    section {
        padding: 5rem 5%;
    }

    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nosotros-video {
        position: relative;
        top: 0;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
    }

    .video-thumbnail {
        height: 220px;
    }

    .video-modal-content {
        width: 90%;
        max-width: 700px;
    }

    .video-modal video {
        max-height: 60vh;
    }

    .close-modal {
        top: -45px;
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .redes-sociales {
        gap: 1.5rem;
    }

    .red-social {
        min-width: 120px;
        padding: 1.2rem 1.5rem;
    }

    .servicios-grid,
    .equipo-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: 3rem;
    }

    .logo-container img {
        width: 150px;
        height: 150px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo-nav {
        gap: 0.5rem;
    }

    .nav-logo {
        width: 55px;
        height: 55px;
    }

    .logo {
        font-size: 1.4rem;
    }

    nav.scrolled .nav-logo {
        width: 45px;
        height: 45px;
    }

    nav.scrolled .logo {
        font-size: 1.2rem;
    }

    nav.scrolled .logo {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .logo-container img {
        width: 120px;
        height: 120px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-thumbnail {
        height: 200px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .video-title {
        font-size: 1rem;
        padding: 1rem;
        min-height: 60px;
    }

    .close-modal {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .video-modal-content {
        width: 95%;
        max-width: 100%;
    }

    .video-modal video {
        max-height: 50vh;
        border-width: 2px;
    }

    .redes-sociales {
        flex-direction: column;
        align-items: center;
    }

    .red-social {
        width: 100%;
        max-width: 250px;
    }
}