/* ═══════════════════════════════════════════════════════════════════════════
   Anderson L. Amaral — Personal Brand Site
   Design system: dark, single emerald accent, Space Grotesk / Inter / JetBrains Mono
   Mobile-first · breakpoints: 480 / 640 / 768 / 1024 / 1280
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* ── Color ─────────────────────────────────────────────────────────── */
    --bg-0: #070a09;
    --bg-1: #0a0e0c;
    --surface-1: rgba(238, 244, 240, .028);
    --surface-2: rgba(238, 244, 240, .055);
    --surface-3: rgba(238, 244, 240, .09);

    --accent: #34d399;
    --accent-strong: #10b981;
    --accent-deep: #059669;
    --accent-ink: #03211a;
    --accent-soft: rgba(52, 211, 153, .08);
    --accent-softer: rgba(52, 211, 153, .045);
    --accent-glow: rgba(16, 185, 129, .30);

    --text: #eef4f0;
    --text-muted: rgba(238, 244, 240, .70);
    --text-dim: rgba(238, 244, 240, .52);

    --border: rgba(238, 244, 240, .08);
    --border-strong: rgba(238, 244, 240, .14);
    --border-accent: rgba(52, 211, 153, .38);

    --online: #4ade80;

    /* ── Radius scale ──────────────────────────────────────────────────── */
    --r-xs: 8px;
    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-full: 999px;

    /* ── Shadow scale ──────────────────────────────────────────────────── */
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .45), 0 10px 28px rgba(0, 0, 0, .35);
    --shadow-2: 0 4px 14px rgba(0, 0, 0, .4), 0 28px 70px rgba(0, 0, 0, .55);
    --shadow-accent: 0 10px 34px rgba(16, 185, 129, .22);
    --shadow-accent-lg: 0 18px 52px rgba(16, 185, 129, .32);

    /* ── Spacing scale ─────────────────────────────────────────────────── */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --section-y: clamp(76px, 9vw, 124px);
    --container: 1240px;

    /* ── Type ──────────────────────────────────────────────────────────── */
    --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

    /* ── Motion ────────────────────────────────────────────────────────── */
    --ease: cubic-bezier(.22, 1, .36, 1);
    --t-fast: .18s var(--ease);
    --t: .32s var(--ease);
}

/* ── Reset / Base ────────────────────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
iframe { border: 0; }

::selection { background: rgba(52, 211, 153, .3); color: #fff; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--r-xs);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 40px);
}

.skip-link {
    position: fixed; top: -64px; left: 16px; z-index: 10001;
    background: var(--accent); color: var(--accent-ink);
    padding: 10px 20px; border-radius: var(--r-full);
    font-weight: 600; font-size: .85rem; text-decoration: none;
    transition: top .2s var(--ease);
}
.skip-link:focus-visible { top: 14px; }

/* Small icon utilities (classes survive lucide's i → svg swap) */
.icon-14 { width: 14px; height: 14px; flex-shrink: 0; }
.icon-18 { width: 18px; height: 18px; flex-shrink: 0; }
.icon-20 { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Typography helpers ──────────────────────────────────────────────────── */

.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-1); border-block: 1px solid var(--border); }

.section-header { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }

.section-badge {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-mono);
    font-size: .7rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .24em;
    color: var(--accent);
    margin-bottom: 18px;
}
.section-badge::before {
    content: ''; width: 26px; height: 1px; background: var(--accent); opacity: .8;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 600; line-height: 1.04; letter-spacing: -.035em;
    text-wrap: balance;
    background: linear-gradient(120deg, var(--text) 30%, rgba(238, 244, 240, .62) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem; line-height: 1.65;
    max-width: 620px; margin: 14px auto 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px;
    border-radius: var(--r-full);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: .93rem; font-weight: 600; letter-spacing: -.005em;
    text-decoration: none; cursor: pointer;
    transition: transform var(--t), box-shadow var(--t), background var(--t),
                border-color var(--t), color var(--t);
}
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 55%, var(--accent-deep) 100%);
    color: var(--accent-ink);
    box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent-lg);
}
.btn-primary:active { transform: translateY(0); }
/* shine sweep */
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
    pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }

.btn-ghost {
    background: var(--surface-1);
    border-color: var(--border-strong);
    color: var(--text);
}
.btn-ghost:hover {
    transform: translateY(-2px);
    background: var(--accent-soft);
    border-color: var(--border-accent);
    color: var(--accent);
}

.btn-large { padding: 17px 38px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── Navbar ──────────────────────────────────────────────────────────────── */

.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(7, 10, 9, .55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.navbar.scrolled {
    background: rgba(7, 10, 9, .88);
    border-bottom-color: var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

.nav-container {
    max-width: var(--container); margin-inline: auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px clamp(20px, 4vw, 40px);
}

.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo-img { height: 34px; width: 34px; }
.nav-avatar {
    border-radius: 50%; object-fit: cover;
    border: 2px solid var(--border-accent);
}
.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em;
    color: var(--text);
}
.nav-logo-light { font-weight: 500; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
    position: relative;
    color: var(--text-muted); text-decoration: none;
    font-size: .83rem; font-weight: 500; letter-spacing: .01em;
    padding: 6px 2px;
    transition: color var(--t-fast);
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; border-radius: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.lang-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; padding: 7px 12px;
    background: var(--surface-1);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-xs);
    color: var(--text);
    font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
    letter-spacing: .1em;
    cursor: pointer;
    transition: var(--t-fast);
}
.lang-toggle:hover { background: var(--accent-soft); border-color: var(--border-accent); color: var(--accent); }

.nav-toggle {
    display: none;
    position: relative; z-index: 1002;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 10px;
    background: var(--surface-1);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-xs);
    cursor: pointer;
    transition: var(--t-fast);
}
.nav-toggle:hover { border-color: var(--border-accent); }
.nav-toggle span {
    display: block; width: 100%; height: 2px;
    background: var(--text); border-radius: 1px;
    transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-progress {
    position: absolute; bottom: -1px; left: 0;
    height: 2px; width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    border-radius: 0 2px 2px 0;
}

.nav-overlay {
    position: fixed; inset: 0; z-index: 998;
    background: rgba(3, 5, 4, .6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease);
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    display: flex; align-items: center;
    min-height: 100svh;
    padding: 132px 0 84px;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(110px);
    animation: orbFloat 22s ease-in-out infinite;
}
.hero-orb-1 {
    width: 560px; height: 560px; top: -180px; right: -120px;
    background: rgba(16, 185, 129, .26);
}
.hero-orb-2 {
    width: 420px; height: 420px; bottom: -160px; left: -120px;
    background: rgba(52, 211, 153, .16);
    animation-delay: -7s;
}
.hero-orb-3 {
    width: 280px; height: 280px; top: 38%; left: 34%;
    background: rgba(5, 150, 105, .14);
    animation-delay: -13s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(28px, -22px) scale(1.06); }
    66% { transform: translate(-20px, 20px) scale(.95); }
}

.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(52, 211, 153, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 211, 153, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 38%, black 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 38%, black 25%, transparent 75%);
}

.hero-content {
    position: relative; z-index: 1;
    width: 100%; max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 40px);
    display: grid; grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

.hero-text { text-align: center; }
.hero-text > * { animation: heroIn .8s var(--ease) both; }
.hero-text > *:nth-child(1) { animation-delay: .05s; }
.hero-text > *:nth-child(2) { animation-delay: .14s; }
.hero-text > *:nth-child(3) { animation-delay: .22s; }
.hero-text > *:nth-child(4) { animation-delay: .30s; }
.hero-text > *:nth-child(5) { animation-delay: .38s; }
.hero-text > *:nth-child(6) { animation-delay: .46s; }
.hero-text > *:nth-child(7) { animation-delay: .54s; }
@keyframes heroIn {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-full);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .68rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .2em;
    margin-bottom: 26px;
}
.hero-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 7vw, 5.4rem);
    font-weight: 700; line-height: 1.02; letter-spacing: -.04em;
    text-wrap: balance;
    margin-bottom: 22px;
    background: linear-gradient(115deg, #f6fbf8 25%, #a7f3d0 62%, var(--accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    color: var(--text-muted);
    font-weight: 500; line-height: 1.5;
    max-width: 660px;
    margin: 0 auto 16px;
}
.hero-description {
    font-size: 1rem; line-height: 1.75;
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 640px;
    margin: 0 auto 40px;
}
.stat {
    padding: 18px 14px 16px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-align: center;
    transition: border-color var(--t), background var(--t), transform var(--t);
}
.stat:hover {
    border-color: var(--border-accent);
    background: var(--accent-softer);
    transform: translateY(-3px);
}
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
    background: linear-gradient(120deg, var(--text) 20%, var(--accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}
.stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: .64rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--text-dim);
}

.hero-cta {
    display: flex; flex-wrap: wrap; gap: 14px;
    justify-content: center;
    margin-bottom: 34px;
}

.hero-social { display: flex; gap: 12px; justify-content: center; }
.social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: var(--surface-1);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--t);
}
.social-link i, .social-link svg { width: 18px; height: 18px; }
.social-link:hover {
    transform: translateY(-3px);
    color: var(--accent);
    border-color: var(--border-accent);
    background: var(--accent-soft);
    box-shadow: var(--shadow-accent);
}

/* Hero photo */
.hero-visual { display: flex; justify-content: center; }
.hero-photo-container {
    position: relative;
    display: flex; align-items: flex-end; justify-content: center;
    max-width: 300px;
}
.hero-photo-glow {
    position: absolute; bottom: 4%; left: 50%;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, .38) 0%, rgba(52, 211, 153, .14) 45%, transparent 70%);
    filter: blur(44px);
    transform: translateX(-50%);
    animation: photoGlow 6s ease-in-out infinite;
}
@keyframes photoGlow {
    0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.hero-photo {
    position: relative; z-index: 1;
    max-height: 300px; width: auto;
    filter: drop-shadow(0 24px 60px rgba(16, 185, 129, .28));
    animation: heroFloat 8s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ── Clients marquee ─────────────────────────────────────────────────────── */

.clients-bar {
    padding: 46px 0;
    background: var(--bg-1);
    border-block: 1px solid var(--border);
}
.clients-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: .68rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .2em;
    color: var(--text-dim);
    margin-bottom: 30px;
}
.clients-logos {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.clients-track {
    display: flex; align-items: center; gap: 56px;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.client-logo-item {
    flex-shrink: 0; white-space: nowrap;
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 600; letter-spacing: .02em;
    color: var(--text-dim); opacity: .55;
    transition: color var(--t-fast), opacity var(--t-fast);
}
.client-logo-item:hover { color: var(--accent); opacity: 1; }

/* ── Shared card surface ─────────────────────────────────────────────────── */

.highlight-card,
.company-card,
.service-card,
.contact-card,
.booking-cta-container,
.testimonial-card,
.video-card,
.highlight-showcase,
.achievement-item {
    background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: transform var(--t), border-color var(--t), box-shadow var(--t), background var(--t);
}

/* ── AI summary / GEO ────────────────────────────────────────────────────── */

.ai-summary-section {
    background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
    border-block: 1px solid var(--border);
}

.ai-summary-card {
    position: relative; overflow: hidden;
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background:
        radial-gradient(ellipse 60% 80% at 85% -10%, rgba(16, 185, 129, .14), transparent 65%),
        linear-gradient(180deg, var(--surface-2), var(--surface-1));
    box-shadow: var(--shadow-1);
}
.ai-summary-card .section-title {
    max-width: 880px;
    margin-bottom: 20px;
}
.ai-summary-card > p {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 1.08rem; line-height: 1.7;
    margin-bottom: 36px;
}
.ai-summary-grid {
    display: grid; grid-template-columns: 1fr; gap: 14px;
    position: relative; z-index: 1;
}
.ai-summary-grid div {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: rgba(4, 7, 6, .35);
    transition: border-color var(--t), transform var(--t);
}
.ai-summary-grid div:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.ai-summary-grid strong {
    display: block;
    font-family: var(--font-mono);
    font-size: .68rem; font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.ai-summary-grid span {
    display: block;
    color: var(--text-muted);
    font-size: .92rem; line-height: 1.55;
}

/* ── About ───────────────────────────────────────────────────────────────── */

.about-content {
    display: grid; grid-template-columns: 1fr;
    gap: 44px;
    align-items: start;
}
.about-left {
    display: flex; flex-direction: column; gap: 28px;
    align-items: center; text-align: center;
}
.about-photo-wrap {
    position: relative;
    width: 100%; max-width: 280px;
    border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-1);
}
.about-photo-wrap::after {
    content: ''; position: absolute; inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .12);
    pointer-events: none;
}
.about-photo {
    width: 100%; height: auto; display: block;
    filter: contrast(1.05);
    transition: transform .6s var(--ease);
}
.about-photo-wrap:hover .about-photo { transform: scale(1.03); }
.about-text {
    color: var(--text-muted);
    font-size: 1rem; line-height: 1.85;
    white-space: pre-line;
    max-width: 560px;
}

.about-highlights {
    display: grid; grid-template-columns: 1fr;
    gap: 16px;
}
.highlight-card { padding: 26px 22px; text-align: center; }
.highlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-1), 0 0 0 1px rgba(52, 211, 153, .06);
}
.highlight-icon {
    width: 50px; height: 50px;
    margin: 0 auto 16px;
    border-radius: var(--r-sm);
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.highlight-icon i, .highlight-icon svg { width: 22px; height: 22px; }
.highlight-card h4 {
    font-family: var(--font-display);
    font-size: 1.02rem; font-weight: 600;
    margin-bottom: 4px;
}
.highlight-card p { color: var(--text-muted); font-size: .85rem; }

/* ── Media spotlight ─────────────────────────────────────────────────────── */

.media-spotlight {
    max-width: 860px; margin: 0 auto;
    text-align: center;
    padding: clamp(38px, 5vw, 68px) clamp(22px, 4vw, 56px);
    background:
        radial-gradient(ellipse 70% 60% at 50% -20%, rgba(16, 185, 129, .1), transparent 60%),
        linear-gradient(180deg, var(--surface-2), var(--surface-1));
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    position: relative; overflow: hidden;
}
.media-spotlight::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.media-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 18px;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-full);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .7rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .16em;
    margin-bottom: 24px;
}
.media-badge-icon { width: 14px; height: 14px; }
.media-title {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    font-weight: 600; line-height: 1.2; letter-spacing: -.025em;
    text-wrap: balance;
    margin-bottom: 16px;
}
.media-description {
    color: var(--text-muted);
    font-size: .98rem; line-height: 1.7;
    max-width: 640px; margin: 0 auto 30px;
}
.media-video { max-width: 640px; margin: 0 auto 30px; }
.media-video .video-card { border: none; background: none; border-radius: var(--r-md); }
.media-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.media-tag {
    padding: 6px 16px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .7rem; font-weight: 500; letter-spacing: .08em;
}

/* ── Videos ──────────────────────────────────────────────────────────────── */

.videos-featured {
    display: grid; grid-template-columns: 1fr; gap: 22px;
    margin-bottom: 22px;
}
.videos-grid {
    display: grid; grid-template-columns: 1fr; gap: 18px;
    margin-bottom: 44px;
}
.video-card { overflow: hidden; }
.video-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-2);
}
.video-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
}
.video-wrapper iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block;
}
.videos-cta { text-align: center; }

/* ── Highlights showcase ─────────────────────────────────────────────────── */

.highlights-grid {
    display: grid; grid-template-columns: 1fr; gap: 26px;
    max-width: 1020px; margin: 0 auto;
}
.highlight-showcase {
    overflow: hidden;
    display: flex; flex-direction: column;
    position: relative;
}
.highlight-showcase::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; z-index: 2;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0; transition: opacity var(--t);
}
.highlight-showcase:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-2);
}
.highlight-showcase:hover::before { opacity: 1; }
.highlight-showcase-img { overflow: hidden; }
.highlight-showcase-img img {
    width: 100%; height: auto; display: block;
    transition: transform .6s var(--ease);
}
.highlight-showcase:hover .highlight-showcase-img img { transform: scale(1.03); }
.highlight-showcase-body {
    flex: 1;
    padding: 26px 28px 30px;
}
.highlight-showcase-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-full);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .66rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .14em;
    margin-bottom: 14px;
}
.highlight-showcase-body h3 {
    font-family: var(--font-display);
    font-size: 1.18rem; font-weight: 600; line-height: 1.3;
    letter-spacing: -.015em;
    margin-bottom: 10px;
}
.highlight-showcase-body p {
    color: var(--text-muted);
    font-size: .9rem; line-height: 1.7;
}

/* ── Companies ───────────────────────────────────────────────────────────── */

.companies-grid {
    display: grid; grid-template-columns: 1fr; gap: 22px;
}
.company-card {
    padding: 34px 26px;
    text-align: center;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.company-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0; transition: opacity var(--t);
}
.company-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-2);
}
.company-card:hover::before { opacity: 1; }

.company-logo-wrap {
    width: 62px; height: 62px;
    margin: 0 auto 18px;
    border-radius: var(--r-md);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    padding: 7px;
}
.company-logo-dark { background: #0c0c0c; }
.company-logo-icon { background: var(--accent-soft); border-color: var(--border-accent); }
.company-logo { width: 100%; height: 100%; object-fit: contain; }
.company-logo-placeholder { width: 28px; height: 28px; color: var(--accent); }

.company-card h3 {
    font-family: var(--font-display);
    font-size: 1.18rem; font-weight: 600;
    margin-bottom: 5px;
}
.company-role {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .72rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .1em;
    margin-bottom: 14px;
}
.company-desc {
    color: var(--text-muted);
    font-size: .88rem; line-height: 1.65;
    margin-bottom: 16px;
}
.company-highlight {
    padding: 11px 16px;
    background: var(--accent-softer);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text-muted);
    font-size: .78rem; font-weight: 500;
    margin-bottom: 16px;
}
.company-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    margin-top: auto;
    color: var(--accent);
    text-decoration: none;
    font-size: .85rem; font-weight: 600;
    transition: color var(--t-fast), gap var(--t-fast);
}
.company-link:hover { color: var(--text); gap: 8px; }

/* ── Achievements timeline ───────────────────────────────────────────────── */

.achievements-timeline {
    max-width: 860px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 14px;
}
.achievement-item {
    display: flex; align-items: center; gap: 18px;
    padding: 20px 24px;
}
.achievement-item:hover {
    transform: translateX(6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-1);
}
.achievement-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 1.45rem;
}
.achievement-content { flex: 1; min-width: 0; }
.achievement-content h4 {
    font-family: var(--font-display);
    font-size: .98rem; font-weight: 600;
    margin-bottom: 3px;
}
.achievement-content p { color: var(--text-muted); font-size: .83rem; line-height: 1.5; }
.achievement-year {
    flex-shrink: 0;
    padding: 6px 14px;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-full);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .72rem; font-weight: 600; letter-spacing: .06em;
}
.achievement-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 9px;
    color: var(--accent);
    text-decoration: none;
    font-size: .8rem; font-weight: 600;
    transition: color var(--t-fast);
}
.achievement-link:hover { color: var(--text); }

/* ── Testimonials carousel ───────────────────────────────────────────────── */

.testimonials-grid {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.carousel-track {
    display: flex; gap: 22px;
    width: max-content;
    animation: marquee 100s linear infinite;
}
.testimonial-card {
    position: relative;
    flex-shrink: 0;
    width: min(360px, 82vw);
    padding: 30px 28px;
    display: flex; flex-direction: column;
    border-radius: var(--r-lg);
}
.testimonial-card::before {
    content: '\201C';
    position: absolute; top: 10px; right: 22px;
    font-family: var(--font-display);
    font-size: 4.4rem; font-weight: 700; line-height: 1;
    color: var(--accent); opacity: .16;
    pointer-events: none;
}
.testimonial-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-1);
}
.testimonial-text {
    flex: 1;
    color: var(--text-muted);
    font-size: .87rem; line-height: 1.75;
    font-style: italic;
    margin-bottom: 22px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.testimonial-info h5 {
    font-family: var(--font-display);
    font-size: .85rem; font-weight: 600;
    margin-bottom: 2px;
}
.testimonial-info p { font-size: .72rem; color: var(--text-dim); }
.testimonial-source {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: .72rem; font-weight: 600;
    transition: color var(--t-fast);
}
.testimonial-source:hover { color: var(--accent); }

/* ── Newsletter ──────────────────────────────────────────────────────────── */

.newsletter-content {
    max-width: 920px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center;
    gap: 26px; text-align: center;
    padding: clamp(38px, 5vw, 60px) clamp(24px, 4vw, 56px);
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(16, 185, 129, .12), transparent 60%),
        linear-gradient(180deg, var(--surface-2), var(--surface-1));
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    position: relative; overflow: hidden;
}
.newsletter-content::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.newsletter-icon {
    flex-shrink: 0;
    width: 62px; height: 62px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.newsletter-icon i, .newsletter-icon svg { width: 26px; height: 26px; }
.newsletter-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    font-weight: 600; letter-spacing: -.02em;
    margin-bottom: 10px;
}
.newsletter-text p {
    color: var(--text-muted);
    font-size: .93rem; line-height: 1.65;
    max-width: 520px;
}

/* ── Consulting ──────────────────────────────────────────────────────────── */

.consulting-content { max-width: 940px; margin: 0 auto; text-align: center; }
.consulting-desc {
    color: var(--text-muted);
    font-size: 1.02rem; line-height: 1.75;
    max-width: 760px; margin: 0 auto 42px;
}
.services-grid {
    display: grid; grid-template-columns: 1fr; gap: 16px;
    margin-bottom: 44px;
}
.service-card {
    padding: 26px 22px;
    text-align: center;
    font-size: .9rem; line-height: 1.55;
    color: var(--text-muted);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    color: var(--text);
    box-shadow: var(--shadow-1);
}
.consulting-cta { margin-top: 8px; }

/* ── Contact ─────────────────────────────────────────────────────────────── */

.contact-grid {
    display: grid; grid-template-columns: 1fr; gap: 26px;
}
.booking-cta-container {
    padding: clamp(36px, 4vw, 52px) clamp(24px, 3vw, 44px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    position: relative; overflow: hidden;
}
.booking-cta-container::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.booking-cta-icon {
    width: 64px; height: 64px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}
.booking-cta-icon i, .booking-cta-icon svg { width: 28px; height: 28px; }
.booking-cta-container h3 {
    font-family: var(--font-display);
    font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em;
    margin-bottom: 12px;
}
.booking-cta-container p {
    color: var(--text-muted);
    font-size: .93rem; line-height: 1.7;
    max-width: 420px;
    margin-bottom: 30px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { padding: 28px; }
.contact-card h4 {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 600;
    margin-bottom: 18px;
}
.contact-card-icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.contact-links { display: flex; flex-direction: column; gap: 6px; }
.contact-links a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-size: .9rem;
    transition: var(--t-fast);
}
.contact-links a:hover {
    color: var(--accent);
    background: var(--accent-softer);
}
.contact-link-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-dim); transition: color var(--t-fast); }
.contact-links a:hover .contact-link-icon { color: var(--accent); }
.contact-newsletter-desc { color: var(--text-muted); font-size: .86rem; line-height: 1.6; }
.contact-newsletter-btn { margin-top: 16px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer {
    padding: 42px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-0);
}
.footer-content {
    display: flex; flex-direction: column; align-items: center;
    gap: 20px; text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-avatar {
    width: 34px; height: 34px;
    border-radius: 50%; object-fit: cover;
    border: 1px solid var(--border-strong);
    opacity: .85;
}
.footer p { color: var(--text-dim); font-size: .82rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: .82rem; font-weight: 500;
    transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--accent); }

/* ── Chat widget ─────────────────────────────────────────────────────────── */

.chat-widget {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 9999;
}

.chat-toggle {
    position: relative; z-index: 2;
    width: 58px; height: 58px;
    border-radius: 50%;
    border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: var(--accent-ink);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-accent);
    transition: transform var(--t), box-shadow var(--t);
}
.chat-toggle::after {
    content: '';
    position: absolute; inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(52, 211, 153, .45);
    animation: ringPulse 2.6s ease-out infinite;
    pointer-events: none;
}
@keyframes ringPulse {
    0% { transform: scale(.85); opacity: 1; }
    70%, 100% { transform: scale(1.25); opacity: 0; }
}
.chat-toggle:hover { transform: scale(1.07); box-shadow: var(--shadow-accent-lg); }
.chat-toggle .chat-icon, .chat-toggle .chat-close { display: flex; }
.chat-toggle .chat-icon i, .chat-toggle .chat-icon svg,
.chat-toggle .chat-close i, .chat-toggle .chat-close svg { width: 24px; height: 24px; }
.chat-toggle .chat-close { display: none; }
.chat-widget.open .chat-toggle { animation: none; }
.chat-widget.open .chat-toggle::after { animation: none; opacity: 0; }
.chat-widget.open .chat-toggle .chat-icon { display: none; }
.chat-widget.open .chat-toggle .chat-close { display: flex; }
/* Mobile: chat is full-screen, so the floating toggle would cover the send
   button — hide it (the header minimize button and Escape close the chat). */
.chat-widget.open .chat-toggle { display: none; }

/* Mobile: full-screen sheet */
.chat-window {
    display: none;
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column;
    background: rgba(7, 10, 9, .98);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}
.chat-widget.open .chat-window {
    display: flex;
    animation: chatIn .3s var(--ease);
}
@keyframes chatIn {
    from { opacity: 0; transform: translateY(18px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(16, 185, 129, .14), rgba(16, 185, 129, .02));
}
.chat-header-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chat-avatar {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--accent-ink);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(16, 185, 129, .35);
}
.chat-header h4 {
    font-family: var(--font-display);
    font-size: .92rem; font-weight: 600;
    color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-status {
    display: inline-flex; align-items: center;
    font-size: .72rem; color: var(--text-dim);
}
.chat-status::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--online);
    box-shadow: 0 0 8px var(--online);
    margin-right: 6px;
    animation: pulse 2s ease-in-out infinite;
}
.chat-minimize {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--t-fast);
}
.chat-minimize:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }

.chat-messages {
    flex: 1; min-height: 0;
    overflow-y: auto;
    padding: 18px;
    display: flex; flex-direction: column; gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-3) transparent;
}
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

.chat-msg { display: flex; flex-direction: column; animation: msgIn .3s var(--ease) both; }
@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-msg .msg-content {
    max-width: 86%;
    padding: 12px 16px;
    font-size: .875rem; line-height: 1.6;
    word-wrap: break-word;
}
.chat-msg.bot .msg-content {
    align-self: flex-start;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md) var(--r-md) var(--r-md) var(--space-1);
    color: #dde6e1;
}
.chat-msg.user { align-items: flex-end; }
.chat-msg.user .msg-content {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-radius: var(--r-md) var(--r-md) var(--space-1) var(--r-md);
    color: var(--accent-ink);
    font-weight: 500;
    box-shadow: 0 6px 20px rgba(16, 185, 129, .22);
}
.chat-msg .msg-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all;
}
.chat-msg .msg-content a:hover { color: var(--text); }
.chat-msg.user .msg-content a { color: var(--accent-ink); }
.chat-msg .msg-content strong { color: inherit; }

/* Typing indicator */
.typing-indicator {
    display: flex; align-items: center; gap: 5px;
    padding: 14px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md) var(--r-md) var(--r-md) var(--space-1);
}
.typing-indicator span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: typingBounce 1s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: .15s; }
.typing-indicator span:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.chat-input-area {
    display: flex; gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: rgba(7, 10, 9, .6);
}
.chat-input-area input {
    flex: 1; min-width: 0;
    padding: 13px 18px;
    background: var(--surface-1);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-full);
    color: var(--text);
    font-family: var(--font-body);
    font-size: .9rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.chat-input-area input::placeholder { color: var(--text-dim); }
.chat-input-area input:focus {
    outline: none;
    border-color: var(--border-accent);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, .14);
}
.chat-send {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border: none; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--accent-ink);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.chat-send:hover { transform: scale(1.07); box-shadow: var(--shadow-accent); }

.chat-attach {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border: 1px solid var(--border-strong); border-radius: 50%;
    background: var(--surface-1);
    color: var(--text-dim);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.chat-attach:hover { color: var(--accent); border-color: var(--border-accent); transform: scale(1.07); }
.chat-attach:disabled { opacity: .5; cursor: default; transform: none; }
.chat-input-area input[hidden] { display: none; }

/* ── Back to top ─────────────────────────────────────────────────────────── */

.back-to-top {
    position: fixed;
    bottom: 20px; left: 20px;
    z-index: 9998;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(10, 14, 12, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transform: translateY(12px);
    transition: var(--t);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
    color: var(--accent);
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
}

/* ── Page scrollbar ──────────────────────────────────────────────────────── */

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: 5px;
    border: 2px solid var(--bg-0);
}
::-webkit-scrollbar-thumb:hover { background: rgba(52, 211, 153, .4); }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* Staggered children once the section reveals */
.animate-in.visible .highlight-card,
.animate-in.visible .company-card,
.animate-in.visible .service-card,
.animate-in.visible .highlight-showcase,
.animate-in.visible .achievement-item {
    opacity: 0;
    animation: staggerFadeIn .55s var(--ease) forwards;
}
.animate-in.visible .highlight-card:nth-child(1),
.animate-in.visible .company-card:nth-child(1),
.animate-in.visible .service-card:nth-child(1),
.animate-in.visible .highlight-showcase:nth-child(1),
.animate-in.visible .achievement-item:nth-child(1) { animation-delay: .08s; }
.animate-in.visible .highlight-card:nth-child(2),
.animate-in.visible .company-card:nth-child(2),
.animate-in.visible .service-card:nth-child(2),
.animate-in.visible .highlight-showcase:nth-child(2),
.animate-in.visible .achievement-item:nth-child(2) { animation-delay: .16s; }
.animate-in.visible .highlight-card:nth-child(3),
.animate-in.visible .company-card:nth-child(3),
.animate-in.visible .service-card:nth-child(3),
.animate-in.visible .achievement-item:nth-child(3) { animation-delay: .24s; }
.animate-in.visible .highlight-card:nth-child(4),
.animate-in.visible .service-card:nth-child(4),
.animate-in.visible .achievement-item:nth-child(4) { animation-delay: .32s; }
.animate-in.visible .achievement-item:nth-child(5) { animation-delay: .40s; }
.animate-in.visible .achievement-item:nth-child(6) { animation-delay: .48s; }
.animate-in.visible .achievement-item:nth-child(7) { animation-delay: .56s; }
.animate-in.visible .achievement-item:nth-child(8) { animation-delay: .64s; }
.animate-in.visible .achievement-item:nth-child(9) { animation-delay: .72s; }
.animate-in.visible .achievement-item:nth-child(n+10) { animation-delay: .8s; }
@keyframes staggerFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive — min-width enhancements (mobile-first)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 480px) {
    .hero-stats { gap: 16px; }
    .about-highlights { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 640px) {
    .hero-stats { grid-template-columns: repeat(4, 1fr); }
    .videos-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-summary-grid { grid-template-columns: repeat(2, 1fr); }

    /* Chat becomes a floating window */
    .chat-widget { bottom: 24px; right: 24px; }
    .chat-widget.open .chat-toggle { display: flex; }
    .chat-window {
        position: absolute; inset: auto;
        bottom: 74px; right: 0;
        width: 400px; max-width: calc(100vw - 40px);
        height: min(600px, calc(100dvh - 130px));
        border: 1px solid var(--border-strong);
        border-radius: var(--r-lg);
        overflow: hidden;
        background: rgba(8, 12, 10, .94);
        box-shadow: var(--shadow-2), 0 0 80px rgba(16, 185, 129, .08);
        transform-origin: bottom right;
    }
    .chat-widget.open .chat-window { animation: chatPop .28s var(--ease); }
    @keyframes chatPop {
        from { opacity: 0; transform: translateY(14px) scale(.96); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .back-to-top { bottom: 24px; left: 24px; }
}

@media (min-width: 768px) {
    .videos-featured { grid-template-columns: repeat(2, 1fr); }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .companies-grid { grid-template-columns: repeat(2, 1fr); }
    .company-card:last-child { grid-column: 1 / -1; max-width: 480px; margin-inline: auto; width: 100%; }

    .newsletter-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .newsletter-text p { max-width: 460px; }

    .footer-content { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
    .hero-content { grid-template-columns: 1.05fr .95fr; gap: 48px; }
    .hero-text { text-align: left; }
    .hero-subtitle, .hero-description, .hero-stats { margin-inline: 0; }
    .hero-cta, .hero-social { justify-content: flex-start; }
    .hero-photo-container { max-width: none; }
    .hero-photo { max-height: 560px; }

    .about-content { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; }
    .about-left { align-items: flex-start; text-align: left; }
    .about-highlights { grid-template-columns: repeat(2, 1fr); }

    .companies-grid { grid-template-columns: repeat(3, 1fr); }
    .company-card:last-child { grid-column: auto; max-width: none; margin-inline: 0; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .videos-grid { grid-template-columns: repeat(4, 1fr); }
    .ai-summary-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-grid { grid-template-columns: 1.05fr .95fr; gap: 32px; }
}

@media (min-width: 1280px) {
    :root { --container: 1280px; }
}

/* ── Nav drawer (tablet & mobile) ────────────────────────────────────────── */

@media (max-width: 1023px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        z-index: 1001;
        width: min(360px, 86vw);
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        padding: 96px 28px 32px;
        background: rgba(8, 12, 10, .97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid var(--border);
        transform: translateX(103%);
        transition: transform .38s var(--ease);
        overflow-y: auto;
    }
    .nav-links.active {
        transform: translateX(0);
        box-shadow: -32px 0 80px rgba(0, 0, 0, .55);
    }
    .nav-links a {
        font-size: 1.02rem;
        padding: 14px 4px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a::after { display: none; }
    .nav-links a:hover, .nav-links a.active { color: var(--accent); }
    .lang-toggle { align-self: flex-start; margin-top: 18px; }
}

/* ── Small screens polish ────────────────────────────────────────────────── */

@media (max-width: 767px) {
    html { scroll-padding-top: 80px; }

    .hero { padding: 116px 0 64px; min-height: auto; }
    .hero-content { gap: 48px; }

    .stat { padding: 15px 10px 13px; }

    .achievement-item { padding: 17px 18px; gap: 14px; flex-wrap: wrap; }
    .achievement-icon { width: 42px; height: 42px; font-size: 1.25rem; }
    .achievement-year { margin-left: 56px; }

    .clients-track { gap: 40px; }
    .carousel-track { gap: 16px; }
}

@media (max-width: 479px) {
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .btn { padding: 14px 24px; }
    .clients-track { gap: 32px; }
    .client-logo-item { font-size: .92rem; }
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
    .animate-in { opacity: 1; transform: none; }
    .clients-track, .carousel-track { animation: none; }
    .hero-text > * { animation: none; }
}
