/* ===== FONT FACE ===== */
@font-face {
    font-family: 'Graffiti City';
    src: url('fuentes/Graffiti City.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
    --color-primary: #74ed00;
    --color-primary-dark: #74ed00;
    --color-primary-light: #6b9f7a;
    --color-primary-rgb: 74, 124, 89;
    --color-secondary: #2d2d2d;
    --color-accent: #8bc34a;
    --color-accent-rgb: 139, 195, 74;
    --color-white: #ffffff;
    --color-light: #f5f7f0;
    --color-gray: #6b7280;
    --color-dark: #1a1a2e;
    --color-dark-rgb: 26, 26, 46;

    --font-family: 'Poppins', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.75rem;
    --font-size-5xl: 3.5rem;

    --header-height: 5rem;
    --container-max: 1200px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(var(--color-accent-rgb), 0.3);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--color-secondary);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
}

body:not(.loaded) {
    overflow: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__inner {
    text-align: center;
}

.preloader__logo {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 6px;
    margin-bottom: 2rem;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

.preloader__bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader__progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 3px;
    animation: preloaderBar 1.5s ease-in-out forwards;
}

@keyframes preloaderBar {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===== CUSTOM CURSOR ===== */
.cursor, .cursor-follower {
    display: none;
}

@media (min-width: 769px) and (hover: hover) {
    .cursor {
        display: block;
        position: fixed;
        width: 8px;
        height: 8px;
        background: #74ed00;
        border-radius: 50%;
        pointer-events: none;
        z-index: 10000;
        transform: translate(-50%, -50%);
        transition: width 0.3s, height 0.3s, background 0.3s;
    }

    .cursor--active {
        width: 14px;
        height: 14px;
        background: var(--color-accent);
    }

    .cursor-follower {
        display: block;
        position: fixed;
        width: 36px;
        height: 36px;
        border: 2px solid rgba(116, 237, 0, 0.35);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: width 0.4s, height 0.4s, border-color 0.4s;
    }

    .cursor-follower--active {
        width: 50px;
        height: 50px;
        border-color: rgba(116, 237, 0, 0.5);
    }
}

/* ===== UTILITY ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section__label {
    display: inline-block;
    font-family: 'Graffiti City', sans-serif;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: #9346b6;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    position: relative;
}

.section__label--center {
    display: block;
    text-align: center;
}

.section__title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: #74ed00;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section__title--center {
    text-align: center;
}

.section__divider {
    width: 60px;
    height: 4px;
    background: #9346b6;
    border-radius: 2px;
    margin-bottom: 2rem;
}

.section__divider--center {
    margin-left: auto;
    margin-right: auto;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    z-index: 200;
}

.skip-link:focus { top: 0; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn__icon {
    transition: transform 0.3s ease;
}

.btn:hover .btn__icon {
    transform: translateX(4px);
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.3);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    box-shadow: 0 8px 30px rgba(var(--color-primary-rgb), 0.5);
}

.btn--glow {
    background: linear-gradient(135deg, #74ed00, #9346b6);
    color: var(--color-white);
    box-shadow: 0 0 30px rgba(116, 237, 0, 0.25);
    font-size: var(--font-size-base);
    padding: 1.1rem 3rem;
}

.btn--glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.btn--glow:hover::before {
    left: 100%;
}

.btn--glow:hover {
    box-shadow: 0 0 50px rgba(116, 237, 0, 0.4), 0 0 80px rgba(147, 70, 182, 0.2);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.4s ease;
    padding: 0.25rem 0;
}

.header--hidden {
    transform: translateY(-100%);
}

.scroll-header {
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.scroll-header .logo-text { color: var(--color-white); }
.scroll-header .nav__toggle .hamburger__line { background: var(--color-white); }

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav__logo {
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nav__logo--menu {
    z-index: auto;
}

.logo-mark {
    display: flex;
    align-items: center;
}

/* Hide iso logo on desktop, show full logo */
.logo-mark--iso {
    display: none;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 4px;
    transition: var(--transition);
    line-height: 1;
}

.logo-text--white { color: var(--color-white); }

.logo-a {
    display: inline-block;
    transform: scaleY(-1) translateY(3px);
}

.logo-dot {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-left: 1px;
}

.logo-tagline {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 300;
}

.logo-tagline--white {
    color: rgba(255, 255, 255, 0.7);
}

.logo-tagline strong {
    font-weight: 700;
    color: var(--color-accent);
}

/* Hamburger Toggle - always visible */
.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
    padding: 8px;
}

.hamburger__line {
    display: block;
    width: 30px;
    height: 2.5px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.nav__toggle:hover .hamburger__line {
    background: var(--color-accent);
}

/* ===== FULLSCREEN MENU OVERLAY ===== */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: #0a0a14;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.menu-overlay.show-menu {
    opacity: 1;
    visibility: visible;
}

.menu-overlay__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.nav__close {
    font-size: 1.8rem;
    color: #9346b6;
    cursor: pointer;
    transition: var(--transition);
    z-index: 201;
    padding: 0.5rem;
}

.nav__close:hover {
    transform: rotate(90deg);
    color: var(--color-white);
}

.menu-overlay__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
}

.menu-overlay__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-overlay__item {
    overflow: visible;
}

.menu-overlay__link {
    display: inline-block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-white);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    transform: translateY(100%);
    opacity: 0;
}

.menu-overlay.show-menu .menu-overlay__link {
    transform: translateY(0);
    opacity: 1;
}

.menu-overlay.show-menu .menu-overlay__item:nth-child(1) .menu-overlay__link { transition-delay: 0.1s; }
.menu-overlay.show-menu .menu-overlay__item:nth-child(2) .menu-overlay__link { transition-delay: 0.18s; }
.menu-overlay.show-menu .menu-overlay__item:nth-child(3) .menu-overlay__link { transition-delay: 0.26s; }
.menu-overlay.show-menu .menu-overlay__item:nth-child(4) .menu-overlay__link { transition-delay: 0.34s; }
.menu-overlay.show-menu .menu-overlay__item:nth-child(5) .menu-overlay__link { transition-delay: 0.42s; }

.menu-overlay__link:hover {
    color: rgba(255, 255, 255, 0.6);
    transform: translateX(15px);
}

.menu-dot {
    color: #9346b6;
    font-weight: 900;
}

/* Only Home uses Graffiti City font + green color */
.menu-overlay__item:nth-child(1) .menu-overlay__link {
    font-family: 'Graffiti City', var(--font-family);
    color: #74ed00;
    line-height: 1.3;
    padding: 0.15em 0;
    display: inline-block;
}

/* Servicios and Contacto in green */
.menu-overlay__item:nth-child(3) .menu-overlay__link,
.menu-overlay__item:nth-child(5) .menu-overlay__link {
    color: #74ed00;
}

/* Social links in menu */
.menu-overlay__social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.5s;
}

.menu-overlay.show-menu .menu-overlay__social {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay__social a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-weight: 400;
}

.menu-overlay__social a:hover {
    color: var(--color-accent);
}

/* Vertical "hablemos" text on the right side */
.menu-overlay__side {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease 0.4s;
}

.menu-overlay.show-menu .menu-overlay__side {
    opacity: 1;
}

.menu-overlay__vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    letter-spacing: 8px;
    text-transform: lowercase;
    user-select: none;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.hero__slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide--active {
    opacity: 1;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video swap: desktop vs mobile */
.hero__video--mobile {
    display: none;
}

/* Hero Overlay Text */
.hero__overlay-text {
    position: absolute;
    top: 15%;
    left: 40%;
    right: 5%;
    bottom: 25%;
    max-width: none;
    width: auto;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    padding: 2.5rem;
    border: 2px solid var(--color-accent);
    background: rgba(0, 0, 0, 0.6);
    clip-path: inset(0 100% 0 0);
    transition: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__slide--active .hero__overlay-text.hero__overlay-text--visible {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
    pointer-events: auto;
}

.hero__overlay-title {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero__overlay-desc {
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.hero__overlay-cta {
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
    font-weight: 500;
    color:#74ed00;
    line-height: 1.7;
    font-style: italic;
}

/* Mobile text hidden by default */
.hero__overlay-desc--mobile,
.hero__overlay-cta--mobile {
    display: none;
}

/* Slider dots */
.hero__dots {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 5;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero__dot--active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.2);
}

.hero__dot:hover {
    border-color: var(--color-accent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-indicator__mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator__wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

/* ===== ABOUT ===== */
.about {
    padding: 8rem 0;
    background: #000000;
    position: relative;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about__text {
    font-size: var(--font-size-base);
    color: #ffffff;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.about__image {
    position: relative;
}

.about__img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__img-wrapper img {
    width: 100%;
    transition: transform 0.8s ease;
}

.about__img-wrapper:hover img {
    transform: scale(1.05);
}

.about__img-float {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.about__img-float--1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.3), transparent);
    top: -30px;
    right: -30px;
    animation: floatBubble 6s ease-in-out infinite;
}

.about__img-float--2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.25), transparent);
    bottom: -20px;
    left: -20px;
    animation: floatBubble 5s ease-in-out infinite reverse;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

/* ===== SERVICES ===== */
.services {
    padding: 6rem 0;
    background: var(--color-light);
    position: relative;
}

.services__header {
    margin-bottom: 3.5rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service__card {
    background: #000000;
    padding: 2.5rem 1.75rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service__card:hover::before {
    transform: scaleX(1);
}

.service__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(var(--color-primary-rgb), 0.03), transparent);
    transition: height 0.5s ease;
}

.service__card:hover::after {
    height: 100%;
}

.service__card:hover {
    box-shadow: var(--shadow-lg);
}

.service__icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.service__icon {
    width: 75px;
    height: 75px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-white);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service__icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: rgba(var(--color-primary-rgb), 0.15);
    transition: all 0.5s ease;
}

.service__card:hover .service__icon {
    transform: scale(1.1) rotate(5deg);
    color: #9346b6;
}

.service__card:hover .service__icon-bg {
    width: 95px;
    height: 95px;
    background: rgba(var(--color-accent-rgb), 0.1);
}

/* SVG Icon Styles */
.icon-urban {
    color: var(--color-white);
    transition: all 0.25s ease;
}

.service__card:hover .icon-urban {
    color: #9346b6;
}

/* Card without background circle */
.service__card--no-bg .service__icon-bg {
    display: none !important;
}

.service__card--no-bg .service__icon {
    background: transparent !important;
}

.service__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: #74ed00;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.service__desc {
    font-size: var(--font-size-sm);
    color: #9346b6;
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service__line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #74ed00, #9346b6);
    margin: 0 auto;
    border-radius: 2px;
    transition: width 0.4s ease;
    position: relative;
    z-index: 1;
}

.service__card:hover .service__line {
    width: 70px;
}

/* ===== STATS ===== */
.stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.stats__bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.stats__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: var(--color-white);
}

.stats__shape--1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.stats__shape--2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: 10%;
}

.stats__shape--3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 60%;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000000;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat__item {
    text-align: center;
    padding: 2.5rem 1rem;
    position: relative;
}

.stat__circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.stat__circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat__circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 3;
}

.stat__circle-fill {
    fill: none;
    stroke: #9346b6;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat__prefix {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: #74ed00;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat__number {
    display: inline;
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: #74ed00;
    line-height: 1;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat__title {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color:#9346b6;
    line-height: 1.5;
}

/* ===== EXPERIENCE / CLIENTS ===== */
.experience {
    padding: 8rem 0;
    background: var(--color-white);
}

/* Infinite Marquee */
.clients__marquee {
    margin-top: 3.5rem;
    padding: 2rem 0;
    position: relative;
}

.experience {
    overflow: hidden;
}

.clients__track {
    display: flex;
    gap: 2rem;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.clients__track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 130px;
    padding: 1.5rem;
    background: #111111;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.client__logo:hover {
    background: #1a1a1a;
    box-shadow: 0 8px 30px rgba(116, 237, 0, 0.15);
    border-color: rgba(116, 237, 0, 0.3);
    transform: scale(1.08);
}

.client__logo img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: var(--transition);
}

.client__logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* ===== CTA ===== */
.cta {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
}

.cta__parallax-bg {
    position: absolute;
    inset: -50px;
    background:
        linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(26, 26, 46, 0.85) 100%),
        url('imagenes/DSC06495.jpg') center/cover no-repeat;
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta__content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2.5rem;
    background: linear-gradient(135deg, #74ed00, #9346b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
    box-shadow: 0 0 30px rgba(116, 237, 0, 0.3);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(116, 237, 0, 0.3); }
    50% { box-shadow: 0 0 50px rgba(147, 70, 182, 0.4); }
}

.cta__text {
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 1.75rem;
}

.cta__highlight {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #74ed00;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 20px rgba(116, 237, 0, 0.25);
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.95), rgba(13, 13, 26, 0.98));
    border: 1px solid rgba(116, 237, 0, 0.15);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 40px rgba(116, 237, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 2px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form__group {
    position: relative;
}

.contact-form__group--full {
    margin-bottom: 2rem;
}

.contact-form__label {
    display: block;
    font-family: 'Graffiti City', var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}

.contact-form__input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(116, 237, 0, 0.03);
    border: 1px solid rgba(147, 70, 182, 0.25);
    border-radius: 12px;
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    transition: var(--transition);
    outline: none;
}

.contact-form__input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.contact-form__input:hover {
    border-color: rgba(147, 70, 182, 0.45);
    background: rgba(116, 237, 0, 0.04);
}

.contact-form__input:focus {
    border-color: var(--color-primary);
    background: rgba(116, 237, 0, 0.06);
    box-shadow: 0 0 20px rgba(116, 237, 0, 0.1), 0 0 0 3px rgba(116, 237, 0, 0.05);
}

.contact-form__select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2374ed00' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.contact-form__select option {
    background: var(--color-dark);
    color: var(--color-white);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 130px;
    border-radius: 12px;
}

.contact-form__line {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), #9346b6);
    border-radius: 2px;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.contact-form__group:focus-within .contact-form__line {
    width: 100%;
}

.contact-form__submit {
    text-align: center;
    margin-top: 0.5rem;
}

/* Phone input with prefix */
.contact-form__phone-wrapper {
    display: flex;
    align-items: center;
    background: rgba(116, 237, 0, 0.03);
    border: 1px solid rgba(147, 70, 182, 0.25);
    border-radius: 12px;
    transition: var(--transition);
    overflow: hidden;
}

.contact-form__phone-wrapper:focus-within {
    border-color: var(--color-primary);
    background: rgba(116, 237, 0, 0.06);
    box-shadow: 0 0 20px rgba(116, 237, 0, 0.1), 0 0 0 3px rgba(116, 237, 0, 0.05);
}

.contact-form__phone-wrapper:hover {
    border-color: rgba(147, 70, 182, 0.45);
}

.contact-form__phone-prefix {
    padding: 0.9rem 0.8rem 0.9rem 1rem;
    color: var(--color-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    white-space: nowrap;
    user-select: none;
    border-right: 1px solid rgba(147, 70, 182, 0.2);
}

.contact-form__phone-input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-left: 0.8rem;
}

.contact-form__phone-input:focus {
    border: none !important;
    box-shadow: none !important;
}

/* Error state */
.contact-form__error {
    display: block;
    font-size: var(--font-size-xs);
    color: #ff4444;
    margin-top: 0.4rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-form__error.show {
    opacity: 1;
    transform: translateY(0);
}

.contact-form__input--error {
    border-color: #ff4444 !important;
}

.contact-form__phone-wrapper:has(.contact-form__input--error) {
    border-color: #ff4444 !important;
}

/* ===== FOOTER ===== */
.footer {
    background: #0d0d1a;
    padding: 3.5rem 0 1.5rem;
}

.footer__grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo { margin-bottom: 0.75rem; }

.footer__tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.social__link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.social__link:hover::before {
    transform: scale(1);
}

.social__link i {
    position: relative;
    z-index: 1;
}

.social__link:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(var(--color-primary-rgb), 0.3);
}

.footer__bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer__bottom p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.35);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-4px);
}

/* ===== FLOATING CONTACT BUTTON ===== */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #74ed00;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Graffiti City', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    z-index: 90;
    transition: var(--transition);
    box-shadow: 0 4px 25px rgba(var(--color-accent-rgb), 0.4);
    animation: floatingPulse 3s ease-in-out infinite;
}

.floating-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 35px rgba(var(--color-accent-rgb), 0.6);
}

@keyframes floatingPulse {
    0%, 100% { box-shadow: 0 4px 25px rgba(var(--color-accent-rgb), 0.4); }
    50% { box-shadow: 0 4px 40px rgba(var(--color-accent-rgb), 0.6); }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
    .hero__title { font-size: var(--font-size-4xl); }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .about__grid { gap: 3rem; }
}

@media screen and (max-width: 768px) {
    .hero__title { font-size: var(--font-size-3xl); }
    .hero__description { font-size: var(--font-size-base); }
    .section__title { font-size: var(--font-size-3xl); }

    .menu-overlay__side { width: 60px; }
    .menu-overlay__vertical { font-size: 3rem; }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stat__number { font-size: var(--font-size-3xl); }
    .stat__circle { width: 80px; height: 80px; }

    .contact-form-wrapper { padding: 2rem 1.5rem; }
    .contact-form__row { grid-template-columns: 1fr; gap: 1.25rem; }

    .footer__grid {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .scroll-indicator { display: none; }

    /* Navbar: static so it sits above the video, not over it */
    .header {
        position: relative;
        background: #000;
    }
    .header--hidden {
        transform: none;
    }

    /* Hero mobile - shorter so video shows better */
    .hero {
        min-height: 45vh;
    }

    /* Swap video: hide desktop, show mobile */
    .hero__video--desktop { display: none; }
    .hero__video--mobile { display: block; }

    /* Swap logo: hide full, show iso */
    .logo-mark--full { display: none !important; }
    .logo-mark--iso { display: block !important; }
    .logo-tagline { display: none !important; }

    /* Hero overlay text responsive */
    .hero__overlay-text {
        left: auto;
        right: 3%;
        width: 55%;
        max-width: none;
        padding: 1rem;
        top: 25%;
        bottom: 15%;
        transform: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .hero__slide--active .hero__overlay-text.hero__overlay-text--visible {
        transform: none;
    }

    /* Dots al fondo del hero en móvil */
    .hero__dots {
        bottom: 1rem;
    }
    .hero__overlay-title {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    .hero__overlay-desc {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
    .hero__overlay-cta {
        font-size: 0.75rem;
    }
    /* Swap: hide full text, show short text */
    .hero__overlay-desc--desktop,
    .hero__overlay-cta--desktop {
        display: none;
    }
    .hero__overlay-desc--mobile,
    .hero__overlay-cta--mobile {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .hero__title { font-size: 1.75rem; }
    .services__grid { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: 1fr; }
    .section__title { font-size: var(--font-size-2xl); }
    .cta__text { font-size: var(--font-size-base); }
    .cta__highlight { font-size: var(--font-size-xl); }
    .contact-form-wrapper { padding: 1.5rem 1rem; border-radius: 16px; }

    .hero__overlay-text {
        left: auto !important;
        right: 3%;
        width: 55%;
        max-width: none;
        padding: 0.8rem;
        top: 20%;
        bottom: 15%;
    }

    .hero__dots {
        bottom: 0.5rem;
    }
    .hero__overlay-title {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    .hero__overlay-desc {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
        line-height: 1.5;
    }
    .hero__overlay-cta {
        font-size: 0.7rem;
        line-height: 1.5;
    }

    .client__logo {
        width: 150px;
        height: 100px;
    }
}
