:root {
    /* Brand Colors based on Logo */
    --color-cyan: #00aeef;
    --color-magenta: #e52395;
    --color-darkblue: #000b4d;
    --color-night: #030826;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-gray: #6c757d;
    --color-dark: #121420;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-cyan), var(--color-magenta));
    --gradient-overlay: linear-gradient(135deg, rgba(0, 174, 239, 0.8), rgba(229, 35, 149, 0.8));
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 11, 77, 0.12);
    --shadow-hover: 0 15px 30px rgba(0, 174, 239, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout */
    --container-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed header */
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-darkblue);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Evita que las animaciones laterales generen scroll horizontal en móvil */
main {
    overflow-x: hidden;
    overflow-x: clip;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-light);
}

.bg-dark {
    background-color: var(--color-darkblue);
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* Typography Utilities */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(229, 35, 149, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--color-white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--color-magenta), var(--color-cyan));
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--color-darkblue);
    border: 2px solid var(--color-darkblue);
}

.btn-secondary:hover {
    background: var(--color-darkblue);
    color: var(--color-white);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: var(--color-white);
    color: var(--color-darkblue);
}

.btn-sm {
    padding: 11px 24px;
    font-size: 0.9rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.no-scroll {
    overflow: hidden;
}

/* Pantalla de carga */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 110px;
    animation: preloaderPulse 1.4s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.preloader-bar {
    width: 160px;
    height: 3px;
    border-radius: 3px;
    background: #edf0f5;
    overflow: hidden;
}

.preloader-bar span {
    display: block;
    width: 40%;
    height: 100%;
    background: var(--gradient-primary);
    animation: loading 1s ease-in-out infinite;
}

@keyframes loading {
    from { transform: translateX(-100%); }
    to { transform: translateX(260%); }
}

/* Barra de progreso de lectura */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: 1100;
}

/* Cursor personalizado (solo computador) */
.cursor-ring,
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 4000;
    opacity: 0;
}

.cursor-ring {
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--color-magenta);
    transition: width 0.25s, height 0.25s, background 0.25s, border-color 0.25s, opacity 0.3s;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--color-cyan);
    transition: opacity 0.3s;
}

.cursor-ring.visible,
.cursor-dot.visible {
    opacity: 1;
}

.cursor-ring.hover {
    width: 64px;
    height: 64px;
    background: rgba(0, 174, 239, 0.1);
    border-color: var(--color-cyan);
}

.w-100 { width: 100%; }

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-normal);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    object-fit: contain;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-cyan);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-cyan);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-darkblue);
    background: none;
    border: none;
    padding: 8px;
    line-height: 1;
}

:focus-visible {
    outline: 3px solid var(--color-cyan);
    outline-offset: 3px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 130px 0 110px;
    overflow: hidden;
    isolation: isolate;
    background: var(--color-night);
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.5;
    border-radius: 50%;
    animation: float 12s infinite ease-in-out alternate;
}

.blob-1 {
    top: -20%; right: -10%;
    width: 620px; height: 620px;
    background: var(--color-cyan);
}

.blob-2 {
    bottom: -25%; left: -10%;
    width: 560px; height: 560px;
    background: var(--color-magenta);
    animation-delay: -6s;
}

.blob-3 {
    top: 35%; left: 40%;
    width: 360px; height: 360px;
    background: #4f2bd6;
    opacity: 0.35;
    animation-delay: -3s;
}

.hero-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--x, 50%) var(--y, 40%), rgba(255, 255, 255, 0.07), transparent 60%);
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 60px) scale(1.12); }
}

/* Chips flotantes */
.hero-floating {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.float-chip {
    position: absolute;
    transition: transform 0.4s ease-out;
}

.chip-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    animation: bob 6s ease-in-out infinite alternate;
}

.chip-inner i {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--gradient-primary);
    font-size: 0.85rem;
}

.chip-1 { top: 22%; left: 5%; }
.chip-2 { top: 26%; right: 5%; }
.chip-3 { bottom: 20%; left: 8%; }
.chip-4 { bottom: 24%; right: 7%; }
.chip-2 .chip-inner { animation-delay: -1.5s; }
.chip-3 .chip-inner { animation-delay: -3s; }
.chip-4 .chip-inner { animation-delay: -4.5s; }

@keyframes bob {
    from { transform: translateY(0); }
    to { transform: translateY(-16px); }
}

.hero-content {
    max-width: 860px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Entrada del hero (se activa al terminar la carga) */
.hero-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease-out, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--d, 0s);
}

body.is-loaded .hero-reveal {
    opacity: 1;
    transform: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--color-white);
}

.hero .gradient-text {
    background: linear-gradient(90deg, var(--color-cyan), #8b5cf6, var(--color-magenta), var(--color-cyan));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 8s linear infinite;
}

@keyframes gradientShift {
    to { background-position: 300% 0; }
}

/* Línea propia con altura fija: al cambiar la palabra no se mueve nada */
.rotating-word {
    display: block;
    min-height: 1.2em;
    color: var(--color-cyan);
    white-space: nowrap;
}

.rotating-word::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.85em;
    margin-left: 4px;
    vertical-align: -0.06em;
    background: var(--color-magenta);
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 auto 40px;
    max-width: 680px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn i {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.hero-buttons .btn:hover i {
    transform: translateX(4px);
}

.hero-trust {
    margin-top: 44px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.hero-trust i {
    color: var(--color-cyan);
    margin-right: 6px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--color-white);
    animation: wheel 1.8s infinite;
}

@keyframes wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(14px); }
}

/* Escena 3D */
.hero-3d {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-3d.ready {
    opacity: 1;
}

.hero-3d canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-y;
}

.hero-3d.hovering canvas {
    cursor: pointer;
}

.hero-3d.grabbing canvas {
    cursor: grabbing;
}

.hero-3d-hint {
    position: absolute;
    right: 6%;
    bottom: 40px;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    pointer-events: none;
    transition: opacity 0.5s ease;
    animation: hintPulse 2.4s ease-in-out infinite;
}

.hero-3d.ready .hero-3d-hint {
    display: inline-flex;
}

.hero-3d-hint.hidden {
    opacity: 0;
}

.hero-3d-hint i {
    color: var(--color-cyan);
}

@keyframes hintPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero.has-3d .hero-floating {
    display: none;
}

/* El texto no bloquea el 3D, solo sus elementos */
.hero.has-3d .hero-content {
    pointer-events: none;
}

.hero.has-3d .hero-content > * {
    pointer-events: auto;
}

@media (min-width: 1025px) {
    .hero.has-3d .hero-content {
        max-width: var(--container-width);
        text-align: left;
    }

    .hero.has-3d .hero-content > * {
        max-width: 560px;
    }

    .hero.has-3d .hero-title {
        font-size: clamp(2.4rem, 4.2vw, 4rem);
    }

    .hero.has-3d .hero-subtitle {
        margin-left: 0;
    }

    .hero.has-3d .hero-buttons,
    .hero.has-3d .hero-trust {
        justify-content: flex-start;
    }
}

@media (max-width: 1024px) {
    .hero.has-3d {
        flex-direction: column;
        padding-top: 70px;
    }

    .hero.has-3d .hero-3d {
        position: relative;
        inset: auto;
        width: 100%;
        height: 46vh;
        height: 46svh;
        min-height: 300px;
        max-height: 460px;
        flex-shrink: 0;
    }

    .hero.has-3d .hero-3d-hint {
        right: 50%;
        transform: translateX(50%);
        bottom: 6px;
        animation: none;
    }

    .hero.has-3d .scroll-down {
        display: none;
    }
}

/* Cinta animada */
.marquee {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: 18px 0;
    margin: -28px -5% 0;
    background: var(--gradient-primary);
    transform: rotate(-1.5deg);
    box-shadow: 0 20px 40px rgba(229, 35, 149, 0.25);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
}

.marquee span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 0 26px;
}

.marquee .sep {
    font-size: 1rem;
    opacity: 0.7;
    padding: 0;
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* Sections Global */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--color-cyan);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tag-light {
    background: rgba(255,255,255,0.1);
    color: var(--color-cyan);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    color: var(--color-gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-item i {
    font-size: 1.8rem;
    color: var(--color-cyan);
    margin-bottom: 10px;
}

.stat-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-darkblue);
}

.about-cards {
    display: grid;
    gap: 30px;
}

.card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background: var(--gradient-primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 174, 239, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-cyan);
    margin-bottom: 20px;
}

.why-choose-us {
    margin-top: 100px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.reason-item h4 {
    color: var(--color-magenta);
    font-size: 1.2rem;
}

.reason-item p {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 174, 239, 0.2);
}

/* Luz que sigue al mouse */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 174, 239, 0.12), transparent 45%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-num {
    position: absolute;
    top: 22px;
    right: 26px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.2rem;
    line-height: 1;
    color: rgba(0, 11, 77, 0.06);
    transition: color 0.4s;
}

.service-card:hover .service-num {
    color: rgba(229, 35, 149, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--gradient-primary);
    color: var(--color-white);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(229, 35, 149, 0.3);
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotate(-8deg) scale(1.08);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-magenta);
    position: relative;
    z-index: 1;
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-link:hover i,
.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Resaltado del campo de servicio al elegir "Cotizar" */
.contact-form select.highlight {
    animation: highlight 1.6s ease;
}

@keyframes highlight {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 35, 149, 0); }
    30% { box-shadow: 0 0 0 6px rgba(229, 35, 149, 0.3); border-color: var(--color-magenta); }
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* Process Timeline (How we work) */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

/* Línea que se dibuja al entrar en pantalla */
.process-line-fill {
    position: absolute;
    top: 40px;
    left: 12.5%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 14px rgba(229, 35, 149, 0.7);
    z-index: 1;
    transition: width 2s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
}

.process-timeline.in-view .process-line-fill {
    width: 75%;
}

.process-timeline.in-view .step-number {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 24px rgba(229, 35, 149, 0.45);
    transition-delay: calc(0.3s + var(--i, 0) * 0.6s);
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--color-darkblue);
    border: 2px solid var(--color-magenta);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: var(--transition-normal);
}

.process-step:hover .step-number {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(229, 35, 149, 0.5);
}

.step-content h3 {
    color: var(--color-white);
    font-size: 1.3rem;
}

.step-content p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Portfolio */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 24px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-family: var(--font-heading);
    color: var(--color-gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-cyan);
    color: var(--color-white);
    border-color: var(--color-cyan);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* Nuestro taller */
.taller-grid {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.taller-video {
    text-align: center;
}

.phone-frame {
    position: relative;
    border-radius: 34px;
    padding: 10px;
    background: linear-gradient(145deg, #1b2047, #050822);
    box-shadow: 0 30px 60px rgba(0, 11, 77, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 26px;
    background: #000;
}

.video-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
}

.rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse 2s infinite;
}

.video-sound {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-white);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.video-sound:hover {
    background: var(--color-magenta);
}

.taller-caption {
    margin-top: 18px;
    color: var(--color-gray);
    font-size: 0.92rem;
}

.taller-caption i {
    color: var(--color-magenta);
    margin-right: 6px;
}

.machines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.machine-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.machine-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.machine-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.machine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.machine-card:hover .machine-img img {
    transform: scale(1.06);
}

.machine-icon {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(229, 35, 149, 0.35);
}

.machine-info {
    padding: 20px 22px 24px;
}

.machine-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.machine-info p {
    color: var(--color-gray);
    font-size: 0.92rem;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    cursor: pointer;
}

.portfolio-overlay i {
    margin-right: 6px;
}

/* Visor del portafolio */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 90px;
    background: rgba(3, 8, 38, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-figure {
    width: 100%;
    max-width: 1000px;
    transform: scale(0.94);
    transition: transform var(--transition-normal);
}

.lightbox.open .lightbox-figure {
    transform: scale(1);
}

.lightbox-figure img {
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    border-radius: 16px;
    margin: 0 auto;
}

.lightbox-caption {
    text-align: center;
    margin-top: 20px;
}

.lightbox-tag {
    display: inline-block;
    color: var(--color-cyan);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.lightbox-caption h4 {
    color: var(--color-white);
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.lightbox-btn {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background var(--transition-fast);
}

.lightbox-btn:hover {
    background: var(--color-magenta);
    border-color: transparent;
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; margin-top: -26px; }
.lightbox-next { right: 24px; top: 50%; margin-top: -26px; }

/* Volver arriba */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--color-white);
    color: var(--color-darkblue);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    color: var(--color-magenta);
}

.back-to-top svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.back-to-top circle {
    fill: none;
    stroke: var(--color-magenta);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 138.2;
    stroke-dashoffset: 138.2;
}

.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-overlay span {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 30px;
    border: 2px solid var(--color-white);
    border-radius: 50px;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay span {
    transform: translateY(0);
}

.portfolio-info {
    padding: 25px;
}

.service-used {
    color: var(--color-cyan);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

/* Testimonials */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--color-white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}

.quote-icon {
    color: rgba(0, 174, 239, 0.2);
    font-size: 4rem;
    position: absolute;
    top: 20px;
    left: 40px;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-dark);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    color: var(--color-magenta);
    font-family: var(--font-heading);
}

/* Asesor (avatar) */
.cta-band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--color-night);
    color: var(--color-white);
    padding-top: 70px;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.cta-bg .blob-1 { top: -30%; right: -10%; width: 520px; height: 520px; opacity: 0.35; }
.cta-bg .blob-2 { bottom: -40%; left: -5%; width: 480px; height: 480px; opacity: 0.4; }

.cta-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: end;
    gap: 40px;
}

.cta-avatar {
    position: relative;
    display: flex;
    justify-content: center;
    align-self: end;
}

.cta-avatar img {
    position: relative;
    z-index: 1;
    height: 540px;
    width: auto;
    cursor: pointer;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.5));
    transform-origin: 50% 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { scale: 1; }
    50% { scale: 1.012; }
}

/* Piso con luz bajo los pies */
.avatar-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    width: 420px;
    height: 160px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(0, 174, 239, 0.45), rgba(229, 35, 149, 0.2) 45%, transparent 70%);
    filter: blur(10px);
}

.cta-content {
    align-self: center;
    padding-bottom: 70px;
}

.speech-bubble {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    max-width: 440px;
    padding: 12px 22px;
    margin-bottom: 24px;
    border-radius: 20px 20px 20px 6px;
    background: var(--color-white);
    color: var(--color-darkblue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.02rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: -10px;
    bottom: 10px;
    border-width: 8px 12px 8px 0;
    border-style: solid;
    border-color: transparent var(--color-white) transparent transparent;
}

.speech-bubble.changing {
    opacity: 0;
    transform: translateY(6px);
}

.cta-content h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 540px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-whatsapp {
    background: #25d366;
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    color: var(--color-white);
}

.btn-whatsapp i {
    margin-right: 8px;
}

@media (max-width: 900px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .cta-content {
        order: 1;
        padding-bottom: 0;
    }

    .cta-avatar {
        order: 2;
    }

    .cta-avatar img {
        height: 380px;
    }

    .speech-bubble {
        border-radius: 20px 20px 6px 20px;
    }

    /* En celular el avatar queda abajo: la burbuja apunta hacia él */
    .speech-bubble::before {
        left: auto;
        right: 30px;
        bottom: -10px;
        border-width: 12px 8px 0 8px;
        border-color: var(--color-white) transparent transparent transparent;
    }

    .cta-content p {
        margin-inline: auto;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-details {
    margin-top: 40px;
    display: grid;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item h5 {
    margin-bottom: 2px;
}

a.contact-item:hover .icon-box {
    background: var(--gradient-primary);
    color: var(--color-white);
}

a.contact-item:hover p {
    color: var(--color-cyan);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--color-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--color-light);
    color: var(--color-darkblue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.contact-form-container {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 30px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-light);
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1);
}

.file-upload {
    display: inline-block;
    padding: 14px 20px;
    border: 2px dashed #94a3b8;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    color: var(--color-gray);
    transition: var(--transition-fast);
}

.file-upload:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    background: rgba(0, 174, 239, 0.05);
}

.btn.is-success {
    background: #10b981;
}

.btn:disabled {
    opacity: 0.8;
    cursor: wait;
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-size: 0.95rem;
}

.form-status:empty {
    display: none;
}

.form-status.ok { color: #059669; }
.form-status.error { color: #dc2626; }
.form-status a { text-decoration: underline; }

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--color-white);
}

/* Footer */
.footer {
    background: var(--color-darkblue);
    color: var(--color-white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin: 20px 0;
    max-width: 350px;
}

.footer-socials .social-icon {
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
}

.footer-socials .social-icon:hover {
    background: var(--color-magenta);
}

.footer-links h4, .footer-contact h4 {
    color: var(--color-white);
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--color-cyan);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--color-cyan);
    margin-top: 4px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 25px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-floating {
        display: none;
    }
}

@media (max-width: 1024px) {
    .process-line-fill {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .taller-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .taller-video {
        max-width: 320px;
        margin: 0 auto;
    }

    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .process-timeline::before {
        display: none;
    }
}

/* Menú tipo ☰ desde tablets y laptops pequeños (el menú completo no cabe) */
@media (max-width: 1100px) {
    .d-none-mobile {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        padding: 40px;
    }

    .navbar.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        font-size: 1.2rem;
        gap: 30px;
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .services-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline, .form-group-row, .reasons-grid, .stats-container, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }

    .section {
        padding: 70px 0;
    }

    .scroll-down {
        display: none;
    }

    .machines-grid {
        grid-template-columns: 1fr;
    }

    /* Portafolio compacto en 2 columnas */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .portfolio-item {
        border-radius: 16px;
    }

    .portfolio-info {
        padding: 12px 14px 14px;
    }

    .portfolio-info h4 {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .portfolio-info .service-used {
        font-size: 0.75rem;
        margin-bottom: 0;
    }

    .portfolio-info p:not(.service-used) {
        display: none;
    }

    .portfolio-overlay span {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .blob {
        opacity: 0.25;
    }

    .blob-1 {
        width: 300px; height: 300px;
        top: -5%; right: -20%;
    }

    .blob-2 {
        width: 260px; height: 260px;
        bottom: -5%; left: -20%;
    }

    .blob-3 {
        width: 200px; height: 200px;
    }

    .hero {
        padding: 110px 0 70px;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 32px;
    }

    .marquee {
        padding: 14px 0;
    }

    .marquee span {
        font-size: 1.05rem;
        padding: 0 18px;
    }

    .lightbox {
        padding: 70px 16px 100px;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 28px;
        margin-top: 0;
    }

    .lightbox-prev { left: calc(50% - 64px); }
    .lightbox-next { right: calc(50% - 64px); }
    .lightbox-close { top: 16px; right: 16px; }

    .back-to-top {
        right: 21px;
        bottom: 82px;
        width: 44px;
        height: 44px;
    }

    body.menu-open {
        overflow: hidden;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 1.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .fade-in-up, .fade-in-left, .fade-in-right, .hero-reveal {
        opacity: 1;
        transform: none;
    }
    .marquee-track {
        flex-wrap: wrap;
        width: auto;
        justify-content: center;
    }
    .marquee-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    .marquee-group + .marquee-group {
        display: none;
    }
}
