/*
Theme Name: Seller Services USA
Theme URI: https://sellerservicesusa.com
Author: Seller Services USA
Author URI: https://sellerservicesusa.com
Description: Premium custom WordPress theme for Seller Services USA — an independent professional services agency providing eBay and marketplace seller services to U.S.-based online sellers. Fully custom, no third-party plugins required. Built for speed, SEO, and conversion.
Version: 2.6.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seller-services-usa
Tags: business, services, ecommerce, custom, responsive, seo-friendly
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

::selection {
    background: rgba(16, 185, 129, 0.22);
    color: var(--color-primary);
}

:focus-visible {
    outline: 3px solid rgba(4, 120, 87, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   CSS VARIABLES (Design Tokens)
   ============================================ */

:root {
    /* Core brand — Graphite + Emerald + Champagne Gold */
    --color-primary: #071116;          /* deep navy/charcoal */
    --color-primary-2: #0B1215;        /* charcoal surface */
    --color-secondary: #111827;        /* charcoal */

    /* Accent = Emerald (primary action color, replaces blue) */
    --color-accent: #059669;           /* emerald */
    --color-accent-bright: #10B981;    /* fresh emerald accent */
    --color-accent-hover: #047857;
    --color-accent-soft: rgba(16, 185, 129, 0.1);

    /* Gold (premium highlights, badges, accent lines) — mapped onto the
       former "teal" tokens so every component picks it up automatically */
    --color-gold: #C8A84D;             /* soft gold */
    --color-gold-soft-hex: #E3C766;    /* light gold */
    --color-teal: #C8A84D;             /* alias -> gold */
    --color-teal-2: #E3C766;           /* alias -> light gold */
    --color-teal-soft: rgba(200, 168, 77, 0.16);

    /* Text */
    --color-text: #111827;             /* text dark */
    --color-text-light: #6B7280;       /* muted text */
    --color-text-lighter: #9CA3AF;     /* light */

    /* Surfaces — warm ivory / sand */
    --color-bg: #F8F5EF;               /* warm off-white */
    --color-bg-light: #F1ECE2;         /* soft sand */
    --color-bg-tint: #EAF4F0;          /* light teal tint */
    --color-card: #FFFFFF;             /* card background */
    --color-border: #E7E1D6;           /* soft border */
    --color-border-light: #EEE9DE;

    /* Status */
    --color-success: #10B981;
    --color-warning: #D4AF37;

    /* Fonts */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-body);

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 760px;

    /* Spacing scale */
    --space-2xs: 4px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 96px;
    --space-2xl: 120px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;

    /* Shadows — warm-tinted, layered, premium */
    --shadow-xs: 0 1px 2px rgba(31, 41, 55, 0.04);
    --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.06);
    --shadow-md: 0 8px 24px rgba(31, 41, 55, 0.08);
    --shadow-lg: 0 18px 48px rgba(31, 41, 55, 0.12);
    --shadow-xl: 0 30px 70px rgba(11, 15, 20, 0.18);
    --shadow-cta: 0 8px 24px rgba(4, 120, 87, 0.28);
    --shadow-teal: 0 8px 24px rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #059669 0%, #10B981 100%);
    --gradient-gold: linear-gradient(135deg, #C8A84D 0%, #E3C766 100%);
    --gradient-hero: radial-gradient(1100px 520px at 78% 8%, rgba(16, 185, 129, 0.18), transparent 60%),
                     radial-gradient(900px 500px at 12% 0%, rgba(200, 168, 77, 0.15), transparent 55%);
    --gradient-navy: linear-gradient(160deg, #071116 0%, #0B1215 50%, #0B2C2A 100%);
    --gradient-border: linear-gradient(135deg, rgba(4, 120, 87, 0.5), rgba(212, 175, 55, 0.55));

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-primary);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
    text-wrap: balance;
}

h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 16px; font-weight: 600; }

p { margin-bottom: var(--space-sm); }
p:last-child { margin-bottom: 0; }

ul, ol { margin-bottom: var(--space-sm); padding-left: var(--space-md); }
li { margin-bottom: var(--space-xs); }

strong { font-weight: 600; color: var(--color-primary); }

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-light {
    background-color: var(--color-bg-light);
}

.section-tint {
    background-color: var(--color-bg-tint);
}

/* Decorative soft divider between white sections */
.section-light + .section-light {
    border-top: 1px solid var(--color-border-light);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    font-family: var(--font-body);
    letter-spacing: -0.01em;
}

.btn-primary {
    background-image: var(--gradient-primary);
    background-color: var(--color-accent);
    color: #FFFFFF;
    box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(4, 120, 87, 0.38);
}

.btn-secondary {
    background-color: var(--color-card);
    color: var(--color-primary);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Teal ghost button (accent moments) */
.btn-teal {
    background-color: var(--color-gold);
    color: #3A2E05;
    box-shadow: var(--shadow-gold);
}

.btn-teal:hover {
    color: #3A2E05;
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn-large {
    padding: 15px 28px;
    font-size: 15.5px;
}

.btn-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn-group-center {
    justify-content: center;
}

/* On dark backgrounds */
.on-dark .btn-secondary,
.final-cta-section .btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.on-dark .btn-secondary:hover,
.final-cta-section .btn-secondary:hover {
    background-color: #FFFFFF;
    color: var(--color-primary);
    border-color: #FFFFFF;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-border);
}

.card-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-accent-soft);
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.card h3 {
    font-size: 20px;
    margin-bottom: var(--space-xs);
    color: var(--color-primary);
}

.card p {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.65;
}

/* ============================================
   GRIDS
   ============================================ */

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-md { margin-top: var(--space-md); }

/* Eyebrow — now a pill badge with teal accent */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    background: var(--color-accent-soft);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-sm);
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
    box-shadow: 0 0 0 3px var(--color-teal-soft);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 680px;
    margin: 0 auto var(--space-lg);
    line-height: 1.65;
}

/* Trust strip — refined chips */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
    margin-top: var(--space-md);
    list-style: none;
    padding: 0;
}

.trust-strip li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0;
}

.trust-strip li::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Prose */
.prose {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text);
}

.prose p { margin-bottom: 22px; }

.prose a {
    color: var(--color-accent);
    font-weight: 500;
    border-bottom: 1px solid rgba(4, 120, 87, 0.35);
    transition: border-color 0.2s, color 0.2s;
}

.prose a:hover {
    color: var(--color-accent-hover);
    border-bottom-color: var(--color-accent);
}

.prose strong { color: var(--color-primary); }

.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }

/* Section heading wrapper helper */
.section-head {
    max-width: 720px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.section-head .section-subtitle {
    margin-bottom: 0;
}

/* ============================================
   REUSABLE: image / dashboard placeholders
   ============================================ */

.media-placeholder {
    position: relative;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(4, 120, 87, 0.07), rgba(212, 175, 55, 0.07)),
        var(--color-bg-light);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-placeholder::after {
    content: attr(data-label);
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-lighter);
}

/* Dashboard-style mockup placeholder (hero) */
.dashboard-mockup {
    position: relative;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xl);
    padding: 16px;
    overflow: hidden;
}

.dashboard-mockup .dm-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.dashboard-mockup .dm-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
}

.dashboard-mockup .dm-bar span:first-child { background: #FCA5A5; }
.dashboard-mockup .dm-bar span:nth-child(2) { background: #FCD34D; }
.dashboard-mockup .dm-bar span:nth-child(3) { background: #86EFAC; }

.dashboard-mockup .dm-row {
    height: 14px;
    border-radius: 6px;
    background: var(--color-bg-tint);
    margin-bottom: 10px;
}

.dashboard-mockup .dm-row.w-60 { width: 60%; }
.dashboard-mockup .dm-row.w-80 { width: 80%; }
.dashboard-mockup .dm-row.accent { background: linear-gradient(90deg, var(--color-accent), var(--color-teal)); height: 40px; }

.dashboard-mockup .dm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.dashboard-mockup .dm-card {
    height: 64px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-light);
    border: 1px solid var(--color-border-light);
}

/* ============================================
   ANIMATIONS (subtle, performance-safe)
   ============================================ */

@keyframes ssu-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: ssu-fade-up 0.6s var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   PREMIUM ENHANCEMENTS (v1.4)
   ============================================ */

/* Multi-color / gradient headings */
.text-gradient {
    background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-accent); /* fallback */
}
.text-emerald { color: var(--color-accent); }
.text-gold { color: #B8941F; }

/* Gold accent line under headings */
.accent-line { position: relative; }
.accent-line::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    margin: 18px auto 0;
    background: var(--gradient-gold);
}
.accent-line.left::after { margin-left: 0; margin-right: auto; }

/* Eyebrow on dark backgrounds */
.on-dark .eyebrow, .hero-graphite .eyebrow {
    background: rgba(212, 175, 55, 0.14);
    color: var(--color-gold-soft-hex);
}

/* Scroll reveal animations (JS adds .is-visible) */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }
[data-reveal-delay="7"] { transition-delay: 0.56s; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Section number badge (premium touch) */
.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    font-size: 13px; font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 14px;
}

/* Decorative top divider for sand sections */
.section-light, .section-tint { position: relative; }

/* Premium graphite hero variant */
.hero-graphite {
    background: var(--gradient-navy);
    color: #C9C2B4;
    position: relative;
    overflow: hidden;
}
.hero-graphite .hero-bg {
    background:
        radial-gradient(900px 460px at 82% 12%, rgba(16,185,129,0.22), transparent 60%),
        radial-gradient(760px 420px at 10% 4%, rgba(212,175,55,0.18), transparent 55%);
    opacity: 1;
}
/* subtle texture grid for premium depth */
.hero-graphite::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%);
}
.hero-graphite .hero-headline { color: #FFFFFF; }
.hero-graphite .hero-subheadline { color: #CBBF9E; }
.hero-graphite .breadcrumb a, .hero-graphite .breadcrumb span { color: #9CA3AF; }

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    margin-bottom: 18px;
    color: var(--color-text-light);
}
.breadcrumb a { color: var(--color-accent); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* Pull-quote / highlight box inside prose */
.prose-highlight {
    border-left: 4px solid var(--color-gold);
    background: var(--color-bg-light);
    padding: 20px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 28px 0;
    font-size: 18px;
    color: var(--color-primary);
}

/* Icon list (premium checklist) */
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.icon-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 16px; color: var(--color-text); margin: 0;
}
.icon-list li::before {
    content: "\2713";
    flex-shrink: 0;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--color-accent); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; margin-top: 1px;
}

/* ============================================
   GLOBAL HERO FOUNDATION (loaded on every page)
   Ensures heroes & key sections are never unstyled,
   even on default page.php or any template without home.css.
   home.css adds the richer per-page treatment on top.
   ============================================ */
.hero {
    position: relative;
    padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 88px);
    overflow: hidden;
    background: var(--color-bg);
}
.hero-bg { position: absolute; inset: 0; background: var(--gradient-hero); pointer-events: none; z-index: 0; }
.hero .container, .hero .container-narrow { position: relative; z-index: 1; }
.hero-content { max-width: 640px; }
.hero-headline { margin-bottom: 20px; }
.hero-subheadline { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--color-text-light); margin-bottom: 32px; }
.hero-cta { margin-bottom: 28px; }
.hero-default, .hero-blog, .hero-single, .hero-legal, .hero-service { position: relative; overflow: hidden; }
.hero-default, .hero-blog { padding: clamp(56px, 7vw, 88px) 0; text-align: center; }
.hero-default .hero-headline, .hero-blog .hero-headline { margin-left: auto; margin-right: auto; max-width: 820px; }
.hero-default .hero-subheadline, .hero-blog .hero-subheadline { margin-left: auto; margin-right: auto; max-width: 640px; }
.hero-default .eyebrow, .hero-blog .eyebrow { margin-left: auto; margin-right: auto; }
.hero-single { text-align: left; }
.hero-legal { text-align: left; background: var(--color-bg-light); }

/* Global graphite hero (so it works everywhere) */
.hero.hero-graphite { background: var(--gradient-navy); color: #C9C2B4; }
.hero.hero-graphite .hero-bg {
    background:
        radial-gradient(900px 460px at 82% 12%, rgba(16,185,129,0.22), transparent 60%),
        radial-gradient(760px 420px at 10% 4%, rgba(212,175,55,0.18), transparent 55%);
}
.hero.hero-graphite .hero-headline { color: #fff; }
.hero.hero-graphite .hero-subheadline { color: #C9C2B4; }
.hero.hero-graphite .eyebrow { background: rgba(212,175,55,0.14); color: var(--color-gold-soft-hex); }
.hero.hero-graphite .eyebrow::before { background: var(--color-gold-soft-hex); }
.hero.hero-graphite .btn-secondary { background: transparent; color: #fff; border-color: var(--color-gold); }
.hero.hero-graphite .btn-secondary:hover { background: var(--color-gold); color: #1F1500; }

/* Global final-CTA foundation */
.final-cta-section { background: var(--gradient-navy); color: #fff; position: relative; overflow: hidden; }
.final-cta-headline { color: #fff; }
.final-cta-copy { color: #CBBF9E; }

/* ============================================
   SECTION BACKGROUND RHYTHM (v1.6)
   Premium variety: white, sand, graphite, emerald-tint
   ============================================ */
.section-dark {
    background: var(--gradient-navy);
    color: #C9C2B4;
    position: relative;
    overflow: hidden;
}
.section-dark::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(640px 320px at 85% 15%, rgba(16,185,129,0.16), transparent 60%),
        radial-gradient(560px 300px at 12% 88%, rgba(212,175,55,0.14), transparent 55%);
    pointer-events: none;
}
.section-dark > .container, .section-dark > .container-narrow { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-subtitle { color: #A8A192; }
.section-dark .section-title.accent-line::after { background: var(--gradient-gold); }

.section-emerald {
    background:
        linear-gradient(180deg, rgba(4,120,87,0.05), rgba(16,185,129,0.03)),
        var(--color-bg);
    position: relative;
}
.section-emerald-deep {
    background: linear-gradient(135deg, #053D2E 0%, #047857 100%);
    color: #D8EFE6;
    position: relative;
    overflow: hidden;
}
.section-emerald-deep::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 320px at 80% 20%, rgba(212,175,55,0.2), transparent 60%);
    pointer-events: none;
}
.section-emerald-deep > .container, .section-emerald-deep > .container-narrow { position: relative; z-index: 1; }
.section-emerald-deep h2, .section-emerald-deep h3 { color: #fff; }
.section-emerald-deep .section-subtitle { color: #A7D9C8; }

/* ============================================
   NEW SECTION COMPONENT: STAT BAND (big numbers)
   ============================================ */
.stat-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-band.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-item { text-align: center; padding: 12px; }
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-gold);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.section-dark .stat-number, .section-emerald-deep .stat-number { background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 15px; color: var(--color-text-light); font-weight: 500; }
.section-dark .stat-label, .section-emerald-deep .stat-label { color: #B8C9C2; }

/* ============================================
   NEW: ALTERNATING FEATURE ROW (text + visual)
   ============================================ */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    margin-bottom: var(--space-lg);
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-row-text { order: 2; }
.feature-row-text h3 { font-size: clamp(22px,2.6vw,28px); margin-bottom: 14px; }
.feature-row-text p { color: var(--color-text-light); font-size: 16px; line-height: 1.7; }
.feature-row-visual .media-placeholder { aspect-ratio: 4/3; }

/* ============================================
   NEW: COMPARISON / VS BLOCK
   ============================================ */
.vs-block {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
}
.vs-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.vs-card.vs-them { opacity: 0.92; }
.vs-card.vs-us { border: 2px solid var(--color-accent); box-shadow: var(--shadow-lg); position: relative; }
.vs-card h3 { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.vs-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.vs-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--color-text); margin: 0; }
.vs-them li::before { content: "\2715"; color: #B91C1C; font-weight: 700; flex-shrink: 0; }
.vs-us li::before { content: "\2713"; color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.vs-divider { display: flex; align-items: center; justify-content: center; }
.vs-divider span {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--color-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 800; font-size: 15px;
}

/* ============================================
   NEW: HIGHLIGHT CALLOUT STRIP
   ============================================ */
.callout-strip {
    display: flex; align-items: center; gap: 24px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-gold);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}
.callout-strip-icon {
    flex-shrink: 0; width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--gradient-gold); color: #3A2E05;
    display: flex; align-items: center; justify-content: center;
}
.callout-strip h3 { margin-bottom: 6px; font-size: 19px; }
.callout-strip p { margin: 0; color: var(--color-text-light); font-size: 15px; }

@media (max-width: 860px) {
    .stat-band, .stat-band.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .feature-row, .feature-row.reverse .feature-row-text { grid-template-columns: 1fr; order: 0; }
    .feature-row-visual { max-width: 460px; margin: 0 auto; }
    .vs-block { grid-template-columns: 1fr; }
    .vs-divider span { margin: 0 auto; }
    .callout-strip { flex-direction: column; text-align: center; align-items: center; }
}
@media (max-width: 480px) {
    .stat-band, .stat-band.cols-3 { grid-template-columns: 1fr; }
}

/* emerald-deep / dark section prose + accent fixes */
.section-emerald-deep .prose, .section-emerald-deep .prose p { color: #D8EFE6; }
.section-emerald-deep .prose strong { color: #fff; }
.section-emerald-deep .section-title.accent-line::after,
.section-dark .section-title.accent-line::after { background: var(--gradient-gold); }
.section-emerald-deep .text-gradient,
.section-dark .text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section-dark .prose, .section-dark .prose p { color: #B8C2BE; }
.section-dark .prose strong { color: #fff; }
.section-dark .process-step p { color: #A8B2AE; }
.section-dark .process-step h3 { color: #fff; }
.section-dark .process-timeline-connected::before { opacity: 0.4; }

/* ============================================
   ILLUSTRATION FRAMES (inline SVG visuals)
   ============================================ */
.ssu-illu-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        radial-gradient(420px 240px at 75% 15%, rgba(16,185,129,0.08), transparent 60%),
        linear-gradient(150deg, rgba(11,44,42,0.04), rgba(200,168,77,0.05)),
        var(--color-card);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 22px;
}
.ssu-illu {
    display: block;
    width: 100%;
    height: auto;
}
.ssu-illu-label {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-lighter);
}
/* On dark sections, frame adapts */
.section-dark .ssu-illu-frame,
.section-emerald-deep .ssu-illu-frame {
    background:
        radial-gradient(420px 240px at 75% 15%, rgba(16,185,129,0.16), transparent 60%),
        rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.section-dark .ssu-illu-label,
.section-emerald-deep .ssu-illu-label { color: rgba(255,255,255,0.5); }

/* subtle float animation (respects reduced motion) */
@keyframes ssu-float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-8px);} }
.ssu-illu-frame.is-float { animation: ssu-float 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ssu-illu-frame.is-float { animation: none; } }

/* ============================================
   WHY GRID (2-col text + visual) — global
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: center;
    margin-top: 24px;
}
.why-grid .prose { text-align: left; }
.why-grid .prose p:last-child { margin-bottom: 0; }
.why-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
@media (max-width: 880px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-visual { max-width: 480px; margin: 0 auto; order: -1; }
}

/* dark section content helpers */
.section-dark .eyebrow { background: rgba(200,168,77,0.14); color: var(--color-gold-soft-hex); }
.section-dark .eyebrow::before { background: var(--color-gold-soft-hex); }
.section-dark p { color: #B8C2BE; }
.section-dark .accent-line.left::after { margin-left: 0; }

/* Hero CTA buttons — keep on one line, aligned, refined size */
.hero-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.hero-cta .btn {
    width: auto;
    white-space: nowrap;
}
.hero-cta .btn-large {
    padding: 14px 22px;
    font-size: 14.5px;
}
/* On small screens, allow stacking but keep full-width tidy */
@media (max-width: 600px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
}

/* ============================================
   ANIMATED INFOGRAPHICS (trigger on scroll via .is-visible)
   ============================================ */

/* Default (before visible): elements hidden/reset */
.ssu-illu-anim .illu-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}
.ssu-illu-anim .illu-area { opacity: 0; }
.ssu-illu-anim .illu-dot { opacity: 0; transform: scale(0); transform-origin: center; transform-box: fill-box; }
.ssu-illu-anim .illu-pop { opacity: 0; transform: translateY(10px); transform-box: fill-box; }
.ssu-illu-anim .illu-bar { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
.ssu-illu-anim .illu-gauge { stroke-dasharray: 400; stroke-dashoffset: 400; }
.ssu-illu-anim .illu-msg { opacity: 0; transform: translateY(8px); transform-box: fill-box; }

/* When visible: animate in */
.ssu-illu-anim.is-visible .illu-line {
    animation: illu-draw 1.4s var(--ease) forwards;
}
.ssu-illu-anim.is-visible .illu-area {
    animation: illu-fade 1s ease 0.6s forwards;
}
.ssu-illu-anim.is-visible .illu-dot {
    animation: illu-dot-pop 0.5s var(--ease) 1.3s forwards;
}
.ssu-illu-anim.is-visible .illu-pop-1 { animation: illu-pop 0.5s var(--ease) 0.1s forwards; }
.ssu-illu-anim.is-visible .illu-pop-2 { animation: illu-pop 0.5s var(--ease) 0.25s forwards; }
.ssu-illu-anim.is-visible .illu-pop-3 { animation: illu-pop 0.5s var(--ease) 0.4s forwards; }
.ssu-illu-anim.is-visible .illu-bar { animation: illu-grow 0.7s var(--ease) forwards; }
.ssu-illu-anim.is-visible .illu-bar:nth-child(1) { animation-delay: 0.05s; }
.ssu-illu-anim.is-visible .illu-bar:nth-child(2) { animation-delay: 0.12s; }
.ssu-illu-anim.is-visible .illu-bar:nth-child(3) { animation-delay: 0.19s; }
.ssu-illu-anim.is-visible .illu-bar:nth-child(4) { animation-delay: 0.26s; }
.ssu-illu-anim.is-visible .illu-bar:nth-child(5) { animation-delay: 0.33s; }
.ssu-illu-anim.is-visible .illu-bar:nth-child(6) { animation-delay: 0.40s; }
.ssu-illu-anim.is-visible .illu-bar:nth-child(7) { animation-delay: 0.47s; }
.ssu-illu-anim.is-visible .illu-bar:nth-child(8) { animation-delay: 0.54s; }
.ssu-illu-anim.is-visible .illu-gauge { animation: illu-draw-gauge 1.6s var(--ease) 0.2s forwards; }
.ssu-illu-anim.is-visible .illu-msg-1 { animation: illu-msg-in 0.5s var(--ease) 0.2s forwards; }
.ssu-illu-anim.is-visible .illu-msg-2 { animation: illu-msg-in 0.5s var(--ease) 0.7s forwards; }
.ssu-illu-anim.is-visible .illu-msg-3 { animation: illu-msg-in 0.5s var(--ease) 1.2s forwards; }

@keyframes illu-draw { to { stroke-dashoffset: 0; } }
@keyframes illu-draw-gauge { to { stroke-dashoffset: 0; } }
@keyframes illu-fade { to { opacity: 0.5; } }
@keyframes illu-dot-pop { to { opacity: 1; transform: scale(1); } }
@keyframes illu-pop { to { opacity: 1; transform: translateY(0); } }
@keyframes illu-grow { to { transform: scaleY(1); } }
@keyframes illu-msg-in { to { opacity: 1; transform: translateY(0); } }

/* Respect reduced motion — show everything statically */
@media (prefers-reduced-motion: reduce) {
    .ssu-illu-anim .illu-line { stroke-dashoffset: 0; }
    .ssu-illu-anim .illu-area { opacity: 0.5; }
    .ssu-illu-anim .illu-dot,
    .ssu-illu-anim .illu-pop,
    .ssu-illu-anim .illu-msg { opacity: 1; transform: none; }
    .ssu-illu-anim .illu-bar { transform: scaleY(1); }
    .ssu-illu-anim .illu-gauge { stroke-dashoffset: 0; }
    .ssu-illu-anim .illu-rise { opacity: 1; transform: none; }
    .ssu-illu-anim .illu-fade-late { opacity: 1; }
    .ssu-illu-anim .illu-dash { stroke-dashoffset: 0; }
    .ssu-illu-anim .illu-pin { opacity: 1; transform: none; }
}

/* Setup illustration animations */
.ssu-illu-anim .illu-rise { opacity: 0; transform: translateY(20px); transform-box: fill-box; }
.ssu-illu-anim .illu-fade-late { opacity: 0; }
.ssu-illu-anim .illu-dash { stroke-dasharray: 5 5; stroke-dashoffset: 200; }
.ssu-illu-anim.is-visible .illu-rise-1 { animation: illu-rise 0.6s var(--ease) 0.1s forwards; }
.ssu-illu-anim.is-visible .illu-rise-2 { animation: illu-rise 0.6s var(--ease) 0.3s forwards; }
.ssu-illu-anim.is-visible .illu-rise-3 { animation: illu-rise 0.6s var(--ease) 0.5s forwards; }
.ssu-illu-anim.is-visible .illu-fade-late { animation: illu-fade-full 0.5s ease 0.8s forwards; }
.ssu-illu-anim.is-visible .illu-dash { animation: illu-dash-draw 1s var(--ease) 0.9s forwards; }
@keyframes illu-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes illu-fade-full { to { opacity: 1; } }
@keyframes illu-dash-draw { to { stroke-dashoffset: 0; } }

/* Map pin animations (location pages) */
.ssu-illu-anim .illu-pin { opacity: 0; transform: translateY(-8px); transform-box: fill-box; }
.ssu-illu-anim.is-visible .illu-pin-1 { animation: illu-pin-drop 0.5s var(--ease) 0.2s forwards; }
.ssu-illu-anim.is-visible .illu-pin-2 { animation: illu-pin-drop 0.5s var(--ease) 0.4s forwards; }
.ssu-illu-anim.is-visible .illu-pin-3 { animation: illu-pin-drop 0.5s var(--ease) 0.6s forwards; }
.ssu-illu-anim.is-visible .illu-pin-4 { animation: illu-pin-drop 0.5s var(--ease) 0.8s forwards; }
@keyframes illu-pin-drop { to { opacity: 1; transform: translateY(0); } }

/* ============================================
   PREMIUM GUI ENHANCEMENTS (v2.5)
   For high-end USA agency feel
   ============================================ */

/* Button shine/sweep on hover */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease);
    pointer-events: none;
}
.btn-primary:hover::after { left: 140%; }

/* Refined button press feedback */
.btn { transition: transform 0.15s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease); }
.btn:active { transform: translateY(1px); }

/* Premium card lift refinement */
.card, .included-card, .pricing-card, .persona-card {
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover, .included-card:hover, .persona-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(7,17,22,0.1);
}

/* Eyebrow refinement — premium uppercase tracking */
.eyebrow {
    letter-spacing: 0.14em;
    font-weight: 700;
}

/* Larger, tighter display headings (premium editorial) */
.hero-headline {
    letter-spacing: -0.025em;
    font-weight: 800;
}
.section-title {
    letter-spacing: -0.02em;
}

/* Smooth section edge — subtle top highlight on dark sections */
.section-dark::after, .section-emerald-deep::after {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    pointer-events: none;
}

/* Link underline animation (premium nav feel) */
.prose a {
    background-image: linear-gradient(var(--color-accent), var(--color-accent));
    background-size: 0% 1.5px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s var(--ease);
    text-decoration: none;
    font-weight: 600;
}
.prose a:hover { background-size: 100% 1.5px; }

/* Focus-visible for accessibility (premium = accessible) */
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Selection color on-brand */
::selection { background: var(--color-accent); color: #fff; }
