/* ===========================================
   CAMPI PRODUCCIONES — PREMIUM REDESIGN v2
   =========================================== */

/* 1. VARIABLES */
:root {
    --primary: #d2284e;
    --primary-glow: rgba(210, 40, 78, 0.4);
    --primary-dark: #a81f3d;
    --dark: #000000;
    --dark-text: #1A1A1A;
    --light: #FFFFFF;
    --gray: #555555;
    --font-title: 'Bebas Neue', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: all 0.4s var(--ease-out-expo);
    --transition-slow: all 0.7s var(--ease-out-expo);
    --header-height: 80px;
}

/* 2. KEYFRAMES */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}
@keyframes glowDot {
    0%, 100% { text-shadow: 0 0 8px var(--primary-glow), 0 0 20px var(--primary-glow); }
    50% { text-shadow: 0 0 16px var(--primary), 0 0 40px var(--primary-glow); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes heroTextReveal {
    from { opacity: 0; transform: translateY(30px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes lineGrow {
    from { width: 0; }
    to { width: 60px; }
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@keyframes spinLoader {
    to { transform: rotate(360deg); }
}
@keyframes preloaderFade {
    to { opacity: 0; visibility: hidden; }
}

/* 3. SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* 4. BASE */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    margin: 0; padding: 0;
    color: var(--dark-text);
    line-height: 1.7;
    background-color: var(--light);
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

section[id] {
    scroll-margin-top: var(--header-height);
}

h1, h2, h3, .section-title {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    font-weight: normal;
    line-height: 0.9;
}
.section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; color: var(--primary); line-height: 1.1; }
.section-subtitle {
    font-family: var(--font-body); font-size: 1.1rem; color: var(--gray);
    max-width: 800px; margin: 0 auto 3rem auto;
}

/* 5. PRELOADER */
.preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--light);
    z-index: 9999;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 24px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-logo {
    height: 60px; width: auto;
}
.preloader-spinner {
    width: 32px; height: 32px;
    border: 3px solid #eee;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
}

/* 6. BUTTONS */
.btn {
    background: var(--primary); color: white; padding: 15px 40px;
    text-decoration: none; font-weight: 600; font-size: 1.1rem;
    transition: var(--transition-smooth); text-transform: uppercase;
    letter-spacing: 1.5px; display: inline-block; border: 2px solid var(--primary);
    font-family: var(--font-title); cursor: pointer;
    position: relative; overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s var(--ease-out-expo);
}
.btn:hover::after { left: 100%; }
.btn:hover { background: transparent; color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(210,40,78,0.3); }

.btn-outline { background: transparent; color: var(--light); border: 2px solid var(--light); }
.btn-outline::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); }
.btn-outline:hover { background: var(--light); color: var(--dark-text); box-shadow: 0 8px 25px rgba(255,255,255,0.2); }
.btn-pill { border-radius: 50px; }

/* 7. HEADER — GLASSMORPHISM */
header {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-text); padding: 1rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(238,238,238,0.5);
    transition: var(--transition-smooth);
    backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
    height: var(--header-height);
    box-sizing: border-box;
}
header.header-scrolled {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0.7rem 5%;
}
.header-logo { height: 60px; width: auto; display: block; transition: var(--transition-smooth); }
header.header-scrolled .header-logo { height: 45px; }

nav#main-nav { display: flex; justify-content: flex-end; align-items: center; width: 100%; }
nav#main-nav a {
    font-family: var(--font-title); font-size: 1.3rem; letter-spacing: 1px;
    color: var(--dark-text); text-decoration: none; text-transform: uppercase;
    transition: var(--transition-smooth); position: relative;
}
nav#main-nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--primary);
    transition: width 0.4s var(--ease-out-expo);
}
nav#main-nav a:hover { color: var(--primary); }
nav#main-nav a:hover::after { width: 100%; }
nav#main-nav a.active { color: var(--primary); }
nav#main-nav a.active::after { width: 100%; }
.nav-separator { color: var(--primary); margin: 0 12px; font-size: 1.2rem; transition: var(--transition-smooth); }

/* 8. HAMBURGER BUTTON (mobile only) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none; border: none;
    cursor: pointer; z-index: 1100;
    padding: 8px;
    position: relative;
}
.hamburger-line {
    display: block;
    width: 24px; height: 2px;
    background: var(--dark-text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease, background 0.3s ease;
}
.nav-toggle.nav-open .hamburger-line {
    background: var(--light);
}
.nav-toggle.nav-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.nav-open .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.nav-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Header when mobile nav is open */
header.nav-active {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
header.nav-active .header-logo {
    opacity: 0;
    pointer-events: none;
}

/* 9. MOBILE NAV OVERLAY (side panel) */
.mobile-nav-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 65%;
    max-width: 320px;
    background: rgba(10, 10, 10, 0.97);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-expo);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}
.mobile-nav-overlay.overlay-active {
    transform: translateX(0);
}
.mobile-nav-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-nav-backdrop.backdrop-active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.mobile-nav a {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo), color 0.3s ease;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--primary); }
.overlay-active .mobile-nav a {
    opacity: 1;
    transform: translateX(0);
}
.overlay-active .mobile-nav a:nth-child(1) { transition-delay: 0.05s; }
.overlay-active .mobile-nav a:nth-child(2) { transition-delay: 0.1s; }
.overlay-active .mobile-nav a:nth-child(3) { transition-delay: 0.15s; }
.overlay-active .mobile-nav a:nth-child(4) { transition-delay: 0.2s; }
.overlay-active .mobile-nav a:nth-child(5) { transition-delay: 0.25s; }
.overlay-active .mobile-nav a:nth-child(6) { transition-delay: 0.3s; }

/* 10. HERO */
.hero {
    position: relative; height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center; color: white;
    padding: 0 20px; overflow: hidden;
}
.hero video {
    position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
    width: auto; height: auto; transform: translateX(-50%) translateY(-50%);
    z-index: -2; object-fit: cover;
    background-color: #1a1a1a;
    background-image: url('assets/img/poster-hero.png');
    background-size: cover; background-position: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
}
.hero h1 {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    margin-bottom: 20px; color: var(--light); line-height: 1;
    animation: heroTextReveal 1s var(--ease-out-expo) 0.3s both;
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero h1 .dot-glow { animation: glowDot 2.5s ease-in-out infinite; }
.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    max-width: 700px; margin-bottom: 50px; color: #EEEEEE;
    animation: heroTextReveal 1s var(--ease-out-expo) 0.6s both;
    font-weight: 300;
    text-shadow: 0 1px 20px rgba(0,0,0,0.4);
}
.hero-buttons {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
    animation: heroTextReveal 1s var(--ease-out-expo) 0.9s both;
}

.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    animation: heroTextReveal 1s var(--ease-out-expo) 1.5s both, float 2s ease-in-out 2.5s infinite;
}
.scroll-indicator svg { width: 28px; height: 28px; stroke: rgba(255,255,255,0.6); fill: none; stroke-width: 2; }

/* 11. NOSOTROS */
.propuesta {
    background-image: url('assets/img/nosotros.jpg');
    background-size: cover; background-position: center;
    position: relative; z-index: 1; padding: 7rem 5%;
    display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}
.propuesta::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 60%);
    z-index: -1;
}
.propuesta .section-title {
    color: var(--light); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; margin-bottom: 2rem;
    text-align: right; width: 100%;
}
.propuesta p {
    font-family: var(--font-body); color: #EEEEEE; font-size: 1.2rem;
    max-width: 700px; margin: 0; text-align: right; font-weight: 300;
}

/* 12. SERVICIOS */
.servicios { background: var(--primary); padding: 7rem 5%; }
.servicios .section-title { color: var(--light); font-size: clamp(2.5rem, 6vw, 4.5rem); text-align: center; margin-bottom: 3rem; }
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

.servicio-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 40px 30px; text-align: center; border-radius: 20px;
    transition: var(--transition-slow);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    position: relative; overflow: hidden;
}
.servicio-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.5s ease;
}
.servicio-card:hover {
    transform: translateY(-10px);
    background: var(--light);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 30px var(--primary-glow);
    border-color: transparent;
}
.servicio-card:hover::before { opacity: 1; }


.icon-container { margin-bottom: 20px; text-align: center; }
.icon-container svg {
    width: 45px; height: 45px;
    stroke: var(--light); fill: none;
    transition: var(--transition-smooth);
}
.servicio-card:hover .icon-container svg {
    stroke: var(--primary);
    transform: scale(1.15);
}
.servicio-card h3 { font-size: 2.2rem; margin-bottom: 15px; color: var(--light); transition: var(--transition-smooth); }
.servicio-card p { font-size: 1rem; color: rgba(255,255,255,0.85); margin: 0; transition: var(--transition-smooth); font-weight: 300; }
.servicio-card:hover h3 { color: var(--primary); }
.servicio-card:hover p { color: var(--dark-text); }

/* 13. MARCAS — CAROUSEL */
.clientes { background: var(--light); padding: 6rem 5%; text-align: center; overflow: hidden; }
.clientes h2 { font-size: clamp(2.2rem, 5vw, 5rem); color: var(--dark-text); margin-bottom: 3rem; line-height: 0.9; }

.carousel-track {
    display: flex;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.carousel-inner {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 20px 30px;
    animation: marquee 35s linear infinite;
    flex-shrink: 0;
}
.carousel-track:hover .carousel-inner {
    animation-play-state: paused;
}

.client-logo {
    height: 60px; width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) opacity(60%);
    transition: var(--transition-smooth);
}
.client-logo:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}

/* 14. EVENTOS / INSTAGRAM */
.eventos { background: var(--dark); padding: 6rem 5%; text-align: center; }
.eventos .section-title { color: var(--light); margin-bottom: 0.5rem; font-size: clamp(2rem, 5vw, 3.5rem); }
.eventos p {
    color: rgba(255,255,255,0.8); max-width: 650px;
    margin: 0 auto 3rem auto;
    text-align: justify; text-align-last: center;
    font-weight: 300;
}

/* 15. MANIFIESTO */
.manifiesto {
    position: relative; padding: 12rem 5%;
    background-image: url('assets/img/plumas.jpg');
    background-size: 180%; background-position: top right;
    background-attachment: fixed;
    text-align: center; overflow: hidden;
    display: flex; flex-direction: column; align-items: center;
}
.manifiesto::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(60, 0, 12, 0.7); z-index: 0;
}
.manifiesto h2 {
    font-size: clamp(2.8rem, 7vw, 6rem); color: var(--light); margin-bottom: 20px;
    position: relative; z-index: 1; line-height: 0.95;
    max-width: 100%;
}
.manifiesto p {
    font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 750px; margin: 0 auto;
    color: #EEEEEE; position: relative; z-index: 1;
    text-align: center; font-weight: 300;
}

/* 16. CONTACTO */
.contacto { background: var(--primary); color: var(--light); text-align: center; padding: 7rem 5%; }
.contacto .section-title { color: var(--light); font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 50px; }

.form-container {
    max-width: 650px; margin: 0 auto; background: var(--light);
    padding: 50px; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.form-container input, .form-container textarea {
    width: 100%; padding: 15px; margin-bottom: 20px;
    border: 2px solid #eee; border-radius: 10px;
    box-sizing: border-box; font-family: var(--font-body);
    font-size: 1rem; color: var(--dark-text);
    transition: var(--transition-smooth);
    outline: none;
}
.form-container input:focus, .form-container textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.form-container .btn-submit {
    width: 100%; border: none; cursor: pointer;
    background: var(--dark-text); color: white; text-transform: uppercase;
    padding: 15px; font-family: var(--font-title); font-size: 1.5rem;
    letter-spacing: 1px; transition: var(--transition-smooth);
    border-radius: 10px; position: relative; overflow: hidden;
}
.form-container .btn-submit::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s var(--ease-out-expo);
}
.form-container .btn-submit:hover { background: var(--dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
.form-container .btn-submit:hover::after { left: 100%; }

/* 17. FOOTER */
footer {
    background: var(--dark); color: var(--gray); padding: 4rem 5% 2rem;
    text-align: center; font-size: 0.9rem;
}
.footer-content {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.footer-logo { height: 50px; width: auto; opacity: 0.9; transition: var(--transition-smooth); }
.footer-logo:hover { opacity: 1; }

.footer-nav {
    display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
}
.footer-nav a {
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}
.footer-nav a:hover { color: var(--primary); }

.footer-contact-info {
    display: flex; gap: 30px; align-items: center; flex-wrap: wrap; justify-content: center;
}
.footer-social a {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.6); text-decoration: none;
    transition: var(--transition-smooth); font-weight: 400;
}
.footer-social a:hover { color: var(--light); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-links a {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.5); text-decoration: none;
    transition: var(--transition-smooth); font-weight: 400;
}
.footer-links a:hover { color: var(--primary); }
.footer-links svg { flex-shrink: 0; stroke: currentColor; }
.footer-divider { width: 60px; height: 1px; background: rgba(255,255,255,0.15); margin: 5px 0; }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-copy a { color: var(--primary); text-decoration: none; }

/* Section divider line */
.section-line {
    width: 60px; height: 3px; background: var(--primary); margin: 0 auto 2rem;
    border-radius: 2px;
}

/* 18. WHATSAPP */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px;
    background-color: #25d366; color: #FFF; border-radius: 50%;
    text-align: center; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.4s var(--ease-out-back);
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.whatsapp-float:hover { transform: scale(1.15); }
.whatsapp-icon { width: 35px; height: 35px; }

/* 19. SOUND BUTTON */
.btn-sound {
    position: absolute; bottom: 30px; right: 30px;
    background: rgba(0, 0, 0, 0.3); color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 45px; height: 45px; border-radius: 50%;
    cursor: pointer; z-index: 10; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-smooth); padding: 0;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-sound:hover { background: rgba(0, 0, 0, 0.7); border-color: var(--light); transform: scale(1.1); }

/* 20. RESPONSIVE */
@media (max-width: 768px) {
    :root { --header-height: 60px; }

    .hero {
        height: auto; min-height: 100vh; padding: 120px 20px 80px 20px;
    }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .hero-buttons .btn { padding: 16px 30px; font-size: 1rem; }

    header { padding: 10px 5%; }
    .header-logo { height: 30px; margin-right: 15px; flex-shrink: 0; }
    header.header-scrolled .header-logo { height: 30px; }
    header.header-scrolled { padding: 8px 5%; }

    nav#main-nav { display: none; }
    .nav-toggle { display: flex; }

    .propuesta {
        align-items: center; text-align: center; padding: 5rem 7%;
        background-position: 25% center;
    }
    .propuesta::before { background: rgba(0,0,0,0.7); }
    .propuesta .section-title { text-align: center; }
    .propuesta p { text-align: center; font-size: 1.05rem; line-height: 1.6; }
    .propuesta p br { display: none; }

    .servicios { padding: 5rem 5%; }
    .servicios-grid { gap: 20px; }
    .servicio-card { padding: 30px 20px; border-radius: 16px; }
    .servicio-card h3 { font-size: 1.8rem; }

    .manifiesto { background-attachment: scroll; padding: 8rem 7%; }

    .contacto { padding: 5rem 5%; }

    .clientes { padding: 5rem 5%; }
    .carousel-inner { gap: 40px; }
    .client-logo { height: 45px; max-width: 100px; }

    .eventos { padding: 5rem 5%; }
    .eventos p { text-align: center; text-align-last: auto; font-size: 1rem; }

    .form-container { padding: 30px 20px; border-radius: 12px; }
    .form-container input, .form-container textarea { padding: 14px; font-size: 16px; border-radius: 8px; }
    .form-container .btn-submit { font-size: 1.3rem; padding: 14px; border-radius: 8px; }
    .btn, .btn-outline { width: 100%; box-sizing: border-box; text-align: center; }

    .btn-sound { bottom: 80px; right: 20px; width: 40px; height: 40px; font-size: 1.1rem; }
    .whatsapp-float { width: 55px; height: 55px; bottom: 20px; right: 20px; }
    .whatsapp-icon { width: 30px; height: 30px; }
    .scroll-indicator { display: none; }

    footer { padding: 2.5rem 5% 1.5rem; }
    .footer-logo { height: 35px; }
    .footer-nav { gap: 12px; }
    .footer-nav a { font-size: 0.85rem; }
    .footer-contact-info { flex-direction: column; gap: 12px; }
    .footer-social a { font-size: 0.9rem; }
    .footer-links { flex-direction: column; gap: 8px; }
    .footer-links a { font-size: 0.85rem; }
}

/* Extra small screens */
@media (max-width: 380px) {
    .mobile-nav a { font-size: 2rem; }
}

/* 21. ACCESSIBILITY — Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .carousel-inner {
        animation: none !important;
    }
}
