:root {
  --ink: #14231f;
  --muted: #64716c;
  --green: #007a56;
  --green-dark: #07513f;
  --green-deep: #0a2f27;
  --gold: #c49a58;
  --gold-light: #e7ca97;
  --paper: #ffffff;
  --soft: #f2f5f3;
  --sage: #dfe9e4;
  --line: #d9e1dd;
  --radius: 8px;
  --shadow: 0 24px 64px rgba(8, 47, 38, 0.14);
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 10px max(24px, calc((100vw - 1320px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(10, 47, 39, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand-name {
  display: grid;
  gap: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.brand-name strong {
  font-size: 16px;
  font-weight: 800;
}

.brand-name small {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #3d4e48;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.header-action,
.button-dark {
  color: #fff;
  background: var(--green-deep);
}

.header-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.button-gold {
  color: #17231f;
  background: var(--gold-light);
}

.button-gold:hover {
  background: #f0d7aa;
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-deep);
}

.hero {
  position: relative;
  min-height: 640px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: url("assets/clinic-hero-neutral.webp") 50% 50% / cover no-repeat;
  transform: scale(1.01);
}

.hero-shade {
  z-index: -2;
  background: rgba(6, 36, 29, 0.6);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 360px);
  align-items: end;
  gap: 88px;
  max-width: 1320px;
  min-height: 640px;
  margin: 0 auto;
  padding: 90px 24px 54px;
}

.hero-copy {
  padding-bottom: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: var(--gold-light);
}

.hero h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero h1 {
  max-width: 780px;
  margin: 24px 0 20px;
  font-size: 76px;
  line-height: 0.98;
}

.hero-copy > p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.55;
}

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

.hero-facts {
  display: grid;
  align-self: end;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.hero-facts div {
  display: grid;
  gap: 7px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts strong {
  font-size: 16px;
  line-height: 1.35;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.trust-strip div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 100px;
  padding: 20px 26px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.trust-strip span {
  color: #46564f;
  font-size: 14px;
  line-height: 1.4;
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 104px 24px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(280px, 460px);
  justify-content: space-between;
  gap: 80px;
  align-items: end;
}

h2 {
  margin: 16px 0 0;
  font-size: 50px;
  line-height: 1.08;
}

.intro-copy,
.section-heading > p,
.clinic-heading > p,
.location-copy > p,
.appointment-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.intro-copy p {
  margin: 0 0 22px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--green-dark);
  font-weight: 750;
}

.text-link span {
  color: var(--gold);
  font-size: 22px;
}

.services-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(260px, 440px);
  justify-content: space-between;
  gap: 64px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading > p {
  margin: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  min-height: 210px;
  padding: 28px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.service-list h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-list .service-accent {
  color: #fff;
  background: var(--green-dark);
}

.service-list .service-accent p {
  color: rgba(255, 255, 255, 0.72);
}

.process {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(420px, 1fr);
  min-height: 690px;
  background: var(--green-deep);
}

.process-media {
  padding: 54px 0 54px max(24px, calc((100vw - 1320px) / 2));
}

.photo-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  min-height: 220px;
  color: #4c5b55;
  background: var(--sage);
  border: 1px solid rgba(10, 47, 39, 0.16);
  border-radius: 6px;
  text-align: center;
}

.photo-placeholder.dark {
  height: 100%;
  min-height: 560px;
  color: rgba(255, 255, 255, 0.8);
  background: #153f35;
  border-color: rgba(255, 255, 255, 0.14);
}

.photo-placeholder span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.photo-placeholder small {
  color: currentColor;
  opacity: 0.72;
}

.process-copy {
  display: grid;
  align-content: center;
  padding: 74px max(24px, calc((100vw - 1320px) / 2)) 74px 70px;
  color: #fff;
}

.process-copy h2 {
  margin-bottom: 36px;
}

.process-copy ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-copy li {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px 0 22px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  counter-increment: steps;
}

.process-copy li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-copy li::before {
  position: absolute;
  top: 24px;
  left: 0;
  color: var(--gold-light);
  content: "0" counter(steps);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.process-copy li strong {
  font-size: 18px;
}

.process-copy li span {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.5;
}

.price-table {
  border-top: 1px solid var(--ink);
}

.price-table > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.price-table span {
  font-size: 18px;
}

.price-table strong {
  color: var(--green-dark);
  font-size: 15px;
  white-space: nowrap;
}

.team-band {
  color: #fff;
  background: #123c32;
}

.team .section-heading > p {
  color: rgba(255, 255, 255, 0.66);
}

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

.team-grid article {
  min-width: 0;
}

.team-grid .photo-placeholder {
  min-height: 300px;
  color: rgba(255, 255, 255, 0.72);
  background: #28564b;
  border-color: rgba(255, 255, 255, 0.12);
}

.team-grid h3 {
  margin: 20px 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
}

.team-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.clinic-heading {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(240px, 360px);
  gap: 80px;
  align-items: end;
  margin-bottom: 44px;
}

.clinic-heading .eyebrow,
.clinic-heading h2 {
  grid-column: 1;
}

.clinic-heading h2 {
  margin-top: 0;
}

.clinic-heading > p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, 250px);
  gap: 14px;
}

.gallery .photo-placeholder {
  min-height: 0;
  height: 100%;
}

.gallery-large {
  grid-row: 1 / span 2;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(480px, 1.2fr) minmax(340px, 0.8fr);
  gap: 58px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 104px;
}

.entrance-photo {
  display: grid;
  gap: 11px;
}

.entrance-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 48%;
  border-radius: 6px;
}

.entrance-photo span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.location-copy {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.location-copy h2 {
  margin-top: 0;
}

.location-copy address {
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-style: normal;
  line-height: 1.45;
}

.location-copy > p {
  margin: 0;
}

.appointment {
  display: grid;
  grid-template-columns: minmax(280px, 450px) minmax(360px, 580px);
  justify-content: space-between;
  gap: 90px;
  padding: 104px max(24px, calc((100vw - 1320px) / 2));
  color: #fff;
  background: var(--green-dark);
}

.appointment-copy h2 {
  margin-bottom: 20px;
}

.appointment-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.working-hours {
  display: grid;
  gap: 4px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.working-hours span {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.working-hours strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.appointment-form label {
  display: grid;
  gap: 8px;
}

.appointment-form label:nth-of-type(3),
.appointment-form .consent,
.appointment-form .button,
.appointment-form .form-note {
  grid-column: 1 / -1;
}

.appointment-form label > span {
  color: #44534d;
  font-size: 13px;
  font-weight: 750;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: none;
}

.appointment-form input {
  min-height: 48px;
}

.appointment-form textarea {
  resize: vertical;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 122, 86, 0.1);
}

.appointment-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.appointment-form .consent input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.appointment-form .consent span {
  font-weight: 500;
  line-height: 1.4;
}

.appointment-form .button {
  width: 100%;
}

.appointment-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-note.success {
  color: var(--green-dark);
}

.form-note.error {
  color: #9d2f2f;
}

.contacts {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 24px;
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-brand img {
  width: 74px;
  height: 74px;
}

.contact-brand div,
.contact-item {
  display: grid;
  align-content: center;
  gap: 7px;
}

.contact-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.contact-brand span,
.contact-item span {
  color: var(--muted);
  font-size: 13px;
}

.contact-item strong {
  font-size: 14px;
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(24px, calc((100vw - 1320px) / 2));
  color: rgba(255, 255, 255, 0.62);
  background: #071f1a;
  font-size: 13px;
}

.footer a {
  color: #fff;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 84px;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 12px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 34px rgba(8, 47, 38, 0.1);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 620px) minmax(240px, 300px);
    gap: 42px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .process-copy {
    padding-left: 44px;
  }

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

  .contacts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 76px;
    padding: 8px 18px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .main-nav {
    top: 76px;
  }

  .hero,
  .hero-inner {
    min-height: 650px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-content: end;
    gap: 30px;
    padding: 82px 24px 34px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .hero-facts div {
    min-width: 0;
  }

  .section,
  .appointment {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .intro,
  .section-heading,
  .clinic-heading,
  .location-section,
  .appointment {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  h2 {
    font-size: 42px;
  }

  .clinic-heading .eyebrow,
  .clinic-heading h2,
  .clinic-heading > p {
    grid-column: auto;
    grid-row: auto;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process-media {
    padding: 48px 24px 0;
  }

  .photo-placeholder.dark {
    min-height: 380px;
  }

  .process-copy {
    padding: 54px 24px 72px;
  }

  .location-section {
    padding-bottom: 82px;
  }

  .entrance-photo img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-name strong {
    font-size: 13px;
  }

  .brand-name small {
    font-size: 10px;
  }

  .header-action {
    display: none;
  }

  .main-nav {
    top: 72px;
    grid-template-columns: 1fr;
    padding: 8px 18px 16px;
  }

  .hero,
  .hero-inner {
    min-height: 620px;
  }

  .hero-media {
    background-position: 68% 50%;
  }

  .hero-shade {
    background: rgba(6, 36, 29, 0.68);
  }

  .hero-inner {
    gap: 24px;
    padding: 64px 18px 26px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: 42px;
    line-height: 1.02;
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-facts div {
    grid-template-columns: 110px 1fr;
    align-items: center;
    padding: 12px 0;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    border: 0;
  }

  .trust-strip div,
  .trust-strip div:nth-child(2) {
    min-height: 76px;
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 68px 18px;
  }

  .intro {
    gap: 24px;
  }

  h2 {
    font-size: 36px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list article {
    min-height: 0;
    padding: 24px 20px;
  }

  .process-media {
    padding: 38px 18px 0;
  }

  .photo-placeholder.dark {
    min-height: 290px;
  }

  .process-copy {
    padding: 48px 18px 62px;
  }

  .price-table > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-table strong {
    white-space: normal;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid .photo-placeholder {
    min-height: 330px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 260px);
  }

  .gallery-large {
    grid-row: auto;
  }

  .location-section {
    gap: 38px;
    padding: 0 18px 68px;
  }

  .entrance-photo img {
    aspect-ratio: 4 / 3;
  }

  .location-copy address {
    font-size: 20px;
  }

  .appointment {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 68px 18px;
  }

  .appointment-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .appointment-form label:nth-of-type(3),
  .appointment-form .consent,
  .appointment-form .button,
  .appointment-form .form-note {
    grid-column: auto;
  }

  .contacts {
    grid-template-columns: 1fr;
    padding: 54px 18px;
  }

  .contact-item {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .footer {
    display: grid;
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
