/* ==========================================================================
   SHY MECHANICS — Design Tokens
   ========================================================================== */

:root {
  /* 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.4rem + 8vw, 9rem);

  /* Spacing (4px base) */
  --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;

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

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

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

  /* Fonts */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   Color System — Asphalt & Violet
   ========================================================================== */

:root,
[data-theme='dark'] {
  /* Surfaces — deep asphalt/charcoal */
  --color-bg: #0c0c0d;
  --color-surface: #131315;
  --color-surface-2: #18181b;
  --color-surface-offset: #1e1e21;
  --color-surface-offset-2: #29292d;
  --color-surface-dynamic: #313136;
  --color-divider: #2a2a2e;
  --color-border: #37373c;

  /* Text */
  --color-text: #f2f1ee;
  --color-text-muted: #a3a2a0;
  --color-text-faint: #6b6a68;
  --color-text-inverse: #0c0c0d;

  /* Primary accent — electric violet (shop-light) */
  --color-primary: #9b5cff;
  --color-primary-hover: #b17dff;
  --color-primary-active: #7d3ce0;
  --color-primary-highlight: #241a3a;

  /* Secondary accent — steel blue (trust, cool contrast) */
  --color-steel: #4fb3c9;
  --color-steel-hover: #6ec4d8;
  --color-steel-highlight: #17282c;

  /* Warning */
  --color-warning: #e0a030;
  --color-warning-highlight: #3a3018;

  /* Error */
  --color-error: #e6503f;
  --color-error-hover: #f06e5e;
  --color-error-highlight: #3a1c17;

  /* Success */
  --color-success: #5cb85c;
  --color-success-highlight: #1c3320;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 6px 20px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 16px 48px oklch(0 0 0 / 0.6);
  --shadow-glow: 0 0 32px oklch(0.72 0.19 45 / 0.35);
}

/* Light mode — still gritty, but daytime-shop concrete/steel */
[data-theme='light'] {
  --color-bg: #f0ede7;
  --color-surface: #f7f5f1;
  --color-surface-2: #fbfaf7;
  --color-surface-offset: #e8e4dc;
  --color-surface-offset-2: #ddd8cd;
  --color-surface-dynamic: #cfc9bc;
  --color-divider: #d9d4c9;
  --color-border: #c7c1b3;

  --color-text: #1a1917;
  --color-text-muted: #58554e;
  --color-text-faint: #8b877b;
  --color-text-inverse: #f7f5f1;

  --color-primary: #7d3ce0;
  --color-primary-hover: #692fc2;
  --color-primary-active: #55259e;
  --color-primary-highlight: #e8dcf9;

  --color-steel: #1c7690;
  --color-steel-hover: #145a70;
  --color-steel-highlight: #cfe6ec;

  --color-warning: #a3720c;
  --color-warning-highlight: #f0dfb8;

  --color-error: #c23223;
  --color-error-hover: #a12719;
  --color-error-highlight: #f2d2cc;

  --color-success: #2f7d33;
  --color-success-highlight: #d3e8d2;

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.08);
  --shadow-md: 0 6px 20px oklch(0.2 0.01 80 / 0.1);
  --shadow-lg: 0 16px 48px oklch(0.2 0.01 80 / 0.14);
  --shadow-glow: 0 0 32px oklch(0.62 0.17 300 / 0.25);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg: #f0ede7;
    --color-surface: #f7f5f1;
    --color-surface-2: #fbfaf7;
    --color-surface-offset: #e8e4dc;
    --color-surface-offset-2: #ddd8cd;
    --color-surface-dynamic: #cfc9bc;
    --color-divider: #d9d4c9;
    --color-border: #c7c1b3;
    --color-text: #1a1917;
    --color-text-muted: #58554e;
    --color-text-faint: #8b877b;
    --color-text-inverse: #f7f5f1;
    --color-primary: #7d3ce0;
    --color-primary-hover: #692fc2;
    --color-primary-active: #55259e;
    --color-primary-highlight: #e8dcf9;
    --color-steel: #1c7690;
    --color-steel-hover: #145a70;
    --color-steel-highlight: #cfe6ec;
    --color-warning: #a3720c;
    --color-warning-highlight: #f0dfb8;
    --color-error: #c23223;
    --color-error-hover: #a12719;
    --color-error-highlight: #f2d2cc;
    --color-success: #2f7d33;
    --color-success-highlight: #d3e8d2;
    --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.08);
    --shadow-md: 0 6px 20px oklch(0.2 0.01 80 / 0.1);
    --shadow-lg: 0 16px 48px oklch(0.2 0.01 80 / 0.14);
    --shadow-glow: 0 0 32px oklch(0.62 0.17 45 / 0.25);
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

body {
  background-color: var(--color-bg);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (min-width: 640px) {
  .container {
    padding-inline: var(--space-10);
  }
}

section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

p {
  color: var(--color-text-muted);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-12);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
  min-height: 44px;
}

.btn-primary {
  background: var(--color-primary);
  color: #0c0c0d;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
}

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

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

.btn-outline:active {
  transform: translateY(0);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.top-bar {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.top-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in oklch, white 25%, transparent), transparent);
  animation: top-bar-sheen 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes top-bar-sheen {
  0% { transform: translateX(-120%); }
  50% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-block: var(--space-3);
  font-family: var(--font-mono);
  text-align: center;
  position: relative;
}

.top-bar-label {
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #1a1917;
  background: color-mix(in oklch, white 55%, transparent);
  padding: 0.3em 0.65em;
  border-radius: 4px;
}

.top-bar-phone {
  color: #1a1917;
  font-weight: 800;
  text-decoration: none;
  font-size: var(--text-lg);
  letter-spacing: 0.01em;
  background: #fff;
  padding: 0.15em 0.85em;
  border-radius: 999px;
  border: 2px solid #1a1917;
  box-shadow: 0 0 0 3px color-mix(in oklch, white 40%, transparent), 0 4px 14px oklch(0.2 0.02 300 / 0.35);
  animation: top-bar-pulse 2s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.top-bar-phone::before {
  content: '\260E';
  font-size: 0.85em;
}

.top-bar-phone:hover {
  background: color-mix(in oklch, white 85%, var(--color-primary));
  transform: scale(1.04);
}

@keyframes top-bar-pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in oklch, white 40%, transparent), 0 4px 14px oklch(0.2 0.02 300 / 0.35); }
  50% { box-shadow: 0 0 0 6px color-mix(in oklch, white 15%, transparent), 0 4px 20px oklch(0.2 0.02 300 / 0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .top-bar::before,
  .top-bar-phone {
    animation: none;
  }
}

@media (max-width: 640px) {
  .top-bar-phone {
    font-size: var(--text-base);
  }
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s var(--ease-in-out),
    box-shadow 0.3s var(--ease-in-out);
}

.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);
  gap: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  flex-shrink: 0;
}

.logo svg {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
}

.logo-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 2px;
}

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

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  position: relative;
  padding-block: var(--space-1);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-interactive);
}

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

.nav-desktop a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

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

.theme-toggle:hover {
  color: var(--color-primary);
  background: var(--color-surface-offset);
}

.header .btn-primary {
  display: none;
}

@media (min-width: 640px) {
  .header .btn-primary {
    display: inline-flex;
    padding: var(--space-3) var(--space-6);
  }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-divider);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-in-out);
}

.nav-mobile.open {
  max-height: 400px;
}

@media (min-width: 900px) {
  .nav-mobile {
    display: none;
  }
}

.nav-mobile a {
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-divider);
}

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

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-block: var(--space-24) var(--space-20);
  overflow: hidden;
}

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

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.05 0 0 / 0.35) 0%, oklch(0.05 0 0 / 0.55) 55%, var(--color-bg) 96%),
    linear-gradient(90deg, oklch(0.05 0 0 / 0.75) 0%, oklch(0.05 0 0 / 0.15) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  font-size: var(--text-hero);
  line-height: 0.92;
  color: var(--color-text-inverse, #f2f1ee);
  color: #f7f5f0;
  margin-bottom: var(--space-6);
}

[data-theme='light'] .hero h1 {
  color: #f7f5f0;
}

.hero h1 .accent {
  color: var(--color-primary);
  display: block;
}

.hero-sub {
  font-size: var(--text-lg);
  color: #d8d5cd;
  max-width: 52ch;
  margin-bottom: var(--space-8);
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  line-height: 1;
}

.hero-stat span {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b8b5ad;
  margin-top: var(--space-1);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-6);
  z-index: 1;
  display: none;
  align-items: center;
  gap: var(--space-2);
  color: #b8b5ad;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (min-width: 900px) {
  .hero-scroll {
    display: flex;
  }
}

.hero-scroll svg {
  width: 16px;
  height: 16px;
  animation: bob 1.8s var(--ease-in-out) infinite;
}

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

/* ==========================================================================
   Marquee strip
   ========================================================================== */

.marquee {
  background: var(--color-primary);
  overflow: hidden;
  padding-block: var(--space-3);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0c0c0d;
  padding-inline: var(--space-6);
  flex-shrink: 0;
}

.marquee-item svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar {
  padding-block: var(--space-10);
  border-bottom: 1px solid var(--color-divider);
}

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

@media (min-width: 700px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.trust-item-text {
  display: flex;
  flex-direction: column;
}

.trust-item-text strong {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 700;
}

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

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

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.services-fine-print {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--transition-interactive),
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

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

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.service-card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary);
}

.service-card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}

.service-card p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}

.service-price {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
}

.service-price span {
  color: var(--color-text-faint);
  font-weight: 400;
}

.service-card-footer a {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.service-card-footer a:hover {
  color: var(--color-primary);
}

.service-card-footer a svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   About / split section
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
  .split.reverse .split-media {
    order: 2;
  }
}

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

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split-media-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.split-media-badge svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.split-media-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text);
}

.split-media-badge span {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.split-content h2 {
  margin-bottom: var(--space-5);
}

.split-content p {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   Process / steps
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding-top: var(--space-10);
}

.step-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-border);
  position: absolute;
  top: -12px;
  left: 0;
  line-height: 1;
}

.step h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.step p {
  font-size: var(--text-sm);
}

/* ==========================================================================
   Booking / Contact
   ========================================================================== */

.booking-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 1000px) {
  .booking-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-16);
  }
}

.booking-info h2 {
  margin-bottom: var(--space-5);
}

.booking-info p {
  font-size: var(--text-base);
  margin-bottom: var(--space-8);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.info-item {
  display: flex;
  gap: var(--space-4);
}

.info-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-surface-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.info-item strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: 2px;
}

.info-item span,
.info-item a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: block;
}

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

.social-row {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

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

.social-btn svg {
  width: 18px;
  height: 18px;
}

/* Form card */
.form-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}

.form-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-divider);
}

.form-tab {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
  padding: var(--space-3) var(--space-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .form-tab {
    font-size: 0.7rem;
    letter-spacing: 0.01em;
    padding: var(--space-3) var(--space-1);
  }

  .form-tabs {
    gap: var(--space-1);
  }
}

.form-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.form-tab:hover:not(.active) {
  color: var(--color-text);
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
}

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

@media (min-width: 560px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

.field input,
.field select,
.field textarea {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  min-height: 48px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-text-faint);
}

.field-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding-block: var(--space-8);
}

.form-success.active {
  display: flex;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-success-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-success);
}

.form-success h3 {
  font-size: var(--text-lg);
}

.form-success p {
  font-size: var(--text-sm);
  max-width: 40ch;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-track-wrap {
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 700px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-5);
}

.stars svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  fill: var(--color-primary);
}

.testimonial-card p {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
}

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

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: var(--content-default);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-interactive);
  color: var(--color-primary);
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-in-out);
}

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

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-sm);
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  position: relative;
  background: var(--color-surface-offset);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 8vw, var(--space-20));
  text-align: center;
  overflow: hidden;
  margin-inline: var(--space-6);
}

@media (min-width: 640px) {
  .cta-banner {
    margin-inline: var(--space-10);
  }
}

.cta-banner h2 {
  position: relative;
  z-index: 1;
  font-size: var(--text-2xl);
  max-width: 20ch;
  margin-inline: auto;
  margin-bottom: var(--space-5);
}

.cta-banner p {
  position: relative;
  z-index: 1;
  font-size: var(--text-base);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary-highlight) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  opacity: 0.8;
  pointer-events: none;
}

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

.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-8);
}

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

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: var(--text-sm);
  margin-block: var(--space-4);
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom a {
  color: var(--color-text-faint);
}

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

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 1;
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* ==========================================================================
   Utility
   ========================================================================== */

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  background: var(--color-primary);
  color: #0c0c0d;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 200;
  transition: top var(--transition-interactive);
}

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

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