/* ==========================================================================
   Swift Traders INC — Core Stylesheet
   Design tokens, layout, and component styles (light mode base)
   ========================================================================== */

:root {
  /* Color tokens */
  --navy-950: #0a1628;
  --navy-900: #0f2138;
  --blue-800: #123a6b;
  --blue-700: #164b86;
  --blue-600: #1b5fae;
  --blue-500: #2e7dd1;
  --blue-400: #5b9be0;
  --blue-100: #e7f0fb;
  --blue-50: #f4f8fd;
  --gold-500: #c9a15a;
  --gold-400: #d9b876;
  --white: #ffffff;
  --ink-900: #101828;
  --ink-700: #344054;
  --ink-600: #475467;
  --ink-400: #98a2b3;
  --ink-200: #e4e7ec;
  --ink-100: #f2f4f7;

  /* Semantic (light mode default) */
  --bg-body: var(--white);
  --bg-surface: var(--white);
  --bg-surface-alt: var(--blue-50);
  --bg-header: rgba(255, 255, 255, 0.85);
  --text-primary: var(--ink-900);
  --text-secondary: var(--ink-600);
  --text-inverse: var(--white);
  --border-color: var(--ink-200);
  --accent: var(--blue-600);
  --accent-strong: var(--blue-800);
  --accent-soft: var(--blue-100);
  --gold: var(--gold-500);
  --shadow-sm: 0 1px 3px rgba(16, 40, 80, 0.08), 0 1px 2px rgba(16, 40, 80, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 40, 80, 0.10), 0 2px 6px rgba(16, 40, 80, 0.06);
  --shadow-lg: 0 24px 48px rgba(16, 40, 80, 0.16), 0 8px 16px rgba(16, 40, 80, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);

  /* Typography */
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --header-height: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms var(--ease-out);
  --transition-base: 320ms var(--ease-out);
  --transition-slow: 560ms var(--ease-out);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-primary); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { color: var(--text-secondary); }

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-surface-alt); }
.section-header { max-width: 680px; margin-bottom: 56px; }
.section-header.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.section-header p { font-size: 1.05rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--bg-surface); color: var(--accent-strong); border-color: var(--border-color); }
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-950); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: var(--bg-header);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}
.site-header.scrolled { border-bottom-color: var(--border-color); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.brand img, .brand .logo-mark { height: 44px; width: auto; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1rem;
}

/* Header logo swaps between color (light theme) and white (dark theme) variants */
.site-header .brand .logo-dark { display: none; }
[data-theme="dark"] .site-header .brand .logo-light { display: none; }
[data-theme="dark"] .site-header .brand .logo-dark { display: block; }

/* Footer sits on a permanently dark surface, so it always uses the white logo */
.footer-brand .brand img { height: 52px; }
.brand-name > span { display: block; }
.brand-name > span:first-child { white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 10px 13px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-soft); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-surface-alt); border: 1px solid var(--border-color);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.theme-toggle:hover { transform: rotate(15deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
}
.hamburger span { width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform var(--transition-fast), opacity var(--transition-fast); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  top: var(--header-height); left: 0; right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px 28px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-base), opacity var(--transition-base);
  z-index: 999;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a { display: block; padding: 14px 4px; font-weight: 600; border-bottom: 1px solid var(--border-color); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav-cta {
  display: block; text-align: center; margin-top: 16px;
  padding: 13px 20px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.92rem; color: var(--white) !important;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-bottom: none !important;
}

/* ---------- Loading Screen ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-950);
  transition: opacity 500ms var(--ease-out), visibility 500ms var(--ease-out);
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-logo { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--blue-500), var(--gold-400)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; color: var(--navy-950); font-size: 1.4rem; animation: loaderPulse 1.4s ease-in-out infinite; }
.loader-logo-img { height: 68px; width: auto; animation: loaderPulse 1.4s ease-in-out infinite; }
.loader-bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.15); overflow: hidden; }
.loader-bar::after { content: ""; display: block; width: 40%; height: 100%; background: linear-gradient(90deg, var(--blue-400), var(--gold-400)); animation: loaderSlide 1.1s ease-in-out infinite; }
.loader-text { color: rgba(255,255,255,0.7); font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 0;
  padding: calc(var(--header-height) + 52px) 0 14px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  background: var(--navy-950);
}
.hero-grid { position: relative; z-index: 2; display: block; }
.hero-copy { max-width: 720px; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 { margin-bottom: 22px; color: var(--white); text-shadow: 0 4px 24px rgba(0,0,0,0.32); }
.hero-copy h1 .accent-text { background: linear-gradient(120deg, #9bcaff, #f0d49d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p.lead { font-size: 1.12rem; max-width: 620px; margin-bottom: 32px; color: rgba(255,255,255,0.84); text-shadow: 0 2px 16px rgba(0,0,0,0.28); }
.hero-copy .eyebrow { color: var(--white); background: rgba(27,95,174,0.48); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(10px); }
.hero .btn-secondary { color: var(--white); background: rgba(10,22,40,0.48); border-color: rgba(255,255,255,0.32); backdrop-filter: blur(10px); }
.hero .btn-secondary:hover { color: var(--white); background: rgba(27,95,174,0.58); border-color: rgba(255,255,255,0.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; }
.hero-trust .trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.82); }
.hero-trust .trust-item svg { width: 18px; height: 18px; color: var(--gold-400); }

/* Full-bleed hero background slideshow */
.hero-slideshow {
  isolation: isolate;
}
.hero-slideshow::before,
.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-slideshow::before { background: linear-gradient(90deg, rgba(10,22,40,0.94) 0%, rgba(10,22,40,0.82) 38%, rgba(10,22,40,0.42) 72%, rgba(10,22,40,0.5) 100%); }
.hero-slideshow::after { background: linear-gradient(180deg, rgba(10,22,40,0.28) 0%, transparent 36%, rgba(10,22,40,0.48) 100%); }
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 900ms var(--ease-out), transform 6.5s ease-out;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide:first-child img { object-position: 62% center; }
.hero-slideshow-controls {
  position: absolute;
  z-index: 3;
  top: auto;
  right: max(24px, calc((100vw - var(--container-width)) / 2 + 24px));
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-pill);
  background: rgba(10,22,40,0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.hero-slide-toggle {
  position: relative;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.hero-slide-toggle::before,
.hero-slide-toggle::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--white);
}
.hero-slide-toggle::before { left: 9px; }
.hero-slide-toggle::after { right: 9px; }
.hero-slide-toggle.is-paused::before {
  top: 7px;
  left: 10px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--white);
  border-radius: 0;
  background: transparent;
}
.hero-slide-toggle.is-paused::after { display: none; }
.hero-slide-dots { display: flex; align-items: center; gap: 7px; }
.hero-slide-dot {
  position: relative;
  width: 20px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
}
.hero-slide-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.42);
  transform: translate(-50%, -50%);
  transition: width var(--transition-fast), background var(--transition-fast);
}
.hero-slide-dot.is-active { width: 28px; }
.hero-slide-dot.is-active::after { width: 24px; background: var(--gold-400); }
.hero-slide-dot:hover::after { background: var(--white); }

/* Generated editorial imagery used across content pages */
.editorial-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-surface-alt);
  box-shadow: var(--shadow-lg);
}
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-media figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.86);
  background: rgba(10,22,40,0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.88rem;
  line-height: 1.45;
}
.editorial-media figcaption strong { color: var(--white); }
.editorial-media-portrait { aspect-ratio: 3 / 2; }
.editorial-banner { aspect-ratio: 2.35 / 1; margin-bottom: 56px; }
.editorial-banner img { object-position: center; }
.about-visual-stack { display: grid; gap: 22px; }
.contact-media { aspect-ratio: 1.65 / 1; margin-bottom: 24px; }
.owner-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91,155,224,0.38);
  border-radius: 50%;
  color: var(--white);
  background: radial-gradient(circle at 32% 28%, var(--blue-500), var(--blue-800) 62%, var(--navy-950));
  box-shadow: 0 18px 36px rgba(18,58,107,0.2);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* ---------- Stats ---------- */
.stats-band { background: linear-gradient(135deg, var(--blue-800), var(--navy-950)); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; color: var(--white); }
.stat-number { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); }
.stat-number .suffix { color: var(--gold-400); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 6px; letter-spacing: 0.02em; }

/* ---------- Cards / Grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-400); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-strong);
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; }
.generated-art {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(91,155,224,0.3);
  background: var(--bg-surface-alt);
  box-shadow: 0 12px 28px rgba(18,58,107,0.16);
}
.generated-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-icon.generated-art { width: 88px; height: 88px; border-radius: 20px; flex-shrink: 0; }
.feature-card[style*="text-align:center"] .feature-icon.generated-art { margin-inline: auto; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card.more-services { border: 2px dashed var(--border-color); text-align: center; }
.feature-card.more-services .feature-icon { margin-inline: auto; background: var(--accent-soft); }
.feature-card.more-services p { max-width: 340px; margin-inline: auto; }

/* Glassmorphism panel */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Marketplace band ---------- */
.marketplace-band { padding: 88px 0; }
.marketplace-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.marketplace-card { position: relative; padding: 40px; border-radius: var(--radius-lg); color: var(--white); overflow: hidden; }
.marketplace-card.amazon { background: linear-gradient(135deg, #1b5fae, #123a6b); }
.marketplace-card.ebay { background: linear-gradient(135deg, #164b86, #0a1628); }
.marketplace-card.walmart { background: linear-gradient(135deg, #0071ce, #0a3d73); }
.marketplace-card.newegg { background: linear-gradient(135deg, #d0521a, #5c2308); }
.marketplace-card.tiktok { background: linear-gradient(135deg, #1a1a1a, #000000); }
.marketplace-card.etsy { background: linear-gradient(135deg, #e0621d, #7a3005); }
.marketplace-card.more-marketplaces { background: var(--bg-surface); color: var(--text-primary); border: 2px dashed var(--border-color); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.marketplace-card.more-marketplaces h3, .marketplace-card.more-marketplaces p { color: var(--text-primary); }
.marketplace-card.more-marketplaces p { color: var(--text-secondary); max-width: 420px; }
.marketplace-card.more-marketplaces ul { justify-items: center; }
.marketplace-card.more-marketplaces li { justify-content: center; }
.marketplace-card h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 10px; }
.marketplace-card p { color: rgba(255,255,255,0.82); }
.marketplace-card ul { margin-top: 18px; display: grid; gap: 10px; }
.marketplace-card li { display: flex; gap: 10px; font-size: 0.92rem; color: rgba(255,255,255,0.9); }
.marketplace-card li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold-400); }
.marketplace-card.more-marketplaces li { color: var(--text-secondary); }
.marketplace-card.more-marketplaces li svg { color: var(--accent-strong); }
.marketplace-badge { position: absolute; top: 28px; right: 28px; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,255,255,0.15); padding: 6px 12px; border-radius: var(--radius-pill); }
.marketplace-logo-mark { width: 56px; height: 56px; background: #fff; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; padding: 9px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.marketplace-logo-mark img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.marketplace-logo-mark svg { width: 26px; height: 26px; color: var(--accent-strong); }
.marketplace-card.more-marketplaces .marketplace-logo-mark { background: var(--accent-soft); }

/* ---------- Testimonials ---------- */
.testimonial-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--bg-surface-alt); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--border-color); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold-500); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-quote { font-size: 0.98rem; color: var(--text-primary); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--gold-400)); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-family: var(--font-display); }
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-role { font-size: 0.78rem; color: var(--text-secondary); }

/* ---------- FAQ Accordion ---------- */
.accordion { display: grid; gap: 14px; }
.accordion-item { border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-surface); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text-primary);
}
.accordion-trigger .plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform var(--transition-fast); }
.accordion-trigger .plus::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.accordion-trigger .plus::after { height: 100%; width: 2px; left: 50%; top: 0; transform: translateX(-50%); }
.accordion-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height var(--transition-base); }
.accordion-panel-inner { padding: 0 24px 22px; }
.accordion-item.open .accordion-panel { max-height: 400px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 88px 0; }
.cta-panel {
  background: linear-gradient(135deg, var(--blue-800), var(--navy-950));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-panel h2 { color: var(--white); margin-bottom: 14px; }
.cta-panel p { color: rgba(255,255,255,0.78); max-width: 560px; margin-inline: auto; margin-bottom: 28px; }
.cta-panel .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition-fast), transform var(--transition-fast); }
.footer-social a:hover { background: var(--blue-600); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.92rem; transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--gold-400); }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.footer-col .contact-line svg { width: 17px; height: 17px; margin-top: 2px; color: var(--gold-400); flex-shrink: 0; }

.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input { flex: 1; padding: 11px 14px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: var(--white); font-size: 0.88rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form button { border-radius: 50%; width: 42px; height: 42px; flex-shrink: 0; background: linear-gradient(135deg, var(--blue-500), var(--gold-400)); border: none; display: flex; align-items: center; justify-content: center; }
.newsletter-form button svg { width: 18px; height: 18px; color: var(--navy-950); }
.newsletter-msg { font-size: 0.8rem; margin-top: 10px; color: var(--gold-400); min-height: 1em; }

.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--gold-400)); z-index: 1100; width: 0%; transition: width 80ms linear; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 1200;
  max-width: 640px; margin-inline: auto;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  transform: translateY(140%);
  transition: transform var(--transition-slow);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner h4 { margin-bottom: 8px; font-size: 1rem; }
.cookie-banner p { font-size: 0.88rem; margin-bottom: 18px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-height) + 36px) 0 36px;
  background: linear-gradient(160deg, var(--bg-surface-alt), var(--bg-body));
  text-align: center;
}
.page-hero .eyebrow { margin-inline: auto; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 0.85rem; color: var(--text-secondary); margin-top: 14px; }
.breadcrumb a { color: var(--accent-strong); font-weight: 600; }
.page-hero--image {
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: calc(var(--header-height) + 40px) 0 40px;
  background: #091526;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: left;
}
.page-hero--image .eyebrow { margin-inline: 0; }
.page-hero--image h1 {
  max-width: 820px;
  color: #fff;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.52);
}
.page-hero--image p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.page-hero--image .breadcrumb { justify-content: flex-start; color: rgba(255, 255, 255, 0.76); }
.page-hero--image .breadcrumb a { color: var(--gold-400); }

/* ---------- Timeline (About) ---------- */
.timeline { position: relative; margin-top: 40px; padding-left: 28px; border-left: 2px solid var(--border-color); display: grid; gap: 36px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -35px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg-surface-alt); box-shadow: 0 0 0 2px var(--accent); }
.timeline-year { font-family: var(--font-display); font-weight: 700; color: var(--accent-strong); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- Values grid ---------- */
.value-card { text-align: center; padding: 30px 22px; }
.value-card .feature-icon { margin-inline: auto; }

/* ---------- Process steps ---------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 30px 24px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); }
.process-step .step-num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent-soft); -webkit-text-stroke: 1.5px var(--blue-400); margin-bottom: 14px; }

/* ---------- Team placeholder ---------- */
.team-card { text-align: center; }
.team-avatar { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-100), var(--blue-50)); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--blue-400); }
.team-avatar svg { width: 40%; height: 40%; }
.team-name { font-weight: 700; font-family: var(--font-display); }
.team-role { font-size: 0.85rem; color: var(--text-secondary); }

/* ---------- Services page ---------- */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card .benefits { margin: 16px 0 20px; display: grid; gap: 8px; }
.service-card .benefits li { display: flex; gap: 8px; font-size: 0.88rem; color: var(--text-secondary); }
.service-card .benefits li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.service-card .learn-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-strong); font-size: 0.9rem; }
.service-card .learn-more svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.service-card .learn-more:hover svg { transform: translateX(4px); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info-card { display: grid; gap: 18px; }
.contact-info-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius-md); background: var(--bg-surface); border: 1px solid var(--border-color); }
.contact-info-item .icon-wrap { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .icon-wrap svg { width: 22px; height: 22px; }
.contact-info-item .icon-wrap.generated-art { width: 72px; height: 72px; border-radius: 18px; }
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 0.9rem; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table tr { border-bottom: 1px solid var(--border-color); }
.hours-table td { padding: 10px 0; font-size: 0.88rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.form-group .required { color: #d6455d; }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-color);
  background: var(--bg-surface); color: var(--text-primary); font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); outline: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { font-size: 0.78rem; color: #d6455d; min-height: 1em; }
.form-group.has-error input, .form-group.has-error textarea, .form-group.has-error select { border-color: #d6455d; }
.form-success {
  display: none; align-items: center; gap: 14px;
  padding: 20px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, #e7f8ee, #f4fbf6);
  border: 1px solid #a6e3c0; color: #146c3a;
}
.form-success.visible { display: flex; }
.form-success svg { width: 26px; height: 26px; flex-shrink: 0; }
.form-network-error {
  display: none; align-items: center; gap: 14px;
  padding: 20px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fdeceb, #fdf5f4);
  border: 1px solid #f3b7b0; color: #a02c1f;
  margin-bottom: 18px;
}
.form-network-error.visible { display: flex; }
.form-network-error svg { width: 26px; height: 26px; flex-shrink: 0; }
.form-network-error a { color: inherit; text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 820px; margin-inline: auto; }
.legal-content h2 { margin-top: 44px; margin-bottom: 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 12px; font-size: 0.98rem; }
.legal-content ul { padding-left: 22px; list-style: disc; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.legal-nav a { padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border-color); font-size: 0.85rem; font-weight: 600; }
.legal-nav a.active, .legal-nav a:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.legal-updated { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 32px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--white);
  padding: 12px 20px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Policy additions: readable text, anchor clearance, and wrapping on small screens. */
.legal-content h2[id] { scroll-margin-top: 110px; overflow-wrap: anywhere; }
.legal-content p, .legal-content li { font-size: 1rem; }
.legal-policy { margin-block: 44px; }
.legal-nav a { max-width: 100%; font-size: 0.875rem; overflow-wrap: anywhere; }
.footer-legal a { max-width: 100%; overflow-wrap: anywhere; }

/* Business contact details and partnership-document links. */
.business-address { font-style: normal; overflow-wrap: anywhere; }
.partnership-document-link { margin-top: 20px; }
.partnership-document-link .btn { max-width: 100%; white-space: normal; text-align: center; }
.partnership-document-link > a:not(.btn) { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }

/* Responsive and accessibility corrections. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.owners-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .contact-layout > *, .form-row > *, .overview-stat, .overview-stat > div { min-width: 0; }
.contact-info-item > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.feature-card { min-width: 0; }
.mobile-nav { visibility: hidden; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
.mobile-nav.open { visibility: visible; }
.footer-bottom, .footer-bottom a { color: rgba(255,255,255,0.74); }
.form-privacy-note, .service-access-note { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 16px; }
.form-privacy-note a, .service-access-note a { text-decoration: underline; text-underline-offset: 3px; }
.legal-content > [data-reveal] { margin-block: 40px; }
.legal-content h2 { font-size: clamp(1.45rem, 3.6vw, 2rem); line-height: 1.35; }
.legal-content { overflow-wrap: break-word; }
[data-theme="dark"] .legal-nav a:hover, [data-theme="dark"] .legal-nav a.active { color: var(--navy-950); }
@media (max-width: 640px) { .owners-grid { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .overview-stat { flex-direction: column; } .about-visual-stack .glass-panel { padding: 24px !important; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
