/* ============================================================
   CARTARA HEALTH v4 — Design-Driven Visuals
   Font: Switzer (geometric grotesk)
   Palette: Light, warm, institutional — modeled after Veeva, Optum, Flatiron
   Accent: Deep Navy for CTAs, Signal Teal for labels
   ALL visuals are CSS/SVG — zero fake imagery
   ============================================================ */

/* --- FONTS — Söhne by Klim Type Foundry (licensed) --- */
@font-face {
  font-family: 'Soehne';
  src: url('./fonts/soehne-buch.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Soehne';
  src: url('./fonts/soehne-kraftig.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Soehne';
  src: url('./fonts/soehne-halbfett.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-body: 'Soehne', 'Helvetica Neue', 'Arial', sans-serif;
  --font-display: 'Soehne', 'Helvetica Neue', 'Arial', sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.8125rem);
  --text-sm:   clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1rem   + 0.5vw, 1.375rem);
  --text-xl:   clamp(1.375rem, 1.1rem + 1vw, 2rem);
  --text-2xl:  clamp(1.75rem,  1rem   + 2.2vw, 3rem);
  --text-3xl:  clamp(2.25rem,  0.8rem + 3.5vw, 4rem);
  --text-hero: clamp(2.75rem,  0.5rem + 5vw, 5.5rem);

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

  /* === LIGHT PALETTE === */
  --color-bg:            #FFFFFF;
  --color-bg-alt:        #F7F8FA;
  --color-bg-subtle:     #F0F2F5;
  --color-surface:       #FFFFFF;

  --color-border:        #E8ECF0;
  --color-border-hover:  #CBD2DA;
  --color-divider:       #E8ECF0;

  --color-text:          #1A1A2E;
  --color-text-muted:    #4A5568;
  --color-text-faint:    #94A3B8;

  /* Brand Accents */
  --color-navy:          #0B1F3A;
  --color-navy-hover:    #132D52;

  --color-teal:          #0D9488;
  --color-teal-light:    rgba(13, 148, 136, 0.08);
  --color-teal-hover:    #0F766E;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

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

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg:  0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl:  0 24px 64px rgba(0, 0, 0, 0.10);
  --shadow-float: 0 20px 60px rgba(0, 0, 0, 0.12);

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

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

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

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

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

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

.nav-wordmark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.nav-wordmark span { color: var(--color-text-muted); font-weight: 400; }

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-interactive);
  white-space: nowrap;
}

.btn--primary {
  padding: 0.65rem 1.5rem;
  font-size: var(--text-sm);
  background: var(--color-navy);
  color: #FFFFFF;
  border-radius: var(--radius-full);
}

.btn--primary:hover {
  background: var(--color-navy-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline {
  padding: 0.65rem 1.5rem;
  font-size: var(--text-sm);
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
}

.btn--outline:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-1px);
}

.btn--large { padding: 0.85rem 2.25rem; font-size: var(--text-base); }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    padding: var(--space-6);
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: var(--space-4);
  }
  .nav-links.active { display: flex; }
  .nav-links .btn--primary { width: 100%; text-align: center; }
}

/* ============================================================
   HERO — Typography-first with abstract SVG network
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background: var(--color-bg);
}

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

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.signal-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
  animation: pulse-dot 2.5s infinite;
}

.signal-dot--sm { width: 5px; height: 5px; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(13, 148, 136, 0.3); }
  50% { opacity: 0.6; box-shadow: 0 0 12px rgba(13, 148, 136, 0.4); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.035em;
}

.hero-sub {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: var(--space-10);
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SVG Network Constellation */
.hero-network {
  width: 100%;
  max-width: 500px;
  opacity: 0.85;
}

.network-lines line {
  opacity: 0.5;
}

.signal-pulse {
  animation: signal-breathe 3s ease-in-out infinite;
}

.signal-pulse-mid {
  animation: signal-breathe 3s ease-in-out infinite 0.3s;
}

@keyframes signal-breathe {
  0%, 100% { opacity: 0.08; r: 12; }
  50% { opacity: 0.18; r: 16; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-content { max-width: 580px; margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; padding-block: 7rem 3rem; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   MEET ATLAS — THE STAR
   ============================================================ */

.atlas-showcase {
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
  padding-block: 0;
}

.atlas-showcase-inner {
  position: relative;
  z-index: 1;
}

/* Intro */
.atlas-intro-row {
  padding-top: clamp(var(--space-20), 10vw, var(--space-32));
  padding-bottom: clamp(var(--space-10), 4vw, var(--space-16));
  text-align: center;
}

.atlas-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.atlas-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  line-height: 1.08;
}

.atlas-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ============================================================
   CSS-CRAFTED DASHBOARD — Replaces fake screenshot
   ============================================================ */

.atlas-product {
  max-width: 1060px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.atlas-dashboard {
  background: #FFFFFF;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

/* Dashboard top bar */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--color-navy);
  color: #FFFFFF;
}

.dash-topbar-left { display: flex; align-items: center; gap: 10px; }

.dash-logo-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.dash-topbar-right { display: flex; gap: 6px; }

.dash-topbar-pill {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
  background: rgba(255,255,255,0.15);
  color: #FFFFFF;
}

.dash-topbar-pill--muted {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
}

/* Dashboard body */
.dash-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 340px;
}

/* Sidebar */
.dash-sidebar {
  border-right: 1px solid var(--color-border);
  padding: 14px 0;
  background: var(--color-bg-alt);
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 450;
  color: var(--color-text-muted);
  cursor: default;
  transition: background 0.15s;
}

.dash-nav-item svg { width: 15px; height: 15px; flex-shrink: 0; }

.dash-nav-item--active {
  color: var(--color-teal);
  background: var(--color-teal-light);
  font-weight: 500;
  border-right: 2px solid var(--color-teal);
}

/* Main content */
.dash-main {
  padding: 16px 20px;
}

/* KPI row */
.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.dash-kpi {
  padding: 12px 14px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.dash-kpi-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.dash-kpi-value {
  height: 6px;
  background: var(--color-bg-subtle);
  border-radius: 3px;
  overflow: hidden;
}

.dash-kpi-bar {
  display: block;
  height: 100%;
  width: var(--bar-w);
  background: var(--bar-color);
  border-radius: 3px;
  opacity: 0.7;
}

/* Content grid */
.dash-content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
}

/* Panels */
.dash-panel {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.dash-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.dash-panel-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--color-bg-subtle);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-panel-badge--teal {
  background: var(--color-teal-light);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Chart */
.dash-chart {
  position: relative;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dash-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 130px;
  padding: 0 8px;
}

.dash-bar {
  flex: 1;
  height: var(--h);
  background: var(--color-navy);
  opacity: 0.15;
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: opacity 0.3s;
}

.dash-bar--accent {
  background: var(--color-teal);
  opacity: 0.35;
}

.dash-bar span {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--color-text-faint);
  white-space: nowrap;
}

.dash-chart-baseline {
  height: 1px;
  background: var(--color-border);
  margin-top: 4px;
}

/* Signal feed */
.dash-signal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-signal {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.dash-signal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.dash-signal-dot--teal { background: var(--color-teal); }
.dash-signal-dot--navy { background: var(--color-navy); opacity: 0.3; }

.dash-signal-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

.dash-signal-meta {
  font-size: 10px;
  color: var(--color-text-faint);
  margin-top: 1px;
}

/* Dashboard responsive */
@media (max-width: 768px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .dash-content-grid { grid-template-columns: 1fr; }
  .dash-topbar-right { display: none; }
}

@media (max-width: 480px) {
  .dash-kpi-row { grid-template-columns: 1fr; }
}

/* ============================================================
   ATLAS FEATURES + VIEWS (unchanged from v3)
   ============================================================ */

/* Feature pillars */
.atlas-features-bar {
  padding-block: clamp(var(--space-16), 6vw, var(--space-24));
}

.atlas-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.atlas-feature {
  text-align: left;
  position: relative;
  padding: clamp(var(--space-6), 2.5vw, var(--space-8));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all 0.3s var(--ease-out);
}

.atlas-feature:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.atlas-feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-teal);
}

.atlas-feature-icon svg { width: 20px; height: 20px; }

.atlas-feature-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.atlas-feature-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Two Views Row */
.atlas-views {
  padding-block: 0 clamp(var(--space-16), 6vw, var(--space-24));
}

.atlas-views-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.atlas-view-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  transition: all 0.3s var(--ease-out);
}

.atlas-view-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.atlas-view-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  background: var(--color-teal-light);
  border: 1px solid rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-teal);
}

.atlas-view-card-icon svg { width: 22px; height: 22px; }

.atlas-view-card h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.atlas-view-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.atlas-view-card ul {
  list-style: none;
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.atlas-view-card li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
}

.atlas-view-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
  opacity: 0.4;
}

@media (max-width: 768px) {
  .atlas-features-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .atlas-views-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CAPABILITIES
   ============================================================ */

.capabilities {
  background: var(--color-bg);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-12), 6vw, var(--space-20));
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

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

.cap-card {
  padding: clamp(var(--space-6), 2.5vw, var(--space-8));
  border-radius: var(--radius-xl);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out);
}

.cap-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cap-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-teal);
}

.cap-card-icon svg { width: 20px; height: 20px; }

.cap-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.cap-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

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

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.process {
  background: var(--color-bg-alt);
}

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

.process-step {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 200;
  color: var(--color-border);
  margin-bottom: var(--space-4);
  line-height: 1;
}

.process-step-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--color-teal);
}

.process-step-icon svg { width: 22px; height: 22px; }

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

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 220px;
  margin-inline: auto;
}

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

/* ============================================================
   SOLUTIONS
   ============================================================ */

.solutions { background: var(--color-bg); }

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

.solution-card {
  padding: clamp(var(--space-6), 2.5vw, var(--space-8));
  border-radius: var(--radius-xl);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out);
}

.solution-card:hover {
  border-color: var(--color-teal);
}

.solution-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-teal);
}

.solution-card-icon svg { width: 22px; height: 22px; }

.solution-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.solution-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.solution-card-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-interactive);
}

.solution-card-link:hover { gap: var(--space-2); }

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

/* ============================================================
   TRUST — Design-driven principles grid (no team photo)
   ============================================================ */

.trust { background: var(--color-bg-alt); }

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

/* Principles visual — replaces team photo */
.trust-visual-v4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.trust-principle {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 2.5vw, var(--space-8));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  transition: all 0.3s var(--ease-out);
}

.trust-principle:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.trust-principle-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
}

.trust-principle-icon svg { width: 24px; height: 24px; }

.trust-principle-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.trust-content .section-label,
.trust-content .section-title,
.trust-content .section-desc { text-align: left; margin-inline: 0; }
.trust-content .section-desc { max-width: none; }

.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.trust-stat {
  padding: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.trust-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.trust-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-visual-v4 { grid-template-columns: 1fr 1fr; }
}

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

.cta-section {
  background: linear-gradient(135deg, #EDF2F7 0%, #E2E8F0 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content { position: relative; z-index: 1; }

.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.btn--ghost {
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: transparent;
  border: 1.5px solid var(--color-border-hover);
  border-radius: var(--radius-full);
}

.btn--ghost:hover { border-color: var(--color-text); color: var(--color-text); }

/* ============================================================
   CONTACT
   ============================================================ */

.contact { background: var(--color-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
}

.contact-info .section-label,
.contact-info .section-title,
.contact-info .section-desc { text-align: left; margin-inline: 0; }
.contact-info .section-desc { max-width: none; }

.contact-details {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-detail svg { width: 18px; height: 18px; color: var(--color-text-faint); flex-shrink: 0; }

.contact-form {
  background: var(--color-bg-alt);
  padding: clamp(var(--space-8), 3vw, var(--space-10));
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
}

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

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
}

.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; margin-top: var(--space-2); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

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

.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.45);
  padding-block: var(--space-16) var(--space-8);
}

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

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.65;
  max-width: 280px;
  margin-top: var(--space-4);
}

.footer-brand .nav-wordmark { color: #FFFFFF; }
.footer-brand .nav-wordmark span { color: rgba(255,255,255,0.45); }

.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-5);
}

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

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--text-xs);
}

.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
}

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

.fade-in { opacity: 1; }

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

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

@supports not (animation-timeline: scroll()) {
  .fade-in { opacity: 0; transition: opacity 0.7s var(--ease-out); }
  .fade-in.visible { opacity: 1; }
}
