:root {
  --bg: #f3efe8;
  --paper: #faf6f0;
  --surface: #fcf9f5;
  --ink: #302d29;
  --muted: #5e5b56;
  --navy: #243746;
  --navy-hover: #1d2f3d;
  --line: #e0dbd3;
  --accent: #6d614f;
  --selection: #e5e9eb;
  font-family: Aptos, "Segoe UI", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button, a, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

:where(button, a, summary, [tabindex]):focus-visible {
  outline: 3px solid #748a9b;
  outline-offset: 4px;
}

::selection { background: #d4e0e6; }

.wrap {
  width: min(1220px, calc(100% - 96px));
  margin-inline: auto;
}

.section { padding-block: clamp(58px, 7vw, 96px); }

.eyebrow {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.35;
  text-align: center;
  transition: background-color 160ms, border-color 160ms, color 160ms;
}

.button span { font-size: 1.05rem; line-height: 1; }
.primary { background: var(--navy); color: var(--surface); }
.primary:hover { background: var(--navy-hover); }

.secondary {
  border-color: var(--navy);
  background: var(--surface);
  color: var(--navy);
}

.secondary:hover { background: #e9edf0; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding-block: 4px;
  border-bottom: 1px solid #b7bdc0;
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.text-link:hover { border-color: var(--navy); }
.text-link span { line-height: 1; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 18px;
  padding: 10px 17px;
  transform: translateY(-200%);
  background: var(--navy);
  color: white;
}

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

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

.header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid #e6e2db;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 88px;
  padding-block: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-name {
  color: #24211d;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.25;
}

.brand-specialties {
  color: #46443f;
  font-size: 0.875rem;
  line-height: 1.4;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 34px); }
.nav a { padding-block: 9px; color: var(--navy); font-size: 0.9375rem; white-space: nowrap; }
.nav a:hover, .nav a.is-current { text-decoration: underline; text-underline-offset: 7px; }

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 0 7px 8px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-contact:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-areas: "intro visual" "details visual";
  column-gap: clamp(24px, 4.4vw, 68px);
  padding-top: clamp(34px, 4.6vw, 68px);
  padding-bottom: clamp(36px, 5vw, 70px);
}

.hero-intro { grid-area: intro; align-self: end; min-width: 0; }
.hero-details { grid-area: details; align-self: start; min-width: 0; }

.hero h1 {
  font-size: clamp(1.875rem, 3.35vw, 2.625rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.13;
}

.hero-role {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.hero-memberships {
  display: grid;
  gap: 4px;
  width: fit-content;
  margin: 19px 0 22px;
  padding: 13px 0;
  border-block: 1px solid var(--line);
  color: #45423d;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
}

.hero h2 {
  max-width: 33ch;
  font-size: clamp(1.375rem, 2.25vw, 1.8125rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.24;
}

.hero-description {
  max-width: 56ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.hero-credentials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.875rem;
}

.hero-credentials .text-link { font-size: inherit; }
.hero-visual {
  grid-area: visual;
  align-self: center;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 91%, transparent);
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(#000 0%, #000 87%, transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 87%, transparent 100%);
}

.section h2, .contact-section h2 {
  margin-top: 11px;
  font-size: clamp(1.625rem, 2.7vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}

.section-heading > p, .doctor-intro-copy p, .process-grid p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.question-section { background: var(--paper); border-block: 1px solid var(--line); }
.question-layout { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(28px, 4.8vw, 64px); }
.topic-list { border-top: 1px solid var(--line); }

.topic {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 21px 13px 21px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  transition: background-color 160ms;
}

.topic-number { align-self: flex-start; padding-top: 2px; color: var(--accent); font-size: 0.8125rem; }
.topic strong { display: block; font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.topic small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.topic-arrow { flex: 0 0 auto; margin-left: auto; color: var(--navy); font-size: 1.15rem; }
.topic:hover { background: #f0ece5; }
.topic.is-active { background: var(--selection); padding-inline: 13px; color: var(--navy); }

.topic-panel {
  min-width: 0;
  padding: clamp(20px, 3vw, 35px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.panel-topline { display: flex; align-items: center; justify-content: space-between; }
.panel-mark { color: var(--navy); font-size: 1.3rem; }
.topic-panel h3 { margin-top: 13px; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; }
.topic-panel > p { margin-top: 10px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.topic-panel h4 { margin-top: 17px; font-size: 0.9375rem; font-weight: 600; }

.prepare-list {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-inline-start: 19px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.prepare-list li::marker { color: var(--accent); }
.topic-panel .panel-note { margin-top: 13px; font-size: 0.875rem; }
.topic-panel .button { margin-top: 18px; }

.doctor-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: 32px;
}

.doctor-specialties {
  display: grid;
  gap: 5px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1rem;
}

.doctor-intro-copy { align-self: end; }
.doctor-intro-copy .doctor-focus { color: var(--ink); font-weight: 600; }
.doctor-intro-copy p + p { margin-top: 9px; }

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

.credential {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 23px clamp(13px, 2.3vw, 29px);
  border: 0;
  background: transparent;
  text-align: left;
  transition: background-color 160ms;
}

.credential + .credential { border-left: 1px solid var(--line); }
.credential:hover { background: var(--paper); }

.credential > .eyebrow, .credential-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.credential > .eyebrow span { color: var(--navy); font-size: 1rem; }
.credential > strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.credential-description { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.credential-action { margin-top: auto; padding-top: 4px; color: var(--navy); font-size: 0.875rem; font-weight: 600; }
.credential-action span { font-size: 1.1rem; font-weight: 400; }
.credential-download { margin-top: 18px; }

.process-section { background: var(--paper); border-block: 1px solid var(--line); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3.5vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li { padding-top: 14px; border-top: 1px solid var(--line); }
.step-no { color: var(--accent); font-size: 0.875rem; }
.process-grid h3 { margin-top: 11px; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; }
.process-grid p { margin-top: 9px; }

.reviews-section {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5.5vw, 78px);
}

.faq-section { padding-top: clamp(32px, 4vw, 58px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-block: 15px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex-shrink: 0; color: var(--navy); font-size: 1.3rem; font-weight: 400; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details > p { padding: 0 14px 16px 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }

.contact-section {
  margin-bottom: clamp(32px, 5vw, 64px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
}

.contact-layout p { max-width: 58ch; margin-top: 10px; color: var(--muted); font-size: 1rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .button { min-width: 124px; }

.footer {
  padding-block: 25px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-top, .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.footer-top { align-items: flex-start; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.footer-identity > p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 15px; }

.footer-brand {
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-tagline { margin-top: 3px; color: var(--muted); }

.footer-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.footer a, .footer-format summary { color: var(--navy); }
.footer a:hover, .footer-format summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-documents a { display: inline-flex; align-items: center; min-height: 30px; }

.footer-information {
  display: grid;
  justify-items: start;
  gap: 5px;
  padding-block: 13px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-format summary { width: fit-content; padding-block: 4px; font-weight: 600; }
.footer-format p { max-width: 62ch; }
.footer-legal, .footer-accreditation { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { justify-content: flex-start; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; }
.footer-back { margin-inline-start: auto; }
.mobile-contact { display: none; }

.dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 36px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 22px 75px #17253038;
}

.dialog::backdrop { background: #17253073; backdrop-filter: blur(4px); }

.dialog-inner { position: relative; padding: clamp(22px, 4vw, 40px); }

.dialog-close {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  font-size: 1.65rem;
  line-height: 1;
}

.dialog-close:hover { background: var(--selection); }
.dialog .eyebrow { display: block; padding-right: 30px; }
.dialog h2 { margin-top: 9px; font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 600; line-height: 1.2; }
.dialog h2 + p { margin-top: 11px; color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }
.message-preview { margin-top: 17px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.message-preview > p { font-size: 0.9375rem; line-height: 1.6; }

.copy-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 11px;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
}

.copy-button span { font-size: 1.1rem; }
.dialog-contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 17px; }
.dialog .dialog-footnote { margin-top: 15px; color: var(--muted); font-size: 0.8125rem; line-height: 1.55; }
.credential-dialog { width: min(720px, calc(100% - 32px)); }
.credential-tabs { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 15px; border-bottom: 1px solid var(--line); }

.credential-tabs button {
  padding: 7px 0 9px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.9375rem;
}

.credential-tabs button[aria-selected="true"] { border-color: var(--navy); color: var(--navy); font-weight: 600; }

.credential-panel {
  min-height: 190px;
  max-height: min(350px, 42dvh);
  padding-top: 17px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.timeline { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 86px 1fr; gap: 9px; font-size: 0.9375rem; line-height: 1.5; }
.timeline time { color: var(--accent); font-size: 0.8125rem; font-weight: 600; }
.timeline strong { display: block; font-weight: 600; }
.timeline p { margin-top: 3px; color: var(--muted); font-size: 0.875rem; }
.experience-list { display: grid; gap: 8px; margin: 0; padding-inline-start: 19px; font-size: 0.9375rem; }
.experience-list li::marker { color: var(--accent); }
.accreditation-card { padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.accreditation-card + .accreditation-card { margin-top: 10px; }
.accreditation-card h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.accreditation-card strong { display: block; margin-top: 7px; font-size: 0.9375rem; font-weight: 600; }
.accreditation-card p { margin-top: 4px; color: var(--muted); font-size: 0.875rem; }
.pdf-dialog-button { width: 100%; margin-top: 17px; }
body.has-dialog { overflow: hidden; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: 18px; }
  .nav { gap: 15px; }
  .hero { column-gap: 28px; }
}

@media (max-width: 820px) {
  :root { scroll-padding-top: 84px; }
  .wrap { width: calc(100% - 42px); }
  .header-inner { min-height: 70px; padding-block: 13px; }
  .nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); column-gap: 20px; }
  .hero-description { font-size: 1rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .question-layout { gap: 21px; }
}

@media (max-width: 680px) {
  .hero, .question-layout, .doctor-intro, .faq-section, .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero { grid-template-areas: "intro" "visual" "details"; row-gap: 13px; padding-block: 27px 28px; }
  .hero-visual { width: min(100%, 300px); justify-self: center; }
  .hero-memberships { margin-block: 16px 0; }
  .hero h2 { max-width: 29ch; }
  .hero-actions { margin-top: 17px; }
  .hero-credentials { margin-top: 11px; }
  .doctor-intro { gap: 16px; margin-bottom: 20px; }
  .credential-grid { grid-template-columns: 1fr; }
  .credential { padding: 16px 3px; gap: 8px; }
  .credential + .credential { border-top: 1px solid var(--line); border-left: 0; }
  .process-grid { grid-template-columns: 1fr; gap: 18px; }
  .process-grid h3 { margin-top: 5px; }
  .process-grid p { margin-top: 5px; }
  .faq-section, .contact-layout { gap: 20px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { gap: 10px; }
  .brand-name { font-size: 0.875rem; letter-spacing: 0.065em; }
  .brand-specialties { display: none; }
  .header-contact { gap: 5px; font-size: 0.875rem; }
  .hero-description { line-height: 1.6; }
  .section { padding-block: 42px; }
  .section-heading { margin-bottom: 20px; }
  .button { gap: 7px; padding-inline: 14px; }
  .hero-credentials { gap: 0 14px; }
  .contact-actions .button { flex: 1; min-width: 0; padding-inline: 8px; }
  .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .footer-bottom { gap: 11px; }

  .mobile-contact {
    position: fixed;
    z-index: 15;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 8px 18px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

  .mobile-contact > span { font-size: 0.875rem; font-weight: 600; line-height: 1.35; }
  .mobile-contact small { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
  .mobile-contact .button { flex-shrink: 0; min-height: 44px; font-size: 0.875rem; }
  .credential-tabs { gap: 0 12px; }
  .credential-tabs button { font-size: 0.875rem; }
  .timeline li { grid-template-columns: 70px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
