/* ==========================================================================
   Veneveistämö VeneVa — index.css
   Design tokens: OKLCH palette, Fraunces + Figtree, 4-point spatial system
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,700;1,9..144,300;1,9..144,500&family=Figtree:wght@400;500;600;700&display=swap');

/* ──────────────────────────────────────────
   DESIGN TOKENS
   ────────────────────────────────────────── */
:root {
  /* Color palette — OKLCH */
  --brand:       oklch(0.52 0.12 205);
  --brand-light: color-mix(in oklab, oklch(0.52 0.12 205) 25%, white);
  --brand-dark:  color-mix(in oklab, oklch(0.52 0.12 205) 70%, black);
  --accent:      oklch(0.72 0.16 68);
  --accent-light:color-mix(in oklab, oklch(0.72 0.16 68) 30%, white);
  --accent-dark: color-mix(in oklab, oklch(0.72 0.16 68) 60%, black);

  /* Surfaces (tinted neutrals — nautical blue family) */
  --surface-1: oklch(0.99 0.006 230);
  --surface-2: oklch(0.94 0.010 228);
  --surface-3: oklch(0.17 0.025 232);
  --surface-4: oklch(0.13 0.02  232);

  /* Text */
  --text-primary:   oklch(0.14 0.015 232);
  --text-secondary: oklch(0.44 0.025 228);
  --text-on-dark:   oklch(0.95 0.008 230);
  --text-muted-dark:oklch(0.65 0.025 228);

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Figtree', system-ui, -apple-system, sans-serif;

  /* Modular scale 1.33 (perfect fourth) — fluid */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.28vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.38vw, 1.33rem);
  --text-xl:   clamp(1.33rem,  1.2rem  + 0.65vw, 1.77rem);
  --text-2xl:  clamp(1.77rem,  1.5rem  + 1.35vw, 2.37rem);
  --text-3xl:  clamp(2.37rem,  1.9rem  + 2.35vw, 3.16rem);
  --text-4xl:  clamp(3.16rem,  2.4rem  + 3.8vw,  4.2rem);

  --line-height-tight: 1.2;
  --line-height-base:  1.65;
  --line-height-loose: 1.8;

  /* Spatial rhythm — 4-point system */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   100ms ease-out;
  --transition-base:   220ms ease-out;
  --transition-slow:   380ms ease-out;
  --transition-layout: 480ms ease-out;
}

/* ──────────────────────────────────────────
   RESET + BASE
   ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  background-color: var(--surface-1);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

::selection {
  background: color-mix(in oklab, var(--brand) 35%, white);
}

/* ──────────────────────────────────────────
   UTILITIES
   ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-2xl); }
}

.section-light  { background: var(--surface-1); }
.section-dark   { background: var(--surface-3); }
.section-tinted { background: var(--surface-2); }

/* ──────────────────────────────────────────
   SCROLL-DRIVEN ANIMATIONS (pure CSS)
   ────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }

  @keyframes revealUp {
    from {
      opacity: 0;
      translate: 0 36px;
      clip-path: inset(0 0 20% 0);
    }
    to {
      opacity: 1;
      translate: 0 0;
      clip-path: inset(0 0 0% 0);
    }
  }

  .reveal-service {
    animation: revealService linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
    animation-delay: calc(var(--i, 0) * 120ms);
  }

  @keyframes revealService {
    from {
      opacity: 0;
      translate: 0 28px;
      clip-path: inset(0 0 30% 0);
    }
    to {
      opacity: 1;
      translate: 0 0;
      clip-path: inset(0 0 0% 0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-service { animation: none; }
}

/* ──────────────────────────────────────────
   HEADER / NAV
   ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--surface-3) 95%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(0.30 0.02 232);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-logo-mark { font-size: 1.4em; line-height: 1; }
.nav-logo:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-sm); }

.nav-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-md);
  position: fixed;
  inset: 0 0 0 30%;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--surface-3);
  z-index: 99;
  transform: translateX(100%);
  transition: transform var(--transition-layout);
}

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

.nav-link {
  color: var(--text-muted-dark);
  font-size: var(--text-lg);
  font-weight: 500;
  transition: color var(--transition-fast);
  padding-block: var(--space-xs);
}
.nav-link:hover { color: var(--text-on-dark); }
.nav-link--cta {
  color: var(--accent);
  margin-top: var(--space-sm);
}
.nav-link--cta:hover { color: var(--accent-light); }
.nav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  color: var(--text-on-dark);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.nav-toggle:hover { background: oklch(0.25 0.02 232); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    inset: unset;
    padding: 0;
    background: none;
    transform: none;
    gap: var(--space-xl);
  }
  .nav-link { font-size: var(--text-sm); }
  .nav-link--cta {
    background: var(--accent);
    color: var(--surface-3);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-top: 0;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  }
  .nav-link--cta:hover {
    background: var(--accent-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px oklch(0.72 0.16 68 / 0.35);
  }
}

/* ──────────────────────────────────────────
   HERO
   ────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--surface-3);
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-4xl);
  overflow: hidden;
}

.hero-waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.wave--1 {
  fill: oklch(0.52 0.12 205 / 0.12);
  animation: waveDrift 8s ease-in-out infinite alternate;
}
.wave--2 {
  fill: oklch(0.52 0.12 205 / 0.07);
  animation: waveDrift 12s ease-in-out infinite alternate-reverse;
}

@keyframes waveDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(-3%); }
}

@media (prefers-reduced-motion: reduce) {
  .wave--1, .wave--2 { animation: none; }
}

/* Background grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, oklch(0.52 0.12 205 / 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: oklch(0.52 0.12 205 / 0.18);
  border: 1px solid oklch(0.52 0.12 205 / 0.3);
  border-radius: var(--radius-full);
  color: oklch(0.80 0.08 205);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);

  animation: badgeEntrance 600ms ease-out both;
  animation-delay: 100ms;
}

@keyframes badgeEntrance {
  from { opacity: 0; translate: 0 -16px; }
  to   { opacity: 1; translate: 0 0; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);

  animation: titleWipe 700ms ease-out both;
  animation-delay: 200ms;
}

@keyframes titleWipe {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted-dark);
  line-height: var(--line-height-loose);
  max-width: 560px;
  margin-bottom: var(--space-xl);

  animation: subEntrance 500ms ease-out both;
  animation-delay: 400ms;
}

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

@keyframes subEntrance {
  from { opacity: 0; translate: 0 20px; }
  to   { opacity: 1; translate: 0 0; }
}

.hero-urgency {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  border-left: 3px solid var(--accent);
  color: var(--accent-light);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: var(--space-2xl);

  animation: subEntrance 400ms ease-out both;
  animation-delay: 500ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);

  animation: subEntrance 400ms ease-out both;
  animation-delay: 600ms;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);

  animation: subEntrance 400ms ease-out both;
  animation-delay: 700ms;
}

.trust-item {
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
  font-weight: 500;
}

/* ──────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1;
  white-space: nowrap;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform 100ms ease-out;
  cursor: pointer;
  min-height: 44px;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn:active { transform: scale(0.97); box-shadow: none !important; }

.btn--primary {
  background: var(--accent);
  color: var(--surface-3);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px oklch(0.72 0.16 68 / 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid oklch(0.40 0.02 232);
}
.btn--ghost:hover {
  background: oklch(0.25 0.02 232);
  border-color: oklch(0.50 0.02 232);
}

.btn--outline {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid oklch(0.35 0.02 232);
}
.btn--outline:hover {
  background: oklch(0.22 0.02 232);
}

.btn--lg  { padding: var(--space-lg) var(--space-2xl); font-size: var(--text-lg); }
.btn--xl  { padding: var(--space-lg) var(--space-2xl); font-size: var(--text-lg); width: 100%; justify-content: center; }

@media (min-width: 480px) {
  .btn--xl { width: auto; }
}

.btn-icon { font-size: 1.1em; }

/* ──────────────────────────────────────────
   SECTION SHARED
   ────────────────────────────────────────── */
section {
  padding-block: var(--space-4xl);
}

@media (max-width: 767px) {
  section { padding-block: var(--space-3xl); }
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
}

.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-sm);
}
.section-eyebrow--light { color: color-mix(in oklab, var(--brand) 60%, white); }

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.section-title--light { color: var(--text-on-dark); }

.section-lead {
  margin-top: var(--space-md);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--line-height-loose);
}
.section-lead--light { color: var(--text-muted-dark); }

/* ──────────────────────────────────────────
   PAIN POINTS
   ────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.pain-card {
  padding: var(--space-2xl);
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--brand);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px oklch(0.52 0.12 205 / 0.12);
}

.pain-icon {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  line-height: 1;
}

.pain-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.pain-text {
  color: var(--text-secondary);
  line-height: var(--line-height-loose);
}

/* ──────────────────────────────────────────
   SERVICES
   ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  padding: var(--space-2xl);
  background: oklch(0.22 0.02 232);
  border-radius: var(--radius-lg);
  border-left: 3px solid oklch(0.30 0.03 232);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--accent);
  box-shadow: 0 16px 40px oklch(0 0 0 / 0.3), -3px 0 0 var(--accent);
}

.service-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
}

.service-desc {
  color: var(--text-muted-dark);
  line-height: var(--line-height-loose);
  font-size: var(--text-sm);
  flex: 1;
}

.service-price {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.service-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: oklch(0.65 0.08 205);
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.service-link:hover { color: var(--brand-light); }
.service-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ──────────────────────────────────────────
   STATS BAND
   ────────────────────────────────────────── */
.stats-band {
  background: var(--brand);
  padding-block: var(--space-3xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.stat-item { color: white; }

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: oklch(0.90 0.05 200);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ──────────────────────────────────────────
   ABOUT
   ────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content .section-title { text-align: left; }
.about-content .section-eyebrow { text-align: left; }

.about-text {
  color: var(--text-secondary);
  line-height: var(--line-height-loose);
  margin-bottom: var(--space-lg);
  font-size: var(--text-lg);
}
.about-text strong { color: var(--text-primary); }

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
}
.value-icon { font-size: 1.2em; }

/* Anniversary badge */
.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.anniversary-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 8px color-mix(in oklab, var(--accent) 15%, transparent),
              0 20px 40px oklch(0 0 0 / 0.12);
  flex-shrink: 0;
}

.badge-inner {
  text-align: center;
  color: var(--text-on-dark);
}

.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.badge-text {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.badge-sub {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
  margin-top: 4px;
}

.about-boat-illustration {
  width: 100%;
  max-width: 340px;
}

/* ──────────────────────────────────────────
   TESTIMONIALS
   ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  padding: var(--space-2xl);
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px oklch(0.14 0.015 232 / 0.06);
  border-bottom: 3px solid var(--brand-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px oklch(0.52 0.12 205 / 0.10);
}

.testimonial-stars {
  color: var(--accent);
  font-size: var(--text-base);
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: var(--line-height-loose);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.testimonial-author strong { color: var(--text-primary); font-style: normal; }

/* ──────────────────────────────────────────
   CONTACT / CTA
   ────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 3fr 2fr;
  }
}

.contact-cta .section-title { text-align: left; }
.contact-cta .section-eyebrow { text-align: left; }

.contact-urgency {
  color: var(--text-muted-dark);
  font-size: var(--text-lg);
  line-height: var(--line-height-loose);
  margin-block: var(--space-xl) var(--space-2xl);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.contact-card {
  background: oklch(0.22 0.02 232);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid oklch(0.28 0.025 232);
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--text-on-dark);
  margin-bottom: var(--space-xl);
  font-weight: 500;
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--text-base);
  color: var(--text-muted-dark);
  line-height: 1.5;
}
.contact-info-item a {
  color: color-mix(in oklab, var(--brand) 60%, white);
  transition: color var(--transition-fast);
}
.contact-info-item a:hover { color: white; }
.contact-info-item a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.contact-info-icon { font-size: 1.1em; flex-shrink: 0; margin-top: 2px; }

/* ──────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────── */
.site-footer {
  background: var(--surface-4);
  padding-block: var(--space-3xl);
  border-top: 1px solid oklch(0.25 0.02 232);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--text-on-dark);
  font-weight: 500;
}

.nav-logo-mark {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  justify-content: center;
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
  font-weight: 500;
  transition: color var(--transition-fast);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-links a:hover { color: var(--text-on-dark); }
.footer-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.footer-copy p {
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
}
.footer-demo-notice {
  color: oklch(0.50 0.025 228) !important;
  font-size: var(--text-xs) !important;
}
.footer-demo-notice a {
  color: color-mix(in oklab, var(--brand) 50%, white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ──────────────────────────────────────────
   TOUCH DEVICE ADJUSTMENTS
   ────────────────────────────────────────── */
@media (pointer: coarse) {
  .btn { min-height: 48px; padding-block: var(--space-lg); }
  .nav-link { min-height: 48px; display: flex; align-items: center; }
}

/* ──────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
   ────────────────────────────────────────── */
@media (max-width: 479px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-actions { flex-direction: column; }
}

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

/* ──────────────────────────────────────────
   SAFE AREA (notched devices)
   ────────────────────────────────────────── */
.site-header {
  padding-top: env(safe-area-inset-top);
}
.site-footer {
  padding-bottom: max(var(--space-3xl), env(safe-area-inset-bottom));
}
