/* ============================================================
   CyberHondo — Global Stylesheet
   Brand: #EF3F49 primary, dark-mode default
   Fonts: Roboto, Roboto Slab, Poppins
   ============================================================ */

/* --- CSS Custom Properties (Brand Tokens) --- */
/* Default: Light mode (MaxShop-style clean white theme) */
:root {
    /* Brand Colors */
    --color-primary: #EF3F49;
    --color-primary-hover: #d6353e;
    --color-accent: #61CE70;
    --color-secondary: #666666;

    /* Light Mode Backgrounds (MaxShop style) */
    --bg-base: #ffffff;
    --bg-raised: #ffffff;
    --bg-alt: #f5f5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;

    /* Foreground / Text */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --text-white: #222222;
    --text-on-primary: #ffffff;

    /* Neutral Grays */
    --gray-50: #f7f7f8;
    --gray-100: #eeeeee;
    --gray-200: #dddddd;
    --gray-300: #cccccc;
    --gray-400: #999999;
    --gray-500: #777777;
    --gray-600: #555555;
    --gray-700: #444444;
    --gray-800: #333333;
    --gray-900: #222222;

    /* Typography */
    --font-heading: 'Roboto', sans-serif;
    --font-subheading: 'Roboto Slab', serif;
    --font-body: 'Roboto', sans-serif;
    --font-display: 'Poppins', sans-serif;
    --font-fallback: 'Open Sans', sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-md: 1.125rem;
    --text-lg: 1.5rem;
    --text-xl: 2.375rem;
    --text-huge: clamp(2.75rem, 5vw, 3.5rem);
    --text-giga: clamp(3.25rem, 6vw, 4.375rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Layout */
    --container: 1200px;
    --container-wide: 1340px;
    --prose-width: min(65ch, 1100px);
    --topbar-height: 36px;
    --header-height: 64px;
    --total-header-height: calc(var(--topbar-height) + var(--header-height));

    /* Borders */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Shadows (MaxShop style: subtle, clean) */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 1400ms cubic-bezier(0.4, 1, 0.65, 1);

    /* Min touch target */
    --min-touch: 2.75rem;

    /* Border tokens (MaxShop: clean solid borders) */
    --border-subtle: #eeeeee;
    --border-light: #e5e5e5;
    --border-medium: #dddddd;
    --border-input: #dddddd;
    --primary-glow: rgba(239, 63, 73, 0.08);
    --primary-glow-strong: rgba(239, 63, 73, 0.15);
    --header-bg: rgba(255, 255, 255, 0.98);
    --header-bg-scroll: rgba(255, 255, 255, 1);
}

/* --- Dark Mode --- */
[data-theme="dark"] {
    --bg-base: #1a1a1e;
    --bg-raised: #242429;
    --bg-alt: #1f1f25;
    --bg-card: #2a2a30;
    --bg-card-hover: #32323a;

    --text-primary: #e0e0e2;
    --text-secondary: #a0a0a6;
    --text-tertiary: #707078;
    --text-white: #ffffff;
    --color-secondary: #a0a0a6;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-input: rgba(255, 255, 255, 0.12);
    --primary-glow: rgba(239, 63, 73, 0.12);
    --primary-glow-strong: rgba(239, 63, 73, 0.25);
    --header-bg: rgba(26, 26, 30, 0.95);
    --header-bg-scroll: rgba(26, 26, 30, 0.98);
}

/* ---- Default (Light) component styles ---- */

/* Hero banner is always dark (contrast feature) */
.hero-banner {
    background: #1e2a3a;
}

.hero-banner-content h1 {
    color: #ffffff;
}

.hero-banner .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.hero-banner .btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Cards get clean borders + shadow in light default */
.card {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-light);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* Sidebar clean style */
.hero-sidebar {
    box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
    background: #222222;
    color: #999999;
}

.site-footer .footer-brand p,
.site-footer .footer-col ul li a,
.site-footer .footer-bottom span {
    color: #999999;
}

.site-footer .footer-col ul li a:hover {
    color: #ffffff;
}

.site-footer .footer-col h4,
.site-footer .logo-text {
    color: #ffffff;
}

.site-footer .footer-social a {
    background: #333333;
    color: #999999;
}

.site-footer .footer-social a:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.site-footer .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* ---- Dark mode component overrides ---- */
[data-theme="dark"] .hero-banner {
    background: linear-gradient(135deg, #1a1020 0%, var(--bg-base) 50%, #0f1a2e 100%);
}

[data-theme="dark"] .site-footer .footer-bottom {
    border-top-color: var(--border-subtle);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Default (light): show moon icon to switch to dark */
.theme-toggle .fa-sun {
    display: none;
}

.theme-toggle .fa-moon {
    display: inline;
}

/* Dark mode: show sun icon to switch to light */
[data-theme="dark"] .theme-toggle .fa-sun {
    display: inline;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-base);
    word-wrap: break-word;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #ffffff;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: #ffffff;
}

[data-theme="dark"] .nav-dropdown-menu a:hover {
    color: #ffffff;
}

[data-theme="dark"] .hero-sidebar-nav a:hover {
    color: #ffffff;
}

[data-theme="dark"] .blog-card-content h3 a {
    color: #ffffff;
}

[data-theme="dark"] .sidebar-widget ul li a:hover {
    color: #ffffff;
}

[data-theme="dark"] .breadcrumb a:hover {
    color: #ffffff;
}

h1 { font-size: var(--text-huge); margin-bottom: var(--space-md); }
h2 { font-size: var(--text-xl); margin-bottom: var(--space-sm); }
h3 { font-size: var(--text-lg); margin-bottom: var(--space-xs); }
h4 { font-size: var(--text-md); margin-bottom: var(--space-xs); }

.display-heading {
    font-family: var(--font-display);
    font-size: var(--text-giga);
    font-weight: 700;
    line-height: 1.1;
}

.subheading {
    font-family: var(--font-subheading);
    font-weight: 400;
    color: var(--text-secondary);
}

.section-label {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

/* --- Layout --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

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

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

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

/* --- Top Utility Bar (MaxShop style) --- */
.topbar {
    background: #333333;
    color: #cccccc;
    font-size: var(--text-xs);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--topbar-height, 36px);
}

[data-theme="dark"] .topbar {
    background: #111115;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

/* News Ticker */
.ticker-wrap {
    overflow: hidden;
    flex: 1;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 90%, transparent 100%);
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 45s linear infinite;
}

.ticker:hover {
    animation-play-state: paused;
}

.ticker-item {
    flex-shrink: 0;
    padding: 0 2.5rem;
    font-size: var(--text-xs);
    color: #cccccc;
}

.ticker-item i {
    color: var(--color-primary);
    margin-right: 0.375rem;
}

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

.topbar-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.topbar-links a {
    color: #cccccc;
    font-size: var(--text-xs);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: color var(--transition-fast);
}

.topbar-links a:hover {
    color: #ffffff;
}

.topbar-links .theme-toggle {
    width: 28px;
    height: 28px;
    font-size: var(--text-xs);
    border-color: rgba(255, 255, 255, 0.15);
    color: #cccccc;
}

.topbar-links .theme-toggle:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: var(--topbar-height, 36px);
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
    transition: background var(--transition-base);
}

.header-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gray-900);
}

[data-theme="dark"] .logo-text {
    color: #ffffff;
}

.logo-text span {
    color: var(--color-primary);
}

/* Header Action Buttons (MaxShop: icon buttons + CTA) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.header-action-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gray-900);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

/* Services Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-raised);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xs);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-menu a:hover {
    background: var(--primary-glow);
    color: var(--gray-900);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-900);
    cursor: pointer;
    padding: 0.5rem;
    min-width: var(--min-touch);
    min-height: var(--min-touch);
    align-items: center;
    justify-content: center;
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    margin: 5px 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.header-cta {
    display: flex;
    align-items: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-base);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    min-height: var(--min-touch);
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--text-on-primary);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    color: var(--text-on-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 63, 73, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-primary);
    padding: 0.75rem 1rem;
}

.btn-ghost:hover {
    color: var(--color-primary-hover);
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: var(--text-md);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-sm);
}

/* --- Hero Sections --- */
.hero {
    padding: calc(var(--total-header-height) + var(--space-3xl)) 0 var(--space-3xl);
    position: relative;
    overflow: hidden;
}

/* Home Hero — Template: sidebar + banner layout */
.hero-home {
    padding-top: calc(var(--total-header-height) + var(--space-lg));
    padding-bottom: 0;
    position: relative;
}

.hero-home-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    min-height: 480px;
}

/* Left Services Sidebar (matches template category sidebar) */
.hero-sidebar {
    background: var(--bg-raised);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    padding: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-subtle);
    border-right: none;
}

.hero-sidebar-header {
    background: var(--color-primary);
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg) 0 0 0;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.hero-sidebar-header i {
    font-size: var(--text-base);
    color: #ffffff;
}

.hero-sidebar-header span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.25rem;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.hero-sidebar-nav a:hover {
    background: rgba(239, 63, 73, 0.06);
    color: var(--gray-900);
    padding-left: 1.5rem;
}

.hero-sidebar-nav a i.fa-chevron-right {
    font-size: 0.6em;
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

.hero-sidebar-nav a:hover i.fa-chevron-right {
    color: var(--color-primary);
}

.hero-sidebar-nav a .sidebar-icon {
    margin-right: 0.625rem;
    color: var(--color-primary);
    width: 18px;
    text-align: center;
    animation: badgePulse 3s ease-in-out infinite;
}

.hero-sidebar-nav a:nth-child(2) .sidebar-icon { animation-delay: 0.5s; }
.hero-sidebar-nav a:nth-child(3) .sidebar-icon { animation-delay: 1s; }
.hero-sidebar-nav a:nth-child(4) .sidebar-icon { animation-delay: 1.5s; }
}

.hero-sidebar-cta {
    padding: 1rem 1.25rem;
    margin-top: auto;
}

/* Right Hero Banner (matches template slider area) */
.hero-banner {
    position: relative;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1020 0%, var(--bg-base) 50%, #0f1a2e 100%);
    border: 1px solid var(--border-subtle);
    border-left: none;
}

.hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #0d1520;
}

.hero-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 25, 0.7) 0%, rgba(10, 15, 25, 0.4) 100%);
}

.hero-banner-content {
    position: relative;
    z-index: 1;
    padding: var(--space-2xl) var(--space-xl);
    max-width: 640px;
}

.hero-banner-content h1 {
    font-family: var(--font-display);
    font-size: var(--text-huge);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero-banner-content .subheadline {
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xs);
    line-height: 1.7;
}

.hero-banner-content .supporting-line {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* --- Hero Live Insight Feed --- */
.hero-banner {
    display: flex;
    align-items: stretch;
}

.hero-banner-content {
    flex: 1;
}

.hero-feed {
    position: relative;
    z-index: 1;
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    animation: heroFadeUp 0.8s cubic-bezier(0.4, 1, 0.65, 1) 1s both;
}

.hero-feed-header {
    padding: 0.75rem 1rem;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-feed-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: feedPulse 2s ease-in-out infinite;
}

@keyframes feedPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-feed-track {
    height: 350px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
}

.hero-feed-scroll {
    display: flex;
    flex-direction: column;
    animation: feedScroll 56s linear infinite;
}

.hero-feed-scroll:hover {
    animation-play-state: paused;
}

@keyframes feedScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.hero-feed-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: default;
    transition: background var(--transition-fast);
}

.hero-feed-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero-feed-item > i {
    color: var(--color-primary);
    font-size: 0.85rem;
    margin-top: 0.2em;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.hero-feed-item strong {
    display: block;
    font-size: var(--text-sm);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.hero-feed-item span {
    display: block;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .hero-feed {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .hero-feed {
        display: none;
    }
}

/* 4-Column Promo Strip (matches template's promotional banners below slider) */
.promo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.promo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    text-decoration: none;
    transition: transform var(--transition-fast);
    border: 1px solid var(--border-subtle);
}

.promo-card:hover {
    transform: translateY(-3px);
}

.promo-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.promo-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.promo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

.promo-card-content {
    position: relative;
    z-index: 2;
}

.promo-card-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

.promo-card-content p {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.promo-card-content .promo-link {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Trust Signals Strip */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-lg);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: #000000;
}

.trust-item i {
    color: var(--color-accent);
    font-size: var(--text-sm);
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-glow-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--primary-glow);
    color: var(--color-primary);
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.card h3 {
    font-size: var(--text-md);
    margin-bottom: var(--space-xs);
}

.card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- Grids --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

/* --- Stats Strip --- */
.stats-strip {
    background: linear-gradient(135deg, var(--color-primary), #c0303a);
    padding: var(--space-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item .stat-number {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: #ffffff;
    display: block;
    line-height: 1.2;
}

.stat-item .stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

/* --- Homepage: Challenge Section (Dark) --- */
.home-challenge {
    background: linear-gradient(135deg, #0d1117 0%, #1a1a2e 50%, #16213e 100%);
    padding: var(--space-3xl) 0;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.challenge-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.challenge-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.challenge-stat {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.challenge-card h3 {
    color: #ffffff;
    margin-bottom: var(--space-xs);
}

.challenge-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* --- Homepage: Service Cards --- */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.home-service-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.home-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.home-service-card:hover::after {
    transform: scaleX(1);
}

.home-service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.home-service-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.home-service-card p {
    font-size: var(--text-sm);
    flex: 1;
}

.home-service-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    margin-top: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: gap var(--transition-fast);
}

.home-service-card:hover .home-service-link {
    gap: 0.625rem;
}

/* --- Homepage: Why Section (Split Layout) --- */
.home-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.home-why-features {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.home-why-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.home-why-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.home-why-item h4 {
    margin-bottom: 0.25rem;
}

.home-why-item p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.home-why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    max-height: 520px;
    box-shadow: var(--shadow-lg);
}

/* --- Homepage: Timeline --- */
.home-timeline {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.home-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--border-subtle));
}

.home-timeline-step {
    display: flex;
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);
    position: relative;
}

.home-timeline-step:last-child {
    padding-bottom: 0;
}

.home-timeline-marker {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.home-timeline-marker span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-lg);
    color: #ffffff;
}

.home-timeline-content {
    flex: 1;
    padding-top: 0.25rem;
}

.home-timeline-content h3 {
    margin-bottom: var(--space-xs);
}

.home-timeline-content p {
    font-size: var(--text-sm);
}

.home-timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--space-sm);
}

.home-timeline-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    background: var(--bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.home-timeline-tags span i {
    color: var(--color-primary);
    font-size: 0.65rem;
}

/* --- Homepage: CTA Section (Dark) --- */
.home-cta-section {
    background: linear-gradient(135deg, #0d1117 0%, #1a1a2e 50%, #16213e 100%);
    padding: var(--space-3xl) 0;
}

.home-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-xl);
    align-items: center;
}

.home-cta .btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.home-cta-checklist {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.home-cta-check {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
}

.home-cta-check i {
    color: var(--color-accent);
}

/* --- Homepage Responsive --- */
@media (max-width: 1024px) {
    .home-services-grid { grid-template-columns: repeat(2, 1fr); }
    .challenge-grid { grid-template-columns: repeat(3, 1fr); }
    .home-cta { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .challenge-grid { grid-template-columns: 1fr; }
    .home-services-grid { grid-template-columns: 1fr; }
    .home-why-grid { grid-template-columns: 1fr; }
    .home-why-image { order: -1; }
    .home-timeline::before { left: 20px; }
    .home-timeline-marker { width: 42px; height: 42px; }
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(239, 63, 73, 0.08) 100%);
    border: 1px solid rgba(239, 63, 73, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
}

.cta-banner h2 {
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

/* --- Process Steps --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    counter-increment: step;
}

.process-step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-md);
    margin-bottom: var(--space-sm);
}

.process-step h3 {
    font-size: var(--text-md);
}

.process-step p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* --- Six-Stage Process (How We Work) --- */
.stage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    counter-reset: stage;
}

.stage-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-subtle);
    counter-increment: stage;
    transition: border-color var(--transition-base);
}

.stage-card:hover {
    border-color: var(--primary-glow-strong);
}

.stage-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(239, 63, 73, 0.15);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
}

.stage-card h3 {
    font-size: var(--text-md);
}

.stage-card .stage-tag {
    font-size: var(--text-xs);
    color: var(--color-accent);
    font-weight: 600;
    margin-left: 0.5rem;
}

/* --- Pricing Tables --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition-base);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #ffffff;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-sm);
}

.pricing-card h3 {
    font-size: var(--text-lg);
    margin-bottom: 0.25rem;
}

.pricing-card .price {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.pricing-card .price-note {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

.pricing-card ul {
    flex-grow: 1;
    margin-bottom: var(--space-lg);
}

.pricing-card ul li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.pricing-card ul li i {
    color: var(--color-accent);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* --- Pricing Table (Matrix) --- */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-lg);
}

.pricing-table thead th {
    background: var(--bg-card);
    color: var(--gray-900);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--color-primary);
}

.pricing-table tbody td {
    padding: 0.875rem 1rem;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-table tbody tr:hover {
    background: rgba(239, 63, 73, 0.03);
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--gray-900);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-md);
    text-align: left;
    padding: var(--space-md) 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--min-touch);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question i {
    font-size: var(--text-sm);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer-inner {
    padding-bottom: var(--space-md);
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

/* --- Blog / Insights Cards --- */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-xl);
}

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

.blog-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: border-color var(--transition-base);
}

.blog-card:hover {
    border-color: var(--primary-glow-strong);
}

.blog-card-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-alt), var(--bg-raised));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: var(--text-xl);
}

.blog-card-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-meta {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-card-meta .category-tag {
    background: var(--primary-glow);
    color: var(--color-primary);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.blog-card-content h3 {
    font-size: var(--text-md);
    margin-bottom: 0.5rem;
}

.blog-card-content h3 a {
    color: var(--gray-900);
}

.blog-card-content h3 a:hover {
    color: var(--color-primary);
}

.blog-card-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .read-more {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 1px solid var(--border-subtle);
}

.sidebar-widget h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-primary);
}

.sidebar-widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-widget ul li a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

.sidebar-widget ul li a:hover {
    color: var(--gray-900);
}

.sidebar-widget ul li a .count {
    color: var(--text-tertiary);
    font-size: var(--text-xs);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, rgba(239, 63, 73, 0.08), var(--bg-card));
    border-color: rgba(239, 63, 73, 0.15);
}

.newsletter-widget .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-widget input[type="email"] {
    background: var(--bg-base);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-family: var(--font-body);
    min-height: var(--min-touch);
}

.newsletter-widget input[type="email"]::placeholder {
    color: var(--text-tertiary);
}

/* --- Services Category Grid --- */
.services-hero-banner {
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(239, 63, 73, 0.06) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.services-hero-banner h1 {
    font-size: var(--text-xl);
}

.service-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.service-thumb {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.service-thumb:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.service-thumb i {
    font-size: var(--text-lg);
    color: var(--color-primary);
}

.service-thumb span {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: 500;
}

.services-listing {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-xl);
}

.services-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* --- Contact Form --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.form-group label .required {
    color: var(--color-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--text-base);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-fast);
    min-height: var(--min-touch);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(239, 63, 73, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-tertiary);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-error {
    font-size: var(--text-xs);
    color: var(--color-primary);
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
    border-color: var(--color-primary);
}

.form-group.error .form-error {
    display: block;
}

/* Contact Info Sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-subtle);
}

.contact-info-card h3 {
    font-size: var(--text-md);
    margin-bottom: var(--space-sm);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: var(--space-sm);
}

.contact-detail i {
    color: var(--color-primary);
    margin-top: 0.2rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.contact-detail span,
.contact-detail a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* After Submit Steps */
.steps-list {
    counter-reset: contactstep;
}

.steps-list li {
    counter-increment: contactstep;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0 0.75rem;
    padding: 0.625rem 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.steps-list li strong {
    color: var(--text-primary);
    grid-column: 2;
    display: block;
    margin-bottom: 0.125rem;
}

.steps-list li span {
    grid-column: 2;
}

.steps-list li::before {
    content: counter(contactstep);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(239, 63, 73, 0.15);
    color: var(--color-primary);
    font-weight: 700;
    font-size: var(--text-xs);
    margin-top: 2px;
}

/* --- Values / Features Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.value-card {
    padding: var(--space-md);
}

.value-card h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* --- About page --- */
.about-hero .hero-content {
    max-width: 720px;
}

.about-story {
    max-width: var(--prose-width);
}

/* Story: text + image side by side */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-story-text {
    max-width: var(--prose-width);
}

.about-story-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 380px;
    box-shadow: var(--shadow-md);
}

/* Stat strip */
.about-stat-strip {
    background: var(--color-primary);
    padding: var(--space-xl) 0;
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.about-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.about-stat-label {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.25rem;
}

/* Value cards with icons */
.about-value-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.about-value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.about-value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 1.25rem;
    color: var(--color-primary);
}

/* Reach cards with icons */
.about-reach-card {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-xl);
}

.about-reach-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.125rem;
    color: var(--color-primary);
}

/* Partners: text + image side by side */
.about-partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-partners-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 320px;
    box-shadow: var(--shadow-md);
}

/* Responsive: about page */
@media (max-width: 768px) {
    .about-story-grid,
    .about-partners-grid {
        grid-template-columns: 1fr;
    }
    .about-story-image {
        order: -1;
    }
    .about-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-reach-card {
        flex-direction: column;
    }
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.partner-badge i {
    color: var(--color-accent);
}

/* --- Underline Accent Heading (red underline on text) --- */
.underline-accent {
    display: inline;
    padding-bottom: 0.2em;
    background-image: linear-gradient(var(--color-primary), var(--color-primary));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 3px;
}

/* --- Highlight Cards (icon + underline heading + text) --- */
.highlight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.highlight-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.highlight-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.highlight-card h3 {
    margin-bottom: var(--space-sm);
}

.highlight-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* --- Highlight Features (horizontal icon + text rows) --- */
.highlight-features {
    display: grid;
    gap: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-feature {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
}

.highlight-feature > i {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--color-primary);
}

.highlight-feature h4 {
    margin-bottom: 0.5rem;
}

.highlight-feature p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

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

@media (max-width: 768px) {
    .highlight-cards { grid-template-columns: 1fr; }
    .highlight-feature { flex-direction: column; }
}

/* --- Enhanced Hero Components --- */
.hero-enhanced {
    position: relative;
    overflow: hidden;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 63, 73, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--space-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: var(--text-xs);
    font-weight: 500;
    background: var(--primary-glow);
    color: var(--color-primary);
    border: 1px solid rgba(239, 63, 73, 0.15);
}

.hero-badge i {
    font-size: 0.65rem;
    animation: badgePulse 2.5s ease-in-out infinite;
}

.hero-badges .hero-badge:nth-child(2) i { animation-delay: 0.4s; }
.hero-badges .hero-badge:nth-child(3) i { animation-delay: 0.8s; }
.hero-badges .hero-badge:nth-child(4) i { animation-delay: 1.2s; }
.hero-badges .hero-badge:nth-child(5) i { animation-delay: 1.6s; }

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.25); }
}

.hero-badge-light {
    background: var(--bg-card);
    color: var(--text-secondary);
    border-color: var(--border-subtle);
}

.hero-badge-light i {
    color: var(--color-accent);
}

.hero-stat-float {
    position: absolute;
    right: var(--space-xl);
    top: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    animation: heroFadeUp 0.8s cubic-bezier(0.4, 1, 0.65, 1) 0.6s both;
}

.hero-stat-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    animation: gentleFloat 4s ease-in-out infinite;
}

.hero-stat-float .hero-stat-pill:nth-child(2) { animation-delay: 1.2s; }
.hero-stat-float .hero-stat-pill:nth-child(3) { animation-delay: 2.4s; }

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

.hero-stat-pill i {
    color: var(--color-primary);
    font-size: 1rem;
    animation: pulseGlow 3s ease-in-out infinite;
    border-radius: 50%;
}

.hero-stat-float .hero-stat-pill:nth-child(1) i { animation-delay: 0s; }
.hero-stat-float .hero-stat-pill:nth-child(2) i { animation-delay: 0.5s; }
.hero-stat-float .hero-stat-pill:nth-child(3) i { animation-delay: 1s; }

.hero-stat-pill strong {
    font-size: var(--text-sm);
    color: var(--text-primary);
    display: block;
    line-height: 1.2;
}

.hero-stat-pill span {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.hero-mini-steps {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.hero-mini-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.hero-mini-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 700;
    flex-shrink: 0;
    animation: pulseGlow 3s ease-in-out infinite;
}

.hero-mini-step:nth-child(1) .hero-mini-step-num { animation-delay: 0s; }
.hero-mini-step:nth-child(2) .hero-mini-step-num { animation-delay: 0.5s; }
.hero-mini-step:nth-child(3) .hero-mini-step-num { animation-delay: 1s; }
.hero-mini-step:nth-child(4) .hero-mini-step-num { animation-delay: 1.5s; }

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 63, 73, 0); transform: scale(1); }
    50% { box-shadow: 0 0 12px 4px rgba(239, 63, 73, 0.35); transform: scale(1.1); }
}

@media (max-width: 1024px) {
    .hero-stat-float { display: none; }
}

@media (max-width: 768px) {
    .hero-mini-steps { flex-direction: column; gap: var(--space-xs); }
}

/* --- Service Detail Pages --- */
.service-detail-hero {
    padding: calc(var(--total-header-height) + var(--space-3xl)) 0 var(--space-xl);
    background: linear-gradient(135deg, var(--bg-base) 0%, var(--bg-alt) 100%);
}

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

.package-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-subtle);
}

.package-card h3 {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

.package-card > p {
    margin-bottom: var(--space-sm);
}

.package-card ul {
    margin-top: 0.5rem;
}

.package-card ul li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.package-card ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.package-meta span {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.package-meta span i {
    color: var(--color-primary);
    margin-right: 0.375rem;
}

/* --- Legal Pages (Privacy, Terms) --- */
.legal-draft-banner {
    background: #FEF3CD;
    border: 1px solid #F0D060;
    color: #856404;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    margin-top: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--text-sm);
    font-weight: 600;
}

[data-theme="dark"] .legal-draft-banner {
    background: rgba(254, 243, 205, 0.1);
    border-color: rgba(240, 208, 96, 0.3);
    color: #F0D060;
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--total-header-height) + var(--space-md));
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.legal-toc {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

.legal-toc h4 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-sm);
}

.legal-toc nav {
    display: flex;
    flex-direction: column;
}

.legal-toc nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
    transition: all var(--transition-fast);
}

.legal-toc nav a:hover {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

.legal-toc nav a i {
    width: 16px;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

.legal-toc nav a:hover i {
    color: var(--color-primary);
}

.legal-meta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    font-size: var(--text-sm);
}

.legal-meta-card p {
    margin-bottom: 0.25rem;
    font-size: var(--text-sm);
}

.legal-meta-card strong {
    color: var(--text-primary);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-content {
    min-width: 0;
}

.legal-intro {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
}

.legal-section {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-section.section-alt {
    background: var(--bg-alt);
    margin-left: calc(var(--space-lg) * -1);
    margin-right: calc(var(--space-lg) * -1);
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
    border-radius: var(--radius-lg);
    border-bottom: none;
}

.legal-section h2 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.legal-section h2 i {
    color: var(--color-primary);
    font-size: 0.85em;
}

.legal-list {
    list-style: none;
    padding: 0;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-list li i {
    color: var(--color-accent);
    margin-top: 0.25em;
    flex-shrink: 0;
    font-size: 0.7rem;
}

.legal-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-md) 0;
}

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

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

.legal-card h4 {
    margin-bottom: 0.5rem;
}

.legal-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.legal-card-compact {
    text-align: center;
    padding: var(--space-md);
}

.legal-card-compact h4 {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.legal-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--primary-glow);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--space-md);
    margin: var(--space-md) 0;
}

.legal-callout > i {
    color: var(--color-primary);
    margin-top: 0.15em;
    flex-shrink: 0;
}

.legal-callout p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.legal-table-wrap {
    margin: var(--space-md) 0;
    overflow-x: auto;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.legal-table th {
    background: var(--bg-alt);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-medium);
}

.legal-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.legal-contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: inline-block;
}

.legal-contact-card p {
    margin-bottom: 0.25rem;
    font-size: var(--text-sm);
}

@media (max-width: 1024px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }
    .legal-sidebar {
        position: static;
        flex-direction: row;
    }
    .legal-toc {
        flex: 1;
    }
    .legal-meta-card {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .legal-sidebar {
        flex-direction: column;
    }
    .legal-card-grid,
    .legal-card-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ROI stats */
.roi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.roi-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    border-left: 3px solid var(--color-primary);
}

.roi-card .roi-stat {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.roi-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* Service items numbered list */
.service-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    counter-reset: svc;
}

.service-item {
    counter-increment: svc;
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.service-item h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-item h4::before {
    content: counter(svc) ".";
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 700;
}

.service-item p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* --- Who We Work With --- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.audience-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-subtle);
}

.audience-card .audience-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.audience-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* --- Standards List --- */
.standards-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.standards-list li i {
    color: var(--color-accent);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* --- Reach / Markets --- */
.reach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.reach-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-subtle);
}

.reach-card h3 {
    margin-bottom: var(--space-xs);
}

.reach-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* --- Footer --- */
/* Footer is always dark regardless of theme */
.site-footer {
    background: #222222;
    border-top: none;
    padding: var(--space-2xl) 0 var(--space-md);
    color: #999999;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo-text {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: #ffffff;
}

.footer-brand p {
    font-size: var(--text-sm);
    color: #999999;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: #333333;
    color: #999999;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.footer-col h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    font-size: var(--text-sm);
    color: #999999;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-xs);
    color: #999999;
}

/* --- Breadcrumb --- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
    padding-top: calc(var(--total-header-height) + var(--space-md));
}

.breadcrumb a {
    color: var(--text-tertiary);
}

.breadcrumb a:hover {
    color: var(--gray-900);
}

.breadcrumb .separator {
    color: var(--text-tertiary);
}

/* --- Pricing Models Grid --- */
.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.model-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 1px solid var(--border-subtle);
    text-align: center;
}

.model-card i {
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.model-card h4 {
    font-size: var(--text-base);
    margin-bottom: 0.375rem;
}

.model-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* Discount note */
.discount-note {
    background: rgba(97, 206, 112, 0.08);
    border: 1px solid rgba(97, 206, 112, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-top: var(--space-md);
}

.discount-note p {
    font-size: var(--text-sm);
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.discount-note p:last-child {
    margin-bottom: 0;
}

/* --- Scroll Animations --- */
/* Content is visible by default — animations are progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

.reveal.animate-in {
    animation: fadeUp 0.8s cubic-bezier(0.4, 1, 0.65, 1) both;
}

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

/* Stagger children */
.stagger-children > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.animate-in > * {
    animation: fadeUpChild 0.6s cubic-bezier(0.4, 1, 0.65, 1) both;
}

.stagger-children.animate-in > *:nth-child(1) { animation-delay: 0ms; }
.stagger-children.animate-in > *:nth-child(2) { animation-delay: 80ms; }
.stagger-children.animate-in > *:nth-child(3) { animation-delay: 160ms; }
.stagger-children.animate-in > *:nth-child(4) { animation-delay: 240ms; }
.stagger-children.animate-in > *:nth-child(5) { animation-delay: 320ms; }
.stagger-children.animate-in > *:nth-child(6) { animation-delay: 400ms; }

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

/* --- Hero Entrance Animations --- */
@keyframes heroSlideIn {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes heroBannerZoom {
    0% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

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

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

.hero-sidebar {
    animation: heroSlideIn 0.8s cubic-bezier(0.4, 1, 0.65, 1) 0.1s both;
}

.hero-banner {
    animation: heroBannerZoom 1s cubic-bezier(0.4, 1, 0.65, 1) 0.2s both;
}

.hero-banner-content h1 {
    animation: heroTextReveal 0.8s cubic-bezier(0.4, 1, 0.65, 1) 0.5s both;
}

.hero-banner-content .subheadline {
    animation: heroTextReveal 0.8s cubic-bezier(0.4, 1, 0.65, 1) 0.65s both;
}

.hero-banner-content .supporting-line {
    animation: heroTextReveal 0.8s cubic-bezier(0.4, 1, 0.65, 1) 0.75s both;
}

.hero-banner-content .hero-buttons {
    animation: heroFadeUp 0.8s cubic-bezier(0.4, 1, 0.65, 1) 0.9s both;
}

.trust-strip {
    animation: heroFadeUp 0.6s cubic-bezier(0.4, 1, 0.65, 1) 1.1s both;
}

.promo-strip .promo-card:nth-child(1) { animation: heroFadeUp 0.6s cubic-bezier(0.4, 1, 0.65, 1) 1.2s both; }
.promo-strip .promo-card:nth-child(2) { animation: heroFadeUp 0.6s cubic-bezier(0.4, 1, 0.65, 1) 1.3s both; }
.promo-strip .promo-card:nth-child(3) { animation: heroFadeUp 0.6s cubic-bezier(0.4, 1, 0.65, 1) 1.4s both; }
.promo-strip .promo-card:nth-child(4) { animation: heroFadeUp 0.6s cubic-bezier(0.4, 1, 0.65, 1) 1.5s both; }

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
    .services-listing { grid-template-columns: 1fr; }
    .services-hero-banner { grid-template-columns: 1fr; }
    .service-thumbnails { grid-template-columns: repeat(4, 1fr); }
    .package-meta { flex-direction: column; }
    .reach-grid { grid-template-columns: 1fr; }
    .models-grid { grid-template-columns: repeat(2, 1fr); }
    .audience-grid { grid-template-columns: 1fr; }
    .hero-home-grid { grid-template-columns: 220px 1fr; }
    .promo-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    .topbar { display: none; }
    .site-header { top: 0; }

    .header-actions .header-action-btn { display: none; }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-base);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg);
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        padding: 0.875rem 0;
        font-size: var(--text-base);
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0 0 0 var(--space-sm);
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero-home {
        padding-top: calc(var(--total-header-height) + var(--space-md));
    }

    .hero-home-grid {
        grid-template-columns: 1fr;
    }

    .hero-sidebar {
        display: none;
    }

    .hero-banner {
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-subtle);
        min-height: 360px;
    }

    .hero-banner-content {
        padding: var(--space-xl) var(--space-md);
    }

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

    h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 4vw, 2rem); }

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

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
    .process-steps { grid-template-columns: 1fr; }
    .stage-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .service-items { grid-template-columns: 1fr; }
    .roi-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-card-image {
        aspect-ratio: 16/9;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

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

    .models-grid { grid-template-columns: 1fr; }

    .trust-strip {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

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

    /* Pricing table scroll */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-table {
        min-width: 600px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .container {
        padding: 0 0.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
