/* =========================================
   SPRINGHIVE2 - DUNA.COM INSPIRED AESTHETIC
   ========================================= */

html {
    scroll-behavior: smooth;
}

:root {
    /* Colors - Light Theme (Default) */
    --bg-main: #fafafa;
    --bg-alt: #f1f1f1;
    --bg-card: #ffffff;
    --text-main: #111111;
    --text-muted: #666666;
    --border-color: #dddddd;
    --accent: #000000;
    --accent-hover: #333333;

    /* Service Pillar Color (overridden per hub page) */
    --pillar-color: #000000;
    --pillar-color-dim: rgba(0,0,0,0.08);
    --pillar-color-glow: rgba(0,0,0,0.15);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-pad: 8rem 2rem;
    --container-max: 1200px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Service Pillar Themes ── */
[data-service="web-design"] {
    --pillar-color: #7c5af5;
    --pillar-color-dim: rgba(124,90,245,0.1);
    --pillar-color-glow: rgba(124,90,245,0.2);
}
[data-service="seo"] {
    --pillar-color: #d44df0;
    --pillar-color-dim: rgba(212,77,240,0.1);
    --pillar-color-glow: rgba(212,77,240,0.2);
}
[data-service="marketing"] {
    --pillar-color: #ff7a3d;
    --pillar-color-dim: rgba(255,122,61,0.1);
    --pillar-color-glow: rgba(255,122,61,0.2);
}
[data-service="branding"] {
    --pillar-color: #00c9a7;
    --pillar-color-dim: rgba(0,201,167,0.1);
    --pillar-color-glow: rgba(0,201,167,0.2);
}

/* Dark Theme Toggle */
body.dark-theme {
    --bg-main: #0d0d0d;
    --bg-alt: #161616;
    --bg-card: #1c1c1c;
    --text-main: #ffffff;
    --text-muted: #999999;
    --border-color: #2a2a2a;
    --accent: #ffffff;
    --accent-hover: #cccccc;
}
body:not(.dark-theme) .hero-bg-noise {
    opacity: 0.05;
}

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

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

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

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

.mono {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.5rem; }

.eyebrow {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.mono-dot {
    color: var(--text-muted);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-main);
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent);
}

.large {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
}

.w-100 { width: 100%; }

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo {
    height: 24px;
    width: auto;
}

/* Default (no theme class) = light mode */
.logo-dark  { display: none; }
.logo-light { display: block; }

body.dark-theme .logo-light { display: none; }
body.dark-theme .logo-dark  { display: block; }

body.light-theme .logo-dark  { display: none; }
body.light-theme .logo-light { display: block; }

.brand.large {
    font-size: 2rem;
}

.brand.large .brand-logo {
    height: 43px;
}

.footer-brand-col .brand {
    margin-left: -30px;
    margin-bottom: 1rem;
    display: inline-flex;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* ── Nav Dropdown ── */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    white-space: nowrap;
}

.nav-dropdown-trigger svg {
    transition: transform 0.25s ease;
    opacity: 0.6;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
    opacity: 1;
}

/* The dropdown panel */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.5rem;
    min-width: 230px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 200;
}

/* Invisible bridge to prevent hover loss when moving mouse down */
.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -2rem;
    left: 0;
    width: 100%;
    height: 2rem;
}

body.light-theme .nav-dropdown-menu {
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ── MEGA MENU ───────────────────────────── */
.nav-mega {
    position: static;
}

.nav-mega-panel {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    padding: 2.5rem 2rem;
    z-index: 9999;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

body.light-theme .nav-mega-panel {
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}

.nav-mega:hover .nav-mega-panel {
    display: grid;
}

/* Invisible bridge for mega menu to prevent hover loss */
.nav-mega-panel::after {
    content: '';
    position: absolute;
    top: -2.5rem;
    left: 0;
    width: 100%;
    height: 2.5rem;
}

.mega-col {
    padding: 0 2rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.mega-col:first-child { padding-left: 0; }
.mega-col:last-child  { padding-right: 0; border-right: none; }

.mega-col-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: block;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.4rem 0;
    border-radius: 6px;
    transition: color 0.15s, transform 0.15s;
    font-weight: 400;
}

.mega-item svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color 0.15s;
}

.mega-item:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.mega-item:hover svg {
    color: var(--accent);
}

/* Inner container to center content */
.nav-mega-panel > .mega-col {
    max-width: var(--container-max);
}

/* Show on hover */

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Wider variant for Services (more items) */
.nav-dropdown-menu--wide {
    min-width: 280px;
}

/* Tiny arrow pointing up */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

/* Each dropdown item */
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-main) !important;
    transition: background 0.15s ease;
}

.nav-dropdown-item:hover {
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    color: var(--text-main) !important;
}

.ndi-icon {
    font-size: 1rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: 8px;
    color: var(--text-muted);
    transition: color 0.15s ease;
}

.nav-dropdown-item:hover .ndi-icon {
    color: var(--accent);
}

.ndi-icon svg {
    width: 16px;
    height: 16px;
}

.nav-dropdown-item span:not(.ndi-icon) {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ndi-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

.ndi-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
    font-weight: 400;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}
.theme-toggle:hover {
    color: var(--text-main);
}

/* =========================================
   LAYOUT & SECTIONS
   ========================================= */
section {
    padding: var(--section-pad);
    max-width: var(--container-max);
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
}

.section-header.center {
    text-align: center;
    margin: 0 auto 4rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* HERO */
.hero {
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    border-bottom: none;
    position: relative;
    align-items: center;
    justify-content: center;
}

/* — Slides viewport — */
.hero-slides-viewport {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 14vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 340px;
}

.hero-slide {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(60px);
    pointer-events: none;
    transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.hero-slide.leaving {
    opacity: 0;
    transform: translateY(-50px);
    position: absolute;
    pointer-events: none;
}

/* — Dot indicators — */
.hero-dots {
    position: relative;
    z-index: 3;
    display: flex;
    gap: .5rem;
    margin-top: 2rem;
    justify-content: center;
}

.hero-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(120,120,120,.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .3s, width .4s;
}

.hero-dot.active {
    width: 48px;
    background: var(--text-main);
}

/* — Trust bar wrap — */
.hero-trust-wrap {
    position: relative;
    z-index: 3;
    margin-top: 1.5rem;
}

/* — Static CTA below slider — */
.hero-cta-static {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 3;
    margin-top: 2rem;
}


.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.hero-image-wrapper img.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.hero-bg-light { opacity: 0; }
body.light-theme .hero-bg-light { opacity: 1; }
body.light-theme .hero-bg-dark { opacity: 0; }

.hero-fade-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, var(--bg-main) 80%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    margin-top: 8rem;
    text-align: center;
}

.hero-content.center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.4rem, 6vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.05;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero-line {
    display: block;
    white-space: nowrap;
}

.hero-line:first-child {
    font-size: 0.72em;
    opacity: 0.85;
}

.text-gradient {
    background: linear-gradient(135deg, #A78BFA 0%, #d44df0 50%, #ff7a3d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255,255,255, 0.3);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-main);
}
body.light-theme .hero-badge {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0,0,0, 0.15);
}

.highlight {
    color: var(--text-muted);
    font-style: italic;
    font-family: 'Times New Roman', Times, serif; 
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    text-align: center;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}
.hero-cta.center {
    justify-content: center;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--text-muted);
    padding: .5rem 1.2rem;
    white-space: nowrap;
}

.trust-item svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.trust-sep {
    display: none;
}




/* =========================================
   SECOND HERO — SEO IMPACT SECTION
   ========================================= */
.hero2-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #05040d;
    padding: 8rem 2rem;
    box-sizing: border-box;
}

/* — Background — */
.hero2-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.h2-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: h2OrbFloat 8s ease-in-out infinite;
}

.h2-orb1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(124,90,245,.45) 0%, transparent 70%);
    top: -10%; left: -8%;
    animation-delay: 0s;
}
.h2-orb2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(212,77,240,.3) 0%, transparent 70%);
    bottom: -5%; right: -5%;
    animation-delay: -3s;
}
.h2-orb3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,201,167,.2) 0%, transparent 70%);
    top: 40%; left: 55%;
    animation-delay: -5s;
}

@keyframes h2OrbFloat {
    0%   { transform: translate(0, 0) scale(1);   opacity: 0.7; }
    33%  { transform: translate(30px, -20px) scale(1.05); opacity: 0.9; }
    66%  { transform: translate(-15px, 25px) scale(.97); opacity: 0.75; }
    100% { transform: translate(0, 0) scale(1);   opacity: 0.7; }
}

/* Subtle dot grid */
.h2-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
}

/* — Content — */
.hero2-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.hero2-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 100px;
    padding: .4rem 1rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.hero2-badge.h2-visible {
    opacity: 1;
    transform: translateY(0);
}

.h2-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #7c5af5;
    box-shadow: 0 0 8px #7c5af5;
    animation: h2Pulse 2s ease-in-out infinite;
}

@keyframes h2Pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.7); }
}

/* — Headline — */
.hero2-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .25em 0;
}

.h2w {
    display: inline-block;
    margin-right: .28em;
    opacity: 0;
    transform: translateY(40px) rotateX(-20deg);
    transition: opacity .5s ease, transform .5s ease;
    transform-origin: bottom center;
}

.h2w.h2-visible {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.h2w-accent {
    background: linear-gradient(135deg, #a78bfa 0%, #d44df0 60%, #ff7a3d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.h2w-break {
    opacity: 0;
    color: rgba(255,255,255,.3);
    margin-right: .28em;
    transition: opacity .5s ease, transform .5s ease;
    transform: translateY(40px);
}
.h2w-break.h2-visible {
    opacity: 1;
    transform: translateY(0);
}

/* break line to new row */
.h2w-break::before {
    content: '';
    display: block;
    width: 100%;
}

/* — Supporting text — */
.hero2-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.45);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease .4s, transform .6s ease .4s;
}

.hero2-sub.h2-visible {
    opacity: 1;
    transform: translateY(0);
}

/* — CTA link — */
.hero2-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 100px;
    padding: .7rem 1.6rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease .55s, transform .5s ease .55s, background .3s, border-color .3s, gap .3s;
}

.hero2-cta.h2-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero2-cta:hover {
    background: rgba(124,90,245,.15);
    border-color: rgba(124,90,245,.5);
    gap: .8rem;
}

/* — Floating stat pills — */
.h2-stat {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 1rem 1.4rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3;
    opacity: 0;
    transition: opacity .6s ease, transform .6s ease;
    animation: h2StatFloat 6s ease-in-out infinite;
}

.h2-stat.h2-visible { opacity: 1; }

.h2-stat-n {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.h2-stat-l {
    font-size: .65rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    white-space: nowrap;
}

.h2-stat1 { top: 15%; left: 6%; animation-delay: 0s; }
.h2-stat2 { top: 55%; right: 7%; animation-delay: -2s; }
.h2-stat3 { bottom: 15%; left: 10%; animation-delay: -4s; }

@keyframes h2StatFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* light theme overrides */
body.light-theme .hero2-section { background: #f0eeff; }
body.light-theme .hero2-title { color: #0d0a1a; }
body.light-theme .h2-grid { background-image: radial-gradient(rgba(0,0,0,.08) 1px, transparent 1px); }
body.light-theme .hero2-badge { color: rgba(0,0,0,.5); border-color: rgba(0,0,0,.1); }
body.light-theme .hero2-sub { color: rgba(0,0,0,.5); }
body.light-theme .hero2-cta { color: #0d0a1a; border-color: rgba(0,0,0,.15); }
body.light-theme .h2-stat { background: rgba(255,255,255,.7); border-color: rgba(0,0,0,.08); }
body.light-theme .h2-stat-n { color: #0d0a1a; }

@media (max-width: 768px) {
    .h2-stat { display: none; }
    .hero2-title { font-size: clamp(2rem, 8vw, 3rem); }
}

/* FEATURES GRID */
.features { border-top: 1px solid var(--border-color); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-card h3 {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1.125rem;
}

/* =============================================
   EXPERTISE BENTO — Animated premium grid
   ============================================= */
/* =========================================
   EXPERTISE SECTION – DUNA EDITORIAL STYLE
   ========================================= */
.exp-section {
    padding: 8rem 2rem;
    background: var(--bg-main);
}

.exp-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Bold headline */
.exp-headline {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.5rem, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text-main);
    margin: 0 0 1.5rem;
}
.exp-subtext {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 0 3.5rem;
}
.exp-headline em {
    font-style: normal;
    background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats row — inline large numbers */
.exp-stats {
    display: flex;
    gap: 5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.exp-stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.exp-stat-num {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-main);
    line-height: 1;
}

.exp-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Thin horizontal divider */
.exp-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 3.5rem;
}

/* 3 feature columns */
.exp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.exp-feat {
    padding: 0 3rem 0 0;
    border-right: 1px solid var(--border-color);
}

.exp-feat:first-child { padding-left: 0; }
.exp-feat:last-child  { padding-right: 0; border-right: none; }
.exp-feat:not(:first-child) { padding-left: 3rem; }

/* Icon box */
.exp-feat-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.exp-feat-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.exp-feat-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 860px) {
    .exp-stats { gap: 3rem; }
    .exp-features {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .exp-feat {
        padding: 0 0 2.5rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .exp-feat:last-child { border-bottom: none; padding-bottom: 0; }
    .exp-feat:not(:first-child) { padding-left: 0; }
}

/* SERVICES LIST */
.services-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.service-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.service-body h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-body p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
}


/* DOMINATE SECTION — Nature background */
.dominate-section {
    position: relative;
    overflow: hidden;
}

.dominate-nature-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.dominate-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.5s ease;
}

.dominate-bg-dark  { opacity: 0.55; }
.dominate-bg-light { opacity: 0; }
body.light-theme .dominate-bg-dark  { opacity: 0; }
body.light-theme .dominate-bg-light { opacity: 0.6; }

.dominate-fade-top,
.dominate-fade-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 220px;
    pointer-events: none;
}

.dominate-fade-top {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-main), transparent);
}

.dominate-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-main), transparent);
}

/* Ensure content sits above the bg */
.dominate-section > *:not(.dominate-nature-bg) {
    position: relative;
    z-index: 1;
}

/* =========================================
   PRICING – EDITORIAL MINIMAL (Option 2)
   ========================================= */
.pricing-section {
    padding: 8rem 2rem 6rem;
    background: var(--bg-main);
    text-align: center;
}

.pricing-header-wrap {
    max-width: 580px;
    margin: 0 auto 6rem;
}

.pricing-header-wrap h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0.5rem 0 1rem;
}

.pricing-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* 3-column layout — no backgrounds, separated by hairline borders */
.pricing-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--container-max);
    margin: 0 auto 4rem;
    text-align: left;
}

/* Each column */
.pcol {
    padding: 0 3.5rem 3rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.pcol:first-child { padding-left: 0; }
.pcol:last-child  { padding-right: 0; border-right: none; }

/* Top row: badge above name, stacked vertically */
.pcol-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    min-height: 3.5rem;
}

.pcol-name {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    line-height: 1.3;
}

.pcol-popular {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    order: -1;
}

/* "Starting at" label */
.pcol-starting {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 0.1rem;
    display: block;
}

/* "One-time fee" badge */
.pcol-billing {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 100px;
    padding: 0.25rem 0.65rem;
    margin-bottom: 1.25rem;
}

.pcol-billing::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #16a34a;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Featured column variant */
.pcol-billing--feat {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
}

.pcol-billing--feat::before {
    background: #22c55e;
}

/* Giant price */
.pcol-price-row {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
    margin-bottom: 1.25rem;
    line-height: 1;
}

.pcol-dollar {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    padding-top: 0.6rem;
}

.pcol-amount {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(4rem, 7vw, 6rem);
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.pcol-plus {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    padding-top: 3.2rem;
    letter-spacing: 0;
}

/* Featured column gradient price */
.pcol-dollar--grad,
.pcol-amount--grad {
    background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.pcol-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 2rem;
}

/* Thin hairline divider */
.pcol .pc-divider {
    display: none; /* using column borders instead */
}

/* Feature list — no icons, just clean text */
.pcol-features {
    list-style: none;
    margin: 0 0 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pcol-features li {
    font-size: 0.875rem;
    color: var(--text-main);
    line-height: 1.4;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pcol-features li::before {
    content: '–';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.pcol-features li.pcol-dim {
    color: var(--text-muted);
    opacity: 0.4;
}

.pcol-features li.pcol-dim::before {
    content: '–';
    color: var(--text-muted);
}

/* CTA link */
.pcol-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    background: var(--border-color);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
    margin-top: auto;
}

body.light-theme .pcol-cta {
    background: rgba(0,0,0,0.06);
}

.pcol-cta:hover {
    background: var(--text-main);
    color: var(--bg-main);
    transform: translateX(3px);
}

/* Featured CTA — solid accent, always visible */
.pcol-cta--featured {
    background: var(--text-main);
    color: var(--bg-main);
}

.pcol-cta--featured:hover {
    background: var(--accent-hover, #cccccc);
    color: var(--bg-main);
    transform: translateX(3px);
}

body.light-theme .pcol-cta--featured {
    background: #111;
    color: #fff;
}

body.light-theme .pcol-cta--featured:hover {
    background: #333;
    color: #fff;
}

/* Bottom note */
.pricing-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.pricing-note-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.pricing-note-link:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 960px) {
    .pricing-cols {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .pcol {
        padding: 2.5rem 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .pcol:last-child { border-bottom: none; }
    .pcol-amount { font-size: 5rem; }
}

/* MARQUEE */
.marquee-section { border-bottom: none; padding-bottom: 0; }
.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 4rem;
    min-width: 100%;
    animation: scroll 20s linear infinite;
}

.marquee-content span {
    font-size: 0.82rem;
    color: var(--text-main);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 2rem)); }
}

/* =========================================
   TESTIMONIALS – DUAL-ROW ANIMATED MARQUEE
   ========================================= */
.testi-section {
    padding: 8rem 0 3rem;
    background: var(--bg-main);
    overflow: hidden;
    border-bottom: none;
}

.testi-header {
    max-width: var(--container-max);
    margin: 0 auto 5rem;
    padding: 0 2rem;
    text-align: center;
}

.testi-header h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0.5rem 0 1rem;
}

.testi-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Track wrapper — clips and fades edges */
.testi-track-wrap {
    overflow: hidden;
    margin-bottom: 1.25rem;
    /* Vertical padding lets hovered cards lift without being clipped */
    padding-top: 12px;
    padding-bottom: 12px;
    margin-top: -12px;
    mask-image: linear-gradient(to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
}

/* The scrolling strip */
.testi-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    will-change: transform;
}

/* Row 1 – scrolls left */
.testi-track--left {
    animation: testi-scroll-left 45s linear infinite;
}

/* Row 2 – scrolls right */
.testi-track--right {
    animation: testi-scroll-right 50s linear infinite;
}

/* Pause on hover */
.testi-track-wrap:hover .testi-track {
    animation-play-state: paused;
}

@keyframes testi-scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes testi-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* Individual card */
.testi-card {
    flex-shrink: 0;
    width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.testi-card:hover {
    transform: translateY(-4px) scale(1.015);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

body.light-theme .testi-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}

/* Alt card — slightly different background */
.testi-card--alt {
    background: var(--bg-alt);
}

.testi-stars {
    color: #F59E0B;
    font-size: 0.9rem;
    letter-spacing: 4px;
}

.testi-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    flex-grow: 1;
}

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

.testi-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testi-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-main);
    margin-bottom: 0.1rem;
}

.testi-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive – slow down on mobile */
@media (max-width: 768px) {
    .testi-card { width: 280px; }
    .testi-track--left  { animation-duration: 30s; }
    .testi-track--right { animation-duration: 35s; }
}


/* FOOTER */
/* =========================================
   FOOTER – CLEAN STRUCTURED
   ========================================= */
.footer {
    padding: 5rem 2rem 2.5rem;
    background: var(--bg-alt);
    background-image: url('../images/footer-bg.png');
    background-size: cover;
    background-position: center bottom;
    border-top: none;
    position: relative;
}

body.dark-theme .footer {
    background-image: url('../images/footer-bg-dark.png');
    background-size: cover;
    background-position: center bottom;
}

body.light-theme .footer {
    background-image: url('../images/footer-bg.png');
}

/* Overlay for readability */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,13,13,0.25) 0%, rgba(13,13,13,0.6) 100%);
    z-index: 0;
    pointer-events: none;
}

body.light-theme .footer::before {
    background: linear-gradient(to bottom, rgba(250,250,250,0.3) 0%, rgba(250,250,250,0.65) 100%);
}

/* Fade from page bg at the top */
.footer::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 180px;
    background: linear-gradient(to bottom, var(--bg-main) 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

/* All content must sit above overlays */
.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 1;
}

/* Main 4-col grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem 2.5rem;
    margin: 0 auto 4rem;
    max-width: var(--container-max);
}

/* Brand col */
.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-brand-col .brand {
    margin-bottom: 1.25rem;
    display: inline-flex;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 1.5rem;
    max-width: 260px;
}

.contact-email {
    font-size: 0.875rem;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.contact-email:hover { color: var(--accent); }

/* Link columns */
.footer-links-col {
    display: flex;
    flex-direction: column;
}

.footer-links-col h4 {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
}

.footer-links-col a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.footer-links-col a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

/* Bottom row */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Locations */
.footer-locations {
    display: flex;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.location h5 {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin: 0 0 0.4rem;
}

.location p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Legal right side */
.footer-legal {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.copyright {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-links {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.legal-links a {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    transition: color 0.2s;
}

.legal-links a:hover { color: var(--text-main); }

/* Responsive */
@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .footer-legal { text-align: left; }
    .legal-links { justify-content: flex-start; }
    .footer-locations { gap: 2rem; }
}





/* --- SPOTLIGHT CARDS --- */
.spotlights {
  padding: 3rem 2rem 5rem;
}
.spotlights-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.spotlight-card {
  border-radius: 20px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}

.spotlight-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}

.sc-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  top: -80px; right: -80px;
  opacity: 0.15;
  transition: opacity 0.6s cubic-bezier(.16, 1, .3, 1), transform 0.6s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}

.spotlight-card:hover .sc-glow {
  opacity: 0.45;
  transform: scale(1.6);
}

.sc-glow-violet  { --glow-color: #7c5af5; }
.sc-glow-magenta { --glow-color: #d44df0; }
.sc-glow-orange  { --glow-color: #ff7a3d; }
.sc-glow-teal    { --glow-color: #00c9a7; }

.sc-content {
  position: relative; z-index: 2;
  padding: 2.2rem 2rem;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.sc-header {
  display: flex; justify-content: space-between; align-items: flex-start;
}

.sc-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}

.sc-arrow {
  color: var(--text-muted);
  transition: color 0.4s, transform 0.4s cubic-bezier(.16, 1, .3, 1);
}

.spotlight-card:hover .sc-arrow {
  color: var(--text-main);
  transform: translate(6px, -6px);
}

.sc-bottom {
  margin-top: 3.5rem;
}

.sc-n {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  line-height: 1.05; letter-spacing: -0.04em;
  margin-bottom: 0.8rem; color: var(--text-main);
}

.sc-desc {
  font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); margin: 0;
}

@media (max-width: 1024px) {
  .spotlights-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .spotlights-inner {
    grid-template-columns: 1fr;
  }
}

/* --- FEATURE BAND --- */
.feature-band-wrapper {
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.feature-band {
  margin: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
  padding: 5rem clamp(2rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.feature-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.12) 0%, transparent 60%);
}
.fb-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.75; margin-bottom: 1rem; color: #ffffff;
}
.fb-h {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -0.04em; margin-bottom: 1rem; color: #ffffff;
}
.fb-p { font-size: 0.95rem; line-height: 1.75; color: rgba(255,255,255,0.82); max-width: 45ch; margin-bottom: 2rem; }
.fb-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-dark {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(0,0,0,0.35); color: #fff;
  font-size: 0.875rem; font-weight: 500;
  padding: 0.7rem 1.5rem; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer; transition: background 0.15s;
  text-decoration: none;
}
.btn-dark:hover { background: rgba(0,0,0,0.5); }
.fb-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.fb-metric {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 1.25rem;
  backdrop-filter: blur(10px);
}
.fb-metric-n {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2rem; font-weight: 800; color: #ffffff;
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.25rem;
}
.fb-metric-l { font-size: 0.75rem; color: rgba(255,255,255,0.75); line-height: 1.4; }

/* --- CTA SECTION --- */
.cta-section {
    text-align: center;
    padding: 6rem 2rem 8rem;
    background: var(--bg-main);
    border-bottom: none;
}
.cta-h {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}
.cta-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 65ch;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.cta-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =========================================
   PAGE HERO — Subpage header banner
   ========================================= */
.page-hero {
    padding: 10rem 2rem 6rem;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}
.page-hero-inner h1 {
    margin-bottom: 1.25rem;
}
.page-hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.page-hero .cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-hero { padding: 8rem 1.25rem 4rem; }
    .page-hero-sub { font-size: 1rem; }
}

/* =========================================
   ANIMATIONS
   ========================================= */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Cap cards & process cards use JS-driven animation on desktop.
   Prevent scroll-reveal from hiding them there.
   NOTE: Do NOT override transform here — JS sets it via inline style. */
@media (min-width: 769px) {
    .cap-card.scroll-reveal,
    .pc-card.scroll-reveal {
        opacity: 1 !important;
    }
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: 1fr; gap: 2rem; }
    .service-item { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
    .pricing-grid { grid-template-columns: 1fr; }
    .testimoials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .footer-legal { text-align: left; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-locations { flex-direction: column; gap: 2rem; }
}


/* =========================================
   CAPABILITIES SECTION
   ========================================= */

.cap-section {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cap-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 8rem 2rem;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 6rem;
    align-items: start;
}

/* LEFT: sticky panel */
.cap-left {
    position: sticky;
    top: 100px;
}

.cap-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: .4rem 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cap-heading {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.5rem, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.0;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.cap-em {
    font-style: normal;
    background: linear-gradient(135deg, #A78BFA 0%, #d44df0 50%, #ff7a3d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cap-desc {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 34ch;
}

.cap-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.cap-nav-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color .35s ease;
    padding: .2rem 0;
}

.cap-nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-color);
    transition: background .35s, transform .35s;
    flex-shrink: 0;
}

.cap-nav-item.active {
    color: var(--text-main);
}

.cap-nav-item.active .cap-nav-dot {
    background: var(--c1);
    transform: scale(1.6);
}

.cap-nav-item[data-cap="1"].active .cap-nav-dot { background: var(--c2); }
.cap-nav-item[data-cap="2"].active .cap-nav-dot { background: var(--c3); }
.cap-nav-item[data-cap="3"].active .cap-nav-dot { background: var(--c4); }

/* RIGHT: stacking cards */
.cap-right {
    position: relative;
}

/* Removed .cap-chapter */

.cap-card {
    position: sticky;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-alt);
    transition: box-shadow .3s;
    margin-bottom: 72vh; /* Creates the scroll spread */
}

.cap-card:last-child {
    margin-bottom: 50vh; /* End of stack, enough dwell time to see all 4 cards stacked */
}

.cap-card:hover {
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
}

.cap-card:nth-child(1) { top: 100px; }
.cap-card:nth-child(2) { top: 124px; }
.cap-card:nth-child(3) { top: 148px; }
.cap-card:nth-child(4) { top: 172px; }

/* Card visual areas */
.cap-visual {
    height: 260px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cap-visual-geo {
    position: absolute;
    inset: 0;
}

/* Web Design — violet */
.cap-card--violet .cap-visual { background: linear-gradient(135deg, #1a0d3d 0%, #2d1a5e 50%, #1a0d3d 100%); }
.geo-web::before {
    content: '';
    position: absolute;
    width: 140px; height: 140px;
    border: 1px solid rgba(124,90,245,.3);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.geo-web::after {
    content: '';
    position: absolute;
    width: 65px; height: 65px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23a855f7'/%3E%3Cstop offset='100%25' stop-color='%237c5af5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z' fill='url(%23g)' stroke='%23ffffff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    top: 50%; left: 50%;
    transform: translate(-20%, -30%) rotate(-5deg);
    filter: drop-shadow(0 12px 24px rgba(124,90,245,0.6));
}

/* SEO — magenta */
.cap-card--magenta .cap-visual { background: linear-gradient(135deg, #2a0a2e 0%, #4a1050 50%, #2a0a2e 100%); }
.geo-seo::before {
    content: '';
    position: absolute;
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 2px solid rgba(212,77,240,.4);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px rgba(212,77,240,.2);
}
.geo-seo::after {
    content: '';
    position: absolute;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,77,240,.5), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(212,77,240,.4);
}

/* Marketing — orange */
.cap-card--orange .cap-visual { background: linear-gradient(135deg, #2a1200 0%, #4a2200 50%, #2a1200 100%); }
.geo-mkt::before {
    content: '';
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 2px;
    background: rgba(255,122,61,.3);
}
.geo-mkt::after {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 140px solid rgba(255,122,61,.2);
    bottom: 42px; left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 30px rgba(255,122,61,.4));
}

/* Branding — teal */
.cap-card--teal .cap-visual { background: linear-gradient(135deg, #00201a 0%, #003828 50%, #00201a 100%); }
.geo-brand::before {
    content: '';
    position: absolute;
    width: 120px; height: 120px;
    background: linear-gradient(135deg, rgba(0,201,167,.25), transparent);
    border: 1px solid rgba(0,201,167,.4);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 0 0 50px rgba(0,201,167,.2);
}
.geo-brand::after {
    content: '';
    position: absolute;
    width: 60px; height: 60px;
    background: rgba(0,201,167,.3);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 0 0 25px rgba(0,201,167,.5);
}

/* Card body */
.cap-body {
    padding: 1.75rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.cap-card-num {
    font-size: .7rem;
    color: var(--text-muted);
    letter-spacing: .1em;
    margin-bottom: .25rem;
}

.cap-card-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--text-main);
    margin-bottom: 0;
}

.cap-card-desc {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Light theme card overrides */
body.light-theme .cap-card--violet .cap-visual { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); }
body.light-theme .cap-card--magenta .cap-visual { background: linear-gradient(135deg, #fce7f3 0%, #f5d0fe 100%); }
body.light-theme .cap-card--orange .cap-visual  { background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%); }
body.light-theme .cap-card--teal .cap-visual    { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }



/* =========================================
   DOMINATE SECTION
   ========================================= */
:root {
  --c1:#7c5af5; --c2:#d44df0; --c3:#ff7a3d; --c4:#00c9a7;
}

.dominate-section {
    padding: 0;
    max-width: 100%;
    margin: 0;
    border-bottom: none;
}

.s5-header {
  max-width: var(--container-max); margin:0 auto;
  padding:5rem 2rem 3rem;
  display:flex; align-items:flex-end;
  justify-content:space-between; gap:2rem; flex-wrap:wrap;
}
.s5-eyebrow {
  font-size:.8rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--text-muted);margin-bottom:1rem;
  display:flex;align-items:center;gap:.6rem;
}
.s5-eyebrow::before{content:'';width:16px;height:1px;background:var(--text-muted);display:block;}
.s5-h {
  font-family:'Bricolage Grotesque', sans-serif;
  font-size:clamp(2.5rem, 5vw, 64px);
  font-weight:800;letter-spacing:-.05em;line-height:.92;
  color: var(--text-main);
  margin-bottom: 0;
}
.s5-h em{font-style:normal;background:linear-gradient(90deg,var(--c1),var(--c2),var(--c3));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.s5-header-right{font-size:1.05rem;color:var(--text-muted);line-height:1.75;max-width:38ch;}

/* MAIN SLIDER CONTAINER */
.s5-slider {
  position:relative;
  overflow:hidden;
  height:620px;
  border-top:1px solid var(--border-color);
  border-bottom:1px solid var(--border-color);
  cursor:grab;
}
.s5-slider:active{cursor:grabbing;}

.s5-track {
  display:flex;
  height:100%;
  transition:transform .85s cubic-bezier(.77,0,.18,1);
  will-change:transform;
}

/* SLIDE */
.slide {
  flex:0 0 100%;
  height:100%;
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:55% 45%;
}

.slide-img {
  position:relative;
  overflow:hidden;
  background:var(--bg-main);
  transition:transform 1.2s cubic-bezier(.22,.68,0,.84);
}

.slide-bg-violet  { background: linear-gradient(135deg, #7c5af5 0%, #a88eff 100%); }
.slide-bg-magenta { background: linear-gradient(135deg, #d44df0 0%, #e980ff 100%); }
.slide-bg-orange  { background: linear-gradient(135deg, #ff7a3d 0%, #ff9f73 100%); }
.slide-bg-teal    { background: linear-gradient(135deg, #00c9a7 0%, #33d4b8 100%); }
.slide-tint {
  position:absolute;inset:0;
  opacity:.18;
  transition:opacity .4s;
  pointer-events:none;
}
.slide[data-i="0"] .slide-tint{background:linear-gradient(135deg,rgba(124,90,245,.5) 0%,transparent 55%);}
.slide[data-i="1"] .slide-tint{background:linear-gradient(135deg,rgba(212,77,240,.5) 0%,transparent 55%);}
.slide[data-i="2"] .slide-tint{background:linear-gradient(135deg,rgba(255,122,61,.5) 0%,transparent 55%);}
.slide[data-i="3"] .slide-tint{background:linear-gradient(135deg,rgba(0,201,167,.5) 0%,transparent 55%);}

.slide-num {
  position:absolute;bottom:1.75rem;left:2rem;
  font-family:'Bricolage Grotesque', sans-serif;
  font-size:5rem;font-weight:900;letter-spacing:-.06em;line-height:1;
  color:transparent;-webkit-text-stroke:1px rgba(255,255,255,0.2);
}
body.light-theme .slide-num {
  -webkit-text-stroke:1px rgba(0,0,0,0.12);
}

.slide-img-caption {
  position:absolute;bottom:1.75rem;right:1.75rem;
  font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.5);
  writing-mode:vertical-rl;
  transform:rotate(180deg);
}
body.light-theme .slide-img-caption { color:rgba(0,0,0,.3); }

/* CONTENT PANEL */
.slide-content {
  background:var(--bg-alt);
  padding:3rem 3rem 2.5rem;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border-left:1px solid var(--border-color);
  transition:background .3s;
}

.slide-content > * {
  opacity:0;
  transform:translateX(28px);
  transition:opacity .55s ease,transform .55s cubic-bezier(.22,.68,0,.84);
}
.slide.active .slide-content > *:nth-child(1){opacity:1;transform:none;transition-delay:.12s;}
.slide.active .slide-content > *:nth-child(2){opacity:1;transform:none;transition-delay:.22s;}
.slide.active .slide-content > *:nth-child(3){opacity:1;transform:none;transition-delay:.32s;}
.slide.active .slide-content > *:nth-child(4){opacity:1;transform:none;transition-delay:.42s;}
.slide.active .slide-content > *:nth-child(5){opacity:1;transform:none;transition-delay:.52s;}

.slide-tag {
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  padding:.35rem 1rem;border-radius:100px;border:1px solid currentColor;
  width:fit-content;
}
.slide[data-i="0"] .slide-tag{color:var(--c1);}
.slide[data-i="1"] .slide-tag{color:var(--c2);}
.slide[data-i="2"] .slide-tag{color:var(--c3);}
.slide[data-i="3"] .slide-tag{color:var(--c4);}

.slide-title {
  font-family:'Bricolage Grotesque', sans-serif;
  font-size:clamp(2.4rem,4vw,3.8rem);
  font-weight:800;letter-spacing:-.045em;line-height:.88;
  color: var(--text-main);
  margin-bottom: 0;
}
.slide-desc {
  font-size:1rem;color:var(--text-muted);
  line-height:1.7;max-width:36ch;
  border-left:2px solid var(--border-color);
  padding-left:1rem;
}
.slide[data-i="0"] .slide-desc{border-color:var(--c1);}
.slide[data-i="1"] .slide-desc{border-color:var(--c2);}
.slide[data-i="2"] .slide-desc{border-color:var(--c3);}
.slide[data-i="3"] .slide-desc{border-color:var(--c4);}

.slide-svc-list {
  list-style:none;
  display:grid;grid-template-columns:1fr 1fr;gap:.35rem;
  padding: 0; margin: 0;
}
.slide-svc-list li a {
  display:flex;align-items:center;gap:.5rem;
  font-size:.9rem;font-weight:500;color:var(--text-muted);
  padding:.45rem .7rem;border-radius:8px;
  transition:background .15s,color .15s;
}
.slide-svc-list li a:hover{background:var(--bg-card);color:var(--text-main);}
.svc-li-dot{width:5px;height:5px;border-radius:50%;flex-shrink:0;}
.slide[data-i="0"] .svc-li-dot, .cap-card--violet .svc-li-dot {background:var(--c1);}
.slide[data-i="1"] .svc-li-dot, .cap-card--magenta .svc-li-dot {background:var(--c2);}
.slide[data-i="2"] .svc-li-dot, .cap-card--orange .svc-li-dot {background:var(--c3);}
.slide[data-i="3"] .svc-li-dot, .cap-card--teal .svc-li-dot {background:var(--c4);}

.slide-cta-row {
  display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
}
.slide-cta-link {
  display:inline-flex;align-items:center;gap:.4rem;
  font-size:.95rem;font-weight:600;
  padding:.6rem 1.4rem;border-radius:100px;
  border:1px solid var(--border-color);
  background:var(--bg-card);
  color: var(--text-main);
  transition:background .15s,border-color .15s,transform .15s;
}
.slide-cta-link:hover{border-color:var(--text-muted);transform:translateY(-1px);}
.slide-count-badge {
  font-family:'Bricolage Grotesque', sans-serif;
  font-size:.7rem;font-weight:700;letter-spacing:.08em;
  color:var(--text-muted);text-transform:uppercase;
}

.s5-progress {
  position:absolute;bottom:0;left:0;right:0;
  height:2px;background:var(--border-color);
  z-index:20;
}
.s5-progress-fill {
  height:100%;width:0%;
  transition:width .15s linear;
}
.slide[data-i="0"] ~ .s5-progress .s5-progress-fill,
#s5-bar[data-active="0"]{background:var(--c1);}

.s5-nav {
  max-width:var(--container-max);margin:0 auto;
  padding:1.5rem 2rem;
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
}
.s5-dots{display:flex;gap:.6rem;align-items:center;}
.s5-dot {
  width:6px;height:6px;border-radius:50%;
  background:var(--border-color);border:none;padding:0;cursor:pointer;
  transition:width .3s,background .3s,border-radius .3s;
}
.s5-dot.active {
  width:24px;border-radius:3px;
}
.s5-dot[data-d="0"].active{background:var(--c1);}
.s5-dot[data-d="1"].active{background:var(--c2);}
.s5-dot[data-d="2"].active{background:var(--c3);}
.s5-dot[data-d="3"].active{background:var(--c4);}

.s5-arrows{display:flex;gap:.5rem;}
.s5-btn {
  width:40px;height:40px;border-radius:10px;
  border:1px solid var(--border-color);background:var(--bg-alt);
  color:var(--text-muted);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s,color .15s,border-color .15s,transform .15s;
}
.s5-btn:hover{background:var(--bg-card);color:var(--text-main);border-color:var(--text-muted);transform:scale(1.05);}
.s5-btn:active{transform:scale(.95);}

.s5-nav-label {
  font-size:.72rem;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--text-muted);
}
.s5-nav-title {
  font-family:'Bricolage Grotesque', sans-serif;
  font-size:1.3rem;font-weight:700;letter-spacing:-.03em;color:var(--text-main);
  transition:color .2s;
}

@media (max-width:900px) {
  .s5-slider { height: auto; overflow: visible; border: none; }
  .s5-track { flex-direction: column; gap: 3rem; transform: none !important; }
  .slide { grid-template-columns: 1fr; height: auto; }
  .slide-img { height: 280px; }
  .slide-content { padding: 2rem 1.5rem; }
  .s5-header { padding: 4rem 1.5rem 2rem; }
  .s5-nav, .s5-progress { display: none; }
  .slide-svc-list { grid-template-columns: 1fr; }
}
@media (max-width:560px) {
  .slide-title{font-size:1.8rem;}
  .s5-h{font-size:2.2rem;}
}

/* =============================================
   FOOTER — Inter, All Caps
   ============================================= */
.footer-legal .copyright,
.footer-legal .legal-links a,
.footer-links-col h4,
.footer-locations h5 {
    font-family: 'Inter', system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-legal .copyright {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
}

.footer-legal .legal-links a {
    font-size: 0.72rem;
    font-weight: 500;
}

.footer-links-col h4 {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.footer-locations h5 {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

/* =============================================
   PROCESS SECTION — 3-card premium grid
   ============================================= */
/* =============================================
   PROCESS SECTION (Scroll Spread)
   ============================================= */
/* =============================================
   CAPABILITIES — STACKING CARDS
   ============================================= */
.process-pin-wrapper {
    height: 200vh; /* Scroll distance */
    position: relative;
    background: var(--bg-main); /* Match page bg */
}

.process-sticky-el {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.process-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; width: 100%; }
.process-top { text-align: center; margin-bottom: 3rem; }
.process-heading { font-size: clamp(2.5rem, 5vw, 64px); margin-bottom: 1rem; }
.process-subtext { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.process-track {
    position: relative;
    height: 420px;
    width: 100%;
}

.pc-card {
    position: absolute;
    top: 0;
    left: 0; /* JS calculates real left */
    width: 320px; /* Base width */
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.2rem 2rem 2rem;
    overflow: hidden;
    /* transition border/shadow but NOT transform/opacity (handled by JS) */
    transition: border-color .3s, box-shadow .3s;
}

.pc-card:hover {
    border-color: var(--text-muted);
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.pc-num {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 5.5rem; 
    font-weight: 800; 
    line-height: 0.8; 
    letter-spacing: -.08em;
    color: var(--border-color);
    opacity: 0.5;
    margin-bottom: 1.5rem; 
    transition: color 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
    transform-origin: left bottom;
}
.pc-card:hover .pc-num { 
    color: var(--text-main); 
    opacity: 0.15;
    transform: scale(1.05) translateX(5px);
}

.pc-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: .75rem; }
.pc-desc { font-size: .95rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 1.4rem; }

.pc-list {
    list-style: none; padding: 0; border-top: 1px solid var(--border-color); padding-top: 1.2rem;
    display: flex; flex-direction: column; gap: .5rem;
}
.pc-list li {
    font-size: .75rem; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: var(--text-muted);
    display: flex; align-items: center; gap: .55rem; font-family: 'Inter', sans-serif;
}
.pc-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.pc-card:nth-child(1) .pc-list li::before { background: #7c5af5; }
.pc-card:nth-child(2) .pc-list li::before { background: #d44df0; }
.pc-card:nth-child(3) .pc-list li::before { background: #14b8a6; }

.pc-accent {
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    border-radius: 0 0 20px 20px; opacity: 0; transition: opacity .35s;
}
.pc-card:hover .pc-accent { opacity: 1; }
.pc-accent-violet  { background: linear-gradient(90deg, #7c5af5, #a78bfa); }
.pc-accent-magenta { background: linear-gradient(90deg, #d44df0, #f472b6); }
.pc-accent-teal    { background: linear-gradient(90deg, #14b8a6, #6ee7b7); }

@media (max-width: 900px) {
    .process-cards { flex-direction: column; align-items: center; gap: 1.5rem; }
    .pc-connector { display: none; }
    .pc-card { max-width: 100%; width: 100%; }
}

/* =========================================
   FAQ SECTION (PREMIUM DESIGN)
   ========================================= */
.faq-section {
    padding: 10rem 2rem 6rem;
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
}
.faq-container {
    max-width: 860px;
    margin: 0 auto;
}
.faq-header {
    text-align: center;
    margin-bottom: 5rem;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 2.5rem 0;
    background: transparent;
    border: none;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.4s ease;
    outline: none;
}
.faq-question:hover {
    color: var(--text-muted);
}
.faq-icon-wrap {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 2rem;
}
.faq-icon-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s;
    transform-origin: center;
}
.faq-icon-line.vertical {
    transform: rotate(90deg);
}
.faq-item.active .faq-icon-line.vertical {
    transform: rotate(0deg);
}
.faq-item.active .faq-question {
    color: var(--accent);
}
.faq-item.active .faq-icon-line {
    background: var(--accent);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer-inner {
    padding-bottom: 2.5rem;
    padding-right: 3rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .faq-question { font-size: 1.05rem; padding: 1.5rem 0; }
    .faq-answer-inner { padding-right: 0; font-size: 0.95rem; padding-bottom: 1.5rem; }
}

/* =========================================
   MID CTA SECTION
   ========================================= */
.mid-cta {
    position: relative;
    padding: 7rem 2rem;
    text-align: center;
    background-image: url('../images/mid-bg-dark.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #0a0a12; /* fallback if image fails */
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.mid-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1;
}
.mid-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.mid-cta h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #A78BFA 0%, #d44df0 50%, #ff7a3d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.mid-cta p {
    font-size: 1.25rem;
    color: #e5e7eb;
    font-weight: 500;
    margin-bottom: 3rem;
    line-height: 1.6;
}

body.light-theme .mid-cta {
    background-image: url('../images/mid-bg.png');
    background-color: #e8ecf8;
}
body.light-theme .mid-cta-overlay {
    background: rgba(255,255,255,.55);
}
body.light-theme .mid-cta p {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .mid-cta { padding: 4rem 1.5rem; min-height: 320px; }
    .mid-cta h2 { font-size: 2.2rem; }
    .mid-cta p { font-size: 1.1rem; }
}



/* =====================================================
   FULL MOBILE RESPONSIVE STYLES
   Breakpoints: 768px (tablet), 480px (mobile)
   ===================================================== */

/* ── Hamburger Button ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
}
.nav-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ── Mobile Menu Overlay ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--bg-main);
    border-left: 1px solid var(--border-color);
    z-index: 9999;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}
.mobile-menu.open {
    right: 0;
}
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu-backdrop.open {
    opacity: 1;
}
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 4px;
    display: flex;
}
.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}
.mobile-accordion {
    border-bottom: 1px solid var(--border-color);
}
.mobile-accordion summary {
    list-style: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
}
.mobile-accordion summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--text-muted);
}
.mobile-accordion[open] summary::after {
    content: '−';
}
.mobile-accordion summary::-webkit-details-marker { display: none; }
.mobile-accordion-body {
    padding: 0.5rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.mobile-accordion-body a {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0.4rem 0;
    border-bottom: none;
}
.mobile-accordion-body a:hover { color: var(--text-main); }
.mobile-acc-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 0.8rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}
.mobile-nav-link {
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}
.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

/* ═══════════════════════════════════════════
   TABLET + MOBILE  (≤ 768px)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── NAV ── */
    .nav-links { display: none !important; }
    .nav-cta-btn { display: none !important; }
    .nav-hamburger { display: flex; }
    /* .nav-actions stays visible — contains toggle + hamburger */
    .mobile-menu { display: flex; }
    .mobile-menu-backdrop { display: block; pointer-events: none; }
    .mobile-menu-backdrop.open { pointer-events: all; }

    /* ── HERO ── */
    .hero { min-height: 90vh; }
    .hero-content { padding: 0 1.25rem; }
    .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-content p { font-size: 1rem; }
    .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .hero-cta-row .btn-primary,
    .hero-cta-row .btn-secondary { width: 100%; justify-content: center; }
    .hero-dots { bottom: 1.5rem; }

    /* ── SECTION PADDING ── */
    :root { --section-pad: 4rem 1.25rem; }
    section { padding: var(--section-pad); }

    /* ── EXPERTISE BENTO ── */
    .eb-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .eb-card.eb-wide { grid-column: span 2; }

    /* ── TICKER / MARQUEE ── */
    .marquee-section { overflow: hidden; }
    .marquee { mask-image: none; -webkit-mask-image: none; }

    /* ── CAPABILITIES ── */
    .cap-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
        padding: 4rem 1.25rem;
    }
    .cap-left {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        padding: 0;
    }
    .cap-heading { font-size: clamp(2rem, 7vw, 3rem); }
    .cap-nav { display: none; }
    .cap-right { width: 100% !important; }
    .cap-card {
        position: relative !important;
        top: auto !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
        transform: none !important;
    }
    .cap-card:last-child { margin-bottom: 0 !important; }
    .cap-visual { height: 200px; }

    /* ── SPOTLIGHTS ── */
    .spotlights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    /* ── PROCESS ── */
    .process-pin-wrapper {
        height: auto !important;
    }
    .process-sticky-el {
        position: relative !important;
        height: auto !important;
        overflow: visible;
        padding: 4rem 0;
    }
    .process-track {
        position: relative !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
        padding: 0;
    }
    .pc-card {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
        max-width: 100% !important;
    }

    /* ── DOMINATE / SERVICES SLIDER ── */
    .s5-layout { flex-direction: column; gap: 2rem; }
    .s5-left { width: 100%; }
    #slider { display: none; } /* Hide slider on mobile */
    /* Show services as a stacked list on mobile */
    .s5-mob-list {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    /* ── TESTIMONIALS ── */
    .testimonials-inner { flex-direction: column; }
    .testi-track-wrap { width: 100%; }
    .testi-card { padding: 1.5rem; }

    /* ── PRICING ── */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    /* ── FAQ ── */
    .faq-inner { flex-direction: column; gap: 2rem; }
    .faq-left { width: 100%; }

    /* ── FOOTER ── */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand-col { grid-column: span 2; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    /* ── TYPOGRAPHY ── */
    h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    h3 { font-size: 1.25rem; }
}

/* ═══════════════════════════════════════════
   SMALL MOBILE  (≤ 480px)
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {

    /* ── NAV ── */
    .nav-container { padding: 0.9rem 1.25rem; }
    .brand-logo { height: 20px; }

    /* ── HERO ── */
    .hero-content h1 { font-size: clamp(1.75rem, 9vw, 2.5rem); }

    /* ── EXPERTISE BENTO ── */
    .eb-grid { grid-template-columns: 1fr; }
    .eb-card.eb-wide { grid-column: span 1; }

    /* ── SPOTLIGHTS ── */
    .spotlights-grid { grid-template-columns: 1fr; }

    /* ── CAP VISUAL ── */
    .cap-visual { height: 160px; }

    /* ── PRICING ── */
    .pricing-card { padding: 1.5rem; }

    /* ── FOOTER ── */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand-col { grid-column: span 1; }
}

/* =========================================
   LEGAL PAGES — PREMIUM DESIGN
   ========================================= */

/* ── Hero Banner ── */
.legal-hero {
    position: relative;
    padding: 10rem 2rem 6rem;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,90,245,0.08) 0%, transparent 70%);
    pointer-events: none;
}

body.dark-theme .legal-hero::before {
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,90,245,0.12) 0%, transparent 70%);
}

.legal-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: color-mix(in srgb, var(--accent) 6%, transparent);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.legal-badge svg {
    width: 13px;
    height: 13px;
    opacity: 0.6;
}

.legal-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.legal-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.legal-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.legal-hero-meta-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

/* ── Layout ── */
.legal-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 8rem;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 5rem;
    align-items: start;
}

/* ── Sidebar TOC ── */
.legal-toc {
    position: sticky;
    top: 6rem;
}

.legal-toc-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.legal-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.legal-toc-list a {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.legal-toc-list a:hover,
.legal-toc-list a.active {
    color: var(--text-main);
    background: color-mix(in srgb, var(--accent) 6%, transparent);
    border-left-color: var(--accent);
}

/* ── Content ── */
.legal-content {
    min-width: 0;
}

.legal-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 7rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
}

.legal-section-icon svg {
    width: 16px;
    height: 16px;
}

.legal-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0;
    color: var(--text-main);
}

.legal-section p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-main);
    margin: 1.5rem 0 0.6rem;
    font-family: var(--font-sans);
}

.legal-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 1.25rem;
    position: relative;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
}

.legal-section a {
    color: var(--text-main);
    text-decoration: underline;
    text-decoration-color: var(--border-color);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.legal-section a:hover {
    text-decoration-color: var(--text-main);
}

/* ── Cookie type cards ── */
.cookie-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.cookie-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem;
    transition: border-color 0.2s;
}

.cookie-card:hover {
    border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

.cookie-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-card-title svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.cookie-card p {
    font-size: 0.82rem !important;
    margin-bottom: 0 !important;
    line-height: 1.65 !important;
}

/* ── Browser links block ── */
.browser-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
}

.browser-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.875rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    transition: all 0.2s;
}

.browser-link:hover {
    border-color: var(--accent) !important;
    color: var(--text-main) !important;
    text-decoration: none !important;
}

.browser-link svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ── Contact CTA block ── */
.legal-contact-card {
    margin-top: 4rem;
    padding: 2.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.legal-contact-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem 5rem;
    }
    .legal-toc {
        position: relative;
        top: 0;
        display: none;
    }
    .cookie-cards { grid-template-columns: 1fr; }
    .browser-links { grid-template-columns: 1fr; }
    .legal-contact-card { flex-direction: column; }
    .legal-hero { padding: 8rem 1.5rem 4rem; }
}

/* ============================================================
   BLOG ARTICLE CTA BUTTON OVERRIDES
   Fix: .art-content a { color:#7c5af5 } (specificity 0,1,1) 
   was overriding .sxc-cta-btn (0,1,0) making button text invisible.
   ============================================================ */
.art-content .sxc-cta-btn,
.art-content .sxc-cta-btn:visited,
.art-content .sxc-cta-btn:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.art-content .author-cta,
.art-content .author-cta:visited,
.art-content .author-cta:hover {
    color: #fff !important;
    text-decoration: none !important;
}

/* Global safety net for any purple-bg blog buttons */
.sxc-cta-btn { color: #fff; text-decoration: none; }
.sxc-cta-btn:visited { color: #fff; }

