:root {
  --ink: #10243f;
  --muted: #5d6d7f;
  --line: #d8e2ea;
  --paper: #f5f8f7;
  --white: #ffffff;
  --teal: #173b43;
  --blue: #2866a8;
  --red: #bd3441;
  --gold: #b78427;
  --green: #3b7b61;
  --shadow: 0 18px 48px rgba(16, 36, 63, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 10px clamp(14px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--blue) 68%, var(--red));
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 5px 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

.top-nav a {
  padding: 5px 0;
  text-decoration: none;
}

.top-nav a:hover { color: var(--teal); }

.nav-primary {
  padding: 6px 10px !important;
  border-radius: 8px;
  background: var(--teal);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--teal);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(680px, calc(100vh - 64px));
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 36, 63, 0.96), rgba(16, 36, 63, 0.72) 44%, rgba(16, 36, 63, 0.12) 72%),
    linear-gradient(0deg, rgba(16, 36, 63, 0.34), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: clamp(46px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #ffd6da; }

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--teal);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.45rem, 6vw, 5rem);
}

h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); }

h3 { font-size: 1.05rem; }

.lede {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.09rem;
}

.hero-actions,
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 840;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--teal);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.link-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.link-band a {
  padding: 18px clamp(14px, 3vw, 28px);
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.link-band a:hover { background: #eef5f5; }

.link-band span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 880;
  text-transform: uppercase;
}

.link-band strong {
  display: block;
  margin-top: 3px;
  color: var(--teal);
}

.section {
  padding: clamp(34px, 5vw, 70px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 24px;
}

.muted { background: #fff; }

.search-map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
  background: #173b43;
  color: #fff;
}

.search-map-section h2,
.search-map-section p {
  color: #fff;
}

.search-map-section .eyebrow {
  color: #ffd6da;
}

.map-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.72fr) minmax(180px, 0.78fr);
  gap: 10px;
  margin-top: 8px;
}

.hero-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.hero-field span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-field input,
.hero-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.hero-field-wide {
  min-width: 0;
}

.map-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-frame {
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: #e8f1f6;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

.causes-section {
  background: #fff;
}

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

.cause-card,
.treatment-list article,
.operation-threshold {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 36, 63, 0.06);
}

.cause-card.highlight {
  background: #eef5f5;
  border-color: rgba(59, 123, 97, 0.34);
}

.cause-card p,
.treatment-list p,
.operation-threshold p {
  color: var(--muted);
}

.non-surgical {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.treatment-list {
  display: grid;
  gap: 12px;
}

.operation-threshold {
  margin-top: 18px;
  border-left: 5px solid var(--gold);
  background: #fff8e8;
}

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

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

.diagram-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.diagram-card {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.diagram-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.diagram-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.tech-cards {
  display: grid;
  gap: 12px;
}

.tech-cards article,
.surgery-steps article,
.risk-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tech-cards article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 12px;
}

.tech-cards article span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.tech-cards h3,
.tech-cards p {
  grid-column: 2;
}

.tech-cards p,
.surgery-steps p,
.risk-card p {
  color: var(--muted);
}

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

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

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

.visual-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(16, 36, 63, 0.07);
}

.visual-card img,
.placeholder-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  background: #eef5f5;
}

.visual-card > div:not(.placeholder-visual) {
  padding: 18px;
}

.visual-card p {
  color: var(--muted);
}

.visual-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
}

.visual-card-wide img {
  height: 100%;
  min-height: 280px;
}

.media-placeholder {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.placeholder-visual {
  position: relative;
  min-height: 240px;
}

.placeholder-visual::before,
.placeholder-visual::after {
  content: "";
  position: absolute;
  border-radius: 8px;
}

.microscope-visual {
  background:
    radial-gradient(circle at 64% 40%, rgba(40, 102, 168, 0.2), transparent 28%),
    linear-gradient(135deg, #eef5f5, #dfeaf0);
}

.microscope-visual::before {
  left: 18%;
  top: 24%;
  width: 44%;
  height: 18%;
  border: 12px solid var(--teal);
  border-left-width: 28px;
  transform: rotate(-16deg);
  opacity: 0.82;
}

.microscope-visual::after {
  right: 16%;
  bottom: 18%;
  width: 38%;
  height: 38%;
  border: 8px solid rgba(189, 52, 65, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #10243f 0 10%, #7b4b22 11% 27%, #fff 28% 100%);
}

.anaesthesia-visual {
  background:
    radial-gradient(circle at 28% 38%, rgba(255, 255, 255, 0.88), transparent 24%),
    linear-gradient(135deg, #eaf3f4, #d7e6ed);
}

.anaesthesia-visual::before {
  left: 16%;
  top: 22%;
  width: 42%;
  height: 48%;
  border: 8px solid rgba(23, 59, 67, 0.7);
  border-radius: 50% 50% 45% 45%;
  background: rgba(255, 255, 255, 0.68);
}

.anaesthesia-visual::after {
  right: 13%;
  top: 22%;
  width: 36%;
  height: 10px;
  background: var(--blue);
  box-shadow:
    -26px 34px 0 rgba(40, 102, 168, 0.72),
    -52px 68px 0 rgba(40, 102, 168, 0.48);
  transform: rotate(18deg);
}

.intro-grid article,
.check-card,
.option-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 36, 63, 0.07);
}

.intro-grid article p,
.option-panel p,
.check-card li,
.timeline p,
.question-list p,
.split p,
.source-band p {
  color: var(--muted);
}

.option-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) repeat(2, minmax(0, 0.86fr));
  gap: 16px;
  align-items: stretch;
}

.option-panel span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: 8px;
  background: #eef5f5;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.option-panel.accent {
  background: var(--teal);
  color: #fff;
}

.option-panel.accent h3,
.option-panel.accent p {
  color: #fff;
}

.option-panel.accent span {
  background: rgba(255, 255, 255, 0.15);
  color: #ffd6da;
}

.experience-note {
  margin-top: 16px;
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  background: #fff8e8;
}

.experience-note p { margin: 6px 0 0; }

.check-card ul {
  margin: 0;
  padding-left: 18px;
}

.check-card li + li { margin-top: 9px; }

.recovery-section {
  background: #173b43;
  color: #fff;
}

.recovery-section h2,
.recovery-section h3 {
  color: #fff;
}

.recovery-section .eyebrow { color: #ffd6da; }

.timeline {
  display: grid;
  gap: 14px;
  max-width: 1060px;
}

.timeline article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  font-weight: 900;
}

.timeline p { color: rgba(255, 255, 255, 0.82); }

.risks-section {
  background: #fff;
}

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

.risk-card {
  box-shadow: 0 10px 28px rgba(16, 36, 63, 0.06);
}

.risk-card.highlight {
  background: #fff8e8;
  border-color: rgba(183, 132, 39, 0.42);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: start;
}

.questions-section { background: #fff; }

.question-list {
  display: grid;
  gap: 10px;
  max-width: 980px;
}

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

summary {
  padding: 16px 18px;
  color: var(--teal);
  font-weight: 880;
  cursor: pointer;
}

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

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

.referral-section {
  background: #f5f8f7;
}

.practice-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
}

.practice-form label,
.practice-form fieldset {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.practice-form span,
.practice-form legend {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.practice-form input,
.practice-form select,
.practice-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.practice-form textarea {
  resize: vertical;
}

.wide-field,
.form-actions,
.form-status {
  grid-column: 1 / -1;
}

.document-checklist {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.document-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  font-weight: 680;
}

.document-checklist input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
}

.field-note,
.form-status {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

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

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

.form-preview {
  max-width: 1120px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 36, 63, 0.07);
}

.form-preview h3 {
  margin-bottom: 10px;
}

.form-preview p {
  margin-bottom: 8px;
  color: var(--muted);
}

.bot-field {
  display: none !important;
}

.source-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 24px;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 5vw, 72px);
  background: #eef5f5;
  border-top: 1px solid var(--line);
}

.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  font-weight: 820;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: #0d2228;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer p { margin: 0; }

@media (max-width: 1120px) {
  .top-nav {
    position: absolute;
    top: 64px;
    right: 14px;
    display: none;
    width: min(340px, calc(100vw - 28px));
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .top-nav.is-open {
    display: grid;
    justify-content: stretch;
  }

  .top-nav a { padding: 8px; }

  .top-nav.is-open a {
    overflow-wrap: anywhere;
  }

  .nav-toggle { display: inline-block; }

  .link-band,
  .search-map-section,
  .hero-search,
  .cause-grid,
  .non-surgical,
  .intro-grid,
  .check-grid,
  .diagram-layout,
  .surgery-steps,
  .visual-grid,
  .visual-card-wide,
  .media-placeholder,
  .risk-grid,
  .option-layout,
  .practice-form,
  .source-band,
  .split {
    grid-template-columns: 1fr;
  }

  .visual-card-wide {
    grid-column: auto;
  }

  .link-band a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 5.4vw, 4.1rem);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 36, 63, 0.97), rgba(16, 36, 63, 0.86) 58%, rgba(16, 36, 63, 0.42)),
      linear-gradient(0deg, rgba(16, 36, 63, 0.3), transparent 40%);
  }
}

@media (max-width: 620px) {
  .brand strong { font-size: 0.9rem; }

  .hero-content {
    padding-top: 58px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 13vw, 3.2rem);
  }

  .button {
    width: 100%;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .hero,
  .link-band,
  .source-band,
  .site-footer,
  .form-actions {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section {
    padding: 18px 0;
  }
}
