/* ============================================================
   SPARKBRIDGE MEDIA — Design Tokens & Component Styles
   Warm & Energetic: Deep charcoal + vibrant orange accent
   ============================================================ */

/* ---- Google Fonts preconnect (loaded in HTML head) ---- */

:root, [data-theme="light"] {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Clash Display', 'Inter', sans-serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;

  /* Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 320ms cubic-bezier(0.16, 1, 0.3, 1);

  /* LIGHT MODE — Warm Charcoal + Orange */
  --color-bg:              #fdf6ee;
  --color-surface:         #fef9f3;
  --color-surface-2:       #fff;
  --color-surface-offset:  #f5ebe0;
  --color-surface-offset-2: #eeddd0;
  --color-surface-dynamic: #e8d5c4;
  --color-divider:         #e0cfc0;
  --color-border:          #d9c8b7;

  --color-text:            #1e1610;
  --color-text-muted:      #7a6858;
  --color-text-faint:      #c4b09f;
  --color-text-inverse:    #fdf6ee;

  /* Primary: Energetic Orange */
  --color-primary:         #e86a1a;
  --color-primary-hover:   #c85510;
  --color-primary-active:  #a84208;
  --color-primary-highlight: #fde8d6;

  /* Accent: Warm Amber */
  --color-accent:          #f5a623;
  --color-accent-hover:    #d98c10;

  /* Success */
  --color-success:         #2d8a4e;
  --color-success-highlight: #d4f0de;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.2 0.05 40 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.05 40 / 0.09);
  --shadow-lg: 0 12px 32px oklch(0.2 0.05 40 / 0.14);
  --shadow-xl: 0 24px 64px oklch(0.2 0.05 40 / 0.18);
  --shadow-glow: 0 0 40px oklch(0.6 0.2 50 / 0.25);

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;
}

[data-theme="dark"] {
  --color-bg:              #130e09;
  --color-surface:         #1c1510;
  --color-surface-2:       #221a13;
  --color-surface-offset:  #1a1309;
  --color-surface-offset-2: #201810;
  --color-surface-dynamic: #2e2318;
  --color-divider:         #2a1f15;
  --color-border:          #3d2e20;

  --color-text:            #f0e6db;
  --color-text-muted:      #9c8878;
  --color-text-faint:      #6b5a4d;
  --color-text-inverse:    #130e09;

  --color-primary:         #f07a30;
  --color-primary-hover:   #f59048;
  --color-primary-active:  #faa868;
  --color-primary-highlight: #3d2010;

  --color-accent:          #f5b040;
  --color-accent-hover:    #f7c060;

  --color-success:         #4aad6a;
  --color-success-highlight: #0f2d1a;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
  --shadow-xl: 0 24px 64px oklch(0 0 0 / 0.55);
  --shadow-glow: 0 0 60px oklch(0.6 0.18 45 / 0.3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #130e09;
    --color-surface:         #1c1510;
    --color-surface-2:       #221a13;
    --color-surface-offset:  #1a1309;
    --color-surface-offset-2: #201810;
    --color-surface-dynamic: #2e2318;
    --color-divider:         #2a1f15;
    --color-border:          #3d2e20;
    --color-text:            #f0e6db;
    --color-text-muted:      #9c8878;
    --color-text-faint:      #6b5a4d;
    --color-text-inverse:    #130e09;
    --color-primary:         #f07a30;
    --color-primary-hover:   #f59048;
    --color-primary-active:  #faa868;
    --color-primary-highlight: #3d2010;
    --color-accent:          #f5b040;
    --color-accent-hover:    #f7c060;
    --color-success:         #4aad6a;
    --color-success-highlight: #0f2d1a;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
    --shadow-xl: 0 24px 64px oklch(0 0 0 / 0.55);
    --shadow-glow: 0 0 60px oklch(0.6 0.18 45 / 0.3);
  }
}

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

.container {
  width: min(var(--content-wide), 100% - var(--space-8) * 2);
  margin-inline: auto;
}
.container--narrow {
  width: min(var(--content-narrow), 100% - var(--space-8) * 2);
  margin-inline: auto;
}
.container--wide {
  width: min(1400px, 100% - var(--space-6) * 2);
  margin-inline: auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-slow);
}
.nav--scrolled {
  box-shadow: var(--shadow-md);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-6);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.nav__logo-text span { color: var(--color-primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.nav__link:hover, .nav__link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--transition-interactive), opacity var(--transition-interactive);
}

.nav__mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  gap: var(--space-4);
}
.nav__mobile-menu.open {
  display: flex;
}
.nav__mobile-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) 0;
  cursor: pointer;
}
.nav__mobile-link:hover { color: var(--color-primary); }

@media (max-width: 768px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__hamburger { display: flex; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px oklch(0.55 0.22 45 / 0.35);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 6px 28px oklch(0.55 0.22 45 / 0.45);
  transform: translateY(-1px);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px oklch(0.55 0.22 45 / 0.3);
}
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
  border-radius: var(--radius-full);
}
.btn--icon {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.btn--icon:hover { color: var(--color-primary); }

/* ============================================================
   PAGE ROUTING
   ============================================================ */
.page { display: none; }
.page.active { display: block; }

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.35;
}
[data-theme="dark"] .hero__bg img { opacity: 0.45; }
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    var(--color-bg) 40%,
    color-mix(in oklab, var(--color-bg) 70%, transparent) 65%,
    transparent 85%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--space-20), 10vw, var(--space-32));
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin-bottom: var(--space-6);
}
.hero__heading .highlight {
  color: var(--color-primary);
  position: relative;
}
.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-bottom: var(--space-8);
  line-height: 1.55;
}
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-12);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.hero__trust-icon {
  color: var(--color-success);
  font-size: var(--text-base);
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border);
  max-width: 480px;
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section--alt {
  background: var(--color-surface-offset);
}
.section--dark {
  background: color-mix(in oklab, var(--color-text) 95%, var(--color-primary) 5%);
  color: var(--color-text-inverse);
}
[data-theme="dark"] .section--dark {
  background: color-mix(in oklab, var(--color-surface-offset-2) 80%, var(--color-primary-highlight) 20%);
  color: var(--color-text);
}
.section__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.section__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.section--dark .section__heading {
  color: #fff;
}
[data-theme="dark"] .section--dark .section__heading {
  color: var(--color-text);
}
.section__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: 1.65;
  margin-bottom: var(--space-12);
}
.section--dark .section__sub { color: rgba(255,255,255,0.65); }
[data-theme="dark"] .section--dark .section__sub { color: var(--color-text-muted); }
.section__header {
  margin-bottom: var(--space-12);
}
.section__header--center {
  text-align: center;
}
.section__header--center .section__sub {
  margin-inline: auto;
}

/* ============================================================
   FEATURES / FREE TOOLS GRID
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 1.4rem;
  color: var(--color-primary);
  flex-shrink: 0;
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: none;
}
.feature-card__badge {
  display: inline-block;
  margin-top: var(--space-4);
  background: var(--color-success-highlight);
  color: var(--color-success);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   SPLIT FEATURE ROW (image + text)
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: center;
}
.split--reverse {
  direction: rtl;
}
.split--reverse > * { direction: ltr; }
.split__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__content {}
.split__list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.split__list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}
.split__list-item::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary-highlight);
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
}

/* ============================================================
   SOCIAL PROOF / TESTIMONIALS
   ============================================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--color-primary-highlight);
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-weight: 700;
}
.testimonial-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-6);
  max-width: none;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: #fff;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.testimonial-card__stars {
  color: var(--color-accent);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.services-hero {
  background: color-mix(in oklab, var(--color-text) 96%, var(--color-primary) 4%);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  text-align: center;
}
[data-theme="dark"] .services-hero {
  background: var(--color-surface-offset);
}
.services-hero__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
[data-theme="dark"] .services-hero__heading {
  color: var(--color-text);
}
.services-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.65);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.55;
}
[data-theme="dark"] .services-hero__sub {
  color: var(--color-text-muted);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: center;
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
}
.service-detail-card:last-child { border-bottom: none; }
.service-detail-card--reverse {
  direction: rtl;
}
.service-detail-card--reverse > * { direction: ltr; }
.service-detail-card__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary-highlight);
  line-height: 1;
  margin-bottom: var(--space-3);
}
[data-theme="dark"] .service-detail-card__number {
  color: var(--color-primary-highlight);
}
.service-detail-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.service-detail-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  max-width: none;
}
.service-detail-card__features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-detail-card__features li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: flex-start;
  max-width: none;
}
.service-detail-card__features li::before {
  content: '→';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.service-detail-card__visual {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}
.service-detail-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-placeholder-visual {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    var(--color-surface-offset) 0%,
    var(--color-surface-dynamic) 50%,
    var(--color-primary-highlight) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.service-icon-visual {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    var(--color-surface-offset) 0%,
    var(--color-surface-dynamic) 60%,
    var(--color-primary-highlight) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}
@media (max-width: 768px) {
  .service-detail-card {
    grid-template-columns: 1fr;
  }
  .service-detail-card--reverse { direction: ltr; }
}

/* ============================================================
   PRICING / FREE OFFER BANNER
   ============================================================ */

.free-banner {
  background: linear-gradient(135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-10), 5vw, var(--space-16));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.free-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.12) 0%, transparent 60%);
}
.free-banner__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
  position: relative;
}
.free-banner__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.6;
  position: relative;
}
.free-banner .btn--white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
  position: relative;
}
.free-banner .btn--white:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-8);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stats-bar__value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.stats-bar__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 600px) {
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: color-mix(in oklab, var(--color-text) 96%, var(--color-primary) 4%);
  color: rgba(255,255,255,0.7);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
[data-theme="dark"] .footer {
  background: var(--color-surface);
  color: var(--color-text-muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  margin-bottom: var(--space-12);
}
.footer__brand {
  max-width: 280px;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
}
[data-theme="dark"] .footer__brand-name { color: var(--color-text); }
.footer__brand-name span { color: var(--color-primary); }
.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  max-width: none;
}
.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-5);
  text-transform: uppercase;
}
[data-theme="dark"] .footer__col-title { color: var(--color-text); }
.footer__links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  cursor: pointer;
  max-width: none;
}
[data-theme="dark"] .footer__link { color: var(--color-text-muted); }
.footer__link:hover { color: var(--color-primary); }
.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}
[data-theme="dark"] .footer__bottom {
  border-top-color: var(--color-border);
  color: var(--color-text-faint);
}
.footer__bottom a {
  color: var(--color-primary);
  text-decoration: none;
}
.footer__bottom a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-split {
  align-items: start;
}
@media (max-width: 768px) {
  .about-split { grid-template-columns: 1fr !important; }
  .about-services-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .about-services-grid { grid-template-columns: 1fr !important; }
}
.about-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.about-service-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: box-shadow 0.2s, transform 0.2s;
}
.about-service-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.about-service-icon {
  font-size: 2.25rem;
  margin-bottom: var(--space-3);
}
.about-service-link {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  transition: opacity 0.15s;
}
.about-service-link:hover { opacity: 0.75; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr !important; }
  .form-row-2 { grid-template-columns: 1fr !important; }
}
.contact-info-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--color-primary-highlight);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
}
@media (max-width: 600px) {
  .contact-form-card { padding: var(--space-6); }
}
.form-group { display: flex; flex-direction: column; }
.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.form-input::placeholder { color: var(--color-text-muted); opacity: 0.7; }
.form-textarea { resize: vertical; min-height: 110px; }
select.form-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.service-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border: 1px solid transparent;
}
.service-pill:hover {
  background: var(--color-primary);
  color: #fff;
}
