:root {
  /* ---- Palette: green-on-cool-neutral ---- */
  --primary: #1d5a8a;
  --primary-deep: #16496f;
  --dark: #16212b;
  --dark-2: #1e2d3a;
  --bg: #f3f6f9;
  --surface: #ffffff;
  --wash: #eaf0f5;
  --ink: #0f1620;
  --muted: #5a6b78;
  --hair: #d5dfe8;
  --on-dark: #e6edf3;
  --on-dark-muted: #9fb0bd;

  /* ---- Depth system ---- */
  --grad-brand: linear-gradient(100deg, #1d5a8a, #2f77a8 55%, #4f9bc9);
  --grad-text: linear-gradient(100deg, #2b6c9c, #5aa0cc);
  --tint-a: #e8eff5;
  --tint-b: #dde9f2;
  --shadow-card: 0 1px 2px rgba(20, 24, 15, 0.04), 0 8px 24px rgba(20, 24, 15, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(20, 24, 15, 0.06), 0 20px 44px rgba(22, 73, 111, 0.14);

  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-pill: 999px;
  --maxw: 1180px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--muted);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
::selection {
  background: var(--primary);
  color: #fff;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
}
.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section-head {
  max-width: 46ch;
}
.section-head.wide {
  max-width: 50ch;
  margin-bottom: 2rem;
}
.section-head h2,
.h-section {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.01em;
}
.section-head p {
  margin-top: 1rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-deep);
}
.btn-on-dark {
  background: #fff;
  color: var(--dark);
}
.btn-on-dark:hover {
  background: var(--on-dark);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost-dark:hover {
  border-color: #fff;
}
.btn-block {
  margin-top: 1.2rem;
  width: 100%;
  justify-content: center;
}

/* ---- Nav ---- */
header.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: clamp(0.6rem, 2vw, 1.4rem);
  transition: padding 0.3s var(--ease);
}
.nav-pill {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.65rem 0.55rem 1.4rem;
  box-shadow: 0 1px 3px rgba(20, 24, 15, 0.06);
  transition: all 0.3s var(--ease);
}
header.nav.scrolled {
  padding-top: 0.5rem;
}
header.nav.scrolled .nav-pill {
  box-shadow: 0 8px 24px rgba(20, 24, 15, 0.1);
}
.brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 1.3rem;
  height: 1.3rem;
  stroke: #fff;
}

/* ---- Services dropdown ---- */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: inherit;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--primary);
}
.nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.nav-dropdown-toggle .caret {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  transition: transform 0.2s var(--ease);
}
.nav-dropdown-toggle[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 0.4rem;
  box-shadow: 0 12px 32px rgba(20, 24, 15, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0.2s var(--ease);
  z-index: 20;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-dropdown-menu a {
  padding: 0.6rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--primary);
  background: var(--wash);
}
.nav-dropdown-menu .menu-all {
  margin-top: 0.1rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--hair);
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--ink);
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-menu,
  .nav-dropdown-toggle .caret {
    transition: none;
  }
}
@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: var(--pad);
    right: var(--pad);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--surface);
    border: 1px solid var(--hair);
    border-radius: var(--radius-lg);
    padding: 0.6rem;
    box-shadow: 0 12px 32px rgba(20, 24, 15, 0.14);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
  }
  .nav-cta .btn-primary {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0.1rem 0 0.3rem 0.6rem;
    transform: none;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.25s var(--ease),
      visibility 0.25s var(--ease);
  }
  .nav-dropdown.open .nav-dropdown-menu {
    visibility: visible;
    max-height: 20rem;
  }
  .nav-dropdown-menu a {
    border-left: 2px solid var(--hair);
    border-radius: 0;
  }
  .nav-dropdown-menu .menu-all {
    border-top: 0;
    border-left: 2px solid var(--primary);
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  color: var(--on-dark);
  overflow: hidden;
  padding-top: clamp(7rem, 16vw, 10rem);
  padding-bottom: clamp(3.5rem, 9vw, 6rem);
  background:
    radial-gradient(90% 120% at 12% -10%, rgba(47, 119, 168, 0.32), transparent 55%),
    radial-gradient(80% 90% at 88% 8%, rgba(29, 90, 138, 0.55), transparent 60%),
    linear-gradient(165deg, #1a2c3a, #16212b 60%, #121b24);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background: radial-gradient(60% 50% at 78% 82%, rgba(79, 155, 201, 0.14), transparent 70%);
}
.hero-motif {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 560px);
  height: auto;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
  color: #bcdcf3;
}
@media (max-width: 820px) {
  .hero-motif {
    width: 130%;
    right: -40%;
    top: 14%;
    transform: none;
    opacity: 0.08;
  }
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.5vw, 4.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.grad-word {
  background: linear-gradient(100deg, #7cc0ec, #cfe6f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  color: var(--on-dark-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 42ch;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-trust svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--primary);
  flex: none;
}
.hero-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, var(--dark-2), var(--dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--on-dark-muted);
  text-align: center;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 820px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    aspect-ratio: 16/10;
    order: -1;
    max-width: 420px;
  }
}

/* ---- Service hub ---- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
@media (max-width: 980px) {
  .hub-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
}
.svc-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.svc-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.svc-card:hover::before {
  transform: scaleX(1);
}
.svc-card.leech::before {
  background: linear-gradient(100deg, #1d5a8a, #4f9bc9);
}
.svc-card.ear::before {
  background: linear-gradient(100deg, #2a7d9e, #79c6d8);
}
.svc-card.cryo::before {
  background: linear-gradient(100deg, #2f6f8e, #6bb4cf);
}
.svc-card.cryo {
  background: linear-gradient(180deg, #fff, #f2f8fb);
}
.svc-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: -0.2rem;
}
.svc-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: var(--tint-a);
  border: 1px solid var(--hair);
  padding: 0.25em 0.6em;
  border-radius: 999px;
}
.svc-card.cryo .svc-meta span {
  color: #1f6f86;
  background: #e6f2f6;
  border-color: #cfe3ea;
}
.svc-icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(29, 90, 138, 0.28);
}
.svc-card.leech .svc-icon {
  background: linear-gradient(135deg, #1d5a8a, #4f9bc9);
}
.svc-card.ear .svc-icon {
  background: linear-gradient(135deg, #2a7d9e, #79c6d8);
  box-shadow: 0 6px 16px rgba(42, 125, 158, 0.28);
}
.svc-card.cryo .svc-icon {
  background: linear-gradient(135deg, #2f6f8e, #6bb4cf);
  box-shadow: 0 6px 16px rgba(47, 111, 142, 0.28);
}
.svc-icon svg {
  width: 1.7rem;
  height: 1.7rem;
  stroke: #fff;
}
.svc-card h3 {
  font-size: 1.4rem;
}
.svc-card p {
  font-size: 0.96rem;
}
.svc-card .link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.svc-card .link svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
}
.svc-card.cryo .link {
  color: #1f6f86;
}

/* ---- Trust spine ---- */
.trust-spine {
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 100% at 15% 0%, rgba(29, 90, 138, 0.4), transparent 55%),
    linear-gradient(160deg, #1a2b38, #121b24);
}
.trust-spine h2 {
  color: #fff;
}
.trust-spine .eyebrow {
  color: var(--on-dark);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
@media (max-width: 760px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
.trust-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.trust-item:hover {
  border-color: rgba(90, 160, 204, 0.5);
  background: rgba(29, 90, 138, 0.14);
}
.trust-item h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-item h3 svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--primary);
  flex: none;
}
.trust-item p {
  color: var(--on-dark-muted);
  font-size: 0.9rem;
}

/* ---- Shared list + price + note ---- */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hair);
}
.price-row:last-of-type {
  border-bottom: 0;
}
.price-row .lab {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.96rem;
}
.price-row .amt {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.15rem;
}
.safety-note {
  background: var(--wash);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.2rem;
  margin-top: 1.4rem;
  font-size: 0.9rem;
}
.safety-note strong {
  color: var(--ink);
}

/* ---- Process ---- */
.process {
  background: var(--wash);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.step .num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  font-size: 1.2rem;
  margin: 0.7rem 0 0.5rem;
}
.step p {
  font-size: 0.92rem;
}

/* ---- Location ---- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (max-width: 820px) {
  .loc-grid {
    grid-template-columns: 1fr;
  }
}
.loc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.loc-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.loc-list svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: var(--primary);
  flex: none;
  margin-top: 0.15rem;
}
.loc-list .lab {
  font-weight: 600;
  color: var(--ink);
  display: block;
  font-size: 0.95rem;
}
.loc-list .val {
  font-size: 0.95rem;
}
.loc-list .val a {
  color: var(--primary);
  font-weight: 600;
}
.map-embed {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--hair);
  background: var(--wash);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--muted);
  text-align: center;
  padding: 2rem;
}
.map-embed svg {
  width: 2.4rem;
  height: 2.4rem;
  stroke: var(--primary);
  opacity: 0.6;
}

/* ---- Contact ---- */
.contact {
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 100% at 85% 100%, rgba(29, 90, 138, 0.42), transparent 55%),
    linear-gradient(160deg, #121b24, #1a2b38);
}
.contact h2 {
  color: #fff;
}
.contact .eyebrow {
  color: var(--on-dark);
}
.contact .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 820px) {
  .contact .wrap {
    grid-template-columns: 1fr;
  }
}
.contact-intro p {
  color: var(--on-dark-muted);
  margin-top: 1rem;
  font-size: 0.98rem;
}
.contact-intro .direct {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-intro .direct a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 600;
}
.contact-intro .direct svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--primary);
}
form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-dark);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--on-dark-muted);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.radio-chip {
  position: relative;
}
.radio-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-chip label {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-dark);
  cursor: pointer;
  margin: 0;
  transition: all 0.2s;
}
.radio-chip input:checked + label {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.radio-chip input:focus-visible + label {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
}
.form-status.show {
  display: block;
}
.form-status.ok {
  color: #8ce0a0;
}
.form-status.err {
  color: #ff9a8f;
}

/* ---- Footer ---- */
footer.site {
  background: var(--dark-2);
  color: var(--on-dark-muted);
  padding-block: 2.5rem;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
footer.site .socials {
  display: flex;
  gap: 0.8rem;
}
footer.site .socials a {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
footer.site .socials a:hover {
  border-color: var(--primary);
  background: rgba(29, 90, 138, 0.2);
}
footer.site .socials svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: var(--on-dark);
}
footer.site .credit {
  font-size: 0.82rem;
}
footer.site .credit a {
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
footer.site .legal {
  font-size: 0.8rem;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.4rem;
  margin-top: 0.5rem;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .svc-card:hover {
    transform: none;
  }
}

/* ---- Section background helpers (replaces inline styles) ---- */
.bg-hub {
  background: linear-gradient(180deg, var(--bg), var(--tint-a));
}
.bg-detail {
  background: linear-gradient(180deg, var(--tint-a), var(--bg));
}
.bg-location {
  background: linear-gradient(180deg, var(--wash), var(--tint-b));
}

/* ---- Tabbed service detail ---- */
.tablist {
  display: inline-flex;
  gap: 0.3rem;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius-pill);
  padding: 0.35rem;
  margin-bottom: 2.4rem;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}
.tab {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tab svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
}
.tab:hover {
  color: var(--primary);
}
.tab[aria-selected="true"] {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(29, 90, 138, 0.3);
}
.tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.panel {
  display: none;
  animation: panelfade 0.35s var(--ease);
}
.panel.active {
  display: block;
}
@keyframes panelfade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.panel-main h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.panel-main > p {
  margin-bottom: 1rem;
  max-width: 56ch;
}
.panel-main ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.4rem 0;
}
.panel-main ul li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.98rem;
  align-items: flex-start;
}
.panel-main ul li svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--primary);
  flex: none;
  margin-top: 0.1rem;
}
.panel-aside {
  position: sticky;
  top: calc(90px + 1.5rem);
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
}
.panel-aside h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
@media (max-width: 860px) {
  .panel-grid {
    grid-template-columns: 1fr;
  }
  .panel-aside {
    position: static;
  }
}
/* Mobile: pill can't fit three tabs in one row — switch to an
   equal-column segmented control that fills the container instead
   of wrapping and overflowing the rounded background. */
@media (max-width: 560px) {
  .tablist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    width: 100%;
    border-radius: var(--radius-lg);
  }
  .tab {
    justify-content: center;
    text-align: center;
    padding: 0.7rem 0.4rem;
    font-size: 0.82rem;
    line-height: 1.15;
    border-radius: calc(var(--radius-lg) - 0.35rem);
  }
  .tab svg {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .panel {
    animation: none;
  }
}
