/* ============================================
   VANGUAR HR — SHARED + INDEX + SERVICIOS STYLES
   ============================================ */

/* ============================================
   1. SHARED FOUNDATION (both pages)
   ============================================ */
:root {
    --v-green: #005B52;
    --v-light: #DAF8C2;
    --v-tag-green: #8ec7a3;
    --v-bg: #051a18;
    --v-card: #082623;
    --v-white: #ffffff;
    --v-black: #000000;
    --font-main: 'Inter', sans-serif;
    --transition-premium: cubic-bezier(0.23, 1, 0.32, 1);
    --radius-section: 60px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    background-color: var(--v-bg);
}

body {
    color: var(--v-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--v-light);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease, opacity 0.3s;
    mix-blend-mode: difference;
}
.cursor-ring {
    width: 8px; height: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(218, 248, 194, 0.35);
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    transition: width 0.3s var(--transition-premium),
                height 0.3s var(--transition-premium),
                background 0.3s,
                opacity 0.3s;
    mix-blend-mode: difference;
}
.cursor-ring.hover {
    width: 14px; height: 14px;
    background: rgba(218, 248, 194, 0.5);
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--v-green), var(--v-light));
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(218, 248, 194, 0.5);
}

/* --- PARTICLE CANVAS --- */
#particle-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
    opacity: 0.4;
}

/* --- PAGE LOADER --- */
.page-loader {
    position: fixed; inset: 0;
    background: var(--v-bg);
    z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s var(--transition-premium), visibility 0.8s;
}
.page-loader.loaded {
    opacity: 0; visibility: hidden; pointer-events: none;
}
.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 100;
    letter-spacing: 0.4em;
    color: var(--v-white);
    position: relative;
    overflow: hidden;
}
.loader-text::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--v-light);
    animation: loader-bar 1.5s var(--transition-premium) forwards;
}
@keyframes loader-bar {
    from { width: 0%; }
    to { width: 100%; }
}

/* --- ANIMATIONS (shared) --- */
.reveal {
    opacity: 0; transform: translateY(60px); filter: blur(15px);
    transition: all 1.2s var(--transition-premium);
}
.reveal-left {
    opacity: 0; transform: translateX(-100px) skewX(-4deg); filter: blur(15px);
    transition: all 1.2s var(--transition-premium);
}
.reveal-right {
    opacity: 0; transform: translateX(100px) skewX(4deg); filter: blur(15px);
    transition: all 1.2s var(--transition-premium);
}
.reveal-side {
    opacity: 0; transform: translateX(-150px); filter: blur(20px);
    transition: all 1.5s var(--transition-premium);
}
.stagger-children .reveal { transition-delay: calc(var(--i, 0) * 0.15s); }
header.reveal-header { opacity: 0; transform: translateY(-50px); filter: blur(10px); transition: all 1.2s var(--transition-premium); }
header.active-header { opacity: 1; transform: translateY(0); filter: blur(0); }
.active { opacity: 1; transform: translate(0) skewX(0); filter: blur(0); }

/* --- HEADER (shared) --- */
header {
    position: fixed; top: 0; left: 0;
    width: 100% !important;
    padding: 28px 8%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    transition: transform 0.6s var(--transition-premium), background 0.6s, padding 0.6s;
    background: transparent;
    box-sizing: border-box !important;
}
header.solid {
    background: rgba(5, 26, 24, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 8%;
}
header.hide { transform: translateY(-100%); }
.header-logo-img {
    height: 50px; width: auto;
    transition: all 0.4s var(--transition-premium);
}
.header-logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 14px rgba(218, 248, 194, 0.45));
}
header.solid .header-logo-img { height: 42px; }

/* --- HEADER ACTIONS --- */
.header-actions { display: none; align-items: center; gap: 20px; }
.mobile-wpp { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.mobile-wpp img { width: 28px; height: 28px; }

.menu-toggle {
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; gap: 6px;
    padding: 10px; z-index: 1001;
}
.menu-toggle span {
    display: block; width: 28px; height: 2px;
    background: var(--v-light); transition: all 0.4s var(--transition-premium);
    transform-origin: center;
}

/* Hamburger to X Animation */
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

nav ul { display: flex; list-style: none; gap: 40px; }
nav a {
    color: var(--v-white); text-decoration: none; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 2px; position: relative;
    transition: color 0.3s;
}
nav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 1px;
    background: var(--v-light); transition: width 0.4s var(--transition-premium);
}
nav a:hover::after { width: 100%; }
nav a:hover { color: var(--v-light); }
nav a::before {
    content: ''; position: absolute; bottom: -5px; right: 0; width: 0%; height: 1px;
    background: var(--v-light); transition: width 0.4s var(--transition-premium);
    opacity: 0.3;
}

/* --- FLOATING SHAPES (shared) --- */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.03;
    background: var(--v-light);
}
.floating-shape:nth-child(1) { width: 400px; height: 400px; top: 20%; right: -100px; animation: float-1 20s ease-in-out infinite; }
.floating-shape:nth-child(2) { width: 200px; height: 200px; bottom: 30%; left: -50px; animation: float-2 15s ease-in-out infinite; }
.floating-shape:nth-child(3) { width: 150px; height: 150px; top: 60%; right: 20%; animation: float-3 18s ease-in-out infinite; }

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}
@keyframes float-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, -40px); }
}
@keyframes float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.3); }
}

/* --- FOOTER (shared) --- */
.main-footer {
    background-color: var(--v-black);
    padding: 60px 8% 30px 8%;
    border-top: 1px solid rgba(218, 248, 194, 0.05);
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}
.footer-brand-flex { display: flex; align-items: flex-start; gap: 30px; }
.footer-logo-img { width: 100px; height: auto; flex-shrink: 0; }
.footer-brand h2 {
    font-size: 1.8rem; font-weight: 400;
    letter-spacing: 4px; margin-bottom: 20px;
    color: var(--v-white); text-transform: uppercase;
}
.footer-brand p {
    font-size: 0.9rem; color: var(--v-white);
    line-height: 1.6; margin-bottom: 30px;
    max-width: 350px; opacity: 0.7;
}
.footer-social { display: flex; gap: 30px; margin-top: 20px; }
.social-icon {
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.4s var(--transition-premium);
    border-radius: 50% !important;
    position: relative;
}
.social-icon::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    background: rgba(218, 248, 194, 0.05);
    transform: scale(0);
    transition: transform 0.4s var(--transition-premium);
}
.social-icon:hover::before { transform: scale(1); }
.social-icon:hover { transform: scale(1.2) translateY(-5px); }
.social-icon img {
    width: 50px; height: 50px;
    position: relative; z-index: 1;
}
.footer-col h4 {
    font-size: 0.7rem; letter-spacing: 3px;
    color: var(--v-tag-green) !important;
    text-transform: uppercase; margin-bottom: 35px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 18px; }
.footer-links a {
    color: var(--v-white); text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-premium);
    position: relative;
}
.footer-links a::before {
    content: '→';
    position: absolute; left: -20px;
    opacity: 0;
    transition: all 0.3s var(--transition-premium);
}
.footer-links a:hover { padding-left: 15px; color: var(--v-light); }
.footer-links a:hover::before { left: -5px; opacity: 1; color: var(--v-light); }
.footer-contact p {
    font-size: 0.9rem; color: var(--v-white);
    margin-bottom: 18px; line-height: 1.6; opacity: 0.7;
}
.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    width: 100%; text-align: center;
    display: flex; justify-content: center; align-items: center;
}
.footer-bottom p {
    font-size: 0.65rem; letter-spacing: 2px;
    color: var(--v-white); text-transform: uppercase;
    opacity: 0.5; margin: 0; white-space: nowrap;
    width: 100%; text-align: center;
}

/* --- SECTION CURVES (shared) --- */
.section-wrapper { width: 100%; overflow: visible; }
.rounded-mask {
    border-top-left-radius: var(--radius-section);
    border-top-right-radius: var(--radius-section);
    overflow: hidden; width: 100%;
}
.bg-dark-prev { background-color: var(--v-bg); }
.bg-white-prev { background-color: var(--v-white); }
.bg-black-prev { background-color: var(--v-black); }
.bg-green-prev { background-color: var(--v-green); }

/* ============================================
   2. INDEX PAGE STYLES
   ============================================ */

/* --- INDEX HERO --- */
.hero-container { height: 100vh; width: 100%; position: sticky; top: 0; z-index: 1; }
.hero {
    height: 100vh; width: 100%; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    background: var(--v-bg);
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 200%; height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 91, 82, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(218, 248, 194, 0.05) 0%, transparent 50%);
    animation: gradient-drift 15s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes gradient-drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5%, -5%) rotate(2deg); }
    100% { transform: translate(-10%, 0) rotate(-1deg); }
}
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 10vw, 7.5rem);
    font-weight: 100; letter-spacing: 0.3em;
    color: var(--v-white); text-transform: uppercase;
    position: relative; overflow: hidden;
}
.hero h1 .letter,
.services-hero h1 .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px) rotateX(90deg);
    animation: letter-in 1s var(--transition-premium) forwards;
}
@keyframes letter-in {
    to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

#hero-tagline {
    font-family: 'Montserrat', sans-serif; display: block; font-size: 1rem;
    color: var(--v-light); letter-spacing: 4px; font-weight: 400;
    opacity: 0; text-transform: uppercase;
    transition: opacity 0.8s ease, transform 0.8s var(--transition-premium);
    text-align: center; margin-top: 15px; min-height: 24px;
    transform: translateY(10px);
}
#hero-tagline.tagline-visible { opacity: 0.85; transform: translateY(0); }

.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; z-index: 100;
    opacity: 0; transition: 1s ease 1s;
}
.scroll-indicator.active { opacity: 1; }
.scroll-line { width: 1px; height: 60px; background: rgba(218, 248, 194, 0.2); position: relative; overflow: hidden; }
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
    background: var(--v-light); animation: scroll-line-anim 2s infinite var(--transition-premium);
}
@keyframes scroll-line-anim { 0% { top: -100%; } 100% { top: 100%; } }

/* --- INDEX MAIN CONTENT --- */
main { position: relative; z-index: 10; background-color: var(--v-bg); }
.index-main { box-shadow: 0px -50px 100px 20px var(--v-bg); }
.row { display: flex; align-items: center; gap: 100px; padding: 120px 10%; }
.row.reverse { flex-direction: row-reverse; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; color: var(--v-white); margin-bottom: 30px; line-height: 1.1; }
p { font-size: 1.1rem; opacity: 0.7; font-weight: 300; max-width: 500px; margin-bottom: 30px; }

/* --- MAGNETIC BUTTON (shared) --- */
.v-btn, .magnetic-btn {
    display: inline-block; padding: 15px 35px;
    border: 1px solid var(--v-light); color: var(--v-light);
    text-decoration: none; font-size: 0.8rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    transition: all 0.4s var(--transition-premium);
    border-radius: 50px;
    position: relative; overflow: hidden; cursor: none;
}
.v-btn::before, .magnetic-btn::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    width: 0; height: 0;
    background: var(--v-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--transition-premium), height 0.6s var(--transition-premium);
    z-index: -1;
}
.v-btn:hover::before, .magnetic-btn:hover::before { width: 300px; height: 300px; }
.v-btn:hover, .magnetic-btn:hover {
    color: var(--v-bg); transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(218, 248, 194, 0.2);
}
.v-btn:active { transform: translateY(-2px) scale(0.97); }

.col-img { flex: 0.8; height: 500px; overflow: hidden; background: #000; border-radius: 30px; position: relative; }
.col-img img { width: 100%; height: 100%; object-fit: cover; transition: 2s var(--transition-premium); }
.active .col-img img { transform: scale(1.1); }
.col-img::after {
    content: '';
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.5s;
}
.col-img:hover::after { left: 150%; transition: 1.2s; }

/* --- INDEX CTA SECTION --- */
.cta-section {
    background-color: var(--v-green);
    color: var(--v-white);
    padding: 140px 10%;
    text-align: center;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(218, 248, 194, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: cta-pulse 4s ease-in-out infinite;
}
@keyframes cta-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
.cta-section h2 { color: var(--v-white); font-family: 'Montserrat', sans-serif; font-weight: 900; position: relative; }
.cta-section p { color: var(--v-white); opacity: 0.9; margin-left: auto; margin-right: auto; max-width: 700px; font-weight: 400; position: relative; }
.cta-section .v-btn { border-color: var(--v-light); color: var(--v-light); position: relative; }
.cta-section .v-btn:hover { background: var(--v-light); color: var(--v-green); }
.center-content { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }

/* --- INDEX SERVICES GRID --- */
.horizontal-section { padding: 120px 8%; background: var(--v-black); position: relative; }
.horizontal-header { text-align: center; margin-bottom: 80px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; width: 100%; }
.service-card {
    background: var(--v-card);
    border: 1px solid rgba(218, 248, 194, 0.05);
    padding: 40px 30px; border-radius: 10px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: all 0.5s var(--transition-premium);
    cursor: none; position: relative; overflow: hidden;
    transform-style: preserve-3d; perspective: 1000px;
}
.service-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%); left: var(--mouse-x, 50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(218, 248, 194, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; transition: opacity 0.4s;
    pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
    background: linear-gradient(145deg, #0a2e2a 0%, #051a18 100%);
    border-color: var(--v-light); transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(218, 248, 194, 0.05);
}
.service-info { position: relative; z-index: 1; }
.service-info span {
    color: var(--v-tag-green); font-weight: 700; text-transform: uppercase;
    font-size: 0.75rem; letter-spacing: 4px; margin-bottom: 15px; display: block;
}
.service-info h3 {
    font-size: 1.6rem; color: var(--v-white); margin-bottom: 25px;
    text-transform: uppercase; letter-spacing: 2px;
}
.service-description {
    font-size: 0.95rem; line-height: 1.6; color: var(--v-white);
    opacity: 0.7; margin-bottom: 35px;
}
.service-card-btn {
    display: inline-block; padding: 12px 28px;
    border: 1px solid rgba(218, 248, 194, 0.3); color: var(--v-light);
    text-decoration: none; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; border-radius: 50px;
    transition: all 0.4s var(--transition-premium);
    position: relative; overflow: hidden;
}
.service-card-btn::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    width: 0; height: 0;
    background: var(--v-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s var(--transition-premium), height 0.5s var(--transition-premium);
    z-index: -1;
}
.service-card:hover .service-card-btn::before { width: 200px; height: 200px; }
.service-card:hover .service-card-btn { color: var(--v-black); border-color: var(--v-light); }

/* --- INDEX BRANDS MARQUEE --- */
.brands-section { background-color: var(--v-white); padding: 120px 0; overflow: hidden; }
.brands-section h2 { text-align: center; color: var(--v-black); margin-bottom: 80px; font-weight: 900; font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -1px; }
.marquee { display: flex; overflow: hidden; }
.marquee-content { display: flex; gap: 120px; align-items: center; animation: scroll-marquee 12s linear infinite; flex-shrink: 0; padding-right: 120px; }
.marquee:hover .marquee-content { animation-play-state: paused; }
.marquee-content img {
    height: 110px; width: auto; object-fit: contain;
    transition: all 0.4s var(--transition-premium);
    opacity: 1;
}
.marquee-content img:hover { opacity: 1; transform: scale(1.15); }
@keyframes scroll-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* --- INDEX PROVINCES --- */
.provincias-list { padding: 160px 10%; background: var(--v-bg); text-align: center; }
.provincias-flex { display: flex; flex-wrap: wrap; justify-content: center; gap: 60px; margin-top: 60px; }
.provincia-item { position: relative; }
.provincia-item h3 {
    font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 700;
    color: var(--v-tag-green); text-transform: uppercase; letter-spacing: 2px;
    transition: all 0.4s var(--transition-premium); position: relative;
}
.provincia-item h3::after {
    content: '';
    position: absolute; bottom: -8px; left: 50%;
    width: 0; height: 2px;
    background: var(--v-light);
    transition: all 0.4s var(--transition-premium);
    transform: translateX(-50%);
}
.provincia-item:hover h3 { color: var(--v-light); transform: translateY(-5px); }
.provincia-item:hover h3::after { width: 100%; }

/* --- INDEX PARALLAX --- */
.parallax-text { transition: transform 0.1s linear; }

/* ============================================
   3. SERVICIOS PAGE STYLES
   ============================================ */

/* --- SERVICIOS HERO --- */
.services-hero {
    height: 75vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
    background: var(--v-bg);
    position: relative; overflow: hidden;
}
.services-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 200%; height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 91, 82, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(218, 248, 194, 0.05) 0%, transparent 50%);
    animation: gradient-drift 15s ease-in-out infinite alternate;
    pointer-events: none;
}
.services-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 100; letter-spacing: 0.4em;
    color: var(--v-white); text-transform: uppercase;
    position: relative;
}
.services-hero .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--v-tag-green);
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitle-in 1s var(--transition-premium) 1.5s forwards;
    position: relative;
}
@keyframes subtitle-in {
    to { opacity: 0.8; transform: translateY(0); }
}

/* --- SECTION TAG --- */
.section-tag {
    color: var(--v-green) !important;
    font-weight: 700; font-size: 12px;
    letter-spacing: 3px; display: block;
    margin-bottom: 20px; text-transform: uppercase;
    position: relative;
}

/* --- SERVICIOS BONUS SECTION --- */
.bonus-wrapper { background-color: var(--v-bg); }
.bonus-section {
    padding: 120px 10%;
    background: var(--v-white);
    color: var(--v-black);
    border-top-left-radius: var(--radius-section);
    border-top-right-radius: var(--radius-section);
    text-align: center;
    position: relative; overflow: hidden;
}
.bonus-section::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 91, 82, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: bonus-pulse 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes bonus-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}
.bonus-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 900; margin-bottom: 50px;
    line-height: 1.1; color: var(--v-black);
    position: relative;
}
.bonus-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}
.bonus-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
}
.bonus-col-icon {
    width: 64px; height: 64px;
    margin-bottom: 25px;
    color: var(--v-green);
}
.bonus-col-icon svg {
    width: 100%; height: 100%;
}
.bonus-col h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 900;
    color: var(--v-black);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
}
.bonus-col p {
    font-size: 1rem; opacity: 0.75;
    line-height: 1.7; color: var(--v-black);
    margin-bottom: 30px;
    max-width: 100%;
}
.bonus-divider {
    width: 1px;
    background: rgba(0, 91, 82, 0.15);
    margin: 20px 0;
}
.v-btn-bonus {
    display: inline-block; padding: 16px 44px;
    border: 2px solid var(--v-green);
    background: var(--v-green);
    color: var(--v-white);
    text-decoration: none; font-weight: 700; border-radius: 50px;
    transition: all 0.4s var(--transition-premium);
    text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem;
    position: relative; overflow: hidden; cursor: none;
}
.v-btn-bonus:hover {
    background: #003d36; border-color: #003d36;
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 91, 82, 0.4);
}

/* --- SERVICIOS FLOATING GRID --- */
.floating-grid-wrapper { background-color: var(--v-white); }
.floating-grid-container {
    padding: 120px 8% 140px 8%;
    background: var(--v-black);
    border-top-left-radius: var(--radius-section);
    border-top-right-radius: var(--radius-section);
    position: relative;
}
.grid-title-area { margin-bottom: 80px; text-align: left; }
.grid-title-area h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; color: var(--v-white);
    text-transform: uppercase; letter-spacing: 4px;
}
.services-floating-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 60px;
}

/* --- SERVICIOS CARDS (SIMPLE - NO FLIP) --- */
.f-card {
    position: relative; width: 100%;
    height: 580px;
    cursor: pointer;
    border-radius: 30px;
    background: var(--v-card);
    border: 1px solid rgba(218, 248, 194, 0.06);
    display: flex; flex-direction: column;
    overflow: hidden;
    transition: all 0.5s var(--transition-premium);
}
/* Asymmetry: even cards offset down */
.f-card:nth-child(even) { margin-top: 100px; }
.f-card.last-item-right { height: 480px; }

.f-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%); left: var(--mouse-x, 50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(218, 248, 194, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; transition: opacity 0.5s;
    pointer-events: none; z-index: 1;
}
.f-card:hover::before { opacity: 1; }
.f-card::after {
    content: '';
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: 0.5s; pointer-events: none;
}
.f-card:hover::after { left: 150%; transition: 1.2s; }
.f-card:hover {
    border-color: rgba(218, 248, 194, 0.12);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(218, 248, 194, 0.03);
}

/* Contact card as link */
.contact-card-link {
    display: flex; flex-direction: column;
    width: 100%; height: 100%;
    text-decoration: none; color: inherit;
}

/* Icon area — monochrome SVG */
.card-icon-area {
    width: 100%; height: 240px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    background: linear-gradient(145deg, rgba(0, 91, 82, 0.15) 0%, rgba(8, 38, 35, 0.8) 100%);
    overflow: hidden;
}
.card-icon-area::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 248, 194, 0.06) 0%, transparent 70%);
    animation: icon-pulse 4s ease-in-out infinite;
}
@keyframes icon-pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}
.card-icon-area::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(218, 248, 194, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(218, 248, 194, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.card-icon-svg {
    width: 64px; height: 64px;
    position: relative; z-index: 1;
    fill: none;
    stroke: var(--v-light);
    stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
    opacity: 0.7;
    filter: drop-shadow(0 0 20px rgba(218, 248, 194, 0.15));
    transition: all 0.6s var(--transition-premium);
}
.f-card:hover .card-icon-svg {
    opacity: 1;
    transform: scale(1.1) translateY(-3px);
    filter: drop-shadow(0 0 30px rgba(218, 248, 194, 0.3));
}

.f-info {
    padding: 35px 40px; display: flex; flex-direction: column;
    gap: 10px; flex-grow: 1; position: relative; z-index: 1;
}
.f-info span {
    color: var(--v-tag-green); font-weight: 700;
    text-transform: uppercase; font-size: 0.7rem;
    letter-spacing: 4px;
}
.f-info h3 {
    font-size: 1.6rem; color: var(--v-white);
    font-weight: 900; letter-spacing: 1px;
}
.f-info .card-desc {
    font-size: 0.88rem; color: var(--v-light);
    opacity: 0.55; line-height: 1.5;
}
.v-btn-card {
    align-self: flex-start; padding: 12px 30px;
    border: 1px solid rgba(218, 248, 194, 0.3);
    color: var(--v-light); text-decoration: none;
    border-radius: 50px; font-size: 0.7rem;
    font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; transition: all 0.4s var(--transition-premium);
    position: relative; overflow: hidden; cursor: none;
    background: transparent; display: inline-block;
    margin-top: 5px;
}
.v-btn-card::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    width: 0; height: 0;
    background: var(--v-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s var(--transition-premium), height 0.5s var(--transition-premium);
    z-index: -1;
}
.f-card:hover .v-btn-card::before { width: 200px; height: 200px; }
.f-card:hover .v-btn-card { color: var(--v-black); border-color: var(--v-light); }

/* (face-back removed — cards no longer flip) */
.face-back h3 {
    font-size: 1.4rem; margin-bottom: 15px;
    color: var(--v-white); font-weight: 700; letter-spacing: 1px;
}
.face-back > p {
    font-size: 0.9rem; opacity: 0.75;
    margin-bottom: 25px; line-height: 1.6; color: var(--v-light);
}

/* Process mini-cards */
.process-steps-container {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 12px; flex-grow: 1; margin-bottom: 20px;
}
.step-block {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px; padding: 16px;
    display: flex; align-items: center; gap: 12px;
    border: 1px solid rgba(218, 248, 194, 0.05);
    transition: all 0.3s var(--transition-premium);
}
.step-block:hover {
    background: rgba(218, 248, 194, 0.05);
    border-color: rgba(218, 248, 194, 0.1);
    transform: translateY(-3px);
}
.step-number {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, var(--v-green), rgba(0, 91, 82, 0.7));
    color: var(--v-light);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; flex-shrink: 0; font-size: 0.8rem;
}
.step-text { color: var(--v-white); font-size: 0.8rem; line-height: 1.3; }

/* Course options list */
.courses-list {
    list-style: none; flex-grow: 1;
    border-top: 1px solid rgba(218, 248, 194, 0.1);
}
.courses-list li {
    padding: 16px 10px;
    border-bottom: 1px solid rgba(218, 248, 194, 0.08);
    color: var(--v-light); transition: all 0.3s var(--transition-premium);
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-size: 0.9rem;
}
.courses-list li:hover {
    padding-left: 18px; color: var(--v-white);
    background: rgba(218, 248, 194, 0.04);
}
.courses-list li span { transition: transform 0.3s var(--transition-premium); }
.courses-list li:hover span { transform: translateX(5px); }

/* Card nav buttons */
.v-btn-nav {
    align-self: center; margin-top: 15px;
    color: var(--v-light); font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 2px;
    opacity: 0.5; cursor: pointer;
    transition: all 0.3s var(--transition-premium);
    border: none; background: none;
    border-bottom: 1px solid transparent;
    font-family: var(--font-main);
}
.v-btn-nav:hover { opacity: 1; border-bottom-color: var(--v-light); }

.v-btn-contact-face2 {
    align-self: center; margin-top: auto; padding: 12px 35px;
    background: var(--v-light); color: var(--v-bg);
    border-radius: 50px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    font-size: 0.75rem; text-decoration: none;
    transition: all 0.4s var(--transition-premium);
}
.v-btn-contact-face2:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(218, 248, 194, 0.2);
}

/* Contact card */
.contact-card-front { display: flex; flex-direction: column; }
.contact-card-icon {
    width: 100%; height: 200px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, rgba(0, 91, 82, 0.25) 0%, rgba(8, 38, 35, 0.8) 100%);
    position: relative; overflow: hidden;
}
.contact-card-icon::before {
    content: '';
    position: absolute;
    width: 150px; height: 150px;
    border: 1px solid rgba(218, 248, 194, 0.06);
    border-radius: 50%;
    animation: contact-ring 6s ease-in-out infinite;
}
@keyframes contact-ring {
    0%, 100% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.6; }
}
.contact-card-info {
    padding: 35px 40px; flex-grow: 1;
    display: flex; flex-direction: column;
    justify-content: space-between; gap: 12px;
}
.contact-card-info span {
    color: var(--v-tag-green); font-weight: 700;
    text-transform: uppercase; font-size: 0.7rem; letter-spacing: 4px;
}
.contact-card-info h3 {
    font-size: 1.6rem; color: var(--v-white); font-weight: 900;
}
.contact-card-info p {
    font-size: 0.88rem; color: var(--v-light);
    opacity: 0.55; line-height: 1.5; max-width: 400px;
}

/* ============================================
   4. COURSE DETAIL MODAL
   ============================================ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    z-index: 50000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.5s var(--transition-premium);
    overflow-y: auto; /* Scroll the overlay */
    padding: 50px 0; /* Space at top/bottom when scrolling */
}
.modal-overlay.visible { opacity: 1; visibility: visible; }
.modal-content {
    background: linear-gradient(160deg, #0c3530 0%, var(--v-card) 40%, #051a18 100%);
    border: 1px solid rgba(218, 248, 194, 0.1);
    border-radius: 30px;
    padding: 55px 50px;
    max-width: 900px; width: 90%;
    margin: auto; /* Center in the scrolling overlay */
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s var(--transition-premium);
    max-height: none; /* No internal height limit */
    overflow-y: visible; /* No internal scroll */
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(218, 248, 194, 0.03);
}
.modal-overlay.visible .modal-content { transform: translateY(0) scale(1); }
.modal-content::before {
    content: '';
    position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(218, 248, 194, 0.08), transparent 50%, rgba(0, 91, 82, 0.1));
    z-index: -1; pointer-events: none;
}
.modal-close {
    position: absolute; top: 20px; right: 25px;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(218, 248, 194, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: var(--v-light); font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--transition-premium);
}
.modal-close:hover {
    background: rgba(218, 248, 194, 0.1);
    border-color: var(--v-light);
    transform: rotate(90deg);
}
.modal-header {
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 25px; padding-bottom: 20px;
    border-bottom: 1px solid rgba(218, 248, 194, 0.08);
}
.modal-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, rgba(218, 248, 194, 0.1), rgba(218, 248, 194, 0.03));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(218, 248, 194, 0.08);
    flex-shrink: 0;
}
.modal-icon svg {
    width: 24px; height: 24px;
    stroke: var(--v-light); fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.modal-header h3 {
    font-size: 1.5rem; color: var(--v-white);
    font-weight: 900; letter-spacing: 1px;
}
.modal-tag {
    display: inline-block; padding: 5px 14px;
    background: rgba(0, 91, 82, 0.3);
    border: 1px solid rgba(0, 91, 82, 0.4);
    border-radius: 50px;
    color: var(--v-tag-green);
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 20px;
}
.modal-description {
    font-size: 0.95rem; line-height: 1.7;
    color: var(--v-light); opacity: 0.85; margin-bottom: 28px;
}
.modal-goals-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px; padding: 25px;
    border: 1px solid rgba(218, 248, 194, 0.05);
    margin-bottom: 30px;
}
.modal-goals-title {
    font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 3px; color: var(--v-tag-green);
    margin-bottom: 15px; font-weight: 700;
}
.modal-goals-list {
    list-style: none; display: grid;
    grid-template-columns: 1fr; gap: 10px;
}
.modal-goals-list li {
    display: flex; align-items: center; gap: 10px;
    color: var(--v-light); font-size: 0.88rem;
}
.modal-goals-list li .goal-check {
    color: var(--v-tag-green); font-weight: 900; font-size: 0.9rem;
}
.modal-cta {
    display: inline-block; padding: 14px 40px;
    background: var(--v-light); color: var(--v-bg);
    border-radius: 50px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    font-size: 0.75rem; text-decoration: none;
    border: none; cursor: pointer;
    transition: all 0.4s var(--transition-premium);
    font-family: var(--font-main);
}
.modal-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(218, 248, 194, 0.25);
}

/* Modal back button */
.modal-back-btn {
    display: inline-flex; align-items: center;
    background: none; border: none;
    color: var(--v-tag-green); font-size: 0.8rem;
    font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer; margin-bottom: 20px;
    transition: all 0.3s var(--transition-premium);
    font-family: var(--font-main);
    padding: 0;
}
.modal-back-btn:hover { color: var(--v-light); transform: translateX(-5px); }

/* ============================================
   5. NOSOTROS PAGE STYLES
   ============================================ */

/* --- About Intro --- */
.about-intro {
    padding: 120px 8%;
    position: relative;
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-intro-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900; color: var(--v-white);
    margin-bottom: 30px; line-height: 1.1;
    letter-spacing: 2px;
}
.about-intro-text p {
    font-size: 1rem; line-height: 1.8;
    color: var(--v-light); opacity: 0.75;
    margin-bottom: 20px; max-width: 100%;
}

/* Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat-card {
    background: var(--v-card);
    border: 1px solid rgba(218, 248, 194, 0.06);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.5s var(--transition-premium);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0, 91, 82, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
    border-color: rgba(218, 248, 194, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--v-white);
    display: inline;
    position: relative;
}
.stat-suffix {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--v-tag-green);
    display: inline;
}
.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--v-tag-green);
    margin-top: 10px;
    font-weight: 700;
}

/* --- Visión / Misión --- */
.vm-section {
    background: var(--v-green);
    padding: 140px 8%;
    position: relative;
    overflow: hidden;
}
.vm-section::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(218, 248, 194, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: cta-pulse 5s ease-in-out infinite;
    pointer-events: none;
}
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.vm-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    transition: all 0.5s var(--transition-premium);
    position: relative;
    overflow: hidden;
}
.vm-card::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.5s;
}
.vm-card:hover::before { left: 150%; transition: 1.2s; }
.vm-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.vm-icon {
    width: 64px; height: 64px;
    margin-bottom: 25px;
    color: var(--v-light);
    opacity: 0.8;
}
.vm-icon svg { width: 100%; height: 100%; }
.vm-tag {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--v-light); opacity: 0.7;
    display: block; margin-bottom: 15px;
}
.vm-card h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 900; color: var(--v-white);
    margin-bottom: 20px; letter-spacing: 2px;
}
.vm-card p {
    font-size: 1rem; line-height: 1.8;
    color: var(--v-white); opacity: 0.85;
    max-width: 100%;
}
.vm-line {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--v-light), transparent);
    margin-top: 30px; border-radius: 2px;
}

/* --- Valores --- */
.valores-section {
    background: var(--v-black);
    padding: 120px 8%;
    position: relative;
}
.valores-header {
    text-align: center;
    margin-bottom: 80px;
}
.valores-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; color: var(--v-white);
    letter-spacing: 4px;
}
.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.valor-card {
    background: var(--v-card);
    border: 1px solid rgba(218, 248, 194, 0.06);
    border-radius: 20px;
    padding: 45px 35px;
    transition: all 0.5s var(--transition-premium);
    position: relative;
    overflow: hidden;
}
.valor-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--v-green), var(--v-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--transition-premium);
}
.valor-card:hover::before { transform: scaleX(1); }
.valor-card:hover {
    border-color: rgba(218, 248, 194, 0.12);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.valor-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem; font-weight: 900;
    color: var(--v-tag-green); opacity: 0.6;
    line-height: 1; margin-bottom: 15px;
}
.valor-card h3 {
    font-size: 1.3rem; font-weight: 900;
    color: var(--v-white); margin-bottom: 15px;
    letter-spacing: 1px;
}
.valor-card p {
    font-size: 0.92rem; line-height: 1.7;
    color: var(--v-light); opacity: 0.65;
    max-width: 100%;
}

/* --- Why Choose Us --- */
.why-section {
    background: var(--v-bg);
    padding: 120px 8%;
    position: relative;
}
.why-header {
    text-align: center;
    margin-bottom: 80px;
}
.why-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; color: var(--v-white);
    letter-spacing: 4px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.why-item {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    transition: all 0.5s var(--transition-premium);
    position: relative;
}
.why-item::after {
    content: '';
    position: absolute; bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--v-green);
    transition: all 0.5s var(--transition-premium);
    transform: translateX(-50%);
}
.why-item:hover::after { width: 60%; }
.why-item:hover { transform: translateY(-10px); }
.why-icon-wrap {
    width: 70px; height: 70px;
    margin: 0 auto 25px;
    color: var(--v-tag-green);
    background: rgba(0, 91, 82, 0.15);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.4s var(--transition-premium);
}
.why-icon-wrap svg { width: 36px; height: 36px; }
.why-item:hover .why-icon-wrap {
    background: rgba(0, 91, 82, 0.3);
    transform: scale(1.1);
}
.why-item h3 {
    font-size: 1.1rem; font-weight: 900;
    color: var(--v-white); margin-bottom: 15px;
    letter-spacing: 1px;
}
.why-item p {
    font-size: 0.88rem; line-height: 1.6;
    color: var(--v-light); opacity: 0.6;
    max-width: 100%;
}
.why-cta {
    text-align: center;
    margin-top: 60px;
}

/* ============================================
   6. CONTACTO PAGE STYLES
   ============================================ */

.contact-hero { height: 60vh; }

/* --- Contact Section --- */
.contact-section {
    padding: 100px 8% 120px;
    position: relative;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: flex-start;
}

/* Contact Info Side */
.contact-info-side h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900; color: var(--v-white);
    margin-bottom: 20px; line-height: 1.1;
    letter-spacing: 2px;
}
.contact-info-side > p {
    font-size: 1rem; line-height: 1.8;
    color: var(--v-light); opacity: 0.7;
    margin-bottom: 40px; max-width: 100%;
}
.contact-info-cards {
    display: flex; flex-direction: column;
    gap: 16px; margin-bottom: 40px;
}
.info-card {
    display: flex; align-items: center; gap: 18px;
    padding: 20px;
    background: var(--v-card);
    border: 1px solid rgba(218, 248, 194, 0.06);
    border-radius: 16px;
    transition: all 0.4s var(--transition-premium);
}
.info-card:hover {
    border-color: rgba(218, 248, 194, 0.12);
    transform: translateX(5px);
    background: linear-gradient(135deg, #0a2e2a 0%, var(--v-card) 100%);
}
.info-card-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    color: var(--v-tag-green);
    background: rgba(0, 91, 82, 0.2);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.info-card-icon svg { width: 22px; height: 22px; }
.info-card h4 {
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--v-tag-green); margin-bottom: 4px;
}
.info-card p {
    font-size: 0.9rem; color: var(--v-white);
    opacity: 0.8; margin-bottom: 0;
}
.contact-social {
    display: flex; gap: 15px;
}

/* Form */
.contact-form-wrap {
    background: var(--v-card);
    border: 1px solid rgba(218, 248, 194, 0.06);
    border-radius: 30px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}
.contact-form-wrap::before {
    content: '';
    position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(218, 248, 194, 0.06), transparent 40%, rgba(0, 91, 82, 0.08));
    z-index: -1; pointer-events: none;
}
.form-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(218, 248, 194, 0.08);
}
.form-header h3 {
    font-size: 1.5rem; font-weight: 900;
    color: var(--v-white); letter-spacing: 1px;
    margin-bottom: 8px;
}
.form-header p {
    font-size: 0.85rem; color: var(--v-light);
    opacity: 0.5; margin-bottom: 0;
}
.required-mark { color: var(--v-tag-green); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 22px;
}
.form-group label {
    display: block; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--v-light);
    margin-bottom: 10px; opacity: 0.7;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(218, 248, 194, 0.1);
    border-radius: 12px;
    color: var(--v-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.4s var(--transition-premium);
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(218, 248, 194, 0.3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--v-green);
    background: rgba(0, 91, 82, 0.08);
    box-shadow: 0 0 20px rgba(0, 91, 82, 0.15);
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238ec7a3' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.form-group select option {
    background: var(--v-card);
    color: var(--v-white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-checkbox {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 30px;
}
.form-checkbox input[type="checkbox"] {
    width: 18px; height: 18px; flex-shrink: 0;
    margin-top: 2px; cursor: pointer;
    accent-color: var(--v-green);
}
.form-checkbox label {
    text-transform: none; letter-spacing: 0;
    font-weight: 400; font-size: 0.85rem;
    line-height: 1.5; opacity: 0.6;
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    font-family: var(--font-main);
    background: var(--v-green);
    color: var(--v-white);
    border: 2px solid var(--v-green);
}
.form-submit:hover {
    background: #003d36;
    border-color: #003d36;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 91, 82, 0.4);
    color: var(--v-white);
}
.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: success-in 0.6s var(--transition-premium);
}
@keyframes success-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.success-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--v-green), rgba(0, 91, 82, 0.7));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--v-light);
    margin: 0 auto 20px;
}
.form-success h4 {
    font-size: 1.3rem; color: var(--v-white);
    margin-bottom: 10px;
}
.form-success p {
    font-size: 0.95rem; color: var(--v-light);
    opacity: 0.7; max-width: 400px; margin: 0 auto;
}

/* --- FAQ Section --- */
.faq-section {
    background: var(--v-green);
    padding: 120px 8%;
    position: relative;
    overflow: hidden;
}
.faq-section::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(218, 248, 194, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: cta-pulse 5s ease-in-out infinite;
    pointer-events: none;
}
.faq-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}
.faq-header h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900; color: var(--v-white);
    letter-spacing: 4px;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.faq-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--transition-premium);
}
.faq-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}
.faq-item h4 {
    font-size: 1rem; font-weight: 900;
    color: var(--v-white); margin-bottom: 12px;
    line-height: 1.3;
}
.faq-item p {
    font-size: 0.9rem; line-height: 1.7;
    color: var(--v-white); opacity: 0.8;
    margin-bottom: 0; max-width: 100%;
}

/* ============================================
   7. RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    body { cursor: auto; overflow-x: hidden; width: 100%; }
    .cursor-dot, .cursor-ring { display: none; }
    
    .header-actions { display: flex; }
    
    header { 
        padding: 15px 20px !important; 
        left: 0 !important; 
        width: 100% !important; 
        box-sizing: border-box !important;
    }
    header.solid { padding: 12px 20px !important; }
    
    #main-nav {
        position: fixed; inset: 0; width: 100%; height: 100vh;
        background: var(--v-bg); z-index: 1000;
        display: flex; align-items: center; justify-content: center;
        opacity: 0; visibility: hidden; pointer-events: none;
        transition: all 0.6s var(--transition-premium);
        backdrop-filter: blur(20px);
    }
    #main-nav.active { opacity: 1; visibility: visible; pointer-events: all; }
    
    #main-nav ul {
        flex-direction: column; gap: 40px; text-align: center;
        transform: translateY(30px); transition: transform 0.6s var(--transition-premium);
    }
    #main-nav.active ul { transform: translateY(0); }
    
    #main-nav a { font-size: 1.5rem; letter-spacing: 5px; }

    .footer-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .footer-brand-flex { flex-direction: column; align-items: center; text-align: center; }
    .footer-brand p { margin-left: auto; margin-right: auto; }
    .footer-social { justify-content: center; }
    .footer-bottom p { white-space: normal; padding: 0 5%; }
    .footer-contact { text-align: center; }

    /* Index responsive */
    .row { flex-direction: column; gap: 40px; padding: 80px 6%; text-align: center; overflow: hidden; }
    .row.reverse { flex-direction: column; }
    .col-text { width: 100%; display: flex; flex-direction: column; align-items: center; }
    .col-img { width: 100%; flex: none; height: 350px; border-radius: 20px; }
    .services-grid { grid-template-columns: 1fr; padding: 0 5%; }
    .hero, .services-hero { padding: 0 10%; text-align: center; }
    .hero h1, .services-hero h1 { 
        font-size: clamp(2rem, 10vw, 3.5rem); 
        letter-spacing: 0.1em; 
        line-height: 1.2;
        width: 100%;
    }
    #hero-tagline, .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 3px;
        line-height: 1.5;
        padding: 0 5%;
        margin-top: 15px;
    }
    
    .brands-section h2 { padding: 0 5%; }
    .marquee-content { gap: 60px; padding-right: 60px; }
    .marquee-content img { height: 70px; }

    /* Servicios responsive */
    .services-floating-grid { grid-template-columns: 1fr; gap: 40px; }
    .f-card:nth-child(even),
    .f-card { margin-top: 0; height: auto; min-height: 450px; }
    .f-card.last-item-right { min-height: 400px; }
    .f-info { padding: 30px 25px; align-items: center; text-align: center; }
    .v-btn-card { align-self: center; }
    
    .bonus-grid { grid-template-columns: 1fr; text-align: center; }
    .bonus-col { align-items: center; padding: 30px 20px; }
    .bonus-divider { width: 100%; height: 1px; margin: 0; opacity: 0.1; }
    .process-steps-container { grid-template-columns: 1fr; gap: 15px; }
    .card-icon-area { height: 160px; }
    .card-icon-svg { width: 44px; height: 44px; }
    .modal-content { padding: 40px 20px; width: 95%; }

    /* Nosotros responsive */
    .about-intro-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .about-stats-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .vm-grid { grid-template-columns: 1fr; gap: 30px; }
    .vm-card { padding: 40px 25px; align-items: center; text-align: center; }
    .vm-icon { margin-left: auto; margin-right: auto; }
    .valores-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

    /* Contacto responsive */
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-info-side { text-align: center; align-items: center; display: flex; flex-direction: column; }
    .contact-form-wrap { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    
    /* WhatsApp hidden here will be overridden by the definition below, 
       so I will move this specific rule to the end of the block below or 
       after the main definition. */
}

/* ============================================
   8. WHATSAPP FLOATING BUTTON (PREMIUM)
   ============================================ */
.wpp-float {
    position: fixed;
    bottom: 35px; right: 35px;
    width: 65px; height: 65px;
    z-index: 10000;
    border-radius: 50% !important;
    background: linear-gradient(145deg, #25D366, #128C7E);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.5s var(--transition-premium);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wpp-float img {
    width: 32px; height: 32px;
    object-fit: contain;
    transition: transform 0.4s var(--transition-premium);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Double pulse effect */
.wpp-float::before,
.wpp-float::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.4;
    z-index: -1;
    animation: wpp-ripple 2.5s infinite var(--transition-premium);
}

.wpp-float::after {
    animation-delay: 1.25s;
}

.wpp-float:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45);
    background: linear-gradient(145deg, #2ae06d, #149c8c);
}

.wpp-float:hover img {
    transform: scale(1.1) rotate(5deg);
}

@keyframes wpp-ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 900px) {
    .wpp-float { display: none !important; }
}

/* ============================================
   9. GRACIAS PAGE
   ============================================ */
.gracias-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 8%;
    position: relative;
}
.gracias-content {
    text-align: center;
    max-width: 600px;
}
.gracias-icon {
    width: 100px; height: 100px;
    margin: 0 auto 35px;
    color: var(--v-tag-green);
    animation: gracias-check 0.8s var(--transition-premium);
}
.gracias-icon svg { width: 100%; height: 100%; }
@keyframes gracias-check {
    from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}
.gracias-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900; color: var(--v-white);
    letter-spacing: 4px; margin-bottom: 25px;
}
.gracias-content p {
    font-size: 1.05rem; line-height: 1.8;
    color: var(--v-light); opacity: 0.7;
    margin-bottom: 45px; max-width: 100%;
}
.gracias-actions {
    display: flex; gap: 20px;
    justify-content: center; flex-wrap: wrap;
}
.v-btn-outline {
    display: inline-block;
    padding: 16px 45px;
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--v-white);
    background: transparent;
    border: 2px solid rgba(218, 248, 194, 0.3);
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.5s var(--transition-premium);
}
.v-btn-outline:hover {
    border-color: var(--v-green);
    background: rgba(0, 91, 82, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 91, 82, 0.2);
}
