/* ============================================================
   BRANS STUDIO — Liquid Glass · Dark Tech · Mobile First
   ============================================================ */

/* ─── CUSTOM FONTS ─── */
@font-face {
    font-family: 'BransTitulos';
    src: url('../FONTS/TITULOS.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BransCuerpo';
    src: url('../FONTS/CUERPO Y SUBTUTILOS.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ─── CSS VARIABLES ─── */
:root {
    /* Brand Colors — Brans Studio (Black · White · Blue ONLY) */
    --color-primary: #0071BE;
    --color-primary-light: #3BA0FF;
    --color-primary-deep: #004E8A;
    --color-primary-glow: rgba(0, 113, 190, 0.4);

    /* Backgrounds */
    --color-bg: #050510;
    --color-bg-secondary: #08081A;
    --color-surface: #0C0C20;
    --color-surface-hover: #111128;

    /* Borders */
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(0, 113, 190, 0.3);

    /* Text */
    --color-text: #E2E8F0;
    --color-text-secondary: #94A3B8;
    --color-text-muted: #64748B;
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'BransTitulos', 'Arial Black', sans-serif;
    --font-body: 'BransCuerpo', 'Arial', sans-serif;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Radius */
    --border-radius: 16px;
    --border-radius-sm: 10px;

    /* Glows */
    --glow-blue: 0 0 30px rgba(0, 113, 190, 0.15);
    --glow-blue-strong: 0 0 60px rgba(0, 113, 190, 0.25);

    /* Liquid Glass */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-blur: 20px;
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ─── LIGHT THEME (Alternating Sections) ─── */
.theme-light {
    --color-bg: #F0F4FF;
    --color-bg-secondary: #E8EEF8;
    --color-surface: rgba(255, 255, 255, 0.55);
    --color-surface-hover: rgba(255, 255, 255, 0.75);
    --color-border: rgba(0, 113, 190, 0.12);
    --color-border-hover: rgba(0, 113, 190, 0.3);
    --color-text: #0A0A1E;
    --color-text-secondary: #2D3A52;
    --color-text-muted: #64748B;
    --color-white: #0A0A1E;
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-hover: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 113, 190, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 71, 150, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5);
    --glow-blue: 0 0 30px rgba(0, 113, 190, 0.07);
    --glow-blue-strong: 0 0 60px rgba(0, 113, 190, 0.12);
    background-color: var(--color-bg);
    color: var(--color-text);
}

.theme-light .client-logo-img {
    filter: grayscale(100%) opacity(0.6);
}

.theme-light .client-logo-img:hover {
    filter: grayscale(0%) opacity(1) drop-shadow(0 0 10px var(--color-primary-light));
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--color-white);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    overflow-wrap: break-word;
    word-break: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ─── CONTAINER — Mobile first ─── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

@media (min-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 2.5rem;
    }
}

.section {
    padding: 3.5rem 0;
    position: relative;
}

@media (min-width: 480px) {
    .section {
        padding: 4.5rem 0;
    }
}

@media (min-width: 768px) {
    .section {
        padding: 7rem 0;
    }
}

/* ============================================================
   LIQUID GLASS MIXIN (applied as utility class & inlined)
   ============================================================ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* ============================================================
   PARTICLE CANVAS
   ============================================================ */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
/* Bulletproof gradient text — solid color + glow for max compatibility */
.gradient-text {
    color: var(--color-primary-light);
    text-shadow: 0 0 15px rgba(59, 160, 255, 0.4);
    display: inline;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 480px) {
    .section-header {
        margin-bottom: 3rem;
    }
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-tag {
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
    margin-bottom: 1.2rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--color-border-hover);
    border-radius: 50px;
    background: rgba(0, 113, 190, 0.05);
    animation: floatTag 3s ease-in-out infinite;
}

@media (min-width: 480px) {
    .section-tag {
        font-size: 0.75rem;
        letter-spacing: 3px;
        padding: 0.4rem 1.2rem;
    }
}

@keyframes floatTag {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

@media (min-width: 480px) {
    .section-title {
        font-size: clamp(1.75rem, 5vw, 3rem);
        letter-spacing: 0.02em;
        line-height: 1.15;
    }
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
}

@media (min-width: 480px) {
    .section-subtitle {
        font-size: 1rem;
        max-width: 580px;
        line-height: 1.7;
    }
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: var(--font-body);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

/* Primary blue button (was orange — now blue) */
.btn-glow {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 113, 190, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-glow:hover {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    box-shadow: 0 10px 40px rgba(0, 113, 190, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transform: translateY(-3px) scale(1.02);
}

.btn-glow i {
    transition: transform var(--transition-fast);
}

.btn-glow:hover i {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .btn-large {
        padding: 1.05rem 2.6rem;
        font-size: 1.05rem;
    }
}

.btn-magnetic {
    transition: transform 0.2s ease;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.35rem 0;
    transition: transform 0.3s ease, background 0.3s ease, padding 0.3s ease;
    /* Liquid Glass */
    background: rgba(5, 5, 16, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
    padding: 0.2rem 0;
    background: rgba(5, 5, 16, 0.88);
    border-bottom-color: var(--color-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}

.logo-img {
    width: 65px;
    height: auto;
    object-fit: contain;
    transition: width var(--transition-fast);
}

@media (min-width: 768px) {
    .logo-img {
        width: 72px;
    }
}

.nav-links {
    display: none;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
    }
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.25rem 0;
}

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

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

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

.nav-cta {
    display: none;
    padding: 0.55rem 1.4rem;
    font-size: 0.85rem;
}

/* Hamburger */
.mobile-menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10;
    padding: 5px;
}

@media (min-width: 992px) {
    .mobile-menu-icon {
        display: none;
    }
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-icon.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-icon.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-icon.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    /* Liquid Glass mobile nav */
    background: rgba(5, 5, 16, 0.92);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 1.5rem 2rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-links a {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.mobile-nav-links a:hover {
    color: var(--color-primary-light);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

@media (min-width: 768px) {
    .hero-grid-bg {
        background-size: 60px 60px;
    }
}

/* Gradient orbs — blue only */
.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: var(--color-primary);
    top: -120px;
    right: -80px;
    opacity: 0.35;
    animation-delay: 0s;
}

.orb-2 {
    width: 280px;
    height: 280px;
    background: var(--color-primary-deep);
    bottom: -80px;
    left: -100px;
    opacity: 0.25;
    animation-delay: 4s;
}

.orb-3 {
    width: 220px;
    height: 220px;
    background: var(--color-primary-light);
    top: 40%;
    right: 15%;
    opacity: 0.12;
    animation-delay: 8s;
}

@media (min-width: 768px) {
    .orb-1 {
        width: 600px;
        height: 600px;
        top: -200px;
        right: -100px;
    }

    .orb-2 {
        width: 400px;
        height: 400px;
        bottom: -100px;
        left: -150px;
    }

    .orb-3 {
        width: 300px;
        height: 300px;
    }
}

@keyframes orbFloat {

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

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-primary-light);
    border: 1px solid var(--color-border-hover);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.8rem;
    /* Liquid Glass */
    background: rgba(0, 113, 190, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 480px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.45rem 1.1rem;
    }
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 var(--color-primary-glow);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px transparent;
    }
}

.hero-title {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.05;
    text-transform: uppercase;
}

@media (min-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 7vw, 4.2rem);
        line-height: 1.1;
    }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (min-width: 480px) {
    .hero-subtitle {
        font-size: 1rem;
        max-width: 600px;
        line-height: 1.7;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 3.5rem;
    }

    .hero-actions .btn {
        width: auto;
    }
}

.hero-actions .btn {
    width: 100%;
    max-width: 340px;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

@media (min-width: 480px) {
    .hero-trust {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

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

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

.trust-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.trust-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-line {
    width: 2px;
    height: 35px;
    background: linear-gradient(to bottom, var(--color-primary-light), transparent);
    border-radius: 2px;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ============================================================
   MARQUEE / BRAND STRIP
   ============================================================ */
.brand-strip {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 1.1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-text-muted);
}

.marquee-separator {
    color: var(--color-primary);
    font-size: 0.6rem;
    opacity: 0.5;
}

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

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

/* ============================================================
   CLIENTS SECTION
   ============================================================ */
.clients-section {
    position: relative;
    z-index: 2;
    background: var(--color-bg-secondary);
}

.clients-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .clients-carousel {
        margin-bottom: 5rem;
    }
}

.clients-carousel-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: max-content;
    animation: marquee 25s linear infinite;
}

@media (min-width: 768px) {
    .clients-carousel-track {
        gap: 4rem;
    }
}

.clients-carousel:hover .clients-carousel-track {
    animation-play-state: paused;
}

.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 95px;
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .client-logo-card {
        height: 65px;
        width: 140px;
    }
}

@media (min-width: 768px) {
    .client-logo-card {
        height: 80px;
        width: 180px;
    }
}

.client-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.45);
    transition: all var(--transition-smooth);
}

.client-logo-img:hover {
    filter: grayscale(0%) opacity(1);
}

/* Testimonials — Horizontal scroll carousel */
.testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    scrollbar-width: none;
}

.testimonials-grid::-webkit-scrollbar {
    display: none;
}

/* Force cloned items visible (bypass scroll-reveal) */
.testimonials-grid>* {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* LIQUID GLASS CARD */
.testimonial-card {
    position: relative;
    flex: 0 0 auto;
    width: 300px;
    min-width: 300px;
    padding: 1.4rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* Refined Glassmorphism */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--glass-shadow);
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 113, 190, 0.1);
}

@media (min-width: 480px) {
    .testimonial-card {
        width: 320px;
        min-width: 320px;
        padding: 1.8rem;
    }
}

@media (min-width: 768px) {
    .testimonial-card {
        width: 400px;
        min-width: 400px;
    }
}

.testimonial-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-primary-light), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.testimonial-card:hover .testimonial-glow {
    opacity: 1;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    font-size: 0.85rem;
    color: #E8B800;
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.4rem;
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '\201C';
    position: absolute;
    top: -15px;
    left: -5px;
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar span {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 1px;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-white);
    font-family: var(--font-body);
}

.author-role {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-family: var(--font-body);
}

/* ============================================================
   SERVICES SECTION — BENTO GRID (Mobile-First)
   ============================================================ */
.services-section {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Subtle background accent orb */
.services-bg-accent {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 113, 190, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* ─── CAROUSEL LAYOUT (flex scroll) ─── */
.services-bento {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    scrollbar-width: none;
    position: relative;
    z-index: 2;
}

.services-bento::-webkit-scrollbar {
    display: none;
}

/* Force cloned items visible (bypass scroll-reveal) */
.services-bento>* {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* ─── BASE CARD ─── */
.svc-card {
    position: relative;
    flex: 0 0 auto;
    width: 300px;
    min-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: default;
}

/* No hover transforms on mobile — enable on desktop */
.svc-card:hover {
    border-color: rgba(0, 113, 190, 0.35);
}

@media (min-width: 480px) {
    .svc-card {
        width: 320px;
        min-width: 320px;
    }
}

@media (min-width: 768px) {
    .svc-card {
        width: 400px;
        min-width: 400px;
    }
}

@media (min-width: 1024px) {
    .svc-card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 0 80px rgba(0, 113, 190, 0.15);
        border-color: rgba(255, 255, 255, 0.15);
    }
}

/* ─── CARD ORB (background glow) ─── */
.svc-orb {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 113, 190, 0.2) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.5s ease;
    opacity: 0.5;
}

.svc-orb-sm {
    width: 160px;
    height: 160px;
    top: -40px;
    right: -40px;
    opacity: 0.4;
}

.svc-card:hover .svc-orb {
    opacity: 1;
    transform: scale(1.15);
}

/* ─── CARD TOP (icon + number row) ─── */
.svc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

/* ─── ICON RING ─── */
.svc-icon-ring {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 113, 190, 0.1);
    border: 1px solid rgba(0, 113, 190, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.svc-icon-sm {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 1.15rem;
}

.svc-card:hover .svc-icon-ring {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 28px rgba(0, 113, 190, 0.5);
    transform: scale(1.05) rotate(-3deg);
}

/* ─── SERVICE NUMBER ─── */
.svc-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    align-self: flex-start;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.svc-card:hover .svc-number {
    color: rgba(0, 113, 190, 0.12);
}

/* ─── TITLE ─── */
.svc-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.7rem;
    line-height: 1.2;
    position: relative;
}

.svc-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-card:hover .svc-title::after {
    width: 60%;
}

/* ─── DESCRIPTION ─── */
.svc-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}

/* ─── PILL TAGS ─── */
.svc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 15px;
}

.svc-pill {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.28rem 0.55rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

@media (min-width: 361px) {
    .svc-pill {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
}

@media (min-width: 480px) {
    .svc-pill {
        font-size: 0.85rem;
        padding: 6px 14px;
    }
}

.svc-pill i {
    font-size: 0.7rem;
    color: var(--color-primary-light);
    transition: color 0.25s ease;
}

.svc-card:hover .svc-pill {
    background: rgba(0, 113, 190, 0.08);
    border-color: rgba(0, 113, 190, 0.3);
    color: var(--color-text);
}

/* ─── BOTTOM ACCENT LINE ─── */
.svc-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover .svc-bottom-line {
    width: 100%;
}

/* ─── HERO CARD EXTRA STYLES ─── */
.svc-hero {
    padding: 2.2rem 2rem;
    min-height: 300px;
}

@media (min-width: 640px) {
    .svc-hero {
        min-height: 320px;
    }
}

@media (min-width: 1100px) {
    .svc-hero {
        padding: 2.8rem 2.5rem;
        min-height: 380px;
    }

    .svc-hero .svc-desc {
        font-size: 0.95rem;
        max-width: 480px;
    }
}

/* "Servicio estrella" badge bar */
.svc-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-cta-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
    opacity: 0.7;
}

.svc-cta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary-light);
    animation: pulse 2s ease-in-out infinite;
}

/* ─── CTA CARD ─── */
.svc-cta-card {
    background: linear-gradient(135deg, rgba(0, 71, 150, 0.18) 0%, rgba(0, 113, 190, 0.10) 100%);
    border-color: rgba(0, 113, 190, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 260px;
}

.svc-cta-card:hover {
    background: linear-gradient(135deg, rgba(0, 71, 150, 0.28) 0%, rgba(0, 113, 190, 0.18) 100%);
    border-color: rgba(0, 113, 190, 0.5);
}

.svc-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
}

.svc-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 113, 190, 0.15);
    border: 1px solid rgba(0, 113, 190, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    transition: all 0.3s ease;
}

.svc-cta-card:hover .svc-cta-icon {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 24px rgba(0, 113, 190, 0.4);
}

.svc-cta-text {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

.svc-cta-heading {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

/* ─── REMOVE OLD CARD STYLES (kept for compatibility) ─── */
.service-card,
.services-grid,
.service-icon-wrapper,
.service-title,
.service-desc,
.service-features,
.service-number,
.card-glow,
.card-line {
    display: none;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section {
    position: relative;
    z-index: 2;
    background: var(--color-bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-border), transparent);
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .process-step {
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-connector {
    flex-shrink: 0;
    position: relative;
    width: 42px;
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
}

.step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.dot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    opacity: 0;
    animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* LIQUID GLASS STEP CARD */
.step-card {
    flex: 1;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all var(--transition-fast);
    /* Liquid Glass */
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

@media (min-width: 768px) {
    .step-card {
        padding: 2rem;
    }
}

.step-card:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--glow-blue), var(--glass-shadow);
    background: var(--glass-bg-hover);
}

.step-card .step-number {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--color-primary-light);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.step-card .step-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary-light);
    transition: width 0.5s ease;
}

.step-card:hover .step-number::after {
    width: 30px;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

/* ============================================================
   STATS / RESULTS SECTION
   ============================================================ */
.stats-section {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

@media (min-width: 480px) {
    .stats-grid {
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .stats-grid {
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* LIQUID GLASS STAT CARD */
.stat-card {
    text-align: center;
    padding: 1.5rem 0.9rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Refined Glassmorphism */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--glass-shadow);
}

@media (min-width: 480px) {
    .stat-card {
        padding: 2rem 1.2rem;
    }
}

@media (min-width: 768px) {
    .stat-card {
        padding: 2.5rem 1.5rem;
    }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.stat-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--glow-blue), var(--glass-shadow);
    background: var(--glass-bg-hover);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 113, 190, 0.1);
    color: var(--color-primary-light);
    font-size: 1.4rem;
    transition: all var(--transition-fast);
}

.stat-card:hover .stat-icon {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 25px var(--color-primary-glow);
    transform: scale(1.1);
}

.stat-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-card h3 {
        font-size: 1.1rem;
    }
}

.stat-card p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
    position: relative;
    z-index: 2;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* LIQUID GLASS TEAM CARD */
.team-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-fast);
    text-align: center;
    /* Liquid Glass */
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.team-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-5px);
    box-shadow: var(--glow-blue), var(--glass-shadow);
    background: var(--glass-bg-hover);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

@media (min-width: 480px) {
    .team-img-wrapper { height: 280px; }
}

@media (min-width: 768px) {
    .team-img-wrapper { height: 350px; }
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-smooth);
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--color-surface), transparent);
}

.team-info {
    padding: 1.2rem;
}

.team-info h3 {
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
}

.team-role {
    font-family: var(--font-body);
    color: var(--color-primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-desc {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-top: 0.6rem;
}

@media (min-width: 480px) {
    .team-info { padding: 1.4rem; }
    .team-info h3 { font-size: 1.15rem; }
    .team-role { font-size: 0.85rem; }
    .team-desc { font-size: 0.88rem; margin-top: 0.8rem; }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    position: relative;
    z-index: 2;
    background: var(--color-bg-secondary);
}

.faq-accordion {
    max-width: 750px;
    margin: 0 auto;
}

/* LIQUID GLASS ACCORDION */
.accordion-item {
    margin-bottom: 0.7rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: all var(--transition-fast);
    /* Liquid Glass */
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.accordion-item:hover {
    border-color: var(--color-border-hover);
    background: var(--glass-bg-hover);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.1rem 1.3rem;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
}

@media (min-width: 768px) {
    .accordion-header {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
}

.accordion-header:hover {
    color: var(--color-white);
}

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.accordion-icon span {
    position: absolute;
    background: var(--color-primary-light);
    border-radius: 1px;
    transition: all var(--transition-fast);
}

.accordion-icon span:first-child {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-icon span:last-child {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.accordion-header.active .accordion-icon span:last-child {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.accordion-header.active {
    color: var(--color-primary-light);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.accordion-content p {
    font-family: var(--font-body);
    padding: 0 1.3rem 1.1rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .accordion-content p {
        padding: 0 1.5rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.cta-gradient-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 113, 190, 0.18) 0%, transparent 60%);
}

/* LIQUID GLASS CTA BOX */
.cta-container {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    /* Liquid Glass */
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), 0 0 80px rgba(0, 113, 190, 0.08);
}

@media (min-width: 768px) {
    .cta-container {
        padding: 4rem 3rem;
    }
}

.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    opacity: 0.25;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.cta-text {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .cta-text {
        font-size: 1.05rem;
    }
}

.cta-btn {
    margin-bottom: 1rem;
}

.cta-disclaimer {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 0;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 0 0;
    }
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-desc {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

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

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1rem;
    transition: all var(--transition-fast);
    /* micro glass */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.social-icons a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 20px var(--color-primary-glow);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 1.3rem 1.5rem;
    border-top: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.heart {
    color: var(--color-primary-light);
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {

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

    50% {
        transform: scale(1.2);
    }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
    opacity: 0;
}

.fade-in-up {
    transform: translateY(40px);
}

.zoom-in {
    transform: scale(0.9);
}

.scale-up {
    transform: scale(0.95);
}

.is-visible.fade-in-up,
.is-visible.zoom-in,
.is-visible.scale-up {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.delay-1 {
    transition-delay: 0.15s !important;
}

.delay-2 {
    transition-delay: 0.3s !important;
}

.delay-3 {
    transition-delay: 0.45s !important;
}

.delay-4 {
    transition-delay: 0.6s !important;
}

.delay-5 {
    transition-delay: 0.75s !important;
}

.delay-6 {
    transition-delay: 0.9s !important;
}

/* ============================================================
   TEXT ANIMATIONS — Hero
   ============================================================ */
.anim-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: animFadeIn 0.8s ease forwards;
    animation-delay: 0.3s;
}

.anim-fade-in.delay-4 {
    animation-delay: 1.2s;
}

.anim-fade-in.delay-5 {
    animation-delay: 1.5s;
}

.anim-fade-in.delay-6 {
    animation-delay: 1.8s;
}

@keyframes animFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Text Reveal */
.text-reveal {
    display: block;
    overflow: hidden;
    position: relative;
}

.text-reveal-inner {
    display: inline-block;
    transform: translateY(110%);
    animation: textRevealUp 0.9s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    animation-delay: 0.2s;
}

.text-reveal.delay-2 .text-reveal-inner {
    animation-delay: 0.5s;
}

.text-reveal.delay-3 .text-reveal-inner {
    animation-delay: 0.8s;
}

@keyframes textRevealUp {
    to {
        transform: translateY(0);
    }
}

/* Typewriter */
.typewriter {
    display: inline;
    border-right: 2px solid var(--color-primary-light);
    animation: blink 0.8s step-end infinite;
    font-family: var(--font-body);
}

@keyframes blink {

    0%,
    100% {
        border-color: var(--color-primary-light);
    }

    50% {
        border-color: transparent;
    }
}

/* Text Split */
.text-split-anim .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.text-split-anim .word-inner {
    display: inline-block;
    position: relative;
    top: 1.5em;
    transition: top 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.text-split-anim.is-animated .word-inner {
    top: 0;
}

/* Character fade in */
.char-fade-in .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.char-fade-in .char.space {
    width: 0.3em;
}

.char-fade-in.is-animated .char {
    opacity: 1;
    transform: translateY(0);
}

/* Counter pop */
.counter.counted {
    animation: counterPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes counterPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* ============================================================
   MOBILE-FIRST GLOBAL OPTIMIZATIONS (UI/UX Pro Max)
   ============================================================ */

/* ─── 1. Touch targets — minimum 44×44px ─── */
.btn,
.nav-link,
.accordion-header,
.mobile-nav-links a,
.social-icons a {
    min-height: 44px;
}

.nav-cta {
    min-height: 40px;
    /* in nav, allowed slightly smaller */
}

/* ─── 2. Touch device: remove hover transforms for performance ─── */
@media (hover: none) {

    .svc-card:hover,
    .stat-card:hover,
    .team-card:hover,
    .testimonial-card:hover,
    .accordion-item:hover {
        transform: none;
    }

    .svc-card:hover .svc-orb {
        transform: none;
    }
}

/* ─── 3. Smooth scroll offset for fixed navbar (corrected value) ─── */
:target {
    scroll-margin-top: 90px;
}

/* ─── 4. Removed — Carousel animation handled globally ─── */

/* ─── 5. Reduced motion support ─── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .svc-orb,
    .hero-gradient-orb,
    .marquee-track,
    .clients-carousel-track {
        animation: none !important;
    }
}

/* ─── 6. Removed — Hero section styles now integrated directly in mobile-first base ─── */

/* ─── 7. Removed — Section headers styles integrated directly in mobile-first base ─── */

/* ─── 8. Removed — Client logo sizing integrated directly in mobile-first base ─── */

/* ─── 9. Removed — Testimonials styles integrated directly in mobile-first base ─── */

/* ─── 10. Removed — Stats grid styles integrated directly in mobile-first base ─── */

/* ─── 11. Process section — progressive scaling ─── */
.timeline-line { left: 15px; }
.step-connector { width: 32px; }
.step-dot { width: 12px; height: 12px; }
.step-card { padding: 1.2rem; }
.step-card h3 { font-size: 1rem; }
.process-step { gap: 1rem; margin-bottom: 1.5rem; }

@media (min-width: 480px) {
    .timeline-line { left: 20px; }
    .step-connector { width: 48px; }
    .step-dot { width: 14px; height: 14px; }
    .step-card { padding: 1.5rem; }
    .step-card h3 { font-size: 1.15rem; }
    .process-step { gap: 1.5rem; margin-bottom: 2rem; }
}

/* ─── 12. CTA section — progressive scaling ─── */
.cta-container { padding: 2rem 1.2rem; }
.cta-title { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.cta-btn { width: 100%; }

@media (min-width: 480px) {
    .cta-container { padding: 2.5rem 1.5rem; }
    .cta-btn { width: auto; }
}

/* ─── 13. FAQ — progressive scaling ─── */
.accordion-header {
    font-size: 0.88rem;
    padding: 1rem;
}
.accordion-content p {
    font-size: 0.85rem;
    padding: 0 1rem 1rem;
}

@media (min-width: 480px) {
    .accordion-header {
        font-size: 0.95rem;
        padding: 1.1rem 1.3rem;
    }
    .accordion-content p {
        font-size: 0.9rem;
        padding: 0 1.3rem 1.1rem;
    }
}

/* ─── 14. Footer — progressive scaling ─── */
.footer-container { gap: 1.5rem; }
.footer-desc { max-width: 100%; }
.social-icons a { width: 44px; height: 44px; }

@media (min-width: 480px) {
    .footer-container { gap: 2rem; }
    .footer-desc { max-width: 280px; }
    .social-icons a { width: 40px; height: 40px; }
}

/* ─── 15. Removed — Bento grid pill wrap prevention integrated directly in mobile-first base ─── */

/* ─── 16. Navbar hamburger accessible size ─── */
.mobile-menu-icon {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

/* ─── 17. Removed — Line height integrated directly in mobile-first base ─── */

/* ─── Selection color ─── */
::selection {
    background: rgba(0, 113, 190, 0.3);
    color: #fff;
}