/* =========================================================
   АКВА-РТ — design tokens
   Concept: промышленная водоочистка / очистка стоков.
   Палитра: глубокий индустриальный тил-синий + стальные
   нейтрали + сигнальный "инженерный" оранжевый акцент для CTA.
   ========================================================= */

:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #f2f5f6;
  --color-surface: #ffffff;
  --color-surface-2: #fbfdfd;
  --color-surface-offset: #e9eef0;
  --color-surface-offset-2: #dde5e7;
  --color-surface-dynamic: #cfdadd;
  --color-divider: #d5dee0;
  --color-border: #c1ccd0;

  /* Text */
  --color-text: #101c20;
  --color-text-muted: #526266;
  --color-text-faint: #90a1a4;
  --color-text-inverse: #f2f6f7;

  /* Primary — industrial teal */
  --color-primary: #0c5c6b;
  --color-primary-hover: #094651;
  --color-primary-active: #073640;
  --color-primary-highlight: #cfe3e6;

  /* Accent — signal orange (CTA only) */
  --color-accent: #c85a12;
  --color-accent-hover: #a3480c;
  --color-accent-active: #7e3708;
  --color-accent-highlight: #f0dcc9;

  /* Semantic */
  --color-success: #3f7d3a;
  --color-success-highlight: #d9e6d5;
  --color-warning: #b3790f;
  --color-warning-highlight: #eee0c4;
  --color-error: #a13636;
  --color-error-highlight: #ecd7d5;

  /* 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 — cool steel tint */
  --shadow-sm: 0 1px 2px oklch(0.25 0.03 220 / 0.08);
  --shadow-md: 0 4px 14px oklch(0.25 0.03 220 / 0.10), 0 1px 3px oklch(0.25 0.03 220 / 0.08);
  --shadow-lg: 0 16px 40px oklch(0.25 0.03 220 / 0.16), 0 2px 6px oklch(0.25 0.03 220 / 0.10);

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

  /* Fonts */
  --font-display: 'Golos Text', 'Arial', sans-serif;
  --font-body: 'IBM Plex Sans', 'Arial', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #0a1315;
  --color-surface: #0f1a1d;
  --color-surface-2: #122024;
  --color-surface-offset: #142226;
  --color-surface-offset-2: #182a2e;
  --color-surface-dynamic: #1e3438;
  --color-divider: #1c2f33;
  --color-border: #2a4247;

  --color-text: #dae5e7;
  --color-text-muted: #8ba0a4;
  --color-text-faint: #5c7075;
  --color-text-inverse: #0f1a1d;

  --color-primary: #5babb8;
  --color-primary-hover: #7ec3ce;
  --color-primary-active: #9cd4dd;
  --color-primary-highlight: #1c3a3f;

  --color-accent: #e8964f;
  --color-accent-hover: #efab6c;
  --color-accent-active: #f5c090;
  --color-accent-highlight: #3a2a1a;

  --color-success: #78b06f;
  --color-success-highlight: #223221;
  --color-warning: #d9a641;
  --color-warning-highlight: #362c17;
  --color-error: #d18080;
  --color-error-highlight: #3a2222;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 4px 14px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 16px 40px 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.1rem);
  --text-2xl: clamp(1.9rem, 1.2rem + 2.5vw, 3.1rem);
  --text-3xl: clamp(2.3rem, 1rem + 4vw, 4.2rem);

  /* 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;
}

/* ================= Layout primitives ================= */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}
section.section--tight {
  padding-block: clamp(var(--space-8), 4vw, var(--space-16));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}
h3,
.h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
p {
  color: var(--color-text-muted);
  max-width: 70ch;
}
.prose p + p {
  margin-top: var(--space-4);
}
.text-body {
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a.link-underline {
  text-decoration: underline;
  text-decoration-color: oklch(from var(--color-primary) l c h / 0.35);
  text-underline-offset: 3px;
}
a.link-underline:hover {
  text-decoration-color: var(--color-primary);
}

/* ================= 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-3) var(--space-6);
  border-radius: var(--radius-md);
  min-height: 44px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff8f2;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  background: var(--color-accent-active);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: oklch(from var(--color-text) l c h / 0.22);
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  padding-inline: var(--space-2);
}
.btn-ghost:hover {
  color: var(--color-primary-hover);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ================= Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header--hidden {
  transform: translateY(-100%);
}
.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-3);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  flex-shrink: 0;
}
.logo svg {
  width: 34px;
  height: 34px;
  color: var(--color-primary);
}
.logo span.reg {
  color: var(--color-accent);
}

.main-nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
  margin-inline: auto;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding-block: var(--space-2);
  position: relative;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--color-text);
}
.main-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}
.main-nav a.nav-other {
  color: var(--color-text-faint);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}
.header-phone {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  white-space: nowrap;
}
.header-phone svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.theme-toggle:hover,
.menu-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}
.theme-toggle svg,
.menu-toggle svg {
  width: 20px;
  height: 20px;
}
.menu-toggle {
  display: flex;
}
.header-cta {
  display: none;
}

@media (min-width: 960px) {
  .main-nav {
    display: flex;
  }
  .header-phone {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Mobile nav sheet */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--color-bg);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav nav a {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav a.nav-other {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
}
.mobile-nav .btn {
  margin-top: var(--space-6);
}
.mobile-call {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-primary);
}
.mobile-call svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ================= Hero ================= */
.hero {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32)) clamp(var(--space-12), 6vw, var(--space-20));
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-16);
  }
}
.hero h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
}
.hero .lede {
  font-size: var(--text-lg);
  max-width: 52ch;
  margin-bottom: var(--space-8);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.trust-strip strong {
  color: var(--color-text);
}
.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, oklch(0.15 0.03 220 / 0.55) 100%);
}
.hero-media-tag {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  color: #f4f8f8;
  font-size: var(--text-xs);
  font-weight: 500;
}

/* Page hero (interior pages, shorter) */
.page-hero {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) clamp(var(--space-8), 4vw, var(--space-12));
  border-bottom: 1px solid var(--color-divider);
}
.page-hero--compact {
  padding-block: clamp(var(--space-10), 5vw, var(--space-14)) clamp(var(--space-6), 3vw, var(--space-8));
}
.page-hero h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  max-width: 24ch;
}
.page-hero .lede {
  font-size: var(--text-lg);
  max-width: 68ch;
  margin-bottom: var(--space-6);
}
.page-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.breadcrumb {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.breadcrumb a {
  color: var(--color-text-faint);
}
.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ================= Cards / Blocks ================= */
.card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  box-shadow: var(--shadow-md);
}

.service-feature {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
  border-top: 1px solid var(--color-divider);
}
@media (min-width: 880px) {
  .service-feature {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
  .service-feature--reverse .service-feature-media {
    order: 2;
  }
}
.service-feature-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5/4;
}
.service-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-feature-list {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-feature-list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  align-items: baseline;
}
.service-feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* Process steps */
.process {
  display: grid;
  gap: var(--space-1);
  counter-reset: step;
}
@media (min-width: 760px) {
  .process {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
  }
}
.process-step {
  position: relative;
  padding: var(--space-5) var(--space-4) var(--space-5) 0;
  border-top: 2px solid var(--color-divider);
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-2);
}
.process-step h3 {
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}
.process-step p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Industry tag list */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
}

/* Sector cards (asymmetric, no colored-circle icons) */
.sector-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.sector-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface-offset);
}
.sector-card .sector-index {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  display: block;
}
.sector-card h3 {
  margin-bottom: var(--space-2);
}
.sector-card p {
  font-size: var(--text-sm);
}

/* Table */
.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
}
table.data-table {
  min-width: 560px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-divider);
}
.data-table th {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-surface-offset);
}
.data-table td {
  color: var(--color-text-muted);
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table-caption {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}

/* Stat strip */
.stat-strip {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  border-left: none;
  padding-top: var(--space-3);
  border-top: 2px solid var(--color-accent);
}
.stat .stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  display: block;
  color: var(--color-text);
}
.stat .stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Callout / pull quote */
.callout {
  background: var(--color-primary-highlight);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.callout p {
  color: var(--color-text);
  font-size: var(--text-lg);
  font-family: var(--font-display);
  font-weight: 500;
  max-width: 60ch;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-5);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
}
.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition-interactive);
}
.faq-item.is-open .faq-question svg {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer p {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
}

/* Project cards */
.project-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  box-shadow: var(--shadow-md);
}
.project-media {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-body {
  padding: var(--space-6);
}
.project-sector {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  display: block;
}
.project-meta {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
}
.project-meta dt {
  font-weight: 700;
  color: var(--color-text);
  display: inline;
}
.project-meta dd {
  display: inline;
  color: var(--color-text-muted);
  margin: 0;
}
.project-placeholder-note {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
}

/* CTA band */
.cta-band {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 800px) {
  .cta-band {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}
.cta-band h2 {
  color: #fff;
  margin-bottom: var(--space-3);
}
.cta-band p {
  color: oklch(0.96 0.01 200 / 0.82);
}
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cta-band .btn-primary {
  background: var(--color-accent);
}
.cta-band .btn-secondary {
  border-color: oklch(1 0 0 / 0.35);
  color: #fff;
}
.cta-band .btn-secondary:hover {
  border-color: #fff;
  background: oklch(1 0 0 / 0.08);
}

/* Section header pattern */
.section-head {
  max-width: 62ch;
  margin-bottom: var(--space-10);
}
.section-head.center {
  margin-inline: auto;
  text-align: left;
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

/* Two-col with sidebar */
.split {
  display: grid;
  gap: var(--space-12);
}
@media (min-width: 900px) {
  .split--60-40 {
    grid-template-columns: 1.4fr 1fr;
  }
  .split--50-50 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Norm reference block */
.norm-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.norm-list li {
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-divider);
  color: var(--color-text-muted);
}
.norm-list strong {
  color: var(--color-text);
}

/* Form */
.form-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 600px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
}
.field input,
.field select,
.field textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  min-height: 44px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.form-success {
  display: none;
  background: var(--color-success-highlight);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-top: var(--space-4);
}
.form-success.is-visible {
  display: block;
}

/* Contact info list */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.contact-list-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-list-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-list-item h3 {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.contact-list-item p,
.contact-list-item a {
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: 500;
}
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--color-divider);
}
.map-placeholder {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-8);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
}
.map-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}
.map-placeholder p {
  font-size: var(--text-sm);
  max-width: 32ch;
}
.map-placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-2);
}

/* Note / disclosure box (for placeholder data, not colored side-border) */
.note-box {
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ================= Footer ================= */
.site-footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}
.footer-brand .logo {
  margin-bottom: var(--space-4);
}
.footer-brand p {
  font-size: var(--text-sm);
  max-width: 34ch;
}
.footer-col h3 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  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-wrap: wrap;
  justify-content: space-between;
  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);
}

/* ================= Skip link ================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-2);
  z-index: 100;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
}
.skip-link:focus {
  left: var(--space-2);
}

/* ================= Utilities ================= */
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mb-0 { margin-bottom: 0; }
.mb-6 { margin-bottom: var(--space-6); }
.field--full { width: 100%; }
.text-muted { color: var(--color-text-muted); }
.text-faint { color: var(--color-text-faint); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.center { text-align: center; }
.flex-wrap-gap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
