/* ================================
   LEVRON PORTFOLIO - STYLES (v5.1 — mobile scroll fix)
   FIXES:
   - body.menu-open: añadido right:0 para evitar flash de ancho en iOS
   - html: overflow-x gestionado con clip (no bloquea inercia vertical)
   - body: scroll-lock limpio sin interferir con iOS rubber-band
   - .mm-inner: scroll interno activado en pantallas pequeñas
   - will-change eliminado de elementos estáticos en mobile para liberar GPU
   ================================ */

:root {
    --black: #050505;
    --dark: #0A0A0A;
    --dark-grey: #111111;
    --mid-grey: #1A1A1A;
    --light-grey: #2A2A2A;
    --text-dark: #888888;
    --text-light: #B8B8B8;
    --white: #FFFFFF;
    --prism-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #C0C0C0 100%);
    --prism-gradient-alt: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
    --prism-gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.12) 50%, rgba(192,192,192,0.12) 100%);
    --prism-purple: #8b5cf6;
    --prism-blue: #3b82f6;
    --prism-cyan: #06b6d4;
    --prism-silver: #C0C0C0;
    --prism-indigo: #6366f1;
    --glass-bg: rgba(22, 22, 22, 0.92);
    --glass-border: rgba(255, 255, 255, 0.09);
    --font-display: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --section-padding: clamp(40px, 8vw, 120px);
    --container-padding: clamp(16px, 4vw, 60px);
    --nav-height: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* FIX: overflow-x:clip en lugar de overflow-x:hidden en html.
   En Safari iOS, overflow-x:hidden sobre el elemento raíz puede bloquear
   el scroll momentum vertical. overflow:clip no crea un contexto de scroll
   y no interfiere con el scroll nativo del cuerpo. */
html {
    overflow-x: clip;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y;
}

/* FIX body.menu-open:
   - Añadido right:0 para evitar cambio de ancho al aparecer el scroll del OS
   - La posición top se gestiona via JS (body.style.top = -scrollY)
   - NO se usa height:100% para no conflictuar con el cálculo de top */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

@media (min-width: 1025px) { body { cursor: none; } }
::selection { background: var(--prism-purple); color: var(--white); }

/* ================================ PRISM BG ================================ */
.prism-bg {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 0;
    overflow: hidden; isolation: isolate;
}
.prism-light {
    position: absolute; border-radius: 50%;
    filter: blur(60px); opacity: 0.07;
    animation: float 20s ease-in-out infinite;
    /* will-change solo en desktop para no sobrecargar GPU mobile */
}
@media (min-width: 769px) {
    .prism-light { will-change: transform; transform: translateZ(0); }
}
.prism-light-1 { width: clamp(300px,50vw,600px); height: clamp(300px,50vw,600px); background: radial-gradient(circle, var(--prism-purple) 0%, transparent 70%); top: -150px; right: -150px; }
.prism-light-2 { width: clamp(300px,50vw,600px); height: clamp(300px,50vw,600px); background: radial-gradient(circle, var(--prism-cyan) 0%, transparent 70%); bottom: -150px; left: -150px; animation-delay: -7s; }
.prism-light-3 { width: clamp(250px,45vw,500px); height: clamp(250px,45vw,500px); background: radial-gradient(circle, var(--prism-silver) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: -14s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(50px,-50px) scale(1.05); } 66% { transform: translate(-50px,50px) scale(0.95); } }
@media (min-width: 769px) {
    .prism-light-3 { transform: translate(-50%,-50%) translateZ(0); }
    @keyframes float { 0%,100% { transform: translate(0,0) translateZ(0) scale(1); } 33% { transform: translate(50px,-50px) translateZ(0) scale(1.05); } 66% { transform: translate(-50px,50px) translateZ(0) scale(0.95); } }
}
@media (max-width: 768px) { .prism-light { filter: blur(50px); opacity: 0.045; } }

/* ================================ CURSOR ================================ */
.cursor, .cursor-follower { position: fixed; pointer-events: none; z-index: 10000; display: none; will-change: transform; }
.cursor { width: 8px; height: 8px; border-radius: 50%; background: var(--prism-gradient); z-index: 10001; }
.cursor-follower { width: 40px; height: 40px; border: 1px solid rgba(139,92,246,0.3); border-radius: 50%; transition: transform 0.3s cubic-bezier(0.75,0,0.25,1), border-color 0.3s ease; }
@media (min-width: 1025px) { .cursor, .cursor-follower { display: block; } }
.cursor.active { transform: scale(2) translateZ(0); }

/* ================================ GLASS ================================ */
.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); }

/* ================================ NAV ================================ */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    padding: clamp(12px,2vw,20px) var(--container-padding);
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
}
.nav.scrolled { background: rgba(10,10,10,0.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: clamp(6px,1.5vw,10px); text-decoration: none; z-index: 1001; position: relative; }
.logo-text { font-family: var(--font-display); font-size: clamp(18px,3.5vw,24px); font-weight: 800; background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 1.5px; }
.logo-refraction { width: clamp(20px,4vw,30px); height: 2px; background: var(--prism-gradient); opacity: 0.5; transition: width 0.3s ease, opacity 0.3s ease; }
.nav-menu { display: none; gap: clamp(20px,3vw,40px); }
@media (min-width: 769px) { .nav-menu { display: flex; } }
.nav-link { color: var(--text-light); text-decoration: none; font-size: clamp(11px,1.5vw,13px); font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; position: relative; transition: color 0.3s ease; }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--prism-gradient); transition: width 0.3s ease; }
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.btn-consult { padding: clamp(10px,1.5vw,12px) clamp(18px,2.5vw,24px); background: transparent; border: 1px solid; border-image: var(--prism-gradient) 1; color: var(--white); text-decoration: none; font-size: clamp(9px,1.2vw,11px); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; position: relative; overflow: hidden; transition: all 0.4s ease; white-space: nowrap; }
.btn-consult::before { content: ''; position: absolute; inset: 0; left: -100%; background: var(--prism-gradient); transition: left 0.4s ease; z-index: -1; }
.btn-consult:hover::before { left: 0; }
.desktop-only { display: none; }
@media (min-width: 769px) { .desktop-only { display: block; } }

body.menu-open .nav-menu,
body.menu-open .btn-consult,
body.menu-open .logo { visibility: hidden; }

/* FIX: eliminar transformaciones forzadas en menu-open para no interferir
   con el scroll del menú ni crear stacking contexts innecesarios */
body.menu-open section,
body.menu-open footer,
body.menu-open .prism-bg { will-change: auto !important; }

/* ================================ HAMBURGER ================================ */
.mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 10000; padding: 8px; position: relative; }
@media (min-width: 769px) { .mobile-menu-btn { display: none; } }
.hamburger { width: clamp(24px,5vw,28px); height: 2px; background: var(--prism-gradient); transition: transform 0.3s ease, opacity 0.3s ease; border-radius: 2px; display: block; }
.mobile-menu-btn.active .hamburger:nth-child(1) { transform: rotate(45deg) translate(7px,7px); }
.mobile-menu-btn.active .hamburger:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.active .hamburger:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* ================================
   MOBILE MENU — PREMIUM AGENCY STYLE
   ================================ */
.mobile-menu {
    position: fixed; inset: 0;
    background: #060608;
    display: flex; flex-direction: column;
    overscroll-behavior: contain;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), visibility 0.4s ease;
    z-index: 9999;
    isolation: isolate;
    transform: translateZ(0);
    /* FIX: permitir scroll interno si el contenido no cabe en pantallas pequeñas */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu.active { opacity: 1; visibility: visible; pointer-events: auto; }

/* Decoración de fondo */
.mm-bg-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mm-deco-line {
    position: absolute; background: var(--prism-gradient);
    opacity: 0.06; border-radius: 2px;
}
.mm-deco-line-1 { width: 1px; height: 100%; top: 0; left: 22%; }
.mm-deco-line-2 { width: 100%; height: 1px; top: 55%; left: 0; }
.mm-deco-word {
    position: absolute; right: -4vw; top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(80px,18vw,160px);
    font-weight: 900;
    letter-spacing: -5px;
    background: var(--prism-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.04;
    white-space: nowrap;
    user-select: none;
}

/* FIX .mm-inner: height mínimo garantizado + scroll interno activado
   para que el CTA y contacto sean siempre accesibles en pantallas pequeñas */
.mm-inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: clamp(80px,16vw,100px) clamp(28px,7vw,60px) clamp(28px,6vw,44px);
}

/* Nav links */
.mm-nav { display: flex; flex-direction: column; gap: 0; }

.mm-link {
    display: flex; align-items: center; gap: 16px;
    text-decoration: none;
    padding: clamp(14px,2.5vw,18px) 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative; overflow: hidden;
    opacity: 0; transform: translateX(-24px);
    transition: opacity 0s, transform 0s;
}

.mm-link::before {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--prism-gradient);
    transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mm-link:hover::before { width: 100%; }

.mobile-menu.active .mm-link {
    opacity: 1; transform: translateX(0);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.mobile-menu.active .mm-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.active .mm-link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.active .mm-link:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.active .mm-link:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.active .mm-link:nth-child(5) { transition-delay: 0.32s; }

.mm-link-index {
    font-family: var(--font-display); font-size: 10px;
    font-weight: 700; letter-spacing: 1.5px;
    color: var(--prism-purple); opacity: 0.7;
    min-width: 22px;
    transition: opacity 0.3s ease;
}
.mm-link:hover .mm-link-index { opacity: 1; }

.mm-link-label {
    font-family: var(--font-display);
    font-size: clamp(26px,6vw,38px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1;
    flex: 1;
    transition: background 0.3s ease, -webkit-text-fill-color 0.3s ease;
}
.mm-link:hover .mm-link-label {
    background: var(--prism-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mm-link-arrow {
    color: var(--prism-purple); opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}
.mm-link:hover .mm-link-arrow { opacity: 1; transform: translateX(0); }

/* Footer del menú */
.mm-footer {
    display: flex; flex-direction: column;
    gap: clamp(16px,3vw,22px);
    opacity: 0; transform: translateY(16px);
    transition: opacity 0s, transform 0s;
    padding-top: clamp(20px,4vw,30px);
}
.mobile-menu.active .mm-footer {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.4s ease 0.42s, transform 0.4s ease 0.42s;
}

.mm-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: clamp(14px,2.5vw,16px) clamp(24px,5vw,32px);
    background: var(--prism-gradient);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: clamp(11px,2vw,13px);
    font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    align-self: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; overflow: hidden;
}
.mm-cta::after { content: ''; position: absolute; inset: 0; left: -100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s ease; }
.mm-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(139,92,246,0.4); }
.mm-cta:hover::after { left: 100%; }

.mm-contact-strip {
    display: flex; align-items: center;
    gap: clamp(10px,2vw,16px);
    flex-wrap: wrap;
}
.mm-contact-item {
    font-size: clamp(11px,2vw,13px);
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.mm-contact-item:hover { color: var(--white); }
.mm-contact-sep { color: rgba(255,255,255,0.2); font-size: 12px; }

/* ================================ HERO ================================ */
.hero { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(100px,18vw,140px) var(--container-padding) clamp(40px,8vw,60px); position: relative; z-index: 1; overflow: hidden; width: 100%; }
.hero-content { max-width: 1000px; text-align: center; width: 100%; }
.hero-label { display: inline-flex; align-items: center; gap: clamp(6px,1.5vw,10px); margin-bottom: clamp(16px,3vw,30px); font-size: clamp(7px,2vw,11px); letter-spacing: clamp(1px,0.3vw,2.5px); text-transform: uppercase; color: var(--text-dark); opacity: 0; animation: fadeInUp 1s ease forwards 0.3s; flex-wrap: wrap; justify-content: center; }
.label-dot { width: clamp(6px,1.2vw,8px); height: clamp(6px,1.2vw,8px); border-radius: 50%; background: var(--prism-gradient); animation: pulse 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }
.hero-title { margin-bottom: clamp(16px,3vw,30px); width: 100%; overflow: hidden; }
.title-line { display: flex; justify-content: center; white-space: nowrap; width: 100%; }
.char { font-family: var(--font-display); font-size: clamp(40px,13.5vw,140px); font-weight: 900; background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 0.9; letter-spacing: clamp(-1px,-0.3vw,-6px); opacity: 0; filter: blur(10px); animation: refract 1.2s cubic-bezier(0.34,1.56,0.64,1) forwards; flex-shrink: 0; }
@media (min-width: 769px) { .char { will-change: transform, filter; } }
@media (max-width: 359px) { .char { font-size: 11.5vw; } }
.char:nth-child(1) { animation-delay: 0.5s; }
.char:nth-child(2) { animation-delay: 0.6s; }
.char:nth-child(3) { animation-delay: 0.7s; }
.char:nth-child(4) { animation-delay: 0.8s; }
.char:nth-child(5) { animation-delay: 0.9s; }
.char:nth-child(6) { animation-delay: 1.0s; }
@keyframes refract { 0% { opacity: 0; filter: blur(10px); transform: translateY(20px); } 100% { opacity: 1; filter: blur(0); transform: translateY(0); } }
.hero-tagline { margin-bottom: clamp(14px,2.5vw,25px); opacity: 0; animation: fadeInUp 1s ease forwards 1.3s; padding: 0 clamp(0px,2vw,10px); }
.tagline-text { font-size: clamp(13px,3.5vw,24px); color: var(--text-light); font-weight: 500; line-height: 1.35; }
.hero-description { max-width: 700px; margin: 0 auto clamp(24px,5vw,40px); opacity: 0; animation: fadeInUp 1s ease forwards 1.5s; padding: 0 clamp(0px,2vw,20px); }
.hero-description p { font-size: clamp(12px,2.5vw,16px); line-height: 1.7; color: var(--text-dark); }
.hero-cta { display: flex; gap: clamp(8px,2vw,15px); justify-content: center; opacity: 0; animation: fadeInUp 1s ease forwards 1.7s; flex-wrap: wrap; }
@media (max-width: 400px) { .hero-cta { flex-direction: column; align-items: center; } }
.btn-primary, .btn-secondary { padding: clamp(12px,2vw,18px) clamp(20px,5vw,40px); font-family: var(--font-body); font-size: clamp(9px,2vw,12px); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; border: none; position: relative; overflow: hidden; transition: all 0.4s ease; border-radius: 4px; white-space: nowrap; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 400px) { .btn-primary, .btn-secondary { width: 100%; max-width: 280px; } }
.btn-primary { background: var(--prism-gradient); color: var(--white); }
.btn-shine { position: absolute; inset: 0; left: -100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.6s ease; }
.btn-primary:hover .btn-shine { left: 100%; }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid var(--glass-border); }
.btn-secondary:hover { background: rgba(22,22,22,0.9); border-color: var(--prism-purple); }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(8px,2vw,15px); margin-top: clamp(32px,7vw,80px); width: 100%; max-width: 560px; opacity: 0; animation: fadeInUp 1s ease forwards 1.9s; }
.stat-card { padding: clamp(12px,2.5vw,25px) clamp(6px,1.5vw,20px); text-align: center; min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 6px; }
.stat-value { font-family: var(--font-display); font-size: clamp(16px,5vw,36px); font-weight: 800; background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; margin-bottom: 4px; white-space: nowrap; }
.stat-label { font-size: clamp(6px,1.5vw,11px); letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-dark); line-height: 1.4; }
.stat-sub { font-size: clamp(8px,1.3vw,10px); color: var(--prism-purple); margin-top: 3px; line-height: 1.3; font-style: italic; }
@media (max-width: 359px) { .stat-value { font-size: 14px; } .stat-label { font-size: 6px; letter-spacing: 0; } .stat-card { padding: 10px 4px; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ================================ TECH BANNER ================================ */
.tech-banner { padding: clamp(16px,3vw,30px) 0; background: var(--dark-grey); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); overflow: hidden; position: relative; z-index: 1; contain: layout style paint; }
.scroll-track { display: flex; gap: clamp(15px,3vw,40px); animation: scroll 25s linear infinite; white-space: nowrap; will-change: transform; }
.scroll-track span { font-size: clamp(10px,1.8vw,14px); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dark); }
.dot { color: var(--prism-purple); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================================ SECTIONS GENERAL ================================ */
section { padding: var(--section-padding) var(--container-padding); position: relative; z-index: 1; }
.section-header { display: grid; grid-template-columns: 1fr; gap: clamp(15px,3vw,30px); margin-bottom: clamp(40px,7vw,80px); max-width: 1400px; margin-left: auto; margin-right: auto; }
@media (min-width: 769px) { .section-header { grid-template-columns: auto 1fr; gap: clamp(30px,5vw,60px); } }
@media (max-width: 480px) { .section-number { display: none; } }
.section-number { font-family: var(--font-display); font-size: clamp(40px,10vw,80px); font-weight: 900; background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; opacity: 0.3; }
.section-label { display: flex; align-items: center; gap: clamp(10px,2vw,15px); font-size: clamp(9px,1.5vw,12px); font-weight: 700; letter-spacing: clamp(1.5px,0.4vw,2.5px); text-transform: uppercase; color: var(--prism-purple); margin-bottom: clamp(12px,2vw,20px); }
.label-line { width: clamp(25px,5vw,40px); height: 2px; background: var(--prism-gradient); }
.section-title { font-family: var(--font-display); font-size: clamp(28px,7vw,70px); font-weight: 800; color: var(--white); line-height: 1.1; letter-spacing: clamp(-1px,-0.2vw,-2px); text-transform: uppercase; margin-bottom: clamp(15px,2.5vw,20px); }
.section-description { font-size: clamp(13px,2vw,16px); line-height: 1.7; color: var(--text-dark); max-width: 600px; }

/* ================================ PROJECTS ================================ */
.spectrum { background: var(--black); }
.spectrum-grid { display: grid; gap: clamp(50px,10vw,120px); max-width: 1400px; margin: 0 auto; }
.spectrum-item { display: grid; grid-template-columns: 1fr; gap: clamp(25px,4vw,60px); align-items: center; opacity: 0; transform: translateY(60px); transition: opacity 0.8s cubic-bezier(0.34,1.56,0.64,1), transform 0.8s cubic-bezier(0.34,1.56,0.64,1); }
@media (min-width: 769px) {
    .spectrum-item { grid-template-columns: 1.2fr 1fr; will-change: opacity, transform; }
    .spectrum-item:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
    .spectrum-item:nth-child(even) .spectrum-visual { order: 2; }
}
.spectrum-item.reveal { opacity: 1; transform: translateY(0); will-change: auto; }
.spectrum-visual { position: relative; aspect-ratio: 16/10; border-radius: clamp(6px,1vw,8px); overflow: hidden; }
.spectrum-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.spectrum-overlay { position: absolute; inset: 0; background: var(--prism-gradient-subtle); opacity: 0; transition: opacity 0.5s ease; z-index: 1; }
.spectrum-visual:hover .spectrum-overlay { opacity: 1; }
.spectrum-visual:hover img { transform: scale(1.05); }
.spectrum-hover { position: absolute; bottom: clamp(15px,3vw,20px); right: clamp(15px,3vw,20px); display: flex; align-items: center; gap: 8px; padding: clamp(10px,2vw,15px) clamp(16px,3vw,25px); background: var(--prism-gradient); color: var(--white); font-size: clamp(9px,1.5vw,11px); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border-radius: 4px; text-decoration: none; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; z-index: 2; }
.spectrum-visual:hover .spectrum-hover { opacity: 1; transform: translateY(0); }
.spectrum-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(15px,2.5vw,20px); flex-wrap: wrap; gap: 10px; }
.project-type { font-size: clamp(8px,1.5vw,11px); letter-spacing: 1.5px; text-transform: uppercase; color: var(--prism-purple); padding: clamp(5px,1vw,6px) clamp(10px,1.5vw,14px); border: 1px solid var(--prism-purple); border-radius: 4px; }
.project-year { font-size: clamp(11px,1.8vw,13px); color: var(--text-dark); font-weight: 600; }
.spectrum-title { font-family: var(--font-display); font-size: clamp(22px,5vw,40px); font-weight: 800; color: var(--white); margin-bottom: clamp(15px,2.5vw,20px); text-transform: uppercase; letter-spacing: -0.5px; }
.spectrum-description { font-size: clamp(13px,2vw,15px); line-height: 1.7; color: var(--text-light); margin-bottom: clamp(20px,3vw,25px); }
.spectrum-tech { display: flex; gap: clamp(8px,1.5vw,10px); flex-wrap: wrap; margin-bottom: clamp(20px,3vw,30px); }
.tech-tag { padding: clamp(5px,1vw,6px) clamp(10px,1.5vw,12px); background: var(--mid-grey); color: var(--text-dark); font-size: clamp(8px,1.3vw,10px); font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; border-radius: 4px; }
.spectrum-metrics { display: flex; align-items: center; justify-content: space-between; gap: clamp(8px,1.5vw,15px); padding: clamp(16px,3vw,25px); border-radius: clamp(6px,1vw,8px); }
.metric-item { text-align: center; flex: 1; }
.metric-number { font-family: var(--font-display); font-size: clamp(18px,4vw,28px); font-weight: 800; background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 5px; }
.metric-text { font-size: clamp(8px,1.3vw,10px); letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-dark); }
.metric-divider { width: 1px; height: 35px; background: var(--glass-border); flex-shrink: 0; }

/* ================================ METHOD ================================ */
.method { background: var(--dark); }
.method-content { max-width: 1400px; margin: 0 auto; }

.founder-card { padding: clamp(25px,4vw,40px); border-radius: clamp(8px,1.5vw,12px); display: flex; align-items: center; gap: clamp(20px,4vw,40px); margin-bottom: clamp(25px,4vw,40px); flex-wrap: wrap; transition: box-shadow 0.4s ease; }
.founder-card:hover { box-shadow: 0 0 40px rgba(139,92,246,0.1); }
.founder-avatar { width: clamp(70px,12vw,100px); height: clamp(70px,12vw,100px); border-radius: 50%; background: var(--prism-gradient); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: clamp(22px,4vw,32px); font-weight: 900; color: var(--white); flex-shrink: 0; box-shadow: 0 0 0 3px rgba(139,92,246,0.25), 0 0 30px rgba(139,92,246,0.15); }
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.founder-info { flex: 1; min-width: 200px; }
.founder-name { font-family: var(--font-display); font-size: clamp(18px,3.5vw,26px); font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: -0.3px; margin-bottom: 4px; }
.founder-role { font-size: clamp(9px,1.5vw,11px); letter-spacing: 2px; text-transform: uppercase; color: var(--prism-purple); font-weight: 700; margin-bottom: clamp(10px,2vw,14px); }
.founder-bio { font-size: clamp(13px,2vw,15px); line-height: 1.7; color: var(--text-dark); max-width: 600px; }

.method-philosophy { padding: clamp(30px,5vw,60px); border-radius: clamp(8px,1.5vw,12px); text-align: center; margin-bottom: clamp(30px,5vw,60px); }
.philosophy-icon { margin-bottom: clamp(20px,3vw,30px); }
.philosophy-icon svg { width: clamp(40px,8vw,60px); height: clamp(40px,8vw,60px); }
.method-philosophy h3 { font-family: var(--font-display); font-size: clamp(20px,4vw,32px); font-weight: 800; color: var(--white); margin-bottom: clamp(15px,2.5vw,20px); text-transform: uppercase; letter-spacing: -0.5px; }
.method-philosophy p { font-size: clamp(13px,2vw,16px); line-height: 1.7; color: var(--text-light); max-width: 800px; margin: 0 auto; }
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: clamp(15px,3vw,30px); }
@media (max-width: 480px) { .method-grid { grid-template-columns: 1fr; } }
.method-step { padding: clamp(25px,4vw,40px) clamp(18px,3vw,30px); border-radius: clamp(6px,1vw,8px); transition: transform 0.4s ease, opacity 0.4s ease; }
.method-step:hover { transform: translateY(-8px); }
.step-num { font-family: var(--font-display); font-size: clamp(32px,6vw,48px); font-weight: 800; background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: clamp(15px,2.5vw,20px); }
.step-title { font-family: var(--font-display); font-size: clamp(14px,2.5vw,18px); font-weight: 700; color: var(--white); margin-bottom: clamp(12px,2vw,15px); text-transform: uppercase; }
.step-text { font-size: clamp(12px,1.8vw,14px); line-height: 1.6; color: var(--text-dark); }

/* ================================ PRICING ================================ */
.pricing { background: var(--dark); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: clamp(15px,3vw,25px); max-width: 1200px; margin: 0 auto; }
.pricing-card { padding: clamp(28px,5vw,45px) clamp(22px,4vw,35px); border-radius: clamp(8px,1.5vw,12px); position: relative; display: flex; flex-direction: column; opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(0.34,1.56,0.64,1), transform 0.7s cubic-bezier(0.34,1.56,0.64,1); }
.pricing-card.pricing-reveal { opacity: 1; transform: translateY(0); }
.pricing-card.pricing-reveal:hover { transform: translateY(-8px); }
.pricing-card.featured { border: 1px solid var(--prism-purple); box-shadow: 0 0 40px rgba(139,92,246,0.12); }
.featured-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--prism-gradient); color: var(--white); font-size: clamp(9px,1.5vw,11px); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 18px; border-radius: 20px; white-space: nowrap; }
.pricing-name { font-family: var(--font-display); font-size: clamp(18px,3.5vw,24px); font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-subtitle { font-size: clamp(11px,1.8vw,13px); color: var(--text-dark); margin-bottom: clamp(18px,3vw,28px); line-height: 1.5; }
.pricing-price { font-family: var(--font-display); font-size: clamp(38px,7vw,56px); font-weight: 900; background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: clamp(12px,2vw,16px); }
.pricing-price span { font-size: clamp(16px,2.5vw,20px); font-weight: 600; vertical-align: top; margin-top: 8px; display: inline-block; }

.pricing-value-note {
    display: flex; align-items: center; gap: 7px;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.25);
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: clamp(16px,2.5vw,22px);
    font-size: clamp(10px,1.6vw,12px);
    color: var(--prism-purple);
    font-weight: 600;
    letter-spacing: 0.3px;
}
.pricing-value-note svg { flex-shrink: 0; color: var(--prism-purple); }

.pricing-features { list-style: none; flex: 1; margin-bottom: clamp(25px,4vw,35px); }
.pricing-features li { padding: clamp(9px,1.5vw,11px) 0 clamp(9px,1.5vw,11px) clamp(22px,3vw,28px); font-size: clamp(12px,1.8vw,14px); color: var(--text-light); position: relative; border-bottom: 1px solid rgba(255,255,255,0.05); line-height: 1.5; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--prism-purple); font-weight: 700; font-size: 14px; }
.btn-pricing { display: flex; align-items: center; justify-content: center; text-align: center; padding: clamp(13px,2vw,16px) 0; border-radius: 4px; font-family: var(--font-body); font-size: clamp(10px,1.5vw,12px); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; transition: all 0.4s ease; min-height: 48px; }
.btn-pricing-outline { background: transparent; color: var(--white); border: 1px solid var(--glass-border); }
.btn-pricing-outline:hover { border-color: var(--prism-purple); background: rgba(139,92,246,0.1); }
.btn-pricing-filled { background: var(--prism-gradient); color: var(--white); border: none; }
.btn-pricing-filled:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(139,92,246,0.35); }

.pricing-guarantee {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    max-width: 1200px; margin: clamp(24px,4vw,36px) auto 0;
    font-size: clamp(11px,1.7vw,13px);
    color: var(--text-dark);
    text-align: center;
    line-height: 1.5;
}
.pricing-guarantee svg { flex-shrink: 0; color: var(--prism-purple); }

/* ================================ FAQ ================================ */
.faq { background: var(--black); }
.faq .section-header { grid-template-columns: 1fr; }
.faq-grid { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(8px,1.5vw,12px); }
.faq-item { border-radius: clamp(6px,1vw,8px); overflow: hidden; transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.faq-item:hover { box-shadow: 0 0 20px rgba(139,92,246,0.08); }
.faq-item.open { border-color: rgba(139,92,246,0.3); box-shadow: 0 0 24px rgba(139,92,246,0.1); }
.faq-question { width: 100%; padding: clamp(18px,3vw,24px) clamp(20px,3.5vw,30px); background: transparent; border: none; color: var(--white); font-family: var(--font-display); font-size: clamp(14px,2.5vw,17px); font-weight: 700; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; letter-spacing: -0.2px; line-height: 1.3; transition: color 0.3s ease; }
.faq-question:hover { color: var(--prism-purple); }
.faq-icon { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(139,92,246,0.5); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; font-weight: 300; color: var(--prism-purple); line-height: 1; transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--prism-gradient); border-color: transparent; color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease; padding: 0 clamp(20px,3.5vw,30px); }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: clamp(18px,3vw,24px); }
.faq-answer p { font-size: clamp(13px,2vw,15px); line-height: 1.75; color: var(--text-dark); padding-top: clamp(14px,2vw,18px); border-top: 1px solid var(--glass-border); }

/* ================================ CONTACT ================================ */
.contact { background: var(--dark); }
.contact-container { display: grid; grid-template-columns: 1fr; gap: clamp(30px,5vw,60px); max-width: 1400px; margin: 0 auto; }
@media (min-width: 769px) { .contact-container { grid-template-columns: 1.5fr 1fr; } }
.contact-form { padding: clamp(25px,4vw,50px); border-radius: clamp(8px,1.5vw,12px); position: relative; overflow: hidden; }
.prism-progress { display: flex; align-items: center; gap: 0; margin-bottom: clamp(24px,4vw,36px); position: relative; }
.prism-progress-track { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.08); transform: translateY(-50%); z-index: 0; }
.prism-progress-fill { position: absolute; top: 50%; left: 0; height: 1px; background: var(--prism-gradient); transform: translateY(-50%); z-index: 1; width: 0; transition: width 0.6s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 0 8px rgba(139,92,246,0.5); }
.prism-step-dot { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); background: #111; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: #555; position: relative; z-index: 2; flex-shrink: 0; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.prism-step-dot.active { border-color: var(--prism-purple); color: var(--white); background: var(--prism-gradient); box-shadow: 0 0 18px rgba(139,92,246,0.45); transform: scale(1.15); }
.prism-step-dot.done { border-color: var(--prism-purple); background: var(--prism-gradient); color: var(--white); box-shadow: 0 0 10px rgba(139,92,246,0.25); }
.prism-step-dot.done::after { content: '✓'; font-size: 13px; font-weight: 700; }
.prism-step-dot.done .dot-num { display: none; }
.prism-step-spacer { flex: 1; }
.prism-step-panel { display: none; }
.prism-step-panel.active { display: block; animation: stepReveal 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.prism-step-panel.exit { animation: stepExit 0.3s ease forwards; }
@keyframes stepReveal { from { opacity: 0; transform: translateX(30px) scale(0.98); filter: blur(4px); } to { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); } }
@keyframes stepExit { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-30px); } }
.step-heading { margin-bottom: clamp(18px,3vw,28px); }
.step-eyebrow { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--prism-purple); font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.step-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--prism-gradient); }
.step-heading h4 { font-family: var(--font-display); font-size: clamp(16px,3vw,22px); font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: -0.3px; line-height: 1.2; }
.form-group { position: relative; margin-bottom: clamp(16px,2.5vw,22px); }
.form-group label { display: flex; align-items: center; gap: 6px; font-size: clamp(9px,1.5vw,11px); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--prism-purple); margin-bottom: clamp(8px,1.5vw,10px); transition: color 0.3s ease; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: clamp(11px,2vw,15px) clamp(14px,2.5vw,20px); background: rgba(17,17,17,0.95); border: 1px solid rgba(255,255,255,0.08); color: var(--white); font-family: var(--font-body); font-size: clamp(12px,1.8vw,14px); border-radius: 4px; transition: border-color 0.3s ease, box-shadow 0.3s ease; appearance: none; -webkit-appearance: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #444; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--prism-purple); background: rgba(17,17,17,1); box-shadow: 0 0 0 1px rgba(139,92,246,0.3), 0 0 20px rgba(139,92,246,0.08); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group.error input, .form-group.error select, .form-group.error textarea { border-color: #ef4444; box-shadow: 0 0 0 1px rgba(239,68,68,0.3); }
.form-group.success input, .form-group.success select, .form-group.success textarea { border-color: rgba(139,92,246,0.6); }
.form-group.error label { color: #ef4444; }
.field-error { display: block; font-size: 11px; color: #ef4444; margin-top: 6px; opacity: 0; transform: translateY(-4px); transition: opacity 0.25s ease, transform 0.25s ease; }
.field-error.visible { opacity: 1; transform: translateY(0); }
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 10px; margin-bottom: clamp(16px,2.5vw,22px); }
.plan-card { border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 16px 14px; cursor: pointer; transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease; background: rgba(17,17,17,0.95); text-align: center; user-select: none; position: relative; overflow: hidden; }
.plan-card::before { content: ''; position: absolute; inset: 0; background: var(--prism-gradient-subtle); opacity: 0; transition: opacity 0.3s ease; }
.plan-card:hover { border-color: rgba(139,92,246,0.4); transform: translateY(-3px); }
.plan-card:hover::before { opacity: 1; }
.plan-card.selected { border-color: var(--prism-purple); box-shadow: 0 0 20px rgba(139,92,246,0.18); transform: translateY(-3px); }
.plan-card.selected::before { opacity: 1; }
.plan-card .plan-price { font-family: var(--font-display); font-size: clamp(20px,4vw,28px); font-weight: 900; background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 4px; }
.plan-card .plan-name { font-family: var(--font-display); font-size: 11px; font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.plan-card .plan-desc { font-size: 10px; color: #666; line-height: 1.4; }
.plan-card .plan-check { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--prism-gradient); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--white); opacity: 0; transform: scale(0); transition: opacity 0.3s cubic-bezier(0.34,1.56,0.64,1), transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.plan-card.selected .plan-check { opacity: 1; transform: scale(1); }
.plan-error { font-size: 11px; color: #ef4444; margin-bottom: 6px; opacity: 0; transition: opacity 0.25s ease; }
.plan-error.visible { opacity: 1; }
.char-counter { font-size: 10px; color: #555; text-align: right; margin-top: 5px; transition: color 0.3s ease; }
.char-counter.warn { color: #f59e0b; }
.char-counter.limit { color: #ef4444; }
.form-nav { display: flex; gap: 10px; align-items: center; margin-top: clamp(18px,3vw,26px); }
.btn-back { padding: clamp(12px,2vw,15px) clamp(18px,3vw,26px); background: transparent; border: 1px solid rgba(255,255,255,0.1); color: #888; font-family: var(--font-body); font-size: clamp(9px,1.4vw,11px); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border-radius: 4px; cursor: pointer; transition: border-color 0.3s ease, color 0.3s ease; white-space: nowrap; min-height: 48px; }
.btn-back:hover { border-color: rgba(139,92,246,0.4); color: var(--white); }
.btn-next { flex: 1; padding: clamp(13px,2.5vw,17px) 0; background: var(--prism-gradient); border: none; color: var(--white); font-family: var(--font-body); font-size: clamp(10px,1.5vw,12px); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border-radius: 4px; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden; min-height: 48px; }
.btn-next::after { content: ''; position: absolute; inset: 0; left: -100%; background: linear-gradient(90deg,transparent,rgba(255,255,255,0.25),transparent); transition: left 0.5s ease; }
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(139,92,246,0.35); }
.btn-next:hover::after { left: 100%; }
.btn-next:active { transform: translateY(0); }
.btn-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.form-summary { background: rgba(17,17,17,0.8); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: clamp(16px,3vw,24px); margin-bottom: clamp(16px,2.5vw,22px); }
.summary-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); gap: 12px; }
.summary-row:last-child { border-bottom: none; padding-bottom: 0; }
.summary-row:first-child { padding-top: 0; }
.summary-key { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #555; white-space: nowrap; flex-shrink: 0; }
.summary-val { font-size: clamp(12px,1.8vw,13px); color: #ccc; text-align: right; line-height: 1.5; word-break: break-word; }
.summary-val.plan-highlight { background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; font-family: var(--font-display); font-size: clamp(13px,2vw,15px); }
.form-footer-note { font-size: clamp(11px,1.6vw,12px); color: #555; margin-top: clamp(12px,2vw,16px); text-align: center; }
.contact-cta-row { display: flex; gap: clamp(10px,2vw,15px); flex-wrap: wrap; align-items: center; margin-top: clamp(16px,3vw,22px); }
.prism-success { display: none; text-align: center; padding: clamp(30px,6vw,60px) 20px; }
.prism-success.visible { display: block; }
.success-prism { width: 80px; height: 80px; margin: 0 auto clamp(20px,4vw,30px); animation: prismPop 0.8s cubic-bezier(0.34,1.56,0.64,1) forwards; }
@keyframes prismPop { 0% { transform: scale(0) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.15) rotate(5deg); opacity: 1; } 100% { transform: scale(1) rotate(0deg); opacity: 1; } }
.success-title { font-family: var(--font-display); font-size: clamp(22px,5vw,34px); font-weight: 900; background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-transform: uppercase; letter-spacing: -0.5px; margin-bottom: 12px; opacity: 0; animation: fadeInUp 0.6s ease 0.4s forwards; }
.success-sub { font-size: clamp(13px,2vw,15px); color: #888; line-height: 1.7; max-width: 380px; margin: 0 auto clamp(20px,4vw,30px); opacity: 0; animation: fadeInUp 0.6s ease 0.6s forwards; }
.success-meta { display: flex; justify-content: center; gap: clamp(16px,3vw,30px); flex-wrap: wrap; opacity: 0; animation: fadeInUp 0.6s ease 0.8s forwards; }
.success-badge { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.success-badge .badge-val { font-family: var(--font-display); font-size: clamp(18px,4vw,24px); font-weight: 900; background: var(--prism-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.success-badge .badge-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #555; }
.success-divider { width: 1px; background: rgba(255,255,255,0.08); align-self: stretch; }
.whatsapp-btn { display: inline-flex; align-items: center; gap: 10px; padding: clamp(12px,2vw,14px) clamp(20px,3.5vw,28px); background: #25D366; color: var(--white); text-decoration: none; font-family: var(--font-body); font-size: clamp(10px,1.8vw,12px); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; white-space: nowrap; min-height: 48px; }
.whatsapp-btn:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(37,211,102,0.28); }

/* ================================ CONTACT INFO ================================ */
.contact-info { display: flex; flex-direction: column; gap: clamp(15px,2.5vw,20px); }
.info-card { padding: clamp(20px,3.5vw,30px); border-radius: clamp(6px,1vw,8px); display: flex; align-items: flex-start; gap: clamp(15px,2.5vw,20px); }
.info-text { flex: 1; }
.info-label { font-size: clamp(9px,1.5vw,11px); letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dark); margin-bottom: clamp(6px,1vw,8px); }
.info-text a, .info-text span { font-size: clamp(13px,2vw,16px); color: var(--white); text-decoration: none; transition: color 0.3s ease; word-break: break-word; }
.info-text a:hover { color: var(--prism-purple); }

/* ================================ FOOTER ================================ */
.footer { background: var(--dark); padding: clamp(40px,7vw,80px) var(--container-padding) clamp(25px,4vw,40px); border-top: 1px solid var(--glass-border); position: relative; z-index: 1; }
.footer-content { display: grid; grid-template-columns: 1fr; gap: clamp(30px,5vw,60px); max-width: 1400px; margin: 0 auto clamp(30px,5vw,60px); }
@media (min-width: 769px) { .footer-content { grid-template-columns: 1.5fr 1fr; } }
.footer-brand { max-width: 500px; }
.footer-logo { display: flex; align-items: center; gap: clamp(8px,1.5vw,10px); margin-bottom: clamp(15px,2.5vw,20px); }
.footer-tagline { font-size: clamp(12px,1.8vw,14px); line-height: 1.6; color: var(--text-dark); margin-bottom: clamp(12px,2vw,15px); }
.footer-legal { font-size: clamp(10px,1.5vw,12px); color: var(--text-dark); }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: clamp(25px,4vw,40px); }
.footer-column h4 { font-size: clamp(10px,1.5vw,12px); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--prism-purple); margin-bottom: clamp(15px,2.5vw,20px); }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: clamp(10px,1.5vw,12px); }
.footer-column a { font-size: clamp(12px,1.8vw,14px); color: var(--text-dark); text-decoration: none; transition: color 0.3s ease; }
.footer-column a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: clamp(25px,4vw,40px); border-top: 1px solid var(--glass-border); max-width: 1400px; margin: 0 auto; }
.footer-bottom p { font-size: clamp(11px,1.5vw,13px); color: var(--text-dark); }

/* ================================ RESPONSIVE ================================ */
@media (max-width: 768px) {
    a, button { min-height: 44px; }
    /* FIX: usar transform3d produce capas de composición innecesarias en mobile.
       backface-visibility mantiene el text rendering correcto sin crear capas. */
    section, footer { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
}
@media (max-height: 500px) and (orientation: landscape) { .hero { min-height: auto; padding-top: 80px; padding-bottom: 40px; } .hero-stats { margin-top: 30px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }

/* ================================ SECTION REVEAL ================================ */
.section-hidden { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.34,1.56,0.64,1), transform 0.8s cubic-bezier(0.34,1.56,0.64,1); }
@media (min-width: 769px) { .section-hidden { will-change: opacity, transform; } }
.section-visible { opacity: 1; transform: translateY(0); will-change: auto; }