:root {
  --ink: #18312f;
  --muted: #5b706d;
  --soft: #f5f8f4;
  --paper: #ffffff;
  --line: #d9e5de;
  --teal: #386d8e;
  --teal-dark: #244e68;
  --sage: #9eb8b2;
  --gold: #c39255;
  --shadow: 0 20px 55px rgba(15, 63, 58, 0.16);
  --radius: 8px;
  font-family:
    "Noto Sans TC",
    "Microsoft JhengHei",
    "PingFang TC",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 229, 222, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 180px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #386d8e;
  box-shadow: 0 8px 18px rgba(36, 78, 104, 0.16);
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.45vw, 22px);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.25;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.header-cta,
.btn.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.24);
}

.btn.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.6);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

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

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

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px) 42px;
  overflow: hidden;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 251, 247, 0.94) 0%, rgba(247, 251, 247, 0.72) 42%, rgba(247, 251, 247, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 54, 50, 0.26), rgba(13, 54, 50, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 660px;
  color: #2f4744;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

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

.quick-card {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, 100%);
  margin-top: 72px;
  overflow: hidden;
  background: rgba(217, 229, 222, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-card div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.quick-card span,
.quick-card strong {
  display: block;
}

.quick-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-card strong {
  margin-top: 4px;
  color: var(--teal-dark);
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.trust-bar div {
  padding: 28px clamp(18px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

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

.trust-bar strong,
.trust-bar span {
  display: block;
}

.trust-bar strong {
  margin-bottom: 4px;
  color: var(--teal-dark);
}

.trust-bar span {
  color: var(--muted);
}

.section,
.split-section,
.contact-section,
.page-hero {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.page-hero {
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.12rem;
}

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

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

.about-section {
  background: #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.about-copy {
  max-width: 820px;
}

.about-copy h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.about-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: 0 18px 40px rgba(24, 49, 47, 0.08);
}

.about-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.about-panel div {
  padding: clamp(22px, 4vw, 32px);
}

.about-panel strong,
.about-panel span {
  display: block;
}

.about-panel strong {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 1.2rem;
}

.about-panel span {
  color: var(--muted);
}

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

.about-points article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.about-points p {
  color: var(--muted);
}

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

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

.service-card,
.page-card,
.answer-grid article,
.doctor-profile,
.schedule-panel,
.visit-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-card {
  min-height: 260px;
  padding: 24px;
}

.service-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  border: 1px solid rgba(52, 103, 132, 0.14);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(24, 49, 47, 0.08);
  background: var(--soft);
}

.page-card {
  min-height: 230px;
  padding: 24px;
  color: inherit;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.page-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 109, 142, 0.38);
  box-shadow: 0 16px 34px rgba(24, 49, 47, 0.1);
}

.page-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 800;
}

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

.service-index {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
}

.service-card p,
.doctor-profile p,
.visit-list,
.answer-grid p,
.faq-list p,
.notice,
.notice-box {
  color: var(--muted);
}

.service-card a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-detail-section {
  background: var(--soft);
}

.notice-box {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.notice-box strong {
  color: var(--teal-dark);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  background: var(--soft);
}

.schedule-panel,
.visit-panel {
  padding: clamp(26px, 4vw, 42px);
}

.hours-table {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hours-table div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.hours-table span {
  color: var(--muted);
}

.notice {
  margin: 22px 0 0;
}

.visit-list {
  margin: 24px 0 0;
  padding-left: 22px;
}

.visit-list li + li {
  margin-top: 12px;
}

.doctor-section {
  background: linear-gradient(180deg, #fff 0%, #f9fbf8 100%);
}

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

.doctor-profile {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(24, 49, 47, 0.08);
}

.doctor-avatar {
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(140deg, var(--teal), var(--sage));
  font-size: 3rem;
  font-weight: 900;
}

.doctor-photo {
  width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(24, 49, 47, 0.14);
}

.role {
  color: var(--teal-dark);
  font-weight: 800;
}

.credential-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.credential-list li + li {
  margin-top: 6px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  color: var(--teal-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.seo-section {
  background: #fff;
}

.equipment-section {
  background: #fff;
}

.education-section {
  background: var(--soft);
}

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

.equipment-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.equipment-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  border: 1px solid rgba(52, 103, 132, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(24, 49, 47, 0.1);
  background: #fff;
}

.equipment-grid h3 {
  margin-top: 0;
}

.equipment-grid p {
  color: var(--muted);
}

.dm-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.dm-preview img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 32px rgba(24, 49, 47, 0.1);
}

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

.medicine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.dose-checker {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 24px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(56, 109, 142, 0.28);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 49, 47, 0.08);
}

.dose-checker p {
  color: var(--muted);
}

.dose-form {
  display: grid;
  gap: 14px;
}

.dose-form label {
  display: grid;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 800;
}

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

.dose-result {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--teal-dark);
  background: var(--soft);
  font-weight: 800;
}

.dose-message {
  display: grid;
  gap: 12px;
}

.dose-message p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.dose-message textarea {
  min-height: 110px;
  resize: vertical;
  background: #fff;
}

.dose-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.medicine-card,
.alert-box {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.alert-box {
  background: var(--soft);
}

.alert-box p,
.medicine-card p {
  color: var(--muted);
}

.source-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.source-list a {
  padding: 14px 0;
  color: var(--teal-dark);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.education-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

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

.education-card a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-line {
  margin-top: 18px;
  font-size: 0.88rem;
}

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

.answer-grid article {
  padding: 24px;
}

.faq-section {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

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

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--teal-dark);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
}

.news-list {
  display: grid;
  gap: 16px;
  max-width: 920px;
}

.news-list article {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.news-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 800;
}

.news-list h2 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.news-list p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 32px;
  color: #fff;
  background: var(--teal-dark);
}

.contact-copy p,
.contact-copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.contact-copy h2 {
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-list a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 800;
}

.call-panel {
  align-content: start;
}

.call-panel p {
  color: var(--muted);
}

.panel-link {
  border-color: var(--line);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

.quick-contact-bar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(217, 229, 222, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(24, 49, 47, 0.16);
  backdrop-filter: blur(14px);
}

.quick-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
}

.quick-contact-link.is-disabled {
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
}

:root {
  --ink: #173331;
  --muted: #5f736f;
  --soft: #f6faf7;
  --paper: #ffffff;
  --line: #dce9e2;
  --teal: #356f8d;
  --teal-dark: #173f55;
  --sage: #a7bdb5;
  --gold: #bd8a4c;
  --mist: #eef5f2;
  --warm: #fbf7ef;
  --shadow: 0 22px 52px rgba(23, 63, 85, 0.12);
}

body {
  background:
    linear-gradient(180deg, #ffffff 0, #f7fbf8 460px, #ffffff 100%),
    var(--paper);
}

.site-header {
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(23, 63, 85, 0.06);
}

.brand-logo {
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 12px 24px rgba(23, 63, 85, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.site-nav {
  align-items: center;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(53, 111, 141, 0.16);
  background: rgba(238, 245, 242, 0.86);
}

.header-cta,
.btn.primary,
.quick-contact-link {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  box-shadow: 0 14px 28px rgba(23, 63, 85, 0.2);
}

.btn.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(53, 111, 141, 0.22);
  box-shadow: 0 12px 22px rgba(23, 63, 85, 0.08);
}

.hero {
  min-height: 700px;
}

.hero-content {
  padding-left: clamp(18px, 2.6vw, 34px);
  border-left: 5px solid rgba(189, 138, 76, 0.78);
}

.hero h1 {
  max-width: 14ch;
}

.quick-card {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 54px rgba(23, 63, 85, 0.14);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, #f6faf7 0%, #ffffff 58%, #fbf7ef 100%);
}

.page-hero::after {
  position: absolute;
  right: clamp(18px, 7vw, 92px);
  bottom: 0;
  width: clamp(180px, 22vw, 340px);
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--teal));
  border-radius: 999px 999px 0 0;
  opacity: 0.86;
}

.section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 250, 247, 0.5));
}

.service-card,
.page-card,
.answer-grid article,
.doctor-profile,
.schedule-panel,
.visit-panel,
.contact-form,
.equipment-grid article,
.education-card,
.medicine-card,
.alert-box,
.news-list article,
.faq-list details {
  border-color: rgba(53, 111, 141, 0.16);
  box-shadow: 0 14px 34px rgba(23, 63, 85, 0.07);
}

.service-card,
.page-card,
.doctor-profile,
.equipment-grid article,
.education-card,
.medicine-card,
.answer-grid article {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.page-card::before,
.doctor-profile::before,
.equipment-grid article::before,
.education-card::before,
.medicine-card::before,
.answer-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0.72;
}

.service-card:hover,
.doctor-profile:hover,
.equipment-grid article:hover,
.education-card:hover,
.medicine-card:hover,
.answer-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(23, 63, 85, 0.11);
}

.service-card,
.doctor-profile,
.equipment-grid article,
.education-card,
.medicine-card,
.answer-grid article {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.service-photo,
.equipment-photo,
.doctor-photo,
.about-panel img {
  filter: saturate(0.96) contrast(1.03);
}

.tag-list li {
  background: linear-gradient(180deg, #ffffff, var(--soft));
}

.roster-section {
  background: #fff;
}

.roster-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(53, 111, 141, 0.18);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 63, 85, 0.08);
}

.roster-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.roster-table th {
  padding: 16px;
  color: #fff;
  text-align: left;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  font-size: 0.95rem;
}

.roster-table td {
  min-width: 130px;
  padding: 16px;
  border: 1px solid var(--line);
  vertical-align: top;
  background: #fff;
}

.roster-table td span,
.roster-table td strong {
  display: block;
}

.roster-table td span {
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
}

.roster-table td strong {
  color: var(--teal-dark);
  line-height: 1.35;
}

.roster-table .is-empty {
  color: #9aa9a5;
  background: var(--soft);
}

.roster-table .is-highlight {
  background: linear-gradient(180deg, #fff8ea, #ffffff);
  box-shadow: inset 0 0 0 2px rgba(189, 138, 76, 0.24);
}

.roster-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

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

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .quick-card,
  .trust-bar,
  .about-layout,
  .about-points,
  .service-grid,
  .answer-grid,
  .page-grid,
  .equipment-grid,
  .education-grid,
  .medicine-grid,
  .dose-checker,
  .dm-preview,
  .doctor-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .trust-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-bar div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 148px;
    height: 48px;
  }

  .hero {
    min-height: 820px;
    padding-top: 86px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(247, 251, 247, 0.97) 0%, rgba(247, 251, 247, 0.9) 52%, rgba(247, 251, 247, 0.36) 100%),
      linear-gradient(0deg, rgba(13, 54, 50, 0.32), rgba(13, 54, 50, 0));
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 14vw, 3.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-card div {
    padding: 16px;
  }

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

  .service-index {
    margin-bottom: 26px;
  }

  .hours-table div {
    flex-direction: column;
    gap: 4px;
  }

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

  .doctor-avatar {
    width: 120px;
  }

  .doctor-photo {
    width: 160px;
  }

  .site-footer {
    flex-direction: column;
  }

  .quick-contact-bar {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .quick-contact-link {
    flex: 1;
  }
}
