:root {
  --ink: #1f2a25;
  --muted: #63706a;
  --paper: #fffaf1;
  --white: #ffffff;
  --sage: #e7efe6;
  --sage-strong: #2f6d5b;
  --jade: #0f5b4a;
  --clay: #a95038;
  --gold: #c69648;
  --line: #d7ddd5;
  --shadow: 0 20px 60px rgba(24, 40, 33, 0.13);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 241, 0.9);
  border-bottom: 1px solid rgba(215, 221, 213, 0.8);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 241, 0.97);
  box-shadow: 0 8px 28px rgba(31, 42, 37, 0.08);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--jade);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: #3d4a44;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--jade);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--jade);
  border-radius: 999px;
  font-weight: 800;
}

.nav-call svg,
.button svg,
.quick-item svg,
.service-card svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 78svh;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(20px, 6vw, 90px) 54px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-clinic.svg");
  background-position: center right;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 250, 241, 0.9) 29%, rgba(255, 250, 241, 0.38) 64%, rgba(255, 250, 241, 0.12) 100%),
    linear-gradient(0deg, rgba(31, 42, 37, 0.28), rgba(31, 42, 37, 0.02) 40%);
}

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

.network-hero .hero-content {
  max-width: 890px;
}

.network-hero h1 {
  max-width: 1040px;
  font-size: clamp(42px, 6vw, 82px);
}

.network-hero .hero-copy {
  max-width: 780px;
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 1.02;
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: #394940;
  font-size: clamp(18px, 2.3vw, 24px);
}

.hero-actions,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.quick-item:hover,
.quick-item:focus-visible,
.page-card:hover,
.page-card:focus-visible,
.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--jade);
  box-shadow: 0 12px 28px rgba(15, 91, 74, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(31, 42, 37, 0.12);
}

.button-outline {
  color: var(--jade);
  background: var(--white);
  border-color: rgba(15, 91, 74, 0.28);
}

.button-light {
  color: var(--jade);
  background: var(--white);
}

.hero-facts {
  display: grid;
  max-width: 900px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.hero-facts div {
  min-width: 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(215, 221, 213, 0.85);
  border-radius: var(--radius);
}

.hero-facts dt {
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 3px 0 0;
  color: #35423d;
  font-size: 15px;
  font-weight: 800;
}

.clinic-tabs {
  max-width: 820px;
  margin-top: 22px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(215, 221, 213, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(31, 42, 37, 0.12);
  backdrop-filter: blur(12px);
}

.clinic-tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  background: rgba(15, 91, 74, 0.08);
  border-radius: var(--radius);
}

.clinic-tab {
  min-height: 42px;
  color: var(--jade);
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.clinic-tab.active {
  color: var(--white);
  background: var(--jade);
  box-shadow: 0 8px 20px rgba(15, 91, 74, 0.18);
}

.clinic-tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 18px;
  align-items: start;
  padding: 16px 6px 4px;
}

.clinic-tab-panel[hidden] {
  display: none;
}

.clinic-panel-label {
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.clinic-tab-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(25px, 2.6vw, 32px);
}

.clinic-tab-panel p:not(.clinic-panel-label) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.clinic-panel-details {
  display: grid;
  gap: 9px;
  margin: 0;
}

.clinic-panel-details div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  min-width: 0;
}

.clinic-panel-details dt {
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.clinic-panel-details dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.clinic-panel-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 10px;
  padding-top: 2px;
}

.quick-band {
  padding: 18px clamp(18px, 4vw, 56px);
  background: var(--jade);
}

.quick-grid {
  display: grid;
  max-width: 1180px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}

.quick-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  transition: transform 160ms ease, background 160ms ease;
}

.quick-item strong,
.quick-item small {
  display: block;
}

.quick-item small {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section-light {
  background: var(--paper);
}

.section-white {
  background: var(--white);
}

.section-muted {
  background: var(--sage);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero {
  padding: 138px clamp(18px, 4vw, 56px) 58px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 91, 74, 0.96), rgba(47, 109, 91, 0.9)),
    var(--jade);
}

.page-hero h1 {
  max-width: 840px;
  margin-bottom: 14px;
  font-size: clamp(42px, 7vw, 74px);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.clinic-hero {
  position: relative;
  overflow: hidden;
  padding: 138px clamp(18px, 4vw, 56px) 62px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 18%, rgba(198, 150, 72, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(15, 91, 74, 0.98), rgba(47, 109, 91, 0.92)),
    var(--jade);
}

.clinic-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(24px, 5vw, 62px);
  align-items: end;
}

.clinic-hero h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(44px, 7vw, 82px);
}

.clinic-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

.clinic-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.clinic-info-panel {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.clinic-info-panel div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.clinic-info-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.clinic-info-panel dt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 900;
}

.clinic-info-panel dd {
  margin: 3px 0 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

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

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

.clinic-showcase-heading {
  margin-bottom: 36px;
  text-align: center;
}

.clinic-showcase-heading h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 0;
}

.clinic-orbit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 62px);
  align-items: start;
  justify-items: center;
  padding: 2px 0 10px;
}

.clinic-entry {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.clinic-circle {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  padding: 30px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 15px 34px rgba(31, 42, 37, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.clinic-circle:hover,
.clinic-circle:focus-visible {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 24px 52px rgba(31, 42, 37, 0.16);
  filter: saturate(1.06);
}

.clinic-circle-name,
.clinic-circle-type {
  display: block;
  font-family: "Noto Serif TC", "Songti TC", serif;
  letter-spacing: 0;
}

.clinic-circle-name {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 900;
}

.clinic-circle-type {
  margin-top: 10px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 700;
}

.clinic-entry h3 {
  margin: 24px 0 18px;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 500;
}

.clinic-entry-actions {
  display: flex;
  gap: 13px;
  justify-content: center;
}

.clinic-entry-actions a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #454c48;
  border-radius: 50%;
  transition: color 160ms ease, transform 160ms ease;
}

.clinic-entry-actions a:hover,
.clinic-entry-actions a:focus-visible {
  color: var(--jade);
  transform: translateY(-1px);
}

.clinic-entry-actions svg {
  width: 26px;
  height: 26px;
}

.circle-yongkang {
  color: #78375a;
  background: #dec3a0;
}

.circle-ruikang {
  color: #cf6638;
  background: #f6ee73;
}

.circle-yongen {
  color: #0d55c7;
  background: #bfeef6;
}

.clinic-card {
  display: grid;
  min-width: 0;
  align-content: start;
  min-height: 360px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(31, 42, 37, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.clinic-card:hover,
.clinic-card:focus-visible {
  border-color: rgba(15, 91, 74, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.clinic-badge {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--jade);
  border-radius: 50%;
  font-weight: 900;
}

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

.clinic-card dl {
  display: grid;
  gap: 12px;
  margin: 10px 0 0;
}

.clinic-card dt {
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.clinic-card dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.card-link {
  align-self: end;
  margin-top: 20px;
  color: var(--jade);
  font-size: 14px;
  font-weight: 900;
}

.page-card {
  display: grid;
  min-width: 0;
  align-content: start;
  min-height: 248px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(31, 42, 37, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.page-card:hover,
.page-card:focus-visible {
  border-color: rgba(15, 91, 74, 0.35);
  box-shadow: var(--shadow);
}

.page-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: var(--clay);
}

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

.page-card span {
  align-self: end;
  margin-top: 12px;
  color: var(--jade);
  font-size: 14px;
  font-weight: 900;
}

.split-highlight {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.split-highlight p {
  color: var(--muted);
  font-size: 18px;
}

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

.highlight-list a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.highlight-list strong {
  color: var(--jade);
  font-size: 18px;
}

.highlight-list span {
  color: var(--muted);
}

.service-card {
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(31, 42, 37, 0.05);
}

.service-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--clay);
}

.service-card p,
.doctor-card li,
.contact-list dd,
.closing-band p,
.site-footer p {
  color: var(--muted);
}

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

.doctor-note {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.doctor-note p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.doctor-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compact-doctors .doctor-card {
  min-height: 210px;
}

.doctor-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--jade), #658c5f 65%, var(--gold));
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
}

.doctor-role {
  margin-bottom: 4px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 900;
}

.doctor-body ul {
  padding-left: 1.1em;
  margin: 0;
}

.doctor-body li + li {
  margin-top: 7px;
}

.schedule-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--jade);
  background: var(--white);
  border: 1px solid rgba(15, 91, 74, 0.2);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.filter-button.active {
  color: var(--white);
  background: var(--jade);
}

.schedule-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: center;
}

.schedule-table caption {
  padding: 16px;
  color: var(--muted);
  text-align: left;
}

.schedule-table th,
.schedule-table td {
  padding: 16px 12px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  vertical-align: middle;
}

.schedule-table thead th {
  color: var(--white);
  background: var(--jade);
  border-color: rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  border-left: 0;
}

.schedule-table tbody th {
  width: 130px;
  color: var(--jade);
  background: #f7f2e8;
  font-weight: 900;
}

.schedule-table tbody th span {
  display: inline-block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.schedule-table td {
  font-weight: 900;
}

.schedule-table td.closed {
  color: #9a6d61;
  background: #f5ebe6;
}

.schedule-table td.is-muted {
  color: #aab3af;
  background: #f4f7f3;
}

.schedule-table td.is-highlight {
  color: var(--white);
  background: var(--clay);
}

.notice-strip {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  color: var(--jade);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notice-strip svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.notice-strip p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

.contact-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--clay);
  font-size: 14px;
  font-weight: 900;
}

.contact-list dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.map-panel {
  overflow: hidden;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-panel iframe {
  width: 100%;
  height: 460px;
  border: 0;
}

.closing-band {
  padding: 46px clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 91, 74, 0.96), rgba(47, 109, 91, 0.94)),
    var(--jade);
}

.closing-inner {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.closing-band .eyebrow,
.closing-band p {
  color: rgba(255, 255, 255, 0.78);
}

.closing-band h2 {
  margin-bottom: 8px;
  color: var(--white);
}

.site-footer {
  padding: 26px clamp(18px, 4vw, 56px);
  background: #18231f;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer p + p {
  margin-top: 4px;
}

:focus-visible {
  outline: 3px solid rgba(169, 80, 56, 0.42);
  outline-offset: 3px;
}

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

  .site-nav {
    display: none;
  }

  .service-grid,
  .doctor-grid,
  .page-card-grid,
  .clinic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-layout,
  .split-highlight,
  .clinic-hero-inner,
  .clinic-tab-panel {
    grid-template-columns: 1fr;
  }

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

  .clinic-entry:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small,
  .nav-call span {
    display: none;
  }

  .nav-call {
    width: 42px;
    padding: 0;
  }

  .hero {
    min-height: 72svh;
    padding: 94px 18px 38px;
  }

  .hero-media {
    background-position: center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(255, 250, 241, 0.98), rgba(255, 250, 241, 0.88) 52%, rgba(255, 250, 241, 0.46)),
      linear-gradient(0deg, rgba(31, 42, 37, 0.26), rgba(31, 42, 37, 0.06));
  }

  .hero-facts,
  .quick-grid,
  .service-grid,
  .doctor-grid,
  .page-card-grid,
  .clinic-grid,
  .clinic-orbit {
    grid-template-columns: 1fr;
  }

  .clinic-circle {
    width: min(100%, 250px);
  }

  .clinic-entry:last-child {
    grid-column: auto;
  }

  .page-hero {
    padding: 108px 18px 44px;
  }

  .clinic-hero {
    padding: 108px 18px 46px;
  }

  .clinic-tabs {
    margin-top: 24px;
  }

  .clinic-tab-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .clinic-tab {
    min-height: 40px;
    padding: 0 6px;
  }

  .clinic-tab-panel {
    gap: 14px;
    padding-top: 16px;
  }

  .clinic-panel-details div {
    grid-template-columns: 38px 1fr;
  }

  .page-card,
  .clinic-card {
    min-height: 0;
  }

  .doctor-card {
    grid-template-columns: 58px 1fr;
    padding: 20px;
  }

  .doctor-avatar {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 360px;
    height: 360px;
  }

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .doctor-note,
  .notice-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
