﻿:root {
  --bg: #f7f6f1;
  --paper: #ffffff;
  --ink: #12211d;
  --muted: #5d6a65;
  --line: #dfe5df;
  --brand: #197a63;
  --brand-dark: #0e5b49;
  --soft: #eaf4ef;
  --accent: #b9d8cc;
  --gold: #b78a4b;
  --radius: 8px;
  --shadow: 0 14px 34px rgba(18, 33, 29, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 246, 241, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

.brand-text {
  display: grid;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #34413d;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand-dark);
}

.button,
button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.button:hover,
button:hover {
  background: var(--brand-dark);
}

.button.secondary {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--line);
}

.button.secondary:hover {
  background: var(--soft);
}

.hero {
  padding: 74px 0 58px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 16%, rgba(25, 122, 99, .08), transparent 34%),
    linear-gradient(120deg, #fbfaf6 0%, #f1efe4 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, .86fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid #d7e9df;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 22px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  max-width: 880px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  margin: 24px 0 0;
  max-width: 750px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-card,
.panel,
.service-card,
.form-panel,
.case-card {
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px;
}

.hero-card img {
  width: 100%;
}

.hero-card .media {
  min-height: 330px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(18, 33, 29, .12), rgba(18, 33, 29, .12)),
    radial-gradient(circle at 35% 26%, #f8fbf8 0 12%, transparent 13%),
    linear-gradient(145deg, #dbe8df, #f7f6f1 58%, #c2d8ce);
  display: grid;
  align-items: end;
  padding: 22px;
}

.media-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  max-width: 300px;
}

.media-note strong {
  display: block;
  margin-bottom: 4px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.photo-card div {
  padding: 16px;
}

.photo-card strong {
  display: block;
  margin-bottom: 6px;
}

.clinical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.clinical-case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.clinical-case img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  background: #111;
}

.clinical-case.tall img {
  aspect-ratio: 4 / 5;
}

.clinical-case.wide img {
  aspect-ratio: 16 / 10;
}

.clinical-body {
  padding: 20px;
}

.clinical-meta {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand-dark);
  background: var(--soft);
  border: 1px solid #d7e9df;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 850;
}

.clinical-body p {
  color: var(--muted);
}

.section {
  padding: 66px 0;
}

.section.alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p,
.muted {
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.case-card,
.panel {
  padding: 22px;
}

.service-card p,
.case-card p,
.panel p {
  color: var(--muted);
}

.service-card a,
.case-card a {
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration: none;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  content: counter(step);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  left: 0;
  top: .72em;
}

.notice {
  border-left: 4px solid var(--brand);
  background: var(--soft);
  padding: 14px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #244039;
  margin-top: 18px;
}

.forms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.form-panel {
  padding: 24px;
}

form {
  display: grid;
  gap: 16px;
}

.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: #263430;
  font-weight: 850;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd8d2;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(25, 122, 99, .18);
  border-color: var(--brand);
}

.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
}

.error {
  display: none;
  color: #8f1f1f;
  font-size: 13px;
  font-weight: 750;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta-band {
  padding: 52px 0;
  background: var(--brand-dark);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, .78);
}

.footer {
  background: #0f1c19;
  color: rgba(255, 255, 255, .72);
  padding: 38px 0 94px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
}

.footer a {
  color: #fff;
}

.mobile-bar {
  display: none;
}

@media (max-width: 940px) {
  .nav a:not(.button) {
    display: none;
  }

  .hero-grid,
  .section-head,
  .grid-2,
  .grid-3,
  .photo-grid,
  .clinical-grid,
  .forms-grid,
  .two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 36px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-card .media {
    min-height: 250px;
  }

  .button,
  button {
    width: 100%;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .mobile-bar a {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 850;
  }

  .mobile-bar a:first-child {
    background: var(--brand);
    color: #fff;
  }
}

