/* ==========================================================================
   Axis Visual Productions — Design Tokens
   ========================================================================== */

:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #ffffff;
  --color-surface: #f7f8fa;
  --color-surface-2: #eef1f5;
  --color-surface-offset: #eaeef3;
  --color-surface-dynamic: #e2e7ee;
  --color-divider: #dde3ea;
  --color-border: #d3dae3;

  /* Text */
  --color-text: #0b1f3d;
  --color-text-muted: #4a5a75;
  --color-text-faint: #8a97ab;
  --color-text-inverse: #f7f8fa;

  /* Primary — Deep Navy */
  --color-primary: #0b1f3d;
  --color-primary-hover: #142c54;
  --color-primary-active: #081527;
  --color-primary-highlight: #d7deea;

  /* Fixed brand navy — always dark, regardless of light/dark theme.
     Used for panels that must stay navy-with-white-text in both modes
     (hero, trust strip, featured cards, CTA, footer). Do not use
     --color-primary for these — it flips to near-white in dark mode. */
  --color-brand-navy: #0b1f3d;

  /* Accent — Warm Orange */
  --color-accent: #f5821f;
  --color-accent-hover: #d96e12;
  --color-accent-active: #b85c0d;
  --color-accent-highlight: #fde3c8;

  /* Success (used sparingly, e.g. badges) */
  --color-success: #2f7a4f;
  --color-success-highlight: #d7ecdf;

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

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

  /* Shadows — tone matched to navy */
  --shadow-sm: 0 1px 2px oklch(0.16 0.05 255 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.16 0.05 255 / 0.12);
  --shadow-lg: 0 20px 48px oklch(0.16 0.05 255 / 0.18);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'General Sans', 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #081527;
  --color-surface: #0b1f3d;
  --color-surface-2: #102544;
  --color-surface-offset: #13294c;
  --color-surface-dynamic: #1a3459;
  --color-divider: #223c60;
  --color-border: #2a4468;

  --color-text: #f2f4f8;
  --color-text-muted: #aab8ce;
  --color-text-faint: #7186a5;
  --color-text-inverse: #0b1f3d;

  --color-primary: #f2f4f8;
  --color-primary-hover: #ffffff;
  --color-primary-active: #d7deea;
  --color-primary-highlight: #1a3459;

  --color-brand-navy: #0b1f3d;

  --color-accent: #ff9a42;
  --color-accent-hover: #ffb066;
  --color-accent-active: #ffc78c;
  --color-accent-highlight: #3c2a15;

  --color-success: #6fc492;
  --color-success-highlight: #163526;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);
}

/* Type Scale */
:root {
  --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(2.75rem, 0.8rem + 6vw, 6.5rem);
}

/* 4px Spacing System */
:root {
  --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;
}

/* ==========================================================================
   Layout Primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}

.container--narrow {
  max-width: var(--content-narrow);
}

section {
  position: relative;
}

.section-pad {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}

.section-pad--tight {
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
  margin-top: var(--space-3);
  color: var(--color-text);
}

.section-lede {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-top: var(--space-4);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header--hidden {
  transform: translateY(-100%);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.brand-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

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

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}

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

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 180px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 20;
}

.nav-dropdown-menu a {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--color-bg);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 10px);
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

a.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-text);
  }
}

@media (min-width: 861px) {
  a.nav-cta {
    display: inline-flex;
  }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--color-bg);
  padding: var(--space-6);
  flex-direction: column;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

.mobile-menu nav a.mobile-submenu-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  padding-left: var(--space-5);
}

.mobile-menu .btn {
  margin-top: var(--space-10);
  align-self: flex-start;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn--accent {
  background: var(--color-accent);
  color: #0b1508;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn--accent:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

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

.btn--light {
  background: #ffffff;
  color: var(--color-primary);
}

.btn--light:hover {
  background: var(--color-accent-highlight);
}

.btn--block {
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-brand-navy);
  padding-bottom: var(--space-12);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(0.14 0.05 255 / 0.55) 0%,
    oklch(0.14 0.05 255 / 0.68) 45%,
    oklch(0.1 0.04 255 / 0.92) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.16);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-hero);
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: var(--space-6);
  max-width: 18ch;
}

.hero-heading .accent {
  color: var(--color-accent);
}

.hero-sub {
  font-size: var(--text-lg);
  color: oklch(1 0 0 / 0.82);
  max-width: 46ch;
  margin-top: var(--space-6);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid oklch(1 0 0 / 0.16);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero-meta-item strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #ffffff;
  font-weight: 650;
}

.hero-meta-item span {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-strip {
  background: var(--color-brand-navy);
  color: #ffffff;
}

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

.trust-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding-block: var(--space-8);
}

.trust-item + .trust-item {
  border-left: 1px solid oklch(1 0 0 / 0.14);
  padding-left: var(--space-8);
}

.trust-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  margin-top: 2px;
}

.trust-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 650;
  color: #ffffff;
}

.trust-item p {
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.68);
  margin-top: var(--space-1);
}

@media (max-width: 780px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .trust-item + .trust-item {
    border-left: none;
    border-top: 1px solid oklch(1 0 0 / 0.14);
    padding-left: 0;
    padding-top: var(--space-8);
  }
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.services-grid {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--color-brand-navy);
  border: 1px solid oklch(0.58 0.06 255 / 0.55);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: hidden;
}

.service-card--feature {
  border-color: var(--color-accent);
}

.service-card-media {
  position: relative;
  height: 255px;
  flex-shrink: 0;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, var(--color-brand-navy) 100%);
}

.service-card-body {
  padding: var(--space-5) var(--space-6) var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

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

.service-card-title h3 {
  color: #ffffff;
  font-size: var(--text-lg);
}

.service-icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 650;
  color: #ffffff;
}

.service-card p {
  font-size: var(--text-base);
  line-height: 1.65;
  color: oklch(1 0 0 / 0.76);
}

.service-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.service-card--feature .service-badge {
  position: absolute;
  left: var(--space-6);
  bottom: var(--space-3);
  z-index: 1;
  background: oklch(0.2 0.04 255 / 0.82);
  color: var(--color-accent);
}

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

@media (max-width: 620px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.bonus-header {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.bonus-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.bonus-header p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.bonus-header p a {
  color: var(--color-accent);
  font-weight: 600;
}

.bonus-row {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.bonus-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.bonus-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.bonus-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--color-text);
}

.bonus-item p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  line-height: 1.45;
}

@media (max-width: 780px) {
  .bonus-row {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* ==========================================================================
   Agent Bundle Offer
   ========================================================================== */

.offer-card {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: 0.85fr 1.4fr 0.75fr;
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.offer-media {
  position: relative;
  min-height: 220px;
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offer-body {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
}

.offer-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-brand-navy);
  color: #ffffff;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-1);
}

.offer-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 650;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.offer-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 46ch;
}

.offer-includes {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.offer-include {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.offer-include svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.offer-include div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.offer-include strong {
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--color-text);
}

.offer-include span {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.offer-plus {
  font-size: var(--text-base);
  font-weight: 650;
  color: var(--color-text-faint);
}

.offer-price {
  background: var(--color-surface);
  border-left: 1px solid var(--color-divider);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-1);
}

.offer-price-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.offer-price-label--accent {
  margin-top: var(--space-3);
  color: var(--color-accent);
}

.offer-price-retail {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 650;
  color: var(--color-text-faint);
  text-decoration: line-through;
}

.offer-price-now {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.offer-price-save {
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--color-success);
}

.offer-price .btn {
  margin-top: var(--space-5);
  width: 100%;
}

.offer-benefits {
  margin-top: var(--space-6);
  background: var(--color-brand-navy);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.offer-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-6);
  border-right: 1px solid oklch(1 0 0 / 0.12);
}

.offer-benefit:last-child {
  border-right: none;
}

.offer-benefit svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.offer-benefit div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.offer-benefit strong {
  font-size: var(--text-sm);
  color: #ffffff;
  font-weight: 650;
}

.offer-benefit span {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.7);
}

.offer-alt-lede {
  margin-top: var(--space-12);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 980px) {
  .offer-card {
    grid-template-columns: 1fr;
  }
  .offer-media {
    min-height: 200px;
  }
  .offer-price {
    border-left: none;
    border-top: 1px solid var(--color-divider);
    align-items: stretch;
  }
  .offer-benefits {
    grid-template-columns: 1fr;
  }
  .offer-benefit {
    border-right: none;
    border-bottom: 1px solid oklch(1 0 0 / 0.12);
  }
  .offer-benefit:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.price-card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card--featured {
  background: var(--color-brand-navy);
  border-color: var(--color-brand-navy);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.price-card-badge {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: #ffffff;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.price-tier {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 650;
  color: var(--color-text);
}

.price-card--featured .price-tier {
  color: #ffffff;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.price-value strong {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.price-card--featured .price-value strong {
  color: #ffffff;
}

.price-value span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.price-card--featured .price-value span {
  color: oklch(1 0 0 / 0.6);
}

.price-features {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}

.price-card--featured .price-features li {
  color: oklch(1 0 0 / 0.82);
}

.price-features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.price-card .btn {
  margin-top: var(--space-8);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .price-card--featured {
    transform: none;
    order: -1;
  }
}

/* ==========================================================================
   Add-Ons
   ========================================================================== */

.addons-layout {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(260px, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

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

.addon-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.addon-icon {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}

.addon-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.addon-head h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 650;
  color: var(--color-text);
  line-height: 1.25;
}

.addon-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-accent);
}

.addon-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.addon-features {
  margin-top: var(--space-1);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.addon-features li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
}

.addon-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
}

.brand-panel {
  background: var(--color-brand-navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.brand-panel-badge svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.brand-panel-badge h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 650;
  color: #ffffff;
  line-height: 1.25;
}

.brand-panel > p {
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.75);
  line-height: 1.55;
}

.brand-panel-price {
  padding-top: var(--space-4);
  border-top: 1px solid oklch(1 0 0 / 0.14);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.brand-panel-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.6);
}

.brand-panel-price strong {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
}

.brand-panel-sub {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.65);
}

.brand-panel-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.brand-panel-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.85);
  line-height: 1.4;
}

.brand-panel-features li svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.why-agents {
  margin-top: var(--space-12);
  background: var(--color-brand-navy);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.why-agent-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-6) var(--space-5);
}

.why-agent-item + .why-agent-item {
  border-left: 1px solid oklch(1 0 0 / 0.14);
}

.why-agent-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-agent-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 650;
  color: #ffffff;
}

.why-agent-item p {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.68);
  margin-top: var(--space-1);
  line-height: 1.4;
}

@media (max-width: 980px) {
  .addons-layout {
    grid-template-columns: 1fr;
  }
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-agents {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-agent-item:nth-child(2n+1) {
    border-left: none;
  }
  .why-agent-item:nth-child(1),
  .why-agent-item:nth-child(2) {
    border-bottom: 1px solid oklch(1 0 0 / 0.14);
  }
}

@media (max-width: 620px) {
  .addons-grid {
    grid-template-columns: 1fr;
  }
  .why-agents {
    grid-template-columns: 1fr;
  }
  .why-agent-item + .why-agent-item {
    border-left: none;
    border-top: 1px solid oklch(1 0 0 / 0.14);
  }
  .why-agent-item:nth-child(1),
  .why-agent-item:nth-child(2) {
    border-bottom: none;
  }
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-quote {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  font-style: italic;
}

.about-signature {
  margin-top: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.about-signature strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text);
}

.about-signature span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-stats {
  margin-top: var(--space-10);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  white-space: nowrap;
}

.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
}

.about-stats span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-media {
    order: -1;
  }
}

@media (max-width: 560px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ==========================================================================
   Final CTA / Contact
   ========================================================================== */

.cta-section {
  background: var(--color-brand-navy);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: left;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #ffffff;
  max-width: 20ch;
  letter-spacing: -0.01em;
}

.cta-heading .accent {
  color: var(--color-accent);
}

.cta-sub {
  font-size: var(--text-base);
  color: oklch(1 0 0 / 0.72);
  max-width: 52ch;
  margin-top: var(--space-4);
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.cta-email-note {
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.55);
  margin-top: var(--space-5);
}

.cta-email-note a {
  color: oklch(1 0 0 / 0.8);
  text-decoration: underline;
  text-decoration-color: oklch(1 0 0 / 0.35);
}

.cta-email-note a:hover {
  color: var(--color-accent);
}

.contact-grid {
  margin-top: var(--space-16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding-top: var(--space-10);
  border-top: 1px solid oklch(1 0 0 / 0.14);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item a,
.contact-item p {
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.82);
  text-decoration: none;
}

.contact-item strong {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(1 0 0 / 0.55);
  margin-bottom: var(--space-1);
}

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

@media (max-width: 780px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--color-brand-navy);
  color: oklch(1 0 0 / 0.6);
  border-top: 1px solid oklch(1 0 0 / 0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding-block: var(--space-8);
}

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

.footer-brand .footer-logo {
  height: 44px;
}

.footer p {
  font-size: var(--text-xs);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

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

/* ==========================================================================
   Skip link
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #ffffff;
  padding: var(--space-3) var(--space-5);
  z-index: 100;
  border-radius: var(--radius-md);
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.reveal {
  opacity: 1;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  transform: translateY(0);
}

/* ========================================================================== 
   Back to top
   ========================================================================== */

/* Homepage portfolio video */
.hp-video {
  margin-top: var(--space-12);
}

.hp-video--secondary {
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border);
}

.hp-video-background {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(430px, 54vw, 620px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #05070b;
  box-shadow: var(--shadow-lg);
}

.hp-video-background iframe {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hp-video-background-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.12), rgba(5, 7, 11, 0.2));
}

.hp-video-intro {
  max-width: 800px;
  margin: var(--space-10) auto 0;
  text-align: center;
}

.hp-video-intro .section-title {
  margin-top: var(--space-4);
}

.hp-video-intro .section-lede {
  max-width: 650px;
  margin: var(--space-5) auto 0;
}

.hp-video-insights {
  margin-top: var(--space-12);
}

.hp-video-header {
  max-width: 720px;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.hp-video-header .section-lede {
  margin: var(--space-4) auto 0;
}

.hp-video-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-5) auto 0;
  padding: 0;
  list-style: none;
}

.hp-video-benefits li {
  position: relative;
  padding: 10px 14px 10px 34px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.hp-video-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 14px;
  color: var(--color-accent);
  font-weight: 700;
}

.hp-video-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  max-width: 1040px;
  margin: 0 auto;
}

.hp-video-insight {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
}

.hp-video-insight > span {
  display: block;
  margin-bottom: var(--space-5);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hp-video-insight h4 {
  margin-bottom: var(--space-3);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
}

.hp-video-insight p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.hp-video-showcase {
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  box-shadow: var(--shadow-lg);
}

.hp-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - 6px);
  background: #05070b;
}

.hp-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .hp-video {
    margin-top: var(--space-8);
  }

  .hp-video--secondary {
    margin-top: var(--space-10);
    padding-top: var(--space-8);
  }

  .hp-video-background {
    min-height: 500px;
    border-radius: var(--radius-md);
  }

  .hp-video-intro {
    margin-top: var(--space-8);
  }

  .hp-video-insights {
    margin-top: var(--space-10);
  }

  .hp-video-insight-grid {
    grid-template-columns: 1fr;
  }

  .hp-video-showcase {
    padding: 5px;
    border-radius: var(--radius-md);
  }

  .hp-video-benefits {
    align-items: stretch;
    flex-direction: column;
  }

  .hp-video-benefits li {
    text-align: left;
  }

  .hp-video-frame {
    border-radius: calc(var(--radius-md) - 4px);
  }
}

.back-to-top {
  position: fixed;
  right: var(--space-6);
  bottom: var(--space-6);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.15s ease;
  z-index: 50;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-hover);
}

@media (max-width: 640px) {
  .back-to-top {
    right: var(--space-4);
    bottom: var(--space-4);
    width: 44px;
    height: 44px;
  }
}
