/* ==========================================================================
   NORDIKO - Sistema de Diseño Cinemático
   Agencia Digital especializada en Motocicletas
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Paleta de colores - Dark Mode Core */
    --bg-primary: #0A0A0A;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --text-primary: #FFFFFF;
    --text-secondary: #A3A3A3;
    --text-muted: #666666;
    --accent-color: #E63946;
    --accent-hover: #ff4d5a;
    --accent-glow: rgba(230, 57, 70, 0.4);

    /* Gradientes */
    --gradient-hero: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.8) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);

    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 800;

    /* Espaciado */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    /* Bordes y efectos */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --------------------------------------------------------------------------
   2. CSS RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-color);
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 10vw, 8rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    max-width: 65ch;
}

.text-accent {
    color: var(--accent-color);
}

.text-muted {
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-2xl) 0;
}

.section--alt {
    background-color: var(--bg-secondary);
}

.text-center {
    text-align: center;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Background */
.hero__video,
.hero__image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: brightness(0.4) contrast(1.1);
    object-fit: cover;
}

/* Overlay gradient */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
    pointer-events: none;
}

/* Hero Content */
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-md);
}

.hero__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.hero__title {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: var(--font-weight-black);
    letter-spacing: -0.05em;
    text-transform: uppercase;
    margin-bottom: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-reveal 1s ease-out forwards;
}

.hero__studio {
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: -0.5rem;
    opacity: 0;
    animation: studio-reveal 0.8s ease-out 0.5s forwards;
}

@keyframes title-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes studio-reveal {
    0% {
        opacity: 0;
        letter-spacing: 1em;
    }

    100% {
        opacity: 0.6;
        letter-spacing: 0.4em;
    }
}

.hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: var(--font-weight-regular);
    color: var(--text-secondary);
}

/* Typewriter Effect */
.typewriter {
    display: inline;
}

.typewriter__text {
    color: var(--accent-color);
    font-weight: var(--font-weight-bold);
}

.typewriter__cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background-color: var(--accent-color);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.hero__scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.hero__scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* --------------------------------------------------------------------------
   ANIMATED HEADLINE
   -------------------------------------------------------------------------- */
.animated-headline {
    overflow: hidden;
}

.word-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg);
    animation: word-reveal-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--delay) * 0.2s + 0.3s);
}

@keyframes word-reveal-in {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(-90deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.text-glow {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation:
        text-glow-in 1s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        text-pulse 2s ease-in-out infinite 1.5s;
    animation-delay: calc(var(--delay) * 0.2s + 0.3s);
}

@keyframes text-glow-in {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        text-shadow: none;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow:
            0 0 20px rgba(230, 57, 70, 0.5),
            0 0 40px rgba(230, 57, 70, 0.3),
            0 0 60px rgba(230, 57, 70, 0.1);
    }
}

@keyframes text-pulse {

    0%,
    100% {
        text-shadow:
            0 0 20px rgba(230, 57, 70, 0.5),
            0 0 40px rgba(230, 57, 70, 0.3),
            0 0 60px rgba(230, 57, 70, 0.1);
    }

    50% {
        text-shadow:
            0 0 30px rgba(230, 57, 70, 0.8),
            0 0 60px rgba(230, 57, 70, 0.5),
            0 0 90px rgba(230, 57, 70, 0.3);
    }
}

/* --------------------------------------------------------------------------
   6. VALUE PROPOSITION SECTION
   -------------------------------------------------------------------------- */
.value-prop {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: linear-gradient(135deg,
            rgba(230, 57, 70, 0.05) 0%,
            rgba(230, 57, 70, 0.12) 50%,
            rgba(230, 57, 70, 0.05) 100%);
    background-size: 200% 200%;
    animation: background-shimmer 3s ease infinite;
    border-radius: 16px;
    position: relative;
}

@keyframes background-shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.value-prop__headline {
    margin-bottom: var(--space-md);
    padding: 20px 10px;
    /* overflow: hidden; - Removed to show full glow */
}

/* Headline line animation */
.headline-line {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: headline-slide-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Animated gradient glow on headline */
.headline-line.animated-gradient {
    animation: headline-slide-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards,
        text-glow-pulse 2s ease-in-out 1s infinite;
    color: #FFFFFF;
    text-shadow:
        0 0 10px rgba(230, 57, 70, 0.5),
        0 0 20px rgba(230, 57, 70, 0.3),
        0 0 30px rgba(230, 57, 70, 0.2);
}

.headline-line:nth-child(1) {
    animation-delay: 0.2s;
}

.headline-accent {
    color: var(--accent-color);
    animation-delay: 0.5s;
    position: relative;
    animation: headline-slide-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards,
        headline-glow 2s ease-in-out infinite 1.5s;
}

@keyframes headline-glow {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(230, 57, 70, 0.3),
            0 0 20px rgba(230, 57, 70, 0.2);
    }

    50% {
        text-shadow:
            0 0 20px rgba(230, 57, 70, 0.6),
            0 0 40px rgba(230, 57, 70, 0.4),
            0 0 60px rgba(230, 57, 70, 0.2);
    }
}

.headline-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #ff6b7a);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline-reveal 0.6s ease-out 1s forwards;
}

@keyframes headline-slide-up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underline-reveal {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

.value-prop__text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   7. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.service-card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 40px var(--accent-glow);
    transform: translateY(-5px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.75rem;
    position: relative;
    z-index: 1;
}

.service-card__title {
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.service-card__description {
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   8. PORTFOLIO SECTION (Engine Room)
   -------------------------------------------------------------------------- */
.portfolio__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-md);
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bg-tertiary);
}

.portfolio-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-item__image {
    transform: scale(1.05);
}

.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

.portfolio-item__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.portfolio-item__category {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    background: var(--bg-secondary);
    padding: var(--space-2xl) 0 var(--space-lg);
    text-align: center;
}

.footer__cta {
    margin-bottom: var(--space-xl);
}

.footer__headline {
    margin-bottom: var(--space-md);
}

/* CTA Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius);
    transition: all var(--transition-smooth);
}

.btn--primary {
    background: var(--accent-color);
    color: var(--text-primary);
}

.btn--primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 10px 40px var(--accent-glow);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.footer__bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   10. SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all var(--transition-slow);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all var(--transition-slow);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delay for grid items */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --space-2xl: 6rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-2xl: 4rem;
    }

    .hero__title {
        font-size: clamp(3rem, 12vw, 6rem);
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   12. PROBLEM/SOLUTION SECTION
   -------------------------------------------------------------------------- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.problem-card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
}

.problem-card--solution {
    border-color: var(--accent-color);
    background: linear-gradient(145deg, rgba(230, 57, 70, 0.1) 0%, var(--bg-tertiary) 100%);
}

.problem-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.problem-card__icon--problem {
    background: rgba(255, 100, 100, 0.1);
    color: #ff6464;
}

.problem-card__icon--solution {
    background: rgba(100, 255, 150, 0.1);
    color: #64ff96;
}

.problem-card__title {
    margin-bottom: var(--space-sm);
}

.problem-card__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.problem-card__list li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.problem-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.problem-card--solution .problem-card__list li::before {
    content: '✓';
    color: #64ff96;
}

/* --------------------------------------------------------------------------
   13. BRANDS SECTION - Infinite Logo Marquee
   -------------------------------------------------------------------------- */
.brands-section {
    overflow: hidden;
    padding: var(--space-xl) 0;
}

.brands-section__title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
}

/* Marquee Container with Gradient Masks */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: var(--space-md) 0;
}

/* Gradient fade masks on sides */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-primary) 0%, transparent 100%);
}

/* Marquee Track - FASTER animation */
.marquee-track {
    display: flex;
    width: fit-content;
    animation: marquee-scroll 15s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* Marquee Content (duplicated for seamless loop) */
.marquee-content {
    display: flex;
    gap: 60px;
    padding: 0 30px;
    align-items: center;
}

/* Individual Brand Logo Item */
.brand-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

/* SVG Logo Styling */
.brand-svg {
    width: 160px;
    height: 50px;
    transition: all var(--transition-smooth);
}

.brand-logo-item:hover .brand-svg {
    transform: scale(1.1);
}

/* Image Logo Styling - NO opacity */
.brand-img {
    width: auto;
    height: 70px;
    max-width: 180px;
    object-fit: contain;
    transition: all var(--transition-smooth);
}

.brand-logo-item:hover .brand-img {
    transform: scale(1.1);
}

/* Marquee Animation */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --------------------------------------------------------------------------
   14. STATS SECTION
   -------------------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    text-align: center;
}

.stat-item {
    padding: var(--space-md);
}

.stat-item__number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-black);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-item__label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 3-column centered stats grid - ALWAYS in one row */
.stats-grid--3 {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.stats-grid--3 .stat-item {
    flex: 1;
    min-width: 0;
    max-width: 250px;
}

@media (max-width: 768px) {
    .stats-grid--3 {
        gap: var(--space-sm);
    }

    .stats-grid--3 .stat-item__number {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .stats-grid--3 {
        gap: var(--space-xs);
        padding: 0 var(--space-xs);
    }

    .stats-grid--3 .stat-item {
        padding: var(--space-xs);
    }

    .stats-grid--3 .stat-item__number {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }

    .stats-grid--3 .stat-item__label {
        font-size: 0.65rem;
        line-height: 1.2;
    }
}

/* --------------------------------------------------------------------------
   15. FOOTER & BUTTON STYLES
   -------------------------------------------------------------------------- */
.footer {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0f0f0f 100%);
}

.footer__cta {
    max-width: 700px;
    margin: 0 auto;
}

.footer__headline {
    margin-bottom: var(--space-md);
}

.footer__subtext {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 1.125rem;
}

.footer__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--accent-color);
    color: white;
    border: none;
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(230, 57, 70, 0.4);
}

/* Animated Button */
.btn--animated {
    position: relative;
    z-index: 1;
    animation: btn-pulse 2s ease-in-out infinite;
}

.btn--animated .btn__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--accent-color), #ff6b7a, var(--accent-color));
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    z-index: -1;
    border-radius: inherit;
}

.btn--animated:hover {
    animation: none;
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 50px rgba(230, 57, 70, 0.5),
        0 0 30px rgba(230, 57, 70, 0.3);
}

.btn--animated svg {
    animation: wiggle 1s ease-in-out infinite;
}

.btn--animated:hover svg {
    animation: none;
}

@keyframes btn-pulse {

    0%,
    100% {
        box-shadow: 0 5px 25px rgba(230, 57, 70, 0.3);
    }

    50% {
        box-shadow: 0 8px 35px rgba(230, 57, 70, 0.5);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Fix marquee for mobile */
    .marquee-container::before,
    .marquee-container::after {
        width: 30px;
    }

    .marquee-content {
        gap: 40px;
        padding: 0 20px;
    }

    .brand-img {
        height: 50px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .brands__logos {
        gap: var(--space-sm);
    }

    .brand-logo {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.75rem;
    }

    /* Even smaller on very small screens */
    .marquee-container::before,
    .marquee-container::after {
        width: 15px;
    }

    .marquee-content {
        gap: 30px;
        padding: 0 15px;
    }

    .brand-img {
        height: 40px;
        max-width: 100px;
    }
}

/* --------------------------------------------------------------------------
   16. WIZARD COTIZADOR - Sistema Paso a Paso
   -------------------------------------------------------------------------- */
.wizard-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Progress Bar */
.wizard__progress {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.progress__bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.progress__fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, var(--accent-color), #ff6b7a);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.progress__steps {
    display: flex;
    justify-content: space-between;
}

.progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.progress__step.active,
.progress__step.completed {
    opacity: 1;
}

.step__number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    transition: all 0.3s ease;
}

.progress__step.active .step__number {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.progress__step.completed .step__number {
    background: #64ff96;
    border-color: #64ff96;
    color: #0A0A0A;
}

.step__label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress__step.active .step__label {
    color: var(--text-primary);
}

/* Wizard Container */
.wizard__container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

.wizard__step {
    display: none;
    animation: fadeSlideIn 0.5s ease forwards;
}

.wizard__step.active {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wizard__title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

/* Option Cards */
.wizard__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.wizard__options--3 {
    grid-template-columns: repeat(3, 1fr);
}

.wizard__card {
    background: var(--bg-tertiary);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.wizard__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wizard__card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(230, 57, 70, 0.15);
}

.wizard__card:hover::before {
    opacity: 1;
}

.wizard__card.selected {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, var(--bg-tertiary) 100%);
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.3);
}

.card__icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.card__title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    position: relative;
    z-index: 1;
}

.card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Back Button */
.wizard__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-lg);
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wizard__back:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* DateTime Step */
.wizard__datetime {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.wizard__calendar {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
}

.wizard__slots {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
}

/* Form Step */
.wizard__form {
    max-width: 500px;
    margin: 0 auto;
}

.wizard__form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-lg);
    gap: var(--space-md);
}

/* Summary Step */
.wizard__summary {
    max-width: 500px;
    margin: 0 auto var(--space-lg);
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
}

.summary__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary__item:last-child {
    border-bottom: none;
}

.summary__label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.summary__value {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
}

/* Success State */
.wizard__success {
    text-align: center;
    padding: var(--space-xl);
}

.success__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-md);
    background: rgba(100, 255, 150, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64ff96;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(100, 255, 150, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(100, 255, 150, 0.3);
    }
}

.success__title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.success__text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

/* Calendar Styles (Wizard) */
.calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.calendar__title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.calendar__nav {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar__nav:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.calendar__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: var(--space-xs);
}

.calendar__weekdays span {
    text-align: center;
    font-size: 0.7rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    padding: var(--space-xs);
    text-transform: uppercase;
}

.calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar__day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar__day:hover:not(:disabled):not(.calendar__day--empty) {
    background: rgba(230, 57, 70, 0.2);
    color: var(--accent-color);
}

.calendar__day--empty {
    cursor: default;
}

.calendar__day--past {
    color: var(--text-muted);
    opacity: 0.4;
    cursor: not-allowed;
}

.calendar__day--today {
    border: 2px solid var(--accent-color);
}

.calendar__day--selected {
    background: var(--accent-color) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

/* Slots Grid Styles */
.slots__title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.slots__date {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-md);
}

.slots__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
}

.slots__grid::-webkit-scrollbar {
    width: 4px;
}

.slots__grid::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 2px;
}

.slots__empty {
    grid-column: 1 / -1;
    color: var(--text-muted);
    text-align: center;
    padding: var(--space-lg);
    font-size: 0.9rem;
}

.slot__btn {
    padding: 0.6rem 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slot__btn:hover:not(:disabled) {
    background: rgba(230, 57, 70, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.slot__btn--selected {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: white !important;
}

.slot__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Form Group Styles */
.form__group {
    margin-bottom: var(--space-md);
}

.form__group label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-xs);
}

.form__group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form__group input::placeholder {
    color: var(--text-muted);
}

.form__group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

/* Button Variants */
.btn--secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn--secondary:hover {
    background: var(--accent-color);
    color: white;
}

/* Responsive Wizard */
@media (max-width: 640px) {
    .footer__main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .footer__col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__logo {
        align-items: center;
    }

    .footer__contact li {
        justify-content: center;
        text-align: center;
        word-break: break-word;
        /* Fix email overflow */
        flex-wrap: wrap;
        /* Allow wrapping */
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .wizard__options {
        grid-template-columns: 1fr;
    }

    .wizard__options--3 {
        grid-template-columns: 1fr;
    }

    .wizard__datetime {
        grid-template-columns: 1fr;
    }

    .progress__steps {
        gap: var(--space-xs);
    }

    .step__label {
        display: none;
    }

    .wizard__form-actions {
        flex-direction: column;
    }

    .wizard__form-actions .wizard__back {
        order: 2;
        margin-top: var(--space-sm);
    }

    .wizard__form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wizard__card {
        padding: var(--space-md);
    }

    .card__icon {
        font-size: 2rem;
    }

    .card__title {
        font-size: 1rem;
    }

    .step__number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all var(--transition-smooth);
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================================================
   WHATSAPP SELECTOR - Simple Lead Capture
   ========================================================================== */
.whatsapp-selector {
    max-width: 900px;
    margin: var(--space-xl) auto;
}

.selector__title {
    text-align: center;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.selector__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.selector__card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    /* Más redondeado */
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bounce effect */
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.selector__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(230, 57, 70, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.selector__card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-primary), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.selector__card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(230, 57, 70, 0.4), 0 0 40px rgba(230, 57, 70, 0.2);
}

.selector__card:hover::before {
    opacity: 1;
}

.selector__card:hover::after {
    opacity: 1;
}

.selector__card .card__icon {
    margin-bottom: var(--space-md);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 12px rgba(230, 57, 70, 0.3));
}

.selector__card:hover .card__icon {
    transform: scale(1.15) rotate(5deg);
}

.selector__card .card__title {
    font-size: var(--fs-h4);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.selector__card .card__desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.selector__card .card__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(135deg, var(--accent-primary), #C62837);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    /* Super redondeado */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    position: relative;
    overflow: hidden;
}

.selector__card .card__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.selector__card:hover .card__cta {
    gap: 12px;
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.6);
}

.selector__card:hover .card__cta::before {
    left: 100%;
}

.selector__card .card__cta svg {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.selector__card:hover .card__cta svg {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .selector__options {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .selector__card {
        padding: var(--space-lg);
    }

    .selector__title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.fade-in,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    filter: blur(5px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left {
    transform: translateX(-60px) translateY(20px) scale(0.9);
}

.fade-in-right {
    transform: translateX(60px) translateY(20px) scale(0.9);
}

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    filter: blur(0);
}

/* ==========================================================================
   ANIMATED TEXT EFFECTS
   ========================================================================== */

/* Animated Gradient Text */
.animated-gradient {
    color: #FFFFFF;
    text-shadow:
        0 0 10px rgba(230, 57, 70, 0.5),
        0 0 20px rgba(230, 57, 70, 0.3),
        0 0 30px rgba(230, 57, 70, 0.2);
    animation: text-glow-pulse 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes text-glow-pulse {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(230, 57, 70, 0.5),
            0 0 20px rgba(230, 57, 70, 0.3),
            0 0 30px rgba(230, 57, 70, 0.2);
        transform: scale(1);
    }

    50% {
        text-shadow:
            0 0 20px rgba(230, 57, 70, 0.8),
            0 0 40px rgba(230, 57, 70, 0.6),
            0 0 60px rgba(230, 57, 70, 0.4),
            0 0 80px rgba(230, 57, 70, 0.2);
        transform: scale(1.02);
    }
}

/* Highlighted Keywords */
.highlight-word {
    position: relative;
    color: var(--accent-primary);
    font-weight: 600;
    display: inline-block;
    animation: word-pulse 2s ease-in-out infinite;
}

.highlight-word::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    animation: underline-glow 2s ease-in-out infinite;
}

@keyframes word-pulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3);
    }
}

@keyframes underline-glow {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Text Reveal Animation */
.text-reveal {
    opacity: 0;
    animation: text-fade-in 1s ease forwards 0.3s;
}

@keyframes text-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SCROLL PROGRESS BAR - GSAP Enhanced
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), #FF6B6B, var(--accent-primary));
    background-size: 200% 100%;
    z-index: 9999;
    animation: gradient-slide 3s linear infinite;
}

@keyframes gradient-slide {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ==========================================================================
   3D CARD EFFECTS - GSAP Enhanced
   ========================================================================== */
.service-card,
.selector__card {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

.service-card:hover,
.selector__card:hover {
    transform: rotateY(5deg) rotateX(5deg) scale(1.05);
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    position: relative;
}

.process-step {
    position: relative;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.3);
}

.process-step__number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), #FF6B6B);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
}

.process-step__icon {
    width: 80px;
    height: 80px;
    margin: var(--space-md) auto;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.process-step:hover .process-step__icon {
    background: rgba(230, 57, 70, 0.2);
    transform: scale(1.1);
}

.process-step__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.process-step__description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.process-step__duration {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Desktop: connecting lines between steps */
@media (min-width: 900px) {
    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -40px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: var(--accent-primary);
        opacity: 0.3;
        z-index: 1;
    }
}

/* ==========================================================================
   FAQ SECTION - Smooth Accordion
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: var(--space-lg) auto 0;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(230, 57, 70, 0.3);
}

.faq-item[open] {
    border-color: var(--accent-primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--space-md);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question::marker,
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/ *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =           F O O T E R   -   S i m p l e   C o n t a c t   O n l y           = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /     . f o o t e r    {
                 b a c k g r o u n d :    l i n e a r - g r a d i e n t ( 1 3 5 d e g ,    # 1 a 1 a 1 a   0 % ,    # 0 d 0 d 0 d   1 0 0 % ) ;
                 b o r d e r - t o p :    1 p x   s o l i d   r g b a ( 2 3 0 ,    5 7 ,    7 0 ,    0 . 2 ) ;
                 p a d d i n g :    v a r ( - - s p a c e - x l )   0   v a r ( - - s p a c e - m d ) ;
                 m a r g i n - t o p :    v a r ( - - s p a c e - x x l ) ;
         
}

         . f o o t e r _ _ m a i n    {
                 d i s p l a y :    g r i d ;
                 g r i d - t e m p l a t e - c o l u m n s :    2 f r   1 f r   1 f r ;
                 g a p :    v a r ( - - s p a c e - x l ) ;
                 p a d d i n g - b o t t o m :    v a r ( - - s p a c e - x l ) ;
                 b o r d e r - b o t t o m :    1 p x   s o l i d   r g b a ( 2 5 5 ,    2 5 5 ,    2 5 5 ,    0 . 1 ) ;
         
}

         . f o o t e r _ _ c o l - - b r a n d    {
                 m a x - w i d t h :    3 5 0 p x ;
         
}

         . f o o t e r _ _ l o g o    {
                 d i s p l a y :    f l e x ;
                 f l e x - d i r e c t i o n :    c o l u m n ;
                 m a r g i n - b o t t o m :    v a r ( - - s p a c e - m d ) ;
         
}

         . f o o t e r _ _ l o g o - m a i n    {
                 f o n t - s i z e :    2 r e m ;
                 f o n t - w e i g h t :    8 0 0 ;
                 c o l o r :    v a r ( - - t e x t - p r i m a r y ) ;
                 l e t t e r - s p a c i n g :    0 . 0 5 e m ;
         
}

         . f o o t e r _ _ l o g o - s u b    {
                 f o n t - s i z e :    0 . 7 5 r e m ;
                 f o n t - w e i g h t :    6 0 0 ;
                 c o l o r :    v a r ( - - a c c e n t - p r i m a r y ) ;
                 l e t t e r - s p a c i n g :    0 . 2 e m ;
                 m a r g i n - t o p :    - 5 p x ;
         
}

         . f o o t e r _ _ t a g l i n e    {
                 c o l o r :    v a r ( - - t e x t - s e c o n d a r y ) ;
                 l i n e - h e i g h t :    1 . 6 ;
                 m a r g i n - b o t t o m :    v a r ( - - s p a c e - m d ) ;
         
}

         . f o o t e r _ _ t i t l e    {
                 c o l o r :    v a r ( - - t e x t - p r i m a r y ) ;
                 f o n t - s i z e :    1 . 1 r e m ;
                 f o n t - w e i g h t :    7 0 0 ;
                 m a r g i n - b o t t o m :    v a r ( - - s p a c e - m d ) ;
         
}

         . f o o t e r _ _ l i n k s    {
                 l i s t - s t y l e :    n o n e ;
                 p a d d i n g :    0 ;
                 m a r g i n :    0 ;
         
}

         . f o o t e r _ _ l i n k s   l i    {
                 m a r g i n - b o t t o m :    v a r ( - - s p a c e - s m ) ;
         
}

         . f o o t e r _ _ l i n k s   a    {
                 c o l o r :    v a r ( - - t e x t - s e c o n d a r y ) ;
                 t e x t - d e c o r a t i o n :    n o n e ;
                 t r a n s i t i o n :    c o l o r   0 . 3 s   e a s e ;
                 d i s p l a y :    i n l i n e - b l o c k ;
         
}

         . f o o t e r _ _ l i n k s   a : h o v e r    {
                 c o l o r :    v a r ( - - a c c e n t - p r i m a r y ) ;
                 t r a n s f o r m :    t r a n s l a t e X ( 3 p x ) ;
         
}

         . f o o t e r _ _ c o n t a c t    {
                 l i s t - s t y l e :    n o n e ;
                 p a d d i n g :    0 ;
                 m a r g i n :    0 ;
         
}

         . f o o t e r _ _ c o n t a c t   l i    {
                 d i s p l a y :    f l e x ;
                 a l i g n - i t e m s :    f l e x - s t a r t ;
                 g a p :    v a r ( - - s p a c e - s m ) ;
                 m a r g i n - b o t t o m :    v a r ( - - s p a c e - m d ) ;
                 c o l o r :    v a r ( - - t e x t - s e c o n d a r y ) ;
                 l i n e - h e i g h t :    1 . 5 ;
         
}

         . f o o t e r _ _ c o n t a c t   s v g    {
                 f l e x - s h r i n k :    0 ;
                 m a r g i n - t o p :    2 p x ;
                 c o l o r :    v a r ( - - a c c e n t - p r i m a r y ) ;
         
}

         . f o o t e r _ _ b o t t o m    {
                 d i s p l a y :    f l e x ;
                 j u s t i f y - c o n t e n t :    s p a c e - b e t w e e n ;
                 a l i g n - i t e m s :    c e n t e r ;
                 p a d d i n g - t o p :    v a r ( - - s p a c e - l g ) ;
                 c o l o r :    v a r ( - - t e x t - s e c o n d a r y ) ;
                 f o n t - s i z e :    0 . 9 r e m ;
         
}

         . f o o t e r _ _ b o t t o m   p    {
                 m a r g i n :    0 ;
         
}

         . f o o t e r _ _ l e g a l    {
                 d i s p l a y :    f l e x ;
                 g a p :    v a r ( - - s p a c e - s m ) ;
                 a l i g n - i t e m s :    c e n t e r ;
         
}

         . f o o t e r _ _ l e g a l - l i n k    {
                 c o l o r :    v a r ( - - t e x t - s e c o n d a r y ) ;
                 t e x t - d e c o r a t i o n :    n o n e ;
                 t r a n s i t i o n :    c o l o r   0 . 3 s   e a s e ;
         
}

         . f o o t e r _ _ l e g a l - l i n k : h o v e r    {
                 c o l o r :    v a r ( - - a c c e n t - p r i m a r y ) ;
         
}

         @ m e d i a   ( m a x - w i d t h :   1 0 2 4 p x )    {
                 . f o o t e r _ _ m a i n    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r   1 f r ;
                             g a p :    v a r ( - - s p a c e - l g ) ;
                     
    }

                     . f o o t e r _ _ c o l - - b r a n d    {
                             g r i d - c o l u m n :    1   /   - 1 ;
                             m a x - w i d t h :    n o n e ;
                     
    }

         
}

         @ m e d i a   ( m a x - w i d t h :   6 4 0 p x )    {
                 . f o o t e r _ _ m a i n    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                     
    }

                     . f o o t e r _ _ b o t t o m    {
                             f l e x - d i r e c t i o n :    c o l u m n ;
                             g a p :    v a r ( - - s p a c e - m d ) ;
                             t e x t - a l i g n :    c e n t e r ;
                     
    }

         
}

     