/* ============================================
   CORPINTART — Premium Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #ea2a33;
    /* Rojo original */
    --primary-glow: rgba(234, 42, 51, 0.4);
    --bg-dark: #050505;
    --bg-card: #0d0d0d;
    --bg-card-hover: #141414;
    --text-main: #f0eded;
    --text-muted: #8a8a8a;
    --text-subtle: #4a4a4a;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(234, 42, 51, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font: 'Plus Jakarta Sans', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    cursor: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* --- Custom Cursor --- */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(234, 42, 51, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body.cursor-hover .cursor-dot {
    width: 50px;
    height: 50px;
    background: rgba(234, 42, 51, 0.15);
}

body.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--primary);
}

/* --- Ink Particles Canvas --- */
#inkParticles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Googlebot & noscript: loader must not block content */
@media (prefers-reduced-motion: reduce) {
    .loader {
        display: none !important;
    }
}


.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-logo {
    height: 50px;
    margin-bottom: 32px;
    animation: pulse-glow 1.5s ease infinite;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--border-subtle);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--primary);
    animation: load-fill 1.8s ease-in-out forwards;
}

@keyframes load-fill {
    to {
        width: 100%;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    box-shadow: 0 1px 0 var(--border-subtle);
    padding: 10px 0;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-img {
    height: 36px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: none;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    text-align: center;
}

.mobile-link {
    display: block;
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

.mobile-menu.active .mobile-link {
    transform: translateY(0);
    opacity: 1;
    transition-delay: calc(var(--i, 0) * 0.1s);
}

.mobile-menu.active .mobile-link:nth-child(1) {
    --i: 1;
}

.mobile-menu.active .mobile-link:nth-child(2) {
    --i: 2;
}

.mobile-menu.active .mobile-link:nth-child(3) {
    --i: 3;
}

.mobile-menu.active .mobile-link:nth-child(4) {
    --i: 4;
}

.mobile-menu.active .mobile-cta {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.5s;
}

.mobile-link:hover {
    color: var(--primary);
}

.mobile-cta {
    display: inline-block;
    margin-top: 32px;
    background: var(--primary);
    color: #fff;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s, box-shadow 0.3s;
}

.mobile-cta:hover {
    box-shadow: 0 8px 40px var(--primary-glow);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.btn-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: glow-slide 3s linear infinite;
}

@keyframes glow-slide {
    to {
        background-position: -200% 0;
    }
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-main);
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(234, 42, 51, 0.08);
    color: var(--primary);
    transform: translateY(-3px);
}

/* --- Reveal Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s var(--transition);
    transition-delay: var(--delay, 0s);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO SCROLLYTELLING — Split Panel Design
   ============================================ */

/* 400vh tall to give scroll room */
.hero-scroll-section {
    position: relative;
    height: 400vh;
}

/* Sticky viewport */
.hero-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-dark);
    display: flex;
    align-items: stretch;
}

/* Background decorations */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 80% at 10% 50%, rgba(234, 42, 51, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 5% 80%, rgba(234, 42, 51, 0.05) 0%, transparent 50%);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
}

/* ---- SPLIT LAYOUT — canvas anchored right, text anchored left ---- */
.hero-split {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    /* text overlay handles clicks */
}

/* ---- LEFT TEXT OVERLAY: left 42% of screen ---- */
.hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 42%;
    z-index: 10;
    pointer-events: none;
}

/* ---- CANVAS: fills right 58%, full height, minimal padding ---- */
.hero-panel-col {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 24px 0;
    pointer-events: auto;
    z-index: 5;
}

/* Base phase: stack perfectly on top of each other */
.scroll-phase {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: clamp(24px, 4vw, 64px);
    padding-right: 16px;
    opacity: 0;
    transition: opacity 0.12s ease;
    pointer-events: none;
    will-change: opacity;
}

/* First phase visible by default for crawlers */
.scroll-phase:first-child {
    opacity: 1;
}

.scroll-phase.active {
    opacity: 1;
    pointer-events: auto;
}

/* --- Phase 1: Title & Typography --- */
#phase1 .hero-title {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

#phase1 .title-line {
    display: block;
    color: #fff;
    text-transform: uppercase;
}

#phase1 .title-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}

#phase1 .title-accent {
    color: var(--primary);
    font-style: italic;
    font-size: clamp(26px, 4.8vw, 72px);
    /* Same scale as title so PROFESIONAL fits */
    overflow-wrap: normal;
    white-space: nowrap;
    /* Never break PROFESIONAL across lines */
}

#phase1 .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(234, 42, 51, 0.1);
    border: 1px solid var(--border-accent);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 24px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    width: fit-content;
}

#phase1 .hero-desc {
    font-size: clamp(14px, 1.3vw, 17px);
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 400px;
    margin-top: 20px;
}

/* --- Phase 2: Transformation Label --- */
.scroll-label-tag {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.scroll-label-text {
    font-size: clamp(32px, 4.5vw, 64px);
    font-weight: 900;
    line-height: 1.0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.scroll-label-sub {
    font-size: clamp(13px, 1.2vw, 16px);
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Phase 3: CTA --- */
#phase3 .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(234, 42, 51, 0.1);
    border: 1px solid var(--border-accent);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 28px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    width: fit-content;
}

.hero-actions-scroll {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}


.hero-panel-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-accent);
    box-shadow:
        0 0 0 1px rgba(234, 42, 51, 0.08),
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(234, 42, 51, 0.08);
}

/* Canvas fills the panel */
.hero-canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark gradient overlays on the panel for caption readability */
.panel-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(5, 5, 5, 0.8) 0%, rgba(5, 5, 5, 0.1) 35%, transparent 60%),
        linear-gradient(to bottom, rgba(5, 5, 5, 0.3) 0%, transparent 20%);
    border-radius: 20px;
}

/* Corner accents */
.panel-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--primary);
    border-style: solid;
    z-index: 5;
    transition: var(--transition);
    opacity: 0.8;
}

.panel-corner.tl {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
    border-radius: 2px 0 0 0;
}

.panel-corner.tr {
    top: -1px;
    right: -1px;
    border-width: 2px 2px 0 0;
    border-radius: 0 2px 0 0;
}

.panel-corner.bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 2px;
}

.panel-corner.br {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 2px 0;
}

.hero-panel-wrap:hover .panel-corner {
    opacity: 1;
    transform: scale(1.2);
}

/* Panel caption */
.panel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 6;
    pointer-events: none;
}

.caption-tag {
    display: block;
    font-size: 9px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.caption-title {
    font-size: 18px;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    letter-spacing: -0.02em;
}

/* Frame counter (inside panel, bottom-right) */
.hero-frame-counter {
    position: absolute;
    bottom: 16px;
    right: 14px;
    z-index: 6;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.3);
    font-family: monospace;
    pointer-events: none;
}

.frame-sep {
    margin: 0 3px;
    opacity: 0.4;
}

/* ---- Progress bar (top of sticky) ---- */
.hero-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), rgba(234, 42, 51, 0.3));
    z-index: 20;
    box-shadow: 0 0 12px var(--primary-glow);
    transition: width 0.05s linear;
}

/* ---- Scroll hint ---- */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 20;
    transition: opacity 0.5s ease;
}

.scroll-indicator span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: scroll-drop 1.5s ease infinite;
}

@keyframes scroll-drop {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* Hero title and badge (shared styles) */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(234, 42, 51, 0.1);
    border: 1px solid var(--border-accent);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 24px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    width: fit-content;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: badge-pulse 2s ease infinite;
    flex-shrink: 0;
}

@keyframes badge-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* ============================================
   MOBILE HERO — Stack layout
   Canvas top, text below (within viewport)
   ============================================ */
@media (max-width: 768px) {
    .hero-scroll-section {
        height: 450vh;
    }

    /* extra scroll room on mobile */

    .hero-split {
        pointer-events: none;
        /* no grid on mobile either */
    }

    /* On mobile: text overlay covers bottom 43% */
    .hero-text-overlay {
        width: 100%;
        top: 55%;
        bottom: 0;
        height: auto;
    }

    /* On mobile: canvas panel covers top 55% */
    .hero-panel-col {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        height: 57%;
        width: 100%;
        padding: 60px 16px 8px;
    }

    .hero-panel-wrap {
        max-width: 100%;
        border-radius: 14px;
        height: 100%;
        aspect-ratio: unset;
    }

    .scroll-phase {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        justify-content: center;
        padding: 16px 24px;
    }

    #phase1 .hero-title {
        margin-bottom: 12px;
    }

    .scroll-label-text {
        font-size: clamp(26px, 8vw, 40px);
        margin-bottom: 12px;
    }

    .hero-actions-scroll {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .hero-actions-scroll .btn-primary,
    .hero-actions-scroll .btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-stats {
        gap: 16px;
        padding-top: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    /* Hide scroll indicator on mobile — it takes too much space */
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-split {
        padding: 65px 16px 16px;
        gap: 16px;
    }

    .hero-panel-wrap {
        aspect-ratio: 4/3;
        border-radius: 12px;
    }

    #phase1 .hero-desc {
        font-size: 13px;
    }

    .scroll-label-text {
        font-size: clamp(22px, 7vw, 34px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 clamp(20px, 5vw, 60px);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(234, 42, 51, 0.1);
    border: 1px solid var(--border-accent);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 28px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: badge-pulse 2s ease infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* Hero Title */
.hero-title {
    margin-bottom: 28px;
}

.title-line {
    display: block;
    font-size: clamp(40px, 8vw, 96px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.title-outline {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
    color: transparent;
}

.title-accent {
    color: var(--primary);
    font-style: italic;
    text-shadow: 0 0 60px var(--primary-glow);
}

/* Hero Description */
.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 32px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.stat-plus {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Hero Media */
.hero-media {
    position: relative;
}

.hero-video-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.video-frame {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-accent);
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.7) contrast(1.2) brightness(0.7);
    transition: filter 0.7s ease;
}

.hero-video-wrap:hover .video-frame video {
    filter: grayscale(0) contrast(1) brightness(0.85);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.8) 0%, transparent 50%);
}

.video-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 5;
}

.caption-tag {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.caption-title {
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
}

/* Video Corners */
.video-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--primary);
    border-style: solid;
    z-index: 5;
    transition: var(--transition);
}

.video-corner.tl {
    top: -8px;
    left: -8px;
    border-width: 2px 0 0 2px;
}

.video-corner.tr {
    top: -8px;
    right: -8px;
    border-width: 2px 2px 0 0;
}

.video-corner.bl {
    bottom: -8px;
    left: -8px;
    border-width: 0 0 2px 2px;
}

.video-corner.br {
    bottom: -8px;
    right: -8px;
    border-width: 0 2px 2px 0;
}

.hero-video-wrap:hover .video-corner {
    transform: scale(1.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.scroll-indicator span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--primary);
    animation: scroll-down 2s ease infinite;
}

@keyframes scroll-down {
    0% {
        top: -50%;
    }

    100% {
        top: 150%;
    }
}

/* --- Marquee --- */
.marquee-section {
    padding: 20px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    background: var(--bg-card);
}

.marquee-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.marquee-dot {
    color: var(--primary);
    font-size: 8px;
    display: flex;
    align-items: center;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Enfoque Section --- */
.section-enfoque {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #080808 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.text-accent {
    color: var(--primary);
    font-style: italic;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enfoque Cards */
.enfoque-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.enfoque-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.enfoque-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(234, 42, 51, 0.1);
}

.enfoque-card:nth-child(2) {
    transform: translateY(32px);
}

.enfoque-card:nth-child(2).revealed {
    transform: translateY(32px);
}

.enfoque-card:nth-child(2):hover {
    transform: translateY(24px);
}

.card-image-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    transition: filter 0.8s ease, transform 0.6s ease;
}

/* Activado por Intersection Observer en scroll (mobile y desktop) */
.enfoque-card.in-view .card-image-wrap img {
    filter: grayscale(0) contrast(1) brightness(1.05);
    transform: scale(1.04);
}

/* Hover adicional en desktop encima del in-view */
.enfoque-card:hover .card-image-wrap img {
    filter: grayscale(0);
    transform: scale(1.08);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 50%);
}

.card-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 60px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: -0.05em;
    line-height: 1;
    transition: color var(--transition);
}

.enfoque-card:hover .card-number {
    color: rgba(234, 42, 51, 0.15);
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.card-content p {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Detalles Section --- */
.section-detalles {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.detalles-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(100px, 20vw, 280px);
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(234, 42, 51, 0.03);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.detalles-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.detalles-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.detalles-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color var(--transition), transform var(--transition);
    margin-bottom: 16px;
}

.detail-card:hover {
    border-color: var(--border-accent);
    transform: translateX(8px);
}

.detail-card .material-symbols-outlined {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.detail-card h4 {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.detail-card ul li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    padding-left: 12px;
    position: relative;
}

.detail-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 11px;
}

.detail-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Proyecto Section --- */
.section-proyecto {
    padding: 140px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.proyecto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.proyecto-title {
    margin-bottom: 24px;
}

.proyecto-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.highlight {
    background: rgba(234, 42, 51, 0.15);
    color: #fff;
    padding: 2px 8px;
    font-weight: 800;
}

.proyecto-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color var(--transition), transform var(--transition);
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateX(6px);
}

.step-card-featured {
    border-color: var(--primary);
    background: rgba(234, 42, 51, 0.05);
}

.step-card-featured:hover {
    transform: translateX(6px) scale(1.01);
}

.step-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
}

.step-card h4 {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.step-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Proyecto Media */
.proyecto-media {
    position: relative;
}

.proyecto-video-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-accent);
    aspect-ratio: 3/4;
}

.proyecto-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proyecto-video-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.proyecto-video-caption h3 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.proyecto-video-caption p {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Precios Section --- */
.section-precios {
    padding: 140px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0505 100%);
}

.precios-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}

.precios-title {
    margin-bottom: 24px;
}

.cupos-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(234, 42, 51, 0.1);
    border: 1px solid var(--border-accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: badge-pulse 1.5s ease infinite;
}

/* Pricing Cards */
.precios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.precio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.precio-card:first-child {
    border-color: var(--primary);
    background: linear-gradient(160deg, rgba(234, 42, 51, 0.08) 0%, var(--bg-card) 40%);
}

.precio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.precio-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: #fff;
    padding: 4px 40px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    transform: rotate(45deg);
}

.precio-plan {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.precio-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}

.precio-amount {
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.precio-currency {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
}

.precio-value {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.precio-unit {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: 4px;
}

.precio-features {
    margin-bottom: 32px;
}

.precio-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.precio-features li .material-symbols-outlined {
    font-size: 18px;
    color: var(--primary);
}

.precio-btn {
    width: 100%;
    text-align: center;
}

.precios-disclaimer {
    text-align: center;
    font-size: 10px;
    color: var(--text-subtle);
    max-width: 700px;
    margin: 40px auto 0;
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Galería Proyectos Finales --- */
.section-galeria {
    padding: 140px 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.galeria-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    aspect-ratio: 3/4;
    transition: border-color var(--transition), transform var(--transition);
}

.galeria-item:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.galeria-item:hover img {
    transform: scale(1.05);
}

/* --- CTA Section --- */
.section-cta {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    min-height: 600px;
}

.cta-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(234, 42, 51, 0.85) 0%, rgba(100, 10, 10, 0.95) 100%);
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cta-contact-item .material-symbols-outlined {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.contact-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.contact-value:hover {
    opacity: 0.8;
}

.contact-sub {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.7;
}

.contact-phone {
    font-size: 28px;
}

.cta-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.cta-map {
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(1) contrast(1.2) brightness(0.7);
    transition: filter 0.7s ease;
}

.cta-map:hover iframe {
    filter: grayscale(0) contrast(1) brightness(1);
}

/* --- Footer --- */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-dark);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo img {
    height: 28px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer-logo:hover img {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copy {
    font-size: 10px;
    color: var(--text-subtle);
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: whatsapp-entrance 0.6s ease 2.5s both;
    cursor: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

@keyframes whatsapp-entrance {
    from {
        transform: scale(0) rotate(90deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

/* --- Glitch Text --- */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-text:hover::before {
    animation: glitch-1 0.3s ease infinite;
    color: #0ff;
    opacity: 0.6;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch-text:hover::after {
    animation: glitch-2 0.3s ease infinite reverse;
    color: #f0f;
    opacity: 0.6;
    clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-3px, 2px);
    }

    40% {
        transform: translate(3px, -2px);
    }

    60% {
        transform: translate(-2px, 1px);
    }

    80% {
        transform: translate(2px, -1px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes glitch-2 {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(3px, -2px);
    }

    40% {
        transform: translate(-3px, 2px);
    }

    60% {
        transform: translate(2px, -1px);
    }

    80% {
        transform: translate(-2px, 1px);
    }

    100% {
        transform: translate(0);
    }
}

/* ============================================
   RESPONSIVE — Mobile First Optimization
   ============================================ */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-media {
        max-width: 400px;
        margin: 0 auto;
    }

    .enfoque-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .enfoque-card:nth-child(2),
    .enfoque-card:nth-child(2).revealed,
    .enfoque-card:nth-child(2):hover {
        transform: none;
    }

    .detalles-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .proyecto-grid {
        grid-template-columns: 1fr;
    }

    .proyecto-media {
        max-width: 500px;
        margin: 0 auto;
    }

    .cta-inner {
        grid-template-columns: 1fr;
    }

    .cta-map {
        height: 300px;
    }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Hide custom cursor on touch devices */
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body {
        cursor: auto;
    }

    .whatsapp-float {
        cursor: pointer;
    }

    .hamburger {
        cursor: pointer;
    }

    a,
    button {
        cursor: pointer;
    }

    /* Global typography */
    html {
        scroll-padding-top: 70px;
    }

    /* Navbar */
    .nav-links {
        display: none;
    }

    .nav-cta {
        font-size: 0.65rem;
        padding: 8px 14px;
    }

    .hamburger {
        display: block;
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }

    .nav-logo-img {
        height: 30px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 90px 0 50px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-badge {
        font-size: 8px;
        padding: 6px 14px;
        letter-spacing: 0.1em;
        margin-bottom: 20px;
        gap: 8px;
    }

    .title-line {
        font-size: clamp(32px, 10vw, 56px);
    }

    .hero-title {
        margin-bottom: 20px;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 14px 24px;
        font-size: 13px;
    }

    .hero-stats {
        gap: 0;
        justify-content: space-around;
        padding-top: 24px;
    }

    .stat {
        flex: 1;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-plus {
        font-size: 16px;
    }

    .stat-label {
        font-size: 8px;
        letter-spacing: 0.1em;
    }

    .stat-divider {
        height: 30px;
    }

    .hero-media {
        max-width: 320px;
        margin: 0 auto;
    }

    .video-corner {
        width: 14px;
        height: 14px;
    }

    .video-corner.tl {
        top: -6px;
        left: -6px;
    }

    .video-corner.tr {
        top: -6px;
        right: -6px;
    }

    .video-corner.bl {
        bottom: -6px;
        left: -6px;
    }

    .video-corner.br {
        bottom: -6px;
        right: -6px;
    }

    .caption-title {
        font-size: 18px;
    }

    .scroll-indicator {
        bottom: 16px;
    }

    /* Marquee */
    .marquee-track {
        font-size: 11px;
        gap: 24px;
    }

    /* Enfoque */
    .section-enfoque {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: clamp(28px, 7vw, 48px);
    }

    .section-subtitle {
        font-size: 13px;
    }

    .enfoque-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 16px;
    }

    .card-image-wrap {
        aspect-ratio: 4/3;
    }

    .card-number {
        font-size: 48px;
    }

    .card-content {
        padding: 18px;
    }

    .card-content h3 {
        font-size: 16px;
    }

    /* Detalles */
    .section-detalles {
        padding: 80px 0;
    }

    .detalles-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .detalles-desc {
        font-size: 14px;
    }

    .detail-card {
        padding: 24px;
    }

    .detail-card .material-symbols-outlined {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .detail-card h4 {
        font-size: 14px;
    }

    /* Proyecto */
    .section-proyecto {
        padding: 80px 0;
    }

    .proyecto-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .proyecto-desc {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .proyecto-media {
        max-width: 100%;
    }

    .proyecto-video-wrap {
        aspect-ratio: 4/3;
    }

    .proyecto-video-caption {
        padding: 20px;
    }

    .proyecto-video-caption h3 {
        font-size: clamp(24px, 6vw, 36px);
    }

    .step-card {
        padding: 16px 18px;
    }

    .step-num {
        font-size: 20px;
    }

    .step-card h4 {
        font-size: 13px;
    }

    .step-card p {
        font-size: 11px;
    }

    /* Precios */
    .section-precios {
        padding: 80px 0;
    }

    .precios-header {
        margin-bottom: 40px;
    }

    .precios-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 16px;
    }

    .precio-card {
        padding: 28px 22px;
    }

    .precio-plan {
        font-size: 18px;
    }

    .precio-value {
        font-size: 32px;
    }

    .precio-currency {
        font-size: 16px;
    }

    .precio-sub {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .precio-features {
        margin-bottom: 24px;
    }

    .precio-features li {
        font-size: 12px;
        padding: 7px 0;
    }

    .precio-btn {
        padding: 14px 24px;
        font-size: 13px;
    }

    .precios-disclaimer {
        font-size: 9px;
    }

    /* Galería */
    .section-galeria {
        padding: 80px 0;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 40px;
    }

    /* CTA */
    .section-cta {
        padding: 80px 0;
        min-height: auto;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-title {
        font-size: clamp(40px, 12vw, 64px);
        margin-bottom: 28px;
    }

    .contact-value {
        font-size: 16px;
    }

    .contact-phone {
        font-size: 22px;
    }

    .contact-sub {
        font-size: 12px;
    }

    .cta-map {
        height: 280px;
    }

    /* Footer */
    .footer {
        padding: 36px 0;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-links a {
        font-size: 10px;
    }

    .footer-copy {
        font-size: 9px;
    }

    /* WhatsApp */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-inner {
        padding: 0 16px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-badge {
        font-size: 7px;
        padding: 5px 10px;
        letter-spacing: 0.08em;
    }

    .title-line {
        font-size: clamp(28px, 11vw, 44px);
    }

    .hero-desc {
        font-size: 13px;
        line-height: 1.6;
    }

    .hero-stats {
        padding-top: 20px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-plus {
        font-size: 14px;
    }

    .stat-label {
        font-size: 7px;
    }

    .stat-divider {
        height: 24px;
    }

    .hero-media {
        max-width: 280px;
    }

    .section-enfoque {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: clamp(24px, 8vw, 36px);
    }

    .section-tag {
        font-size: 9px;
        letter-spacing: 0.15em;
    }

    .section-detalles {
        padding: 60px 0;
    }

    .detalles-desc {
        font-size: 13px;
    }

    .section-proyecto {
        padding: 60px 0;
    }

    .proyecto-desc {
        font-size: 13px;
    }

    .proyecto-steps {
        gap: 8px;
    }

    .section-galeria {
        padding: 60px 0;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 30px;
    }

    .section-precios {
        padding: 60px 0;
    }

    .precio-value {
        font-size: 28px;
    }

    .precio-card {
        padding: 24px 18px;
    }

    .precio-tag {
        top: 16px;
        right: -34px;
        font-size: 8px;
        padding: 3px 36px;
    }

    .section-cta {
        padding: 60px 0;
    }

    .cta-title {
        font-size: clamp(36px, 14vw, 52px);
    }

    .cta-map {
        height: 220px;
    }

    .cta-contact-item .material-symbols-outlined {
        font-size: 24px;
    }

    .contact-phone {
        font-size: 20px;
    }

    .contact-value {
        font-size: 14px;
    }

    .contact-sub {
        font-size: 11px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}

/* --- Very Small Screens (max-width: 360px) --- */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .nav-inner {
        padding: 0 12px;
    }

    .hero-content {
        padding: 0 12px;
    }

    .title-line {
        font-size: 26px;
    }

    .hero-badge {
        font-size: 6.5px;
        padding: 4px 8px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 6px;
    }

    .section-title {
        font-size: 24px;
    }

    .precio-value {
        font-size: 24px;
    }

    .precio-plan {
        font-size: 16px;
    }

    .cta-title {
        font-size: 32px;
    }
}

/* --- Landscape phone orientation --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .hero-media {
        max-width: 250px;
    }

    .title-line {
        font-size: clamp(24px, 5vw, 40px);
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 20px;
    }

    .mobile-menu-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
        align-items: center;
    }

    .mobile-link {
        font-size: 24px;
        margin-bottom: 0;
    }
}

/* --- Touch device optimizations --- */
@media (hover: none) and (pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body {
        cursor: auto;
    }

    a,
    button,
    .enfoque-card,
    .step-card,
    .detail-card,
    .precio-card {
        cursor: pointer;
    }

    /* Larger touch targets (min 44px as per WCAG) */
    .btn-primary,
    .btn-outline {
        min-height: 48px;
    }

    .nav-link {
        padding: 8px 4px;
    }

    .mobile-link {
        padding: 8px 0;
    }

    .footer-links a {
        padding: 8px 4px;
    }

    /* Disable hover-only effects on touch */
    .enfoque-card:hover {
        transform: none;
        box-shadow: none;
    }

    .enfoque-card:nth-child(2):hover {
        transform: none;
    }

    .detail-card:hover {
        transform: none;
    }

    .step-card:hover {
        transform: none;
    }

    .precio-card:hover {
        transform: none;
        box-shadow: none;
    }

    .btn-primary:hover {
        transform: none;
    }

    .btn-outline:hover {
        transform: none;
    }

    /* Active states for touch feedback */
    .btn-primary:active {
        transform: scale(0.97);
    }

    .btn-outline:active {
        transform: scale(0.97);
        border-color: var(--primary);
    }

    .enfoque-card:active {
        transform: scale(0.98);
    }

    .precio-card:active {
        transform: scale(0.98);
    }

    .step-card:active {
        transform: scale(0.98);
    }

    .whatsapp-float:active {
        transform: scale(0.92);
    }
}

/* --- Prefers reduced motion --- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-up {
        opacity: 1;
        transform: none;
    }

    .marquee-track {
        animation: none;
    }

    .scroll-line::after {
        animation: none;
    }

    .loader-progress {
        animation: none;
        width: 100%;
    }

    .badge-dot,
    .badge-pulse {
        animation: none;
    }
}

/* ============================================
   INVERSIÓN — Precios
   ============================================ */
.section-inversion {
    padding: 120px 0;
    position: relative;
    background: var(--bg-dark);
}

.inversion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 60px auto 0;
}

.inversion-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.inversion-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.inversion-card-financiado {
    border-color: var(--border-accent);
}

.inversion-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.inversion-tipo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
}

.inversion-precio {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 28px;
}

.precio-symbol {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.precio-valor {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}

.precio-moneda {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 4px;
}

.inversion-detalle-pago {
    background: rgba(234, 42, 51, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 24px;
}

.inversion-detalle-pago p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.inversion-detalle-pago strong {
    color: var(--text-main);
}

.inversion-incluye {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.inversion-incluye li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.inversion-incluye li:last-child {
    border-bottom: none;
}

.inversion-incluye .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--primary);
}

.btn-inversion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    background: transparent;
    border: 1px solid var(--border-accent);
    color: var(--text-main);
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-inversion:hover {
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .inversion-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .inversion-card {
        padding: 36px 24px;
    }

    .precio-valor {
        font-size: 2.2rem;
    }

    .section-inversion {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .precio-valor {
        font-size: 1.9rem;
    }

    .inversion-card {
        padding: 28px 20px;
    }
}

/* ============================================
   CLASE GRATUITA — Lead Magnet Section
   ============================================ */
.section-clase-gratis {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.section-clase-gratis::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(234, 42, 51, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.section-clase-gratis::after {
    content: 'GRATIS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(100px, 22vw, 320px);
    font-weight: 900;
    color: rgba(234, 42, 51, 0.03);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.clase-gratis-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.clase-gratis-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(234, 42, 51, 0.1);
    border: 1px solid var(--border-accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 32px;
}

.clase-gratis-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.clase-gratis-desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.clase-gratis-desc strong {
    color: var(--text-main);
}

.clase-gratis-list {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
}

.clase-gratis-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.clase-gratis-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.clase-gratis-list li .material-symbols-outlined {
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.clase-gratis-cta {
    margin-bottom: 48px;
}

.clase-gratis-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-asesor {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 17px 28px;
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.btn-asesor:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-asesor .material-symbols-outlined {
    font-size: 20px;
}

@media (max-width: 640px) {
    .clase-gratis-btns {
        flex-direction: column;
    }

    .btn-asesor {
        width: 100%;
        justify-content: center;
    }
}

.btn-clase-gratis {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 18px 40px;
    border-radius: 0;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 6px 6px 0px rgba(234, 42, 51, 0.3);
}

.btn-clase-gratis:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px rgba(234, 42, 51, 0.5);
}

.btn-clase-gratis .material-symbols-outlined {
    font-size: 22px;
}

.clase-gratis-note {
    margin-top: 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.clase-gratis-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 32px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.trust-item {
    text-align: center;
}

.trust-num {
    display: block;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.trust-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.trust-divider {
    width: 1px;
    height: 48px;
    background: var(--border-subtle);
}

@media (max-width: 640px) {
    .clase-gratis-list {
        padding: 24px 20px;
    }

    .btn-clase-gratis {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 14px;
    }

    .clase-gratis-trust {
        gap: 20px;
        padding: 24px 16px;
    }

    .trust-num {
        font-size: 30px;
    }
}

/* ============================================
   FINAL CTA — Reemplaza Precios
   ============================================ */
.section-final-cta {
    padding: 120px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.section-final-cta::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(234, 42, 51, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.final-cta-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.final-cta-pre {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.final-cta-title {
    font-size: clamp(42px, 7vw, 88px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.final-cta-desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 40px;
}