/* ═══════════════════════════════════════
   iMedia Business — Styles
   ═══════════════════════════════════════ */

:root {
    --navy: #0A0A0A;
    --navy-light: #141414;
    --navy-mid: #1A1A1A;
    --blue: #2563EB;
    --blue-dim: rgba(37, 99, 235, 0.15);
    --blue-glow: rgba(37, 99, 235, 0.3);
    --purple: #3B82F6;
    --white: #F0F0F0;
    --gray: #9CA3AF;
    --gray-dark: #4B5563;
    --font-heading: 'Cal Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ─── PRELOADER ─── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

#preloader.exit {
    top: -100vh;
}

#preloaderWord {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(36px, 6vw, 60px);
    color: var(--white);
    opacity: 0;
    animation: preloaderFadeIn 1s ease 0.2s forwards;
}

.preloader-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--white);
}

@keyframes preloaderFadeIn {
    to { opacity: 0.75; }
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─── NAVBAR ─── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 16px 20px;
    pointer-events: none;
    animation: navSlideDown 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.nav-pill {
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 20px;
    border-radius: 360px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#navbar.scrolled .nav-pill {
    background: rgba(10, 10, 10, 0.92);
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(37, 99, 235, 0.06) inset;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 30px;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-logo.small { height: 28px; }

.accent { color: var(--blue); }

.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    padding: 8px 16px;
    border-radius: 360px;
    transition: color 0.25s, background 0.25s;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.btn-cta-nav {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 360px;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background: linear-gradient(var(--blue), var(--blue)) padding-box,
        conic-gradient(
            from var(--gradient-angle, 0deg),
            transparent,
            #60a5fa 15%,
            white 30%,
            #60a5fa 45%,
            transparent 60%
        ) border-box;
    box-shadow: 0 0 16px var(--blue-glow);
    transition: 500ms cubic-bezier(0.25, 1, 0.5, 1);
    animation: gradient-angle 3s linear infinite;
}

.btn-cta-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 0 28px var(--blue-glow);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray);
    padding: 8px 0;
    transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--white); }

/* ═══════════════════════════════════════
   HERO — GLOBE
   ═══════════════════════════════════════ */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%, #1a1a2e 0%, var(--navy) 70%);
}

#globeCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Ambient glow blobs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.hero-glow-1 {
    width: 500px; height: 500px;
    top: 15%; left: 20%;
    background: rgba(37, 99, 235, 0.06);
    animation: glowFloat 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 350px; height: 350px;
    bottom: 20%; right: 20%;
    background: rgba(59, 130, 246, 0.04);
    animation: glowFloat 10s ease-in-out infinite reverse;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(40px);
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px;
    border-radius: 100px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    background: rgba(37, 99, 235, 0.08);
    backdrop-filter: blur(12px);
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.04em;
    animation: fadeSlideDown 0.8s ease 0.5s both;
}

.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* Eyebrow */
.hero-eyebrow {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    animation: fadeSlideDown 0.8s ease 0.7s both;
}

/* Heading */
#hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(36px, 6vw, 80px);
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--white);
    max-width: 850px;
    margin-bottom: 0;
    animation: fadeSlideDown 1s ease 0.9s both;
    overflow: visible;
}

.gradient-text {
    color: var(--blue);
}

/* Animated underline */
.hero-line {
    width: 0;
    height: 3px;
    margin: 20px auto 24px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--blue), var(--purple), transparent);
    box-shadow: 0 0 16px var(--blue-glow);
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-line.expanded {
    width: min(70%, 500px);
}

/* Subtitle */
.hero-sub {
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.7;
    color: var(--gray);
    max-width: 580px;
    margin-bottom: 40px;
    animation: fadeSlideDown 1s ease 1.1s both;
}

.hero-highlight {
    color: var(--white);
    font-weight: 600;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.08));
    padding: 2px 10px;
    border-radius: 6px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeSlideDown 1s ease 1.3s both;
}

/* ─── SHINY BUTTONS ─── */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-angle-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}

@property --gradient-shine {
    syntax: "<color>";
    initial-value: white;
    inherits: false;
}

.btn-primary {
    --shiny-cta-highlight: var(--blue);
    --shiny-cta-highlight-subtle: #6dadff;

    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 360px;
    cursor: pointer;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--navy), var(--navy)) padding-box,
        conic-gradient(
            from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
            transparent,
            var(--shiny-cta-highlight) var(--gradient-percent),
            var(--gradient-shine) calc(var(--gradient-percent) * 2),
            var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
            transparent calc(var(--gradient-percent) * 4)
        ) border-box;
    box-shadow: inset 0 0 0 1px var(--navy-light);
    transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
    transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine;
    animation: gradient-angle 3s linear infinite;
}

.btn-primary::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    left: 50%; top: 50%;
    translate: -50% -50%;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: radial-gradient(
        circle at 2px 2px,
        white calc(0.5px),
        transparent 0
    ) padding-box;
    background-size: 4px 4px;
    background-repeat: space;
    mask-image: conic-gradient(
        from calc(var(--gradient-angle) + 45deg),
        black,
        transparent 10% 90%,
        black
    );
    border-radius: inherit;
    opacity: 0.4;
    z-index: -1;
    animation: gradient-angle 3s linear infinite;
}

.btn-primary::after {
    content: "";
    pointer-events: none;
    position: absolute;
    left: 50%; top: 50%;
    translate: -50% -50%;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(
        -50deg,
        transparent,
        var(--shiny-cta-highlight),
        transparent
    );
    mask-image: radial-gradient(circle at bottom, transparent 40%, black);
    opacity: 0.6;
    z-index: -1;
    animation: shimmer 4.5s linear infinite reverse paused;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    --gradient-percent: 20%;
    --gradient-angle-offset: 95deg;
    --gradient-shine: var(--shiny-cta-highlight-subtle);
    box-shadow: inset 0 0 0 1px var(--navy-light), 0 0 32px var(--blue-glow);
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
    animation-play-state: running;
}

.btn-primary:active {
    translate: 0 1px;
}

.btn-primary.btn-lg {
    font-size: 18px;
    padding: 20px 56px;
}

/* Secondary: same shiny effect but subtler */
.btn-secondary {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 360px;
    cursor: pointer;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--navy), var(--navy)) padding-box,
        conic-gradient(
            from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
            transparent,
            rgba(255,255,255,0.2) var(--gradient-percent),
            rgba(255,255,255,0.4) calc(var(--gradient-percent) * 2),
            rgba(255,255,255,0.2) calc(var(--gradient-percent) * 3),
            transparent calc(var(--gradient-percent) * 4)
        ) border-box;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
    transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine, box-shadow;
    animation: gradient-angle 4s linear infinite;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    --gradient-percent: 18%;
    --gradient-angle-offset: 95deg;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15), 0 0 20px rgba(37, 99, 235, 0.15);
}

.btn-secondary:active {
    translate: 0 1px;
}

@keyframes gradient-angle {
    to { --gradient-angle: 360deg; }
}

@keyframes shimmer {
    to { rotate: 360deg; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-mouse {
    width: 24px; height: 40px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 3px; height: 8px;
    border-radius: 2px;
    background: var(--blue);
    animation: scrollDot 2s infinite;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDot {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section {
    padding: 120px clamp(20px, 5vw, 80px);
}

.section-alt { background: var(--navy-light); }

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

.section-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--white);
    margin: 12px 0 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 17px;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ─── SERVICES ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--navy-light);
    border-radius: 24px;
    padding: 10px;
    transition: transform 0.35s;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Card header (muted area) */
.service-card-header {
    text-align: center;
    padding: 16px 16px 12px;
}

.service-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray);
}

.service-card-header h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
    margin-top: 4px;
    letter-spacing: -0.02em;
}

/* Card body (inner card) */
.service-card-body {
    background: var(--navy-mid);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-card-top h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
}

.service-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 500;
    color: var(--gray);
}

.service-badge svg {
    flex-shrink: 0;
}

/* Service items list */
.service-card-body ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card-body li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--navy-light);
    transition: background 0.25s;
}

.service-card-body li:hover {
    background: rgba(255, 255, 255, 0.04);
}

.service-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue);
}

.service-item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.service-item-detail {
    font-size: 13px;
    color: var(--gray);
    margin-top: 2px;
}

/* ─── FEATURE CAROUSEL (PROJECTS) ─── */
.feat-carousel {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 520px;
}

/* Left panel: labels */
.feat-labels {
    width: 38%;
    background: var(--blue);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 16px;
}

.feat-labels-fade {
    position: absolute;
    left: 0; right: 0;
    height: 60px;
    z-index: 5;
    pointer-events: none;
}

.feat-labels-fade-top {
    top: 0;
    background: linear-gradient(to bottom, var(--blue), transparent);
}

.feat-labels-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, var(--blue), transparent);
}

.feat-labels-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 360px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.4s, color 0.4s, border-color 0.4s;
    user-select: none;
}

.feat-label.active {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
    z-index: 10;
}

.feat-label svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Right panel: image cards */
.feat-cards {
    flex: 1;
    background: var(--navy-light);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.feat-cards-stage {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
}

.feat-card {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 6px solid var(--navy);
    background: var(--navy);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.feat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.6s, transform 0.6s;
}

.feat-card.active img {
    filter: none;
    transform: scale(1);
}

.feat-card.prev img,
.feat-card.next img {
    filter: grayscale(1) blur(2px) brightness(0.7);
    transform: scale(1.05);
}

.feat-card.hidden-card img {
    filter: grayscale(1) blur(4px) brightness(0.5);
}

/* Card overlay */
.feat-card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 80px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3) 60%, transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s, transform 0.5s;
    pointer-events: none;
}

.feat-card.active .feat-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.feat-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 360px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.feat-card-desc {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* Live dot */
.feat-card-live {
    position: absolute;
    top: 20px; left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.4s;
}

.feat-card.active .feat-card-live {
    opacity: 1;
}

.feat-card-live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.feat-card-live span {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: monospace;
}

/* Responsive */
@media (max-width: 900px) {
    .feat-carousel {
        flex-direction: column;
        border-radius: 24px;
    }

    .feat-labels {
        width: 100%;
        min-height: 300px;
        padding: 0 24px;
    }

    .feat-cards {
        min-height: 480px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }
}

@media (max-width: 480px) {
    .feat-labels { min-height: 260px; }
    .feat-label { font-size: 12px; padding: 10px 18px; }
    .feat-cards { padding: 24px; min-height: 400px; }
    .feat-card { border-width: 4px; border-radius: 18px; }
}

/* ─── PROCESS WITH BACKGROUND PATHS ─── */
.section-proceso {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px clamp(20px, 5vw, 80px);
}

.proceso-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.proceso-header {
    margin-bottom: 64px;
}

.proceso-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(40px, 7vw, 88px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-top: 12px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 48px;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    transition: border-color 0.35s, transform 0.35s, background 0.35s;
}

.process-step:hover {
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 52px;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--blue), rgba(59, 130, 246, 0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-step h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 8px;
}

.process-step p { font-size: 15px; color: var(--gray); line-height: 1.6; }

.proceso-cta {
    text-align: center;
}


/* ─── CLIENTS CAROUSEL ─── */
.section-clients {
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
}

.clients-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(24px, 3.5vw, 40px);
    color: var(--white);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.clients-carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: clientsScroll 30s linear infinite;
}

.clients-track span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.18);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.3s;
    cursor: default;
}

.clients-track span:hover {
    color: rgba(255, 255, 255, 0.6);
}

.clients-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.clients-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--navy), transparent);
}

.clients-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--navy), transparent);
}

@keyframes clientsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── RESEÑAS GOOGLE ─── */
.section-resenas {
    padding-top: 0;
    padding-bottom: 80px;
}

.resenas-content {
    max-width: 480px;
    margin: 0 auto;
}

.resenas-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-radius: 16px;
    background: var(--navy-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s, transform 0.3s;
    text-decoration: none;
}

.resenas-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.resenas-google-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resenas-google-icon svg {
    width: 28px;
    height: 28px;
}

.resenas-info {
    flex: 1;
}

.resenas-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.resenas-score {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--white);
}

.resenas-stars {
    display: flex;
    gap: 2px;
}

.resenas-stars svg {
    width: 18px;
    height: 18px;
}

.resenas-text {
    font-size: 13px;
    color: var(--gray-dark);
}

.resenas-link-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray);
    white-space: nowrap;
    transition: color 0.25s;
}

.resenas-card:hover .resenas-link-text {
    color: var(--white);
}

@media (max-width: 480px) {
    .resenas-card { flex-wrap: wrap; gap: 12px; padding: 16px 20px; }
    .resenas-link-text { width: 100%; text-align: center; }
}

/* ─── LEGAL PAGES ─── */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
}

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

.legal-header h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(32px, 5vw, 52px);
    color: var(--white);
    margin: 12px 0 16px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.legal-updated {
    font-size: 14px;
    color: var(--gray-dark);
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.legal-section p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-section li {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.65;
    list-style: disc;
}

.legal-section li::marker {
    color: var(--blue);
}

.legal-section a {
    color: var(--blue);
    transition: opacity 0.25s;
}

.legal-section a:hover {
    opacity: 0.8;
}

.legal-section strong {
    color: var(--white);
    font-weight: 600;
}

.legal-back {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── CTA ─── */
.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ─── FOOTER ─── */
#footer {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--navy-light);
    background-image: radial-gradient(35% 128px at 50% 0%, rgba(255, 255, 255, 0.04), transparent);
    border-radius: 32px 32px 0 0;
    padding: 0;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 33%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    filter: blur(1px);
}

.footer-inner {
    padding: 60px clamp(24px, 5vw, 64px) 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.footer-brand .nav-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 16px;
}

.footer-copy {
    font-size: 13px;
    color: var(--gray-dark);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col li a,
.footer-location {
    font-size: 14px;
    color: var(--gray);
    transition: color 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col li a:hover {
    color: var(--white);
}

.footer-social li a svg {
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .footer-grid {
        grid-template-columns: 1.2fr 2.8fr;
        gap: 48px;
    }

    .footer-columns {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    #footer {
        border-radius: 48px 48px 0 0;
    }
}

/* ─── REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-divider { display: none; }
    .nav-pill .btn-cta-nav { display: none; }
    .nav-hamburger { display: flex; }
    .nav-pill { padding: 8px 12px 8px 16px; }

    #hero { min-height: 600px; }
    #hero h1 { font-size: clamp(28px, 9vw, 44px); }
    .hero-eyebrow { font-size: 14px; }
    .hero-sub br { display: none; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-glow-1 { width: 300px; height: 300px; }
    .hero-glow-2 { width: 200px; height: 200px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card-top { flex-direction: column; align-items: flex-start; gap: 10px; }
    .service-card-body li { padding: 12px; gap: 12px; }

    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .process-step { padding: 20px 12px; }
    .section-proceso { min-height: auto; padding: 80px 20px; }
    .proceso-title { font-size: clamp(32px, 9vw, 48px); }

    .clients-track { gap: 40px; }
    .clients-track span { font-size: 15px; }
    .clients-fade { width: 40px; }


    .section { padding: 80px 20px; }
    .scroll-indicator { display: none; }

    .footer-inner { padding: 40px 20px 36px; }
    .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    #footer { border-radius: 24px 24px 0 0; }
}

@media (max-width: 480px) {
    .process-grid { grid-template-columns: 1fr; }
    .step-number { font-size: 40px; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
}
