/* ROOT VARS */
:root {
    --deep-abyss: #07162c;
    --glacial-white: #f4f9fc;
    --crystal-cyan: #00d2ff;
    --aurora-teal: #00e5ff;
    --pure-emerald: #00e676;
    --bg-main: #f3f8fb;
    --bg-alt: #ffffff;
    --text-dark: #07162c;
    --text-light: #3e5c76;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.6);
    --radius-md: 20px;
    --radius-lg: 30px;
    --shadow-soft: 0 20px 50px rgba(7, 22, 44, 0.04);
    --shadow-crystal: 0 15px 35px rgba(0, 210, 255, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.6);
    --shadow-glow: 0 10px 30px rgba(0, 210, 255, 0.25);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* DARK THEME OVERRIDES */
[data-theme="dark"] {
    --deep-abyss: #030a16;
    --glacial-white: #0a182c;
    --bg-main: #050e1a;
    --bg-alt: #0a182c;
    --text-dark: #f0f7ff;
    --text-light: #94a3b8;
    --glass-bg: rgba(10, 24, 44, 0.75);
    --glass-border: rgba(0, 210, 255, 0.15);
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.4);
    --shadow-crystal: 0 15px 35px rgba(0, 210, 255, 0.15), inset 0 0 15px rgba(0, 210, 255, 0.1);
}

/* GENERAL */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}
h1, h2, h3, h4, .text-gradient-dynamic { font-family: 'Outfit', sans-serif; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 5; }
.text-center { text-align: center; }

/* TYPOGRAPHY UTILS */
.text-blue { color: var(--crystal-cyan); }
.text-green { color: var(--pure-emerald); }
.section-title { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; color: var(--text-dark); letter-spacing: -1.5px; line-height: 1.15; }
.section-subtitle { font-size: 1.15rem; color: var(--text-light); margin-bottom: 3.5rem; max-width: 600px; margin-left: auto; margin-right: auto;}
.text-gradient-dynamic {
    background: linear-gradient(135deg, var(--crystal-cyan), var(--aurora-teal), var(--crystal-cyan));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 6s linear infinite;
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.1);
}
@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.text-white { color: #fff !important; }
.text-white-70 { color: rgba(255,255,255,0.7) !important; }
.drop-shadow { text-shadow: 0 4px 15px rgba(0,0,0,0.25); }

/* BUTTONS */
.btn-primary-glow {
    display: inline-block;
    background: linear-gradient(135deg, var(--crystal-cyan), #008cc2);
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.3);
    border: 1px solid rgba(255,255,255,0.25);
    position: relative;
    overflow: hidden;
}
.btn-primary-glow::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
}
.btn-primary-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.45);
}
.btn-primary-glow:hover::after {
    animation: shine 1.5s infinite;
}
@keyframes shine { 100% { left: 200%; } }

.btn-glass {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.65);
    color: var(--text-dark);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(7, 22, 44, 0.03);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.7);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(7, 22, 44, 0.08);
}

/* NAVBAR */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    border-radius: 50px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(7, 22, 44, 0.04);
    transition: var(--transition);
}
.navbar.scrolled {
    top: 10px;
    width: 95%;
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 210, 255, 0.15);
    box-shadow: 0 15px 35px rgba(7, 22, 44, 0.08), 0 0 15px rgba(0, 210, 255, 0.03);
}
.logo { display: flex; align-items: center; gap: 12px; }
.main-logo-img { height: 50px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06)); transition: var(--transition); }
.main-logo-img:hover { transform: scale(1.05); }

.nav-links { list-style: none; display: flex; gap: 2.5rem; }
.nav-links a {
    font-weight: 600; color: var(--text-light); transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -4px; left: 0; background: var(--crystal-cyan);
    transition: width 0.3s;
}
.nav-links a:hover { color: var(--text-dark); }
.nav-links a.active { color: var(--crystal-cyan); }
.nav-links a.active::after { width: 100%; }

/* BUBBLES BACKGROUND */
.bubbles-container { position: fixed; top:0; left:0; width:100%; height:100%; pointer-events: none; z-index: 0; overflow: hidden; }
.bubble {
    position: absolute; bottom: -120px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.75) 0%, rgba(0, 210, 255, 0.06) 65%, rgba(0, 210, 255, 0.18) 100%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 0 15px rgba(255,255,255,0.7), 0 0 12px rgba(0, 210, 255, 0.1);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    animation: rise infinite ease-in;
}
.bubble:nth-child(1) { width: 45px; height: 45px; left: 8%; animation-duration: 9s; }
.bubble:nth-child(2) { width: 25px; height: 25px; left: 28%; animation-duration: 6s; animation-delay: 1.5s;}
.bubble:nth-child(3) { width: 60px; height: 60px; left: 55%; animation-duration: 12s; animation-delay: 2.5s;}
.bubble:nth-child(4) { width: 35px; height: 35px; left: 78%; animation-duration: 7s; }
.bubble:nth-child(5) { width: 20px; height: 20px; left: 45%; animation-duration: 5s; animation-delay: 3.5s;}
.bubble:nth-child(6) { width: 50px; height: 50px; left: 88%; animation-duration: 11s; animation-delay: 0.5s;}

@keyframes rise {
    0% { transform: translateY(0) scale(0.9); opacity: 0; }
    8% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-120vh) scale(1.3); opacity: 0; }
}

/* HERO SECTION */
.hero {
    position: relative;
    padding: 200px 0 160px;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.08) 0%, transparent 60%);
    overflow: hidden;
}
.hero-content {
    position: relative; z-index: 10;
    max-width: 850px; margin: 0 auto;
    padding: 0 20px;
}
.badge-premium {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 230, 118, 0.08);
    color: var(--pure-emerald);
    padding: 8px 18px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 700; margin-bottom: 2rem;
    border: 1px solid rgba(0, 230, 118, 0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.05);
}
.badge-premium i, .badge-premium svg { width: 14px; height: 14px; }
.hero-title { font-size: 4.8rem; line-height: 1.1; margin-bottom: 1.5rem; color: var(--text-dark); letter-spacing: -2px; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-light); margin-bottom: 3.5rem; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; align-items: center; }

/* FLOATING CUBES (3D SVGs) */
.cube {
    position: absolute;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    filter: drop-shadow(0 15px 30px rgba(0, 210, 255, 0.12));
}
.cube-1 { width: 90px; height: 90px; top: 15%; left: 8%; }
.cube-2 { width: 130px; height: 130px; top: 25%; right: 6%; }
.cube-3 { width: 70px; height: 70px; bottom: 18%; left: 16%; }

.cube svg {
    width: 100%; height: 100%;
    animation: floatCube 8s infinite alternate ease-in-out;
}
.cube-2 svg { animation-duration: 12s; animation-delay: -2s; }
.cube-3 svg { animation-duration: 7s; animation-delay: -4s; }

@keyframes floatCube {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(30px) rotate(15deg); }
}

/* WAVES */
.wave-divider {
    position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0;
}
.wave-divider svg { display: block; width: calc(100% + 1.3px); height: 75px; }
.wave-divider .shape-fill { fill: #ffffff; }
.wave-divider .shape-fill-white { fill: var(--bg-main); }
.wave-top { top: 0; transform: rotate(180deg); }

/* VISION SECTION */
.vision { padding: 9rem 0; background: #ffffff; position: relative; }
.vision::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.2), transparent);
}
.vision-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 5.5rem; align-items: center; }
.section-badge { font-size: 0.9rem; color: var(--crystal-cyan); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; font-weight: 700; font-family:'Outfit', sans-serif;}
.vision-metrics { display: flex; gap: 3.5rem; margin-top: 3.5rem; }
.metric { display: flex; flex-direction: column; }
.metric-num { font-size: 3.8rem; font-weight: 800; color: var(--crystal-cyan); font-family: 'Outfit'; line-height: 1; text-shadow: 0 0 15px rgba(0, 210, 255, 0.1); }
.metric-label { font-weight: 600; color: var(--text-light); margin-top: 0.5rem; font-size: 0.95rem; }
.vision-graphics { position: relative; display: flex; justify-content: center; align-items: center; }
.vision-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}
.vision-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
.vision-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 5px solid #ffffff;
    box-shadow: 0 30px 60px rgba(7, 22, 44, 0.08), 0 0 30px rgba(0, 210, 255, 0.05);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    object-fit: cover;
}
.vision-img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 40px 80px rgba(7, 22, 44, 0.12), 0 0 45px rgba(0, 210, 255, 0.1);
}

/* MISIÓN Y ALCANCE SECTION */
.mision-alcance {
    padding: 7rem 0 8rem;
    background: var(--bg-main);
    position: relative;
}
.mision-alcance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.25), transparent);
}
.header-mision-alcance {
    margin-bottom: 3.5rem;
}
.ma-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}
.ma-card {
    background: var(--bg-alt);
    border: 1px solid rgba(0, 210, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.ma-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--crystal-cyan), var(--aurora-teal));
    opacity: 0;
    transition: var(--transition);
}
.ma-card.alcance-box::before {
    background: linear-gradient(90deg, var(--aurora-teal), var(--pure-emerald));
}
.ma-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(7, 22, 44, 0.08), 0 0 25px rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.35);
}
.ma-card:hover::before {
    opacity: 1;
}

.ma-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}
.ma-icon-badge {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--crystal-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 210, 255, 0.2);
    flex-shrink: 0;
}
.ma-icon-badge.badge-green {
    background: rgba(0, 230, 118, 0.1);
    color: var(--pure-emerald);
    border-color: rgba(0, 230, 118, 0.25);
}
.ma-icon {
    width: 28px;
    height: 28px;
}
.ma-card-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--crystal-cyan);
    display: block;
    margin-bottom: 2px;
}
.ma-card-tag.tag-green {
    color: var(--pure-emerald);
}
.ma-card-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}
.ma-text {
    font-size: 1.02rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Highlights in Misión */
.ma-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ma-hl-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    background: rgba(0, 210, 255, 0.04);
    border-radius: 18px;
    border: 1px solid rgba(0, 210, 255, 0.1);
    transition: var(--transition);
}
.ma-hl-item:hover {
    background: rgba(0, 210, 255, 0.08);
    transform: translateX(4px);
}
.hl-icon {
    width: 22px;
    height: 22px;
    color: var(--crystal-cyan);
    flex-shrink: 0;
    margin-top: 2px;
}
.ma-hl-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}
.ma-hl-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Alcance Pillars */
.alcance-pillars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.pillar-card {
    padding: 1.1rem 1.2rem;
    background: rgba(0, 230, 118, 0.04);
    border: 1px solid rgba(0, 230, 118, 0.1);
    border-radius: 18px;
    transition: var(--transition);
}
.pillar-card:hover {
    background: rgba(0, 230, 118, 0.08);
    border-color: rgba(0, 230, 118, 0.25);
    transform: translateX(4px);
}
.pillar-icon {
    width: 20px;
    height: 20px;
    color: var(--pure-emerald);
    margin-bottom: 0.3rem;
}
.pillar-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}
.pillar-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* SERVICES (CRYSTALLINE ICE CARDS) */
.servicios {
    padding: 10rem 0;
    background: var(--deep-abyss);
    position: relative; overflow: hidden;
}
.gradient-mesh {
    position: absolute; top:0; left:0; right:0; bottom:0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(0, 210, 255, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(0, 230, 118, 0.06) 0%, transparent 45%);
    pointer-events: none;
}
.services-container {
    position: relative; z-index: 10;
}
.services-3d-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem; margin-top: 4.5rem;
}
.service-neon-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.015);
    backdrop-filter: blur(25px) saturate(120%);
    -webkit-backdrop-filter: blur(25px) saturate(120%);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.service-neon-card::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent 60%);
    pointer-events: none;
}
.service-neon-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(255,255,255,0.03);
    border-color: rgba(0, 210, 255, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 
                0 0 30px rgba(0, 210, 255, 0.1),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
}
.neon-border {
    position: absolute; top:0; left:0; width:100%; height:100%; pointer-events: none; z-index: 1;
}

.card-glass-content {
    padding: 3.5rem 3rem; position: relative; z-index: 2; color: #fff;
}
.icon-hex {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(0, 210, 255, 0.02));
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.icon-hex.green-hex {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(0, 230, 118, 0.02));
    border-color: rgba(0, 230, 118, 0.3);
}
.service-neon-card:hover .icon-hex {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.3);
}
.service-neon-card:hover .icon-hex.green-hex {
    box-shadow: 0 10px 25px rgba(0, 230, 118, 0.3);
}
.icon-service { width: 32px; height: 32px; color: #fff; }
.card-glass-content h3 { font-size: 1.7rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.5px; }
.card-glass-content p { color: rgba(255,255,255,0.65); margin-bottom: 2.2rem; font-size: 0.98rem; line-height: 1.6; }
.check-list { list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.check-list li i, .check-list li svg { color: var(--pure-emerald); width: 18px; height: 18px; }

/* CERTIFICADOS MODERN */
.certificados-modern { padding: 8rem 0; background: var(--bg-main); position: relative; }
.container-certs { position: relative; z-index: 10; }
.cert-carousel {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem; margin-top: 4rem;
}
.cert-chip {
    display: flex; align-items: center; gap: 20px;
    background: #fff; padding: 1.8rem; border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft); transition: var(--transition);
    border: 1px solid rgba(0, 210, 255, 0.03);
}
.cert-chip:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.15);
}
.chip-icon {
    width: 55px; height: 55px; border-radius: 15px;
    background: rgba(0, 210, 255, 0.08); color: rgba(0, 102, 204, 0.85);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.chip-icon i, .chip-icon svg { width: 24px; height: 24px; }
.cert-chip:hover .chip-icon {
    background: var(--crystal-cyan);
    color: #fff;
    transform: scale(1.05);
}
.chip-text { display: flex; flex-direction: column; }
.chip-text strong { font-family: 'Outfit'; font-size: 1.15rem; color: var(--text-dark); font-weight: 700; }
.chip-text span { font-size: 0.88rem; color: var(--text-light); margin-top: 0.2rem; }

/* OPINIONES & MARQUEE */
.opiniones { padding: 8rem 0 9rem; position: relative; background: #ffffff; }
.testimonial-slider {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem; margin-top: 4.5rem;
}
.testimo-glass {
    position: relative;
    background: var(--bg-main); padding: 3.5rem 3rem 3rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(7, 22, 44, 0.02);
    transition: var(--transition);
}
.testimo-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(7, 22, 44, 0.06);
    border-color: rgba(0, 210, 255, 0.1);
}
.quote-icon {
    position: absolute; top: 1.8rem; left: 2.5rem;
    color: var(--crystal-cyan); opacity: 0.12;
}
.quote-icon i, .quote-icon svg { width: 45px; height: 45px; }
.review-text { font-size: 1.15rem; font-style: italic; margin-bottom: 2rem; position: relative; z-index: 2; color: var(--text-dark); line-height: 1.7; font-family: 'Outfit', sans-serif; font-weight: 300; }
.testimo-author { display: flex; align-items: center; gap: 1.2rem; }
.author-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(0, 210, 255, 0.1); color: var(--crystal-cyan);
    display: flex; align-items:center; justify-content: center;
    border: 1px solid rgba(0, 210, 255, 0.25);
    flex-shrink: 0;
}
.author-avatar i, .author-avatar svg { width: 20px; height: 20px; }
.author-avatar.auth-green { background: rgba(0, 230, 118, 0.1); color: var(--pure-emerald); border-color: rgba(0, 230, 118, 0.25); }
.testimo-author h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); font-family: 'Outfit', sans-serif; }
.testimo-author span { font-size: 0.85rem; color: var(--text-light); font-weight: 500; }

/* MARQUEE SCROLL */
.client-marquee {
    margin-top: 7rem; overflow: hidden; width: 100vw; margin-left: calc(-50vw + 50%); position: relative;
    background: var(--bg-main); padding: 2.5rem 0; border-top: 1px solid rgba(0,0,0,0.02); border-bottom: 1px solid rgba(0,0,0,0.02);
}
.marquee-track {
    display: flex; gap: 6rem; width: max-content;
    align-items: center;
    animation: scrollMarquee 30s linear infinite;
}
.marquee-logo {
    font-size: 1.4rem; font-weight: 800; font-family: 'Outfit';
    color: transparent; -webkit-text-stroke: 1px rgba(7, 22, 44, 0.15);
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 1px;
}
.marquee-logo:hover {
    color: rgba(7, 22, 44, 0.7); -webkit-text-stroke: 0;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.05);
}
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* FOOTER MODERN */
.footer-modern {
    background: var(--deep-abyss); color: rgba(255,255,255,0.65);
    position: relative; overflow: hidden; padding: 7rem 0 2rem;
}
.footer-bg-glow {
    position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px; background: radial-gradient(circle, rgba(0, 210, 255, 0.08), transparent 70%);
    pointer-events: none;
}
.footer-cont { display: grid; grid-template-columns: 1.5fr 1fr; gap: 5rem; padding-bottom: 5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-brand h3 { font-size: 2.2rem; color: #fff; margin-bottom: 1.2rem; font-weight: 800; letter-spacing: -0.5px; }
.footer-brand p { margin-bottom: 2.2rem; max-width: 420px; line-height: 1.8; font-size: 0.98rem; color: rgba(255,255,255,0.6); }
.social-flex { display: flex; gap: 1.2rem; }
.social-bubble {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); color: #fff;
    position: relative; overflow: hidden;
}
.social-bubble svg, .social-bubble i { width: 20px; height: 20px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.social-bubble:hover {
    background: var(--crystal-cyan); border-color: var(--crystal-cyan);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
    transform: translateY(-5px);
}
.social-bubble:hover svg, .social-bubble:hover i { transform: scale(1.1); }
.footer-links h4 { color: #fff; font-size: 1.2rem; margin-bottom: 1.8rem; font-weight: 700; font-family: 'Outfit', sans-serif; }
.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 1.2rem; font-size: 0.98rem; }
.contact-list li i, .contact-list li svg { color: var(--pure-emerald); width: 18px; height: 18px; flex-shrink: 0; }
.contact-list li a { color: inherit; transition: color 0.3s ease; }
.contact-list li a:hover { color: var(--crystal-cyan); }
.footer-credits { text-align: center; padding: 2rem 0 0; font-size: 0.88rem; color: rgba(255,255,255,0.35); }
.footer-legal { text-decoration: underline; color: rgba(255,255,255,0.5); transition: color 0.3s ease; }
.footer-legal:hover { color: #fff; }

/* CONTACT / ORDER FORM SECTION */
.contacto-section {
    padding: 9rem 0;
    background: #ffffff;
    position: relative;
}
.contacto-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.2), transparent);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4.5rem;
    align-items: start;
}
.contact-form-card {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    border: 1px solid rgba(0, 210, 255, 0.05);
    box-shadow: var(--shadow-soft);
}
.form-title, .info-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: -1px;
}
.form-subtitle, .info-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.input-wrapper {
    position: relative;
}
.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 1rem 1.2rem 1rem 3rem;
    border-radius: 15px;
    border: 1px solid rgba(7, 22, 44, 0.08);
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}
.input-wrapper textarea {
    resize: none;
}
.input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    width: 18px;
    height: 18px;
    transition: var(--transition);
    pointer-events: none;
}
.input-wrapper textarea + .input-icon {
    top: 1.8rem;
}
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--crystal-cyan);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}
.input-wrapper input:focus + .input-icon,
.input-wrapper select:focus + .input-icon,
.input-wrapper textarea:focus + .input-icon {
    color: var(--crystal-cyan);
}
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
}

/* INFO COLUMN */
.contact-info-card {
    padding: 1.5rem 0;
}
.info-items {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}
.info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}
.info-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(0, 210, 255, 0.08);
    color: rgba(0, 102, 204, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.info-item-icon i, .info-item-icon svg {
    width: 22px;
    height: 22px;
}
.info-item:hover .info-item-icon {
    background: var(--crystal-cyan);
    color: #ffffff;
    transform: scale(1.05);
}
.info-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.info-item-text strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
}
.info-item-text a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}
.info-item-text a:hover {
    color: var(--crystal-cyan);
}
.info-item-text span {
    color: var(--text-light);
    font-size: 0.95rem;
}
.hydration-badge {
    margin-top: 3.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    padding: 1.2rem;
    border-radius: 18px;
    color: var(--pure-emerald);
    font-weight: 600;
    font-size: 0.92rem;
}
.hydration-badge i, .hydration-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .ma-cards-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .vision-grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .vision-metrics { justify-content: center; }
    .vision-graphics { order: -1; }
    .footer-cont { grid-template-columns: 1fr; gap: 3.5rem; text-align: center; }
    .footer-brand p { margin: 0 auto 2.2rem; }
    .social-flex { justify-content: center; }
    .contact-list li { justify-content: center; }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .contact-form-card {
        padding: 2.5rem;
    }
}
@media (max-width: 768px) {
    .navbar { padding: 0.7rem 1.8rem; width: 95%; }
    .nav-links { display: none; }
    .hero-title { font-size: 3.2rem; }
    .hero { padding: 160px 0 110px; }
    .wave-divider svg { height: 45px; }
    .section-title { font-size: 2.2rem; }
    .services-3d-grid { gap: 2rem; }
    .testimo-glass { padding: 3rem 2rem 2.2rem; }
}
@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

/* THEME TOGGLE BUTTON & ACTIONS */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.theme-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    outline: none;
}
.theme-toggle-btn i, .theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s ease;
}
.theme-toggle-btn:hover {
    transform: scale(1.08) rotate(15deg);
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--crystal-cyan);
    color: var(--crystal-cyan);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

/* ENHANCED FORM SELECT STYLING */
.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300d2ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 16px;
    padding-right: 2.8rem;
    cursor: pointer;
}
.input-wrapper select option {
    background-color: #ffffff;
    color: #07162c;
    padding: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

/* DARK THEME SPECIFIC RULES */
[data-theme="dark"] .navbar {
    background: rgba(10, 24, 44, 0.75);
    border-color: rgba(0, 210, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .navbar.scrolled {
    background: rgba(10, 24, 44, 0.9);
    border-color: rgba(0, 210, 255, 0.25);
}
[data-theme="dark"] .nav-links a {
    color: var(--text-light);
}
[data-theme="dark"] .nav-links a:hover {
    color: #ffffff;
}
[data-theme="dark"] .nav-links a.active {
    color: var(--crystal-cyan);
}
[data-theme="dark"] .theme-toggle-btn {
    background: rgba(10, 24, 44, 0.8);
    border-color: rgba(0, 210, 255, 0.3);
    color: var(--crystal-cyan);
}
.theme-toggle-btn .icon-sun { display: none; }
.theme-toggle-btn .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle-btn .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle-btn .icon-moon { display: none; }

[data-theme="dark"] .hero-title {
    color: #ffffff;
}
[data-theme="dark"] .btn-glass {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
[data-theme="dark"] .btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .vision {
    background: var(--bg-main);
}
[data-theme="dark"] .vision-img {
    border-color: rgba(0, 210, 255, 0.2);
}
[data-theme="dark"] .opiniones {
    background: var(--bg-main);
}
[data-theme="dark"] .cert-chip {
    background: var(--bg-alt);
    border-color: rgba(0, 210, 255, 0.1);
}
[data-theme="dark"] .testimo-glass {
    background: var(--bg-alt);
    border-color: rgba(0, 210, 255, 0.1);
}
[data-theme="dark"] .contacto-section {
    background: var(--bg-main);
}
[data-theme="dark"] .contact-form-card {
    background: var(--bg-alt);
    border-color: rgba(0, 210, 255, 0.1);
}
[data-theme="dark"] .input-wrapper input,
[data-theme="dark"] .input-wrapper select,
[data-theme="dark"] .input-wrapper textarea {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .input-wrapper input::placeholder,
[data-theme="dark"] .input-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
[data-theme="dark"] .input-wrapper select option {
    background-color: #0a182c;
    color: #ffffff;
}
[data-theme="dark"] .wave-divider .shape-fill {
    fill: var(--bg-alt);
}
[data-theme="dark"] .wave-divider .shape-fill-white {
    fill: var(--bg-main);
}
[data-theme="dark"] .client-marquee {
    background: var(--bg-main);
    border-color: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .marquee-logo {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .marquee-logo:hover {
    color: var(--crystal-cyan);
    -webkit-text-stroke: 0;
}

[data-theme="dark"] .mision-alcance {
    background: var(--bg-main);
}
[data-theme="dark"] .ma-card {
    background: var(--bg-alt);
    border-color: rgba(0, 210, 255, 0.12);
}
[data-theme="dark"] .ma-card-title {
    color: #ffffff;
}
[data-theme="dark"] .ma-hl-item {
    background: rgba(0, 210, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.1);
}
[data-theme="dark"] .ma-hl-item strong {
    color: #ffffff;
}
[data-theme="dark"] .pillar-card {
    background: rgba(0, 230, 118, 0.05);
    border-color: rgba(0, 230, 118, 0.12);
}
[data-theme="dark"] .pillar-card h4 {
    color: #ffffff;
}
