/* =========================================
   CONFIGURACIÓN SPA Y FÍSICA ESTRICTA 100VH
   ========================================= */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body {
    background-color: #16181a; color: #f0f0f0;
    overflow-x: hidden; 
}

/* --- FONDO GLOBAL FIJO INMERSIVO --- */
#global-bg-container {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100svh; z-index: -10;
}
.global-bg-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0;
    background-size: cover; background-position: center 30%;
    transition: opacity 1.5s ease-in-out, transform 6s linear; 
    transform: scale(1.05);
}
.global-bg-slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.global-bg-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 17, 19, 0.3) 0%, rgba(15, 17, 19, 0.75) 100%); z-index: 2;
}

/* --- HEADER & NAVEGACIÓN --- */
header {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px; 
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 1.5rem; background: rgba(15, 17, 19, 0.1); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    height: 60px; background: rgba(15, 17, 19, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* --- EFECTOS PRO: LOGO --- */
.logo { text-decoration: none; color: #ffffff; display: flex; align-items: center; gap: 0.8rem; transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
header.scrolled .logo { gap: 0.5rem; }

.logo-img { height: 40px; width: auto; object-fit: contain; transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); transform-style: preserve-3d; }
header.scrolled .logo-img { height: 30px; transform: rotateY(360deg); }

.logo:hover .logo-img { filter: drop-shadow(0 8px 12px rgba(139, 197, 63, 0.4)); transform: translateY(-4px) scale(1.08) rotate(-5deg); }
header.scrolled .logo:hover .logo-img { transform: rotateY(360deg) translateY(-4px) scale(1.08); }

.logo-text-wrapper { display: flex; flex-direction: column; justify-content: center; }
.logo-text { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.5px; line-height: 1; transition: all 0.4s ease; }
header.scrolled .logo-text { font-size: 1.1rem; }

.logo .highlight, .hero-highlight, .section-highlight { color: #8bc53f; }
.logo .highlight { display: inline-block; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.logo:hover .highlight { transform: translateY(-2px); color: #9ce047; text-shadow: 0 0 15px rgba(139, 197, 63, 0.5); }

.logo-slogan {
    font-size: 0.55rem; color: #c0c8d0; font-weight: 500; letter-spacing: 0.5px;
    text-transform: uppercase; margin-top: 0.3rem; max-height: 20px; opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap;
}
header.scrolled .logo-slogan { max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; }

.nav-container { display: flex; align-items: center; gap: 1rem; }
.nav-links { display: none; }

/* --- BOTONES DE ACCIÓN (EFECTO 3D VOLUMÉTRICO) --- */
.btn-action-header { display: none; }

.btn-action {
    position: relative; background-color: #8bc53f; color: #16181a; padding: 0.6rem 1.2rem; 
    border-radius: 6px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    text-decoration: none; letter-spacing: 0.5px; white-space: nowrap; overflow: hidden;
    z-index: 1; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.15), 0 0 10px rgba(139, 197, 63, 0.2);
}
.btn-action::before {
    content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg); transition: all 0.6s ease; z-index: -1;
}
.btn-action:hover {
    transform: translateY(-3px) scale(1.05); background-color: #9ce047; color: #000000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.15), 0 0 20px rgba(139, 197, 63, 0.4); 
}
.btn-action:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}
.btn-action:hover::before { left: 150%; }

.btn-hero-secondary {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), inset 0 -3px 0 rgba(255, 255, 255, 0.2) !important;
}
.btn-hero-secondary:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.1) !important;
}
.btn-hero-secondary:active {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

.hamburger-btn {
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff; width: 40px; height: 40px; border-radius: 8px;
    cursor: pointer; transition: all 0.3s ease;
}
.hamburger-btn:hover { background: #8bc53f; color: #16181a; border-color: #8bc53f; }
.hamburger-btn svg { width: 24px; height: 24px; }

/* OVERLAY MENÚ MÓVIL */
.mobile-menu {
    position: fixed; top: 0; left: 100%; width: 100vw; height: 100svh;
    background: rgba(18, 20, 22, 0.98); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    z-index: 2000; transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex; flex-direction: column; padding: 3vh 1.5rem;
}
.mobile-menu.active { left: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2vh; margin-bottom: 4vh;}
.close-menu-btn { background: transparent; border: none; color: #ffffff; cursor: pointer; transition: color 0.3s; padding: 0; display: flex;}
.close-menu-btn:hover { color: #8bc53f; }
.close-menu-btn svg { width: 30px; height: 30px; }

.mobile-nav-links { display: flex; flex-direction: column; gap: 3vh; flex: 1; justify-content: center; align-items: center; }
.mobile-link { color: #ffffff; font-size: 1.5rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.mobile-link:hover { color: #8bc53f; }
.mobile-nav-links .btn-action { margin-top: 3vh; font-size: 1rem; padding: 1rem 2rem; }

/* =========================================
   CLASES DE ANIMACIÓN AL SCROLL (REVEAL FX)
   ========================================= */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 1s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-scale { opacity: 0; transform: scale(0.5); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); } 

.is-visible { opacity: 1 !important; transform: translate(0, 0) scale(1) !important; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --- HERO SLIDER --- */
.hero-section {
    position: relative; width: 100vw; height: 100svh; overflow: hidden; background-color: transparent;
}
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0;
    visibility: hidden; transition: opacity 1.5s ease-in-out, visibility 1.5s;
    display: flex; align-items: center; justify-content: center; z-index: 10;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 15; }

.hero-content { position: relative; z-index: 3; text-align: center; width: 100%; padding: 0 1.5rem; }

.hero-subtitle {
    color: #8bc53f; font-size: clamp(0.75rem, 1.5vh, 1rem); font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 2vh;
    opacity: 0; transform: translateY(20px); transition: all 0.8s ease 0.3s; 
}
.hero-title {
    color: #ffffff; font-size: clamp(2rem, 5vh, 3rem); font-weight: 900;
    line-height: 1.1; text-transform: uppercase; margin-bottom: 2vh;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4); opacity: 0; transform: translateY(20px); transition: all 0.8s ease 0.5s;
}
.hero-desc {
    color: #f0f0f0; font-size: clamp(0.9rem, 2vh, 1.1rem); font-weight: 400;
    line-height: 1.5; margin: 0 auto; max-width: 100%; opacity: 0; transform: translateY(20px); transition: all 0.8s ease 0.7s;
}

.hero-buttons {
    display: flex; flex-direction: column; gap: 2vh; justify-content: center;
    align-items: center; margin-top: 3vh; opacity: 0; transform: translateY(20px); transition: all 0.8s ease 0.9s; 
}
.btn-hero-primary, .btn-hero-secondary {
    width: 100%; max-width: 300px; padding: clamp(0.8rem, 2vh, 1.2rem) 1.5rem; border-radius: 6px;
    font-size: clamp(0.75rem, 1.5vh, 0.9rem); font-weight: 700; text-transform: uppercase;
    text-decoration: none; letter-spacing: 1px; transition: all 0.3s ease; text-align: center;
}
.btn-hero-primary { background-color: #8bc53f; color: #16181a; border: 2px solid #8bc53f; }
.btn-hero-secondary { background-color: transparent; color: #ffffff; border: 2px solid #ffffff; }

.hero-slide.active .hero-subtitle, .hero-slide.active .hero-title, .hero-slide.active .hero-desc, .hero-slide.active .hero-buttons {
    opacity: 1; transform: translateY(0);
}

.hero-indicators {
    position: absolute; bottom: 3vh; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 20;
}
.indicator { width: 25px; height: 4px; background-color: rgba(255, 255, 255, 0.2); cursor: pointer; transition: background-color 0.3s ease; }
.indicator.active { background-color: #8bc53f; }

/* --- SECCIONES SPA BASE --- */
.spa-section {
    width: 100vw; height: 100svh; overflow: hidden; display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding: 80px 1.5rem 2vh 1.5rem; text-align: center;
}
.bg-graphite-1 { 
    background-color: rgba(18, 20, 22, 0.5); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    border-top: 1px solid rgba(255,255,255,0.03); 
}
.bg-graphite-2 { 
    background-color: rgba(24, 26, 29, 0.6); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    border-top: 1px solid rgba(255,255,255,0.03); 
}

.section-tag { color: #8bc53f; font-size: clamp(0.7rem, 1.5vh, 0.85rem); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1vh; }
.section-title { font-size: clamp(1.8rem, 4vh, 2.5rem); font-weight: 800; text-transform: uppercase; margin-bottom: 2vh; color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.section-subtitle { color: #f0f0f0; font-size: clamp(0.9rem, 2vh, 1.1rem); line-height: 1.5; max-width: 100%; margin-bottom: 2vh; }

/* =========================================
   SECCIÓN: PROPÓSITO 
   ========================================= */
.about-section {
    position: relative; display: flex; justify-content: center; align-items: center;
    height: 100svh; padding: 90px 1.5rem 2vh 1.5rem;
}
.about-section::before, .about-section::after {
    content: ''; position: absolute; width: 50vw; height: 50vw; min-width: 400px; min-height: 400px;
    border-radius: 50%; filter: blur(90px); z-index: 0; pointer-events: none;
    animation: floatCloud 15s infinite alternate ease-in-out;
}
.about-section::before { top: -10%; left: -10%; background: radial-gradient(circle, rgba(139, 197, 63, 0.08) 0%, transparent 70%); }
.about-section::after { bottom: -10%; right: -10%; background: radial-gradient(circle, rgba(139, 197, 63, 0.05) 0%, transparent 70%); animation-delay: -7.5s; animation-direction: alternate-reverse; }

@keyframes floatCloud { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(3vw, 5vh) scale(1.1); } 100% { transform: translate(-3vw, -2vh) scale(0.9); } }

.about-container { width: 100%; max-width: 1200px; height: 100%; display: flex; flex-direction: column; gap: 2vh; justify-content: center; position: relative; z-index: 1; }
.about-image-wrapper { position: relative; width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); flex: 0 1 30vh; min-height: 220px; }

/* Ajuste móvil de imágenes de propósito (top center) */
.about-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center top; opacity: 0; visibility: hidden; transform: scale(1.1); transition: opacity 1.2s ease-in-out, transform 4s ease-out, visibility 1.2s, background-position 0s; }
.about-slide.active { opacity: 1; visibility: visible; transform: scale(1); z-index: 1; }
.about-slide.align-top { background-position: top center; }
.about-indicators { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.about-indicator { width: 8px; height: 8px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.3); cursor: pointer; transition: all 0.3s ease; }
.about-indicator.active { background-color: #8bc53f; transform: scale(1.2); box-shadow: 0 0 10px rgba(139, 197, 63, 0.5); }
.about-image-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(15, 17, 19, 0.95) 0%, rgba(15, 17, 19, 0) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5vh 1.5rem; z-index: 2; }
.about-img-title { font-size: clamp(1rem, 2vh, 1.4rem); font-weight: 700; color: #ffffff; margin-bottom: 0.2vh; }
.about-img-desc { font-size: clamp(0.75rem, 1.5vh, 0.9rem); color: #a0aab2; font-weight: 400; }

.about-content { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; text-align: left; }
.about-heading { font-size: clamp(1.4rem, 3.5vh, 2.5rem); font-weight: 800; line-height: 1.1; color: #ffffff; margin-bottom: 1vh; }
.about-text { color: #a0a0a0; font-size: clamp(0.85rem, 1.8vh, 1.05rem); line-height: 1.5; margin-bottom: 1vh; }
.about-quote { position: relative; padding: 1.5vh 1.5rem; border-left: 4px solid #8bc53f; background: rgba(255, 255, 255, 0.05); border-radius: 0 8px 8px 0; font-style: italic; color: #c0c8d0; font-size: clamp(0.85rem, 1.8vh, 1.1rem); line-height: 1.4; margin-bottom: 1.5vh; }
.about-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1vh 1rem; }
.value-item { display: flex; align-items: center; gap: 0.8rem; transition: transform 0.3s ease; }
.value-item:hover { transform: translateX(5px); }
.value-icon { width: clamp(28px, 4vh, 40px); height: clamp(28px, 4vh, 40px); background: rgba(139, 197, 63, 0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #8bc53f; }
.value-icon svg { width: 50%; height: 50%; }
.value-text { font-size: clamp(0.75rem, 1.8vh, 0.95rem); font-weight: 600; color: #ffffff; }

/* =========================================
   SECCIÓN: SERVICIOS
   ========================================= */
.services-section {
    background-image:
        radial-gradient(circle at 15% 30%, rgba(139, 197, 63, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(139, 197, 63, 0.1) 0%, transparent 40%),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wMiI+PHBhdGggZD0iTTAgMGg0MHY0MEgwVjB6bTIwIDIwaDIwdjIwSDIWMjB6TTAgMjBoMjB2MjBIMFYyMHoyMCAwaDIwdjIwSDIwVjB6Ii8+PC9nPjwvZz48L3N2Zz4=');
}
.services-container { width: 100%; max-width: 1200px; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }

.services-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 2vh; }
.title-underline { width: 60px; height: 4px; background-color: #8bc53f; margin: 0 auto 3vh auto; border-radius: 2px; }

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5vh 1rem; width: 100%; margin-bottom: 3vh; }
.service-card {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: clamp(1rem, 2.5vh, 2rem) clamp(0.8rem, 2vw, 1.5rem); text-align: left; position: relative; overflow: hidden; display: flex; flex-direction: column; transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 1;
}
.service-card::after { content: ""; position: absolute; top: -50%; left: -150%; width: 100%; height: 200%; background: linear-gradient(135deg, transparent, rgba(255,255,255,0.08), transparent); transform: rotate(30deg); transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1); z-index: 2; }
.service-icon { width: clamp(35px, 6vh, 55px); height: clamp(35px, 6vh, 55px); background: rgba(139, 197, 63, 0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #8bc53f; margin-bottom: 1.5vh; transition: all 0.4s ease; z-index: 3; }
.service-icon svg { width: 55%; height: 55%; }
.service-card:hover { transform: translateY(-12px) scale(1.02); background: rgba(255, 255, 255, 0.08); border-color: rgba(139, 197, 63, 0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 25px rgba(139, 197, 63, 0.15); }
.service-card:hover::after { left: 150%; }
.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); background: #8bc53f; color: #16181a; box-shadow: 0 0 25px rgba(139, 197, 63, 0.5); }
.service-title { font-size: clamp(0.9rem, 2vh, 1.25rem); font-weight: 700; color: #ffffff; margin-bottom: 1vh; line-height: 1.2; z-index: 3;}
.service-desc { font-size: clamp(0.7rem, 1.6vh, 0.95rem); color: #f0f0f0; line-height: 1.5; z-index: 3;}

/* =========================================
   SECCIÓN: EQUIPO 
   ========================================= */
.team-section {
    background-image:
        radial-gradient(circle at 50% 50%, rgba(139, 197, 63, 0.08) 0%, transparent 60%),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj48Y2lyY2xlIGN4PSIyIiBjeT0iMiIgcj0iMSIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
}
.team-container { width: 100%; max-width: 1200px; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5vh 1rem; width: 100%; flex: 1; min-height: 0; padding-bottom: 2vh; }
.team-card { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.08); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); display: flex; flex-direction: column; justify-content: flex-end; background-color: rgba(255,255,255,0.03); }
.team-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(60%) brightness(0.8); transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); z-index: 1; }
.team-card:hover { transform: translateY(-8px); border-color: rgba(139,197,63,0.4); box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 20px rgba(139,197,63,0.2); }
.team-card:hover .team-img { filter: grayscale(0%) brightness(1.1); transform: scale(1.05); }
.team-info { position: relative; z-index: 2; padding: clamp(1rem, 2vh, 1.5rem) clamp(0.5rem, 1vw, 1.5rem); background: linear-gradient(to top, rgba(15, 17, 19, 0.98) 0%, rgba(15, 17, 19, 0.6) 60%, transparent 100%); text-align: left; }
.team-name { font-size: clamp(0.85rem, 2vh, 1.2rem); font-weight: 700; color: #ffffff; margin-bottom: 0.5vh; }
.team-role { font-size: clamp(0.6rem, 1.2vh, 0.8rem); font-weight: 800; color: #8bc53f; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5vh; }
.team-prof { font-size: clamp(0.65rem, 1.4vh, 0.85rem); font-weight: 400; color: #f0f0f0; }

/* =========================================
   SECCIÓN: PARTNERS
   ========================================= */
.partners-section { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
.partners-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(90deg, transparent 49.5%, rgba(139, 197, 63, 0.02) 50%, transparent 50.5%), linear-gradient(0deg, transparent 49.5%, rgba(139, 197, 63, 0.02) 50%, transparent 50.5%), radial-gradient(circle at center, rgba(139, 197, 63, 0.04) 0%, transparent 70%); background-size: 100px 100px, 100px 100px, 100% 100%; background-position: center; z-index: 0; }
.partners-container { width: 100%; max-width: 1400px; display: flex; flex-direction: column; align-items: center; gap: 3vh; position: relative; z-index: 1; }

.partners-marquee { display: flex; overflow: hidden; user-select: none; width: 100%; mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent); padding: 2vh 0; cursor: pointer; }

.marquee-track { display: flex; align-items: center; width: max-content; flex-shrink: 0; animation: scroll-marquee 30s linear infinite; }
.partners-marquee:hover .marquee-track { animation-play-state: paused !important; }
.marquee-group { display: flex; align-items: center; gap: clamp(3rem, 7vw, 6rem); padding-right: clamp(3rem, 7vw, 6rem); flex-shrink: 0; }

@keyframes scroll-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.partner-logo { 
    height: clamp(80px, 15vh, 140px); 
    width: auto; max-width: 280px; object-fit: contain; 
    filter: grayscale(100%) opacity(0.6); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
}
.partner-logo:hover { 
    filter: grayscale(0%) opacity(1); 
    transform: scale(1.05) translateY(-5px); 
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 197, 63, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3), 0 0 20px rgba(139, 197, 63, 0.15);
}

/* =========================================
   SECCIÓN: MULTIMEDIA
   ========================================= */
.multimedia-section {
    background-color: rgba(24, 27, 24, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.02);
    background-image: radial-gradient(circle at 50% 50%, rgba(139, 197, 63, 0.1) 0%, transparent 60%);
}
.video-cta-container { position: relative; width: 100%; max-width: 600px; display: flex; flex-direction: column; align-items: center; gap: 4vh; }

.play-button { 
    width: 100px; height: 100px; background: #8bc53f; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; cursor: pointer; 
    position: relative; border: none; outline: none; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    z-index: 1; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 -4px 0 rgba(0,0,0,0.2), 0 0 20px rgba(139, 197, 63, 0.4);
}
.play-button svg { fill: #16181a; width: 40px; height: 40px; margin-left: 5px; }

.play-button:hover { 
    transform: scale(1.05) translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), inset 0 -4px 0 rgba(0,0,0,0.2), 0 0 30px rgba(139, 197, 63, 0.5);
}
.play-button:active {
    transform: scale(0.95) translateY(2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7), inset 0 -2px 0 rgba(0,0,0,0.2), 0 0 15px rgba(139, 197, 63, 0.4);
}

.play-button::before, .play-button::after { 
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    border-radius: 50%; background-color: rgba(139, 197, 63, 0.6); 
    z-index: -1; animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite; 
}
.play-button::after { animation-delay: 1s; }

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

.video-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(22, 24, 26, 0.95); display: none; justify-content: center; align-items: center; z-index: 2000; backdrop-filter: blur(10px); }
.video-modal.active { display: flex; }
.modal-content { width: 90%; max-width: 900px; aspect-ratio: 16/9; background: #000; position: relative; }
.modal-content.vertical { max-width: 400px; aspect-ratio: 9/16; }
.close-modal { position: absolute; top: -40px; right: 0; color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: 2px; }

/* =========================================
   SECCIÓN: PUBLICACIONES 
   ========================================= */
.pubs-section { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.pubs-container { width: 100%; max-width: 1400px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.pubs-slider-wrapper { position: relative; width: 100%; display: flex; align-items: center; }

.pub-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(139, 197, 63, 0.1); color: #8bc53f; border: 1px solid rgba(139, 197, 63, 0.4); width: 45px; height: 45px; border-radius: 50%; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center; transition: all 0.3s ease; backdrop-filter: blur(4px); outline: none; }
.pub-nav-btn:hover { background: #8bc53f; color: #16181a; box-shadow: 0 0 20px rgba(139, 197, 63, 0.5); }
.pub-nav-btn.prev { left: 1rem; }
.pub-nav-btn.next { right: 1rem; }

.pubs-slider { display: flex; gap: 2vw; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2vh 1.5rem; scrollbar-width: none; scroll-behavior: smooth; }
.pubs-slider::-webkit-scrollbar { display: none; }

.pub-card { min-width: 85vw; flex-shrink: 0; scroll-snap-align: center; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.4s ease; cursor: pointer; }

.pub-card.featured { border: 1px solid #8bc53f; box-shadow: 0 0 20px rgba(139, 197, 63, 0.15); }
.pub-card.featured .pub-date { color: #16181a; background: #8bc53f; padding: 0.2rem 0.6rem; border-radius: 4px; display: inline-block; font-weight: 800; }
.pub-img-wrapper { position: relative; width: 100%; height: 25vh; overflow: hidden; }
.pub-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pub-card:hover .pub-img { transform: scale(1.05); }
.pub-badge { position: absolute; top: 15px; right: 15px; width: 35px; height: 35px; background: rgba(22,24,26,0.8); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.5); z-index: 2; transition: all 0.3s ease; }
.pub-badge svg { fill: #ffffff; width: 18px; height: 18px; transition: all 0.3s ease; }
.pub-card:hover .pub-badge { background: #8bc53f; border-color: #8bc53f; }
.pub-card:hover .pub-badge svg { fill: #16181a; }
.pub-card.is-instagram:hover .pub-badge { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); border-color: transparent; box-shadow: 0 4px 15px rgba(214, 36, 159, 0.4); }
.pub-card.is-instagram:hover .pub-badge svg { stroke: #ffffff; fill: none; }
.pub-content { padding: 2vh 1.5rem; display: flex; flex-direction: column; flex: 1; text-align: left; }
.pub-date { font-size: 0.7rem; color: #8bc53f; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1vh; transition: all 0.3s; }
.pub-title { font-size: clamp(1rem, 2vh, 1.2rem); font-weight: 700; color: #ffffff; margin-bottom: 2vh; line-height: 1.4; }
.pub-btn { margin-top: auto; display: inline-block; color: #f0f0f0; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; border-bottom: 2px solid transparent; transition: all 0.3s; width: max-content; }
.pub-card:hover .pub-btn { color: #8bc53f; border-color: #8bc53f; }
.pub-card:not(.featured):hover { transform: translateY(-5px); border-color: rgba(139, 197, 63, 0.3); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.pub-card.featured:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(139, 197, 63, 0.2); }

/* =========================================
   SECCIÓN: CONTACTO
   ========================================= */
.contact-section { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.contact-container { width: 100%; max-width: 1200px; display: flex; flex-direction: column; justify-content: center; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3vh; width: 100%; text-align: left; }
.contact-info-wrapper { display: flex; flex-direction: column; gap: 2vh; text-align: left; }
.contact-subtitle { color: #a0aab2; font-size: clamp(0.9rem, 2vh, 1.1rem); line-height: 1.5; margin-bottom: 1vh; text-align: left; }
.info-cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.5vh; }
.info-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: clamp(1rem, 2vh, 1.5rem); display: flex; align-items: flex-start; gap: 1rem; transition: all 0.3s ease; backdrop-filter: blur(8px); }
.info-card:hover { transform: translateX(5px); border-color: rgba(139, 197, 63, 0.4); background: rgba(139, 197, 63, 0.08); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.info-icon { width: 40px; height: 40px; background: rgba(139, 197, 63, 0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #8bc53f; flex-shrink: 0; }
.info-icon svg { width: 20px; height: 20px; fill: currentColor; }
.info-text { text-align: left; }
.info-text h4 { font-size: clamp(0.9rem, 2vh, 1.1rem); color: #ffffff; margin-bottom: 0.5vh; font-weight: 700; }
.info-text p { font-size: clamp(0.8rem, 1.8vh, 0.9rem); color: #f0f0f0; line-height: 1.4; }
.contact-link { color: #8bc53f; text-decoration: none; font-weight: 600; transition: color 0.3s; display: inline-block; }
.contact-link:hover { color: #9ce047; text-decoration: underline; }

.map-link { font-size: 0.75rem; font-weight: 600; color: #8bc53f; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.8vh; text-decoration: none !important; border: none; display: inline-block; transition: transform 0.3s ease;}
.map-link:hover { color: #9ce047; transform: translateX(3px); text-decoration: none !important;}

.form-glass { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: clamp(1.5rem, 3vh, 2.5rem); backdrop-filter: blur(15px); box-shadow: 0 10px 40px rgba(0,0,0,0.4); display: flex; flex-direction: column; text-align: left; }
.form-group { margin-bottom: 2vh; }
.form-group label { display: block; font-size: 0.8rem; color: #c0c8d0; margin-bottom: 0.5vh; font-weight: 500; }
.form-control { width: 100%; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; padding: clamp(0.8rem, 1.5vh, 1rem); color: #ffffff; font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: all 0.3s; outline: none; resize: none; }
.form-control:focus { border-color: #8bc53f; box-shadow: 0 0 10px rgba(139, 197, 63, 0.2); background: rgba(0, 0, 0, 0.5); }
.form-control::placeholder { color: #777; }
.form-glass button[type="submit"] { width: 100%; cursor:pointer; padding: 0.8rem; font-size: 0.85rem; }
.form-glass button[type="submit"] svg { width: 18px; vertical-align: sub; margin-right: 8px; fill: currentColor; }

/* =========================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px; height: 60px;
    bottom: 30px; right: 30px;
    background-color: #25D366; color: #ffffff;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), inset 0 -4px 0 rgba(0,0,0,0.15);
    z-index: 2000; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128C7E; color: #ffffff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6), inset 0 -4px 0 rgba(0,0,0,0.15);
}
.whatsapp-float:active {
    transform: scale(0.95) translateY(2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.6), inset 0 -2px 0 rgba(0,0,0,0.15);
}
.whatsapp-float svg { width: 35px; height: 35px; }

/* =========================================
   PIE DE PÁGINA (FOOTER)
   ========================================= */
.main-footer {
    background-color: rgba(12, 14, 15, 0.4); 
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding: 6vh 1.5rem 0 1.5rem; text-align: left;
    width: 100vw; overflow: hidden; position: relative; z-index: 10;
}
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 4vh; }
.footer-brand { display: flex; flex-direction: column; gap: 1.5vh; }
.footer-brand .logo-text { font-size: 1.4rem; color: #ffffff; font-weight: 800; }
.footer-brand p { color: #a0aab2; font-size: 0.85rem; line-height: 1.6; max-width: 300px; }
.footer-col h4 { color: #ffffff; font-size: 1rem; margin-bottom: 2vh; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;}
.footer-col p, .footer-col a { color: #f0f0f0; font-size: 0.85rem; line-height: 1.6; text-decoration: none; transition: color 0.3s; display: block; margin-bottom: 1vh;}
.footer-col a:hover { color: #8bc53f; }
.footer-col p strong { color: #ffffff; }

.footer-bottom { 
    width: 100%; max-width: 1200px; margin: 0 auto; margin-top: 4vh; padding-top: 3vh; padding-bottom: 3vh;
    border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; 
    align-items: center; gap: 1vh; text-align: center; 
}
.footer-bottom p { color: #888; font-size: 0.75rem; margin: 0; padding: 0;}
.footer-bottom a { color: #8bc53f; text-decoration: none; font-weight: 600; transition: color 0.3s ease;}
.footer-bottom a:hover { color: #9ce047; text-decoration: underline;}

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
}

@media (min-width: 768px) {
    .hero-title { font-size: clamp(3rem, 6vh, 4rem); }
    .hero-buttons { flex-direction: row; gap: 1.5vw; }
    .btn-hero-primary, .btn-hero-secondary { width: auto; }
    .section-title { font-size: clamp(2.5rem, 6vh, 3.5rem); }
    .about-section { padding: 100px 3rem 4vh 3rem; }
    .pub-card { min-width: 45vw; } 
    .pub-nav-btn.prev { left: 2rem; }
    .pub-nav-btn.next { right: 2rem; }
    .info-cards-grid { grid-template-columns: 1fr 1fr; }
    .info-card:last-child { grid-column: span 2; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    header { height: 100px; padding: 0 4rem; background: rgba(15, 17, 19, 0.05); }
    header.scrolled { height: 70px; padding: 0 4rem; background: rgba(15, 17, 19, 0.7); }
    .nav-links { display: flex; gap: 0.5rem; align-items: center; }
    .nav-links a { position: relative; text-decoration: none; color: #ffffff; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 0.5rem 1rem; border-radius: 20px; transition: color 0.3s ease, transform 0.3s ease; z-index: 1; }
    .nav-links a::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(139, 197, 63, 0.15); border-radius: 20px; transform: scale(0.5); opacity: 0; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: -1; }
    .nav-links a:hover { color: #8bc53f; transform: translateY(-2px); }
    .nav-links a:hover::before { transform: scale(1); opacity: 1; box-shadow: 0 0 15px rgba(139, 197, 63, 0.1); }
    
    .hamburger-btn { display: none !important; }
    .btn-action-header { display: inline-block !important; }
    .mobile-menu { display: none !important; }

    .logo { gap: 1.2rem; }
    header.scrolled .logo { gap: 0.6rem; transform: translateX(20px); }
    .logo-img { height: 60px; }
    header.scrolled .logo-img { height: 40px; }
    .logo-text { font-size: 1.6rem; }
    header.scrolled .logo-text { font-size: 1.2rem; }
    .logo-slogan { font-size: 0.65rem; margin-top: 0.3rem; }
    .btn-action { padding: 0.8rem 2rem; font-size: 0.8rem; margin-left: 1rem; }
    .hero-content { max-width: 900px; }
    .hero-subtitle { font-size: clamp(1rem, 2vh, 1.2rem); letter-spacing: 4px; }
    .hero-title { font-size: clamp(3.5rem, 8vh, 5.5rem); margin-bottom: 3vh; }
    .hero-desc { font-size: clamp(1.1rem, 2.5vh, 1.3rem); }
    .btn-hero-primary:hover { background-color: transparent; color: #8bc53f; transform: translateY(-2px); }
    .btn-hero-secondary:hover { background-color: #ffffff; color: #16181a; transform: translateY(-2px); }
    .hero-indicators { bottom: 5vh; gap: 12px; }
    .indicator { width: 30px; }
    .spa-section, .about-section { padding: 100px 4rem 4vh 4rem; }
    .about-container { flex-direction: row; display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; }
    .about-image-wrapper { height: 100%; max-height: 75vh; flex: 1;}
    .about-indicators { bottom: 20px; }
    .about-indicator { width: 10px; height: 10px; }
    .about-content { justify-content: center; gap: 2vh; }
    .about-heading { margin-bottom: 2vh; }
    .about-text { margin-bottom: 3vh; }
    .about-quote { margin-bottom: 4vh; }
    .services-grid, .team-grid { grid-template-columns: repeat(4, 1fr); gap: 2vw; }
    
    .pubs-slider { padding: 2vh 4rem; }
    .pub-card { min-width: calc(33.333% - 1.5vw); }
    .pub-nav-btn { width: 55px; height: 55px; }
    .pub-nav-btn.prev { left: 1rem; }
    .pub-nav-btn.next { right: 1rem; }
    
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 4vw; align-items: center; }
    .info-cards-grid { grid-template-columns: 1fr; }
    .info-card:last-child { grid-column: span 1; }
    
    .footer-container { grid-template-columns: 2fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; padding: 2vh 0; }
}