:root {
  --bg: #061013;
  --bg-2: #0b171c;
  --ink: #10191d;
  --text: #f4fbf8;
  --muted: #8ca4a5;
  --soft: #f3f0e8;
  --paper: #fffaf0;
  --panel: rgba(10, 24, 29, 0.88);
  --panel-strong: #0d1f26;
  --line: rgba(0, 205, 150, 0.18);
  --line-light: #d9e5df;
  --green: #00c996;
  --green-bright: #28ffc4;
  --amber: #f0ad4e;
  --coral: #ef6b57;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --display: "Bebas Neue", Impact, sans-serif;
  --body:
    "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --mono:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
}

body::selection {
  color: #031011;
  background: var(--green-bright);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  flex: 0 0 auto;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  color: #031011;
  background: var(--green-bright);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(6, 16, 19, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  min-width: max-content;
}

.brand__mark {
  width: 64px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 4px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 201, 150, 0.18);
  overflow: hidden;
}

.brand__logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.85rem;
  letter-spacing: 1.8px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  color: #c5d6d4;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-menu a:hover {
  color: var(--green-bright);
  transform: translateY(-1px);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #031011;
  background: var(--green);
  border-radius: 4px;
}

.nav-phone:hover {
  color: #031011 !important;
  background: var(--green-bright);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 128px 0 44px;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

.hero__photo,
.hero__grid,
.hero__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__photo {
  background:
    linear-gradient(
      90deg,
      rgba(6, 16, 19, 0.98),
      rgba(6, 16, 19, 0.86) 45%,
      rgba(6, 16, 19, 0.5)
    ),
    linear-gradient(180deg, rgba(6, 16, 19, 0.1), rgba(6, 16, 19, 0.72)),
    url("https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=1800&q=82")
      center / cover;
}

.hero__grid {
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(0, 201, 150, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 201, 150, 0.065) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 92%);
}

.hero__scan {
  width: 100%;
  height: 2px;
  top: 26%;
  bottom: auto;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(40, 255, 196, 0.7),
    transparent
  );
  animation: scanMove 5s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(320px, 420px);
  align-items: center;
  gap: 62px;
}

.section-label {
  margin: 0 0 16px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1,
h2 {
  font-family: var(--display);
  letter-spacing: 1.5px;
  font-weight: 400;
}

h1 {
  max-width: 8ch;
  font-size: 7.4rem;
  text-transform: uppercase;
}

h2 {
  font-size: 4.35rem;
  text-transform: uppercase;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #aac1c0;
  font-size: 1.13rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 23px;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #031011;
  background: var(--green);
  box-shadow: 0 16px 40px rgba(0, 201, 150, 0.24);
}

.btn--primary:hover {
  background: var(--green-bright);
  box-shadow: 0 20px 55px rgba(0, 201, 150, 0.34);
}

.btn--outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--outline:hover {
  color: var(--green-bright);
  border-color: var(--green);
}

.diagnostic-panel {
  position: relative;
  padding: 26px;
  background: rgba(8, 19, 24, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.diagnostic-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(40, 255, 196, 0.65);
  transform: translateX(-100%);
  animation: panelTrace 4.8s ease-in-out infinite;
}

.diagnostic-item {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.diagnostic-item:last-child {
  border-bottom: 0;
}

.diagnostic-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.diagnostic-num,
.card-num,
.precision-list span {
  font-family: var(--mono);
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 800;
}

.diagnostic-title {
  color: #e8f3ef;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
}

.diagnostic-title em {
  display: block;
  margin-top: 4px;
  color: var(--green-bright);
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.diagnostic-icon {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(40, 255, 196, 0.36);
  border-radius: 50%;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.diagnostic-icon::before,
.diagnostic-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 2px;
  background: var(--green-bright);
  border-radius: 99px;
  transform: translate(-50%, -50%);
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.diagnostic-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.diagnostic-item.is-open .diagnostic-icon {
  background: rgba(40, 255, 196, 0.1);
  border-color: var(--green-bright);
  transform: rotate(180deg);
}

.diagnostic-item.is-open .diagnostic-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.diagnostic-copy {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    grid-template-rows 340ms ease,
    opacity 260ms ease,
    transform 340ms ease;
}

.diagnostic-copy > div {
  overflow: hidden;
}

.diagnostic-copy p {
  margin: 0 0 18px 56px;
  color: #9fb5b3;
  font-size: 0.9rem;
  line-height: 1.65;
}

.diagnostic-item.is-open .diagnostic-copy {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.hero__metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 58px;
  overflow: visible;
}

.metric-card {
  min-height: 270px;
  padding: 22px;
  color: inherit;
  background: rgba(9, 22, 27, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  transform-origin: center;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    filter 260ms ease;
}

.metric-card:hover,
.metric-card:focus-visible {
  z-index: 4;
  transform: translateY(-7px) scale(1.045);
  background: #102a31;
  border-color: rgba(40, 255, 196, 0.42);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(40, 255, 196, 0.24);
  filter: saturate(1.05);
}

.metric-card span {
  display: block;
  color: var(--green-bright);
  font-family: var(--display);
  font-size: 2.15rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.metric-card p {
  margin: 14px 0 0;
  color: #a8bfbd;
  font-size: 0.88rem;
  line-height: 1.55;
}

.action-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #09161a;
}

.action-strip a {
  min-height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.action-strip a:hover {
  color: #031011;
  background: var(--green);
}

.section {
  padding: 104px 0;
}

.split,
.story-grid,
.gallery-grid,
.faq-grid,
.appointment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.intro {
  background: var(--paper);
}

.intro__text p,
.section-heading p,
.story-grid p,
.gallery-grid p,
.appointment-grid p,
.footer p,
details p {
  color: #596c6c;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill-row span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #08332d;
  background: #e5f7ee;
  border: 1px solid #bcead9;
  border-radius: 4px;
  font-weight: 800;
}

.section-heading {
  max-width: 780px;
  margin: 0 0 42px;
}

.section-heading h2 {
  /* max-width: 11ch; */
}

.section-heading p {
  max-width: 680px;
  margin: 18px 0 0;
}

.treatment-section {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(6, 16, 19, 0.96), rgba(6, 16, 19, 0.98)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 45px,
      rgba(0, 201, 150, 0.05) 46px
    );
}

.treatment-section .section-heading p {
  color: #93a9a8;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.treatment-card {
  min-height: 250px;
  position: relative;
  padding: 28px;
  background: var(--panel-strong);
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.treatment-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  background: #102a31;
}

.treatment-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.treatment-card:hover::after {
  transform: scaleX(1);
}

.treatment-card svg {
  width: 34px;
  height: 34px;
  margin: 28px 0 20px;
  color: var(--green);
}

.treatment-card p {
  color: #9fb5b3;
  margin-bottom: 0;
}

.visual-story,
.gallery {
  background: var(--soft);
}

.story-media,
.case-stack figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 13px 15px;
  color: var(--text);
  background: rgba(6, 16, 19, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.image-badge span {
  display: block;
  color: var(--green-bright);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 2px;
}

.precision-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.precision-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  font-weight: 800;
}

.safety,
.reviews {
  color: var(--text);
  background: #0a1519;
}

.safety-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.safety-card,
.review-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.safety-card svg {
  width: 34px;
  height: 34px;
  color: var(--green);
  margin-bottom: 22px;
}

.safety-card p,
.review-card p {
  color: #9fb5b3;
  margin-bottom: 0;
}

.gallery-grid {
  align-items: end;
}

.case-stack {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: end;
}

.case-stack figure {
  margin: 0;
}

.case-stack figure:first-child {
  transform: translateY(28px);
}

.case-stack img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
}

.case-stack figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: #031011;
  background: var(--green-bright);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stars {
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: 0;
}

.review-card strong {
  display: block;
  margin-top: 18px;
}

.faq {
  background: var(--paper);
}

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

details {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(20, 44, 44, 0.07);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.appointment {
  position: relative;
  padding: 106px 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(6, 16, 19, 0.98), rgba(6, 16, 19, 0.82)),
    url("https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=1600&q=82")
      center / cover;
}

.appointment-grid p {
  color: #aec0bd;
}

.appointment-grid a {
  color: var(--green-bright);
  font-weight: 800;
}

.appointment-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbdcd5;
  border-radius: 4px;
  padding: 12px 13px;
}

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

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 201, 150, 0.35);
  outline-offset: 3px;
}

.footer {
  padding: 60px 0 96px;
  color: #d8e6e2;
  background: #050d10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.brand--footer .brand__mark {
  box-shadow: 0 12px 28px rgba(239, 107, 87, 0.18);
}

.footer h2 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.footer p {
  color: #98aaa8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 28px;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #91a5a2;
}

.sticky-actions {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 45;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  width: min(520px, calc(100% - 24px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  transform: translateX(-50%);
  box-shadow: var(--shadow);
}

.sticky-actions a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #031011;
  background: var(--green);
  font-size: 0.86rem;
  font-weight: 900;
}

.sticky-actions a:nth-child(2) {
  background: var(--green-bright);
}

.sticky-actions a:nth-child(3) {
  color: #fff;
  background: var(--coral);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scanMove {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  20%,
  70% {
    opacity: 1;
  }
  50% {
    transform: translateY(330px);
  }
}

@keyframes panelTrace {
  0%,
  45% {
    transform: translateX(-100%);
  }
  75%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes meterFill {
  from {
    width: 0;
  }
  to {
    width: 91%;
  }
}

@media (max-width: 1080px) {
  .hero__content,
  .split,
  .story-grid,
  .gallery-grid,
  .faq-grid,
  .appointment-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-panel {
    max-width: 560px;
  }

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

  .metric-card {
    min-height: 245px;
  }

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

@media (max-width: 880px) {
  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(6, 16, 19, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 14px 0;
  }

  .nav-phone {
    justify-content: center;
    margin-top: 10px;
  }

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

  .safety-grid,
  .review-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container,
  .navbar {
    width: min(100% - 24px, 1180px);
  }

  .navbar {
    min-height: 68px;
  }

  .brand__mark {
    width: 52px;
    height: 38px;
  }

  .brand strong {
    font-size: 1.52rem;
  }

  .brand small {
    font-size: 0.56rem;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 34px;
  }

  .hero__photo {
    background:
      linear-gradient(
        180deg,
        rgba(6, 16, 19, 0.72),
        rgba(6, 16, 19, 0.96) 40%,
        rgba(6, 16, 19, 0.98)
      ),
      url("https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=900&q=82")
        center top / cover;
  }

  .hero__content {
    gap: 30px;
  }

  h1 {
    max-width: 7ch;
    font-size: 4.7rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions,
  .hero__actions .btn,
  .appointment-form .btn {
    width: 100%;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .metric-card {
    min-height: auto;
    padding: 18px;
  }

  .metric-card:hover,
  .metric-card:focus-visible {
    transform: translateY(-3px) scale(1.015);
  }

  .action-strip a {
    min-height: 82px;
    font-size: 0.68rem;
    text-align: center;
    padding: 12px;
  }

  .section,
  .appointment {
    padding: 70px 0;
  }

  .section-heading h2 {
    max-width: none;
  }

  .treatment-grid,
  .form-row,
  .case-stack {
    grid-template-columns: 1fr;
  }

  .case-stack figure:first-child {
    transform: none;
  }

  .treatment-card {
    min-height: auto;
  }

  .diagnostic-panel,
  .appointment-form {
    padding: 20px;
  }

  .sticky-actions {
    display: grid;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .diagnostic-toggle {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
  }

  .diagnostic-copy p {
    margin-left: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Website-structure content additions */
.about-section,
.doctor-section {
  background: var(--paper);
}

.about-grid,
.doctor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.about-panel p,
.doctor-card p {
  color: #596c6c;
}

.mission-grid {
  display: grid;
  gap: 14px;
}

.mission-grid article,
.doctor-card,
.contact-panel {
  padding: 24px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(20, 44, 44, 0.08);
}

.mission-grid span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mission-grid p,
.contact-panel p {
  margin: 0;
}

.mission-grid article + article,
.contact-panel p + p {
  margin-top: 14px;
}

.doctor-card h3 {
  margin-top: 16px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.doctor-card p {
  margin-top: 18px;
}

.contact-panel {
  margin-top: 26px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.96);
}

.contact-panel a {
  color: #006f69;
}

@media (max-width: 1080px) {
  .about-grid,
  .doctor-grid {
    grid-template-columns: 1fr;
  }
}

/* Earlier mobile navigation for the fuller DOCX menu */
@media (max-width: 1100px) {
  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(6, 16, 19, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 14px 0;
  }

  .nav-phone {
    justify-content: center;
    margin-top: 10px;
  }
}

.doctor-profile-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.doctor-profile {
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.doctor-profile h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.08rem;
  letter-spacing: 0;
  text-transform: none;
}

.doctor-profile p {
  margin: 7px 0 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.doctor-profile dl {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.doctor-profile dl div {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 12px;
  align-items: start;
}

.doctor-profile dt {
  color: #596c6c;
  font-size: 0.86rem;
  font-weight: 800;
}

.doctor-profile dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 520px) {
  .doctor-profile dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Animated doctor section */
.doctor-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 34px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(6, 16, 19, 0.96), rgba(9, 42, 46, 0.92)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 42px,
      rgba(40, 255, 196, 0.05) 43px
    );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.doctor-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(40, 255, 196, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 255, 196, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  pointer-events: none;
}

.doctor-visual::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 25%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(40, 255, 196, 0.8),
    transparent
  );
  animation: doctorScan 4.8s ease-in-out infinite;
}

.doctor-visual > * {
  position: relative;
  z-index: 1;
}

.doctor-visual h2 {
  /* max-width: 9ch; */
  color: var(--text);
}

.doctor-orbit {
  position: relative;
  width: min(300px, 82vw);
  aspect-ratio: 1;
  place-self: center;
  display: grid;
  place-items: center;
  border: 1px solid rgba(40, 255, 196, 0.16);
  border-radius: 50%;
  animation: orbitSpin 16s linear infinite;
}

.doctor-orbit::before,
.doctor-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(40, 255, 196, 0.2);
  border-radius: 50%;
}

.doctor-orbit::before {
  inset: 18%;
}

.doctor-orbit::after {
  inset: 34%;
  background: rgba(40, 255, 196, 0.08);
  box-shadow: 0 0 42px rgba(40, 255, 196, 0.22);
}

.doctor-orbit span {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(40, 255, 196, 0.8);
}

.doctor-orbit span:nth-child(1) {
  top: 9%;
}

.doctor-orbit span:nth-child(2) {
  right: 12%;
  bottom: 22%;
}

.doctor-orbit span:nth-child(3) {
  left: 14%;
  bottom: 24%;
}

.doctor-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.doctor-highlights span {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  color: #b9cfca;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(40, 255, 196, 0.16);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 800;
}

.doctor-highlights strong {
  color: var(--green-bright);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.9;
}

.doctor-profile {
  position: relative;
  overflow: hidden;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.doctor-profile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--green), var(--amber), var(--coral));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 260ms ease;
}

.doctor-profile:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 201, 150, 0.35);
  box-shadow: 0 20px 48px rgba(20, 44, 44, 0.13);
}

.doctor-profile:hover::before {
  transform: scaleY(1);
}

@keyframes doctorScan {
  0%,
  100% {
    transform: translateY(-130px);
    opacity: 0;
  }
  20%,
  75% {
    opacity: 1;
  }
  50% {
    transform: translateY(130px);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 680px) {
  .doctor-visual {
    min-height: auto;
    padding: 24px;
  }

  .doctor-highlights {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctor-orbit,
  .doctor-visual::after {
    animation: none !important;
  }
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-actions .btn {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.86rem;
}

.appointment .contact-actions .btn--outline {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line-light);
}

.map-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.08);
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
  filter: saturate(0.92) contrast(1.02);
}

@media (max-width: 680px) {
  .contact-actions,
  .contact-actions .btn {
    width: 100%;
  }

  .map-card iframe {
    min-height: 280px;
  }
}

.review-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.reviews .review-actions .btn--outline {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.reviews .review-actions .btn--outline:hover {
  color: var(--green-bright);
  border-color: var(--green);
}
