:root {
  --ink: #1e2a32;
  --muted: #65727c;
  --line: #dce6e8;
  --page: #fbfcfb;
  --soft: #eef6f3;
  --teal: #158044;
  --teal-dark: #006c45;
  --mint: #e1f3e8;
  --coral: #df6b57;
  --amber: #e5a93a;
  --blue: #2f8d64;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(25, 44, 50, 0.14);
  --radius: 8px;
  font-family:
          Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

[id] {
  scroll-margin-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-size: var(--page-font-size, 16px);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

.container {
  width: calc(100% - 32px);
  max-width: 1160px;
  margin: 0 auto;
}

.site-header .container {
  max-width: 1280px;
}

.header-tools,
.nav-inner,
.nav-right,
.nav-actions,
.nav-links,
.hero-actions,
.footer-inner,
.contact-channels {
  display: flex;
  align-items: center;
}

.header-tools {
  flex: 0 0 auto;
  gap: 10px;
}

.language-picker {
  flex: 0 0 auto;
  position: relative;
}

.language-picker::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.language-select {
  min-width: 76px;
  min-height: 36px;
  padding: 0 30px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 850;
  cursor: pointer;
  appearance: none;
}

.language-select:focus-visible {
  outline: 3px solid rgba(0, 108, 69, 0.18);
  outline-offset: 3px;
  border-color: var(--teal-dark);
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(8, 124, 122, 0.1);
}

.main-nav {
  min-height: 82px;
}

.nav-inner {
  min-height: 82px;
  justify-content: space-between;
  gap: 24px;
}

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

.nav-right {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.nav-actions {
  flex: 0 0 auto;
  gap: 10px;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.brand-mark {
  width: 74px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 74px;
  max-height: 50px;
  height: auto;
  object-fit: contain;
}

.brand strong {
  display: block;
  line-height: 1.1;
  font-size: 1.02rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  flex: 0 1 auto;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  min-width: 0;
}

.nav-links a,
.nav-dropdown-toggle,
.nav-message-button {
  display: block;
  padding: 12px 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #314048;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active-link,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown.open .nav-dropdown-toggle,
.nav-message-button:hover,
.nav-message-button:focus-visible {
  background: var(--mint);
  color: var(--teal-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 160px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
          opacity 0.16s ease,
          transform 0.16s ease;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  border-radius: 6px;
}

.development-toast {
  position: fixed;
  top: 96px;
  left: 50%;
  z-index: 100;
  padding: 12px 18px;
  border: 1px solid rgba(0, 108, 69, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: var(--shadow);
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, -10px);
  pointer-events: none;
  transition:
          opacity 0.18s ease,
          transform 0.18s ease;
}

.development-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  padding: 10px;
  touch-action: manipulation;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero-section {
  position: relative;
  min-height: min(760px, calc(100vh - 82px));
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-picture {
  display: block;
}

.hero-picture .hero-image {
  position: static;
}

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

.viewport-breakpoint-image {
  object-position: 68% center;
}

.hero-overlay {
  background:
          linear-gradient(90deg, rgba(251, 252, 251, 0.98) 0%, rgba(251, 252, 251, 0.84) 34%, rgba(251, 252, 251, 0.2) 62%),
          linear-gradient(0deg, rgba(7, 94, 96, 0.08), rgba(7, 94, 96, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

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

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.05rem, 4.8vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: #41515a;
  font-size: 1.12rem;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(8, 124, 122, 0.22);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(8, 124, 122, 0.26);
}

.button.full {
  width: 100%;
}

.section {
  padding: 88px 0;
}

#doctors.section {
  padding: 48px 0;
}

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

.video-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
}

.video-section::before {
  position: absolute;
  inset: 0;
  background:
          linear-gradient(90deg, rgba(21, 128, 68, 0.08), transparent 42%),
          linear-gradient(135deg, transparent 0%, transparent 64%, rgba(223, 107, 87, 0.08) 100%);
  content: "";
  pointer-events: none;
}

.video-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 42px;
  align-items: center;
}

.video-layout > * {
  min-width: 0;
}

.video-copy-block {
  min-width: 0;
  max-width: 480px;
}

.video-card {
  position: relative;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(8, 124, 122, 0.18);
  border-radius: var(--radius);
  background: #102427;
  box-shadow: 0 24px 54px rgba(25, 44, 50, 0.16);
  aspect-ratio: 16 / 9;
}

.video-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 128, 68, 0.18), transparent 42%);
  content: "";
  pointer-events: none;
  z-index: 1;
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-section {
  overflow: hidden;
  background: var(--page);
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.gallery-heading {
  max-width: 720px;
}

.gallery-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.gallery-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 124, 122, 0.22);
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(25, 44, 50, 0.08);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.gallery-button:hover,
.gallery-button:focus-visible {
  color: var(--white);
  background: var(--teal);
  outline: none;
}

.gallery-viewport {
  position: relative;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #17302d;
  box-shadow: 0 18px 42px rgba(25, 44, 50, 0.12);
  scroll-snap-align: start;
}

.gallery-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(1.02);
}

.gallery-image-left {
  object-position: 18% center;
}

.gallery-image-center {
  object-position: 48% center;
}

.gallery-image-right {
  object-position: 78% center;
}

.gallery-image-wide {
  object-position: center center;
}

.gallery-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 34, 36, 0.78) 100%);
  content: "";
}

.gallery-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  color: var(--white);
}

.gallery-caption h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.gallery-caption p {
  max-width: 520px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.section-heading {
  max-width: 760px;
  text-align: center;
  margin-bottom: 36px;
}

.section-heading.align-left {
  text-align: left;
  margin: 0;
}

.section-heading p:not(.eyebrow),
.check-layout p,
.contact-copy p {
  color: var(--muted);
  margin: 18px 0 0;
}

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

.info-card,
.news-card,
.staff-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(42, 61, 66, 0.06);
}

.info-card {
  min-height: 270px;
  padding: 22px;
}

.service-card-link {
  display: block;
  color: inherit;
  transition:
          border-color 160ms ease,
          box-shadow 160ms ease,
          transform 160ms ease;
}

.service-card-link:hover,
.service-card-link:focus-visible {
  border-color: rgba(0, 108, 69, 0.55);
  box-shadow: 0 16px 36px rgba(26, 64, 45, 0.12);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 900;
}

.info-card p,
.news-card p,
.staff-card p,
.specialty-card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.info-card h3 {
  margin-top: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f5f7f4;
  color: #48565d;
  font-size: 0.82rem;
  font-weight: 700;
}

.specialty-section {
  background: #f7fbf8;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.specialty-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) minmax(0, 1fr);
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(26, 64, 45, 0.1);
}

.specialty-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specialty-card div {
  padding: 26px;
  align-self: center;
}

.specialty-card span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.specialty-card h3 {
  margin-top: 10px;
  font-size: 1.45rem;
}

.specialty-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(26, 64, 45, 0.15);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr);
  gap: 46px;
  align-items: start;
}

.doctor-showcase {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(25, 44, 50, 0.08);
  background:
          radial-gradient(circle at 92% 78%, rgba(21, 128, 68, 0.13), transparent 24%),
          radial-gradient(circle at 10% 68%, rgba(47, 141, 100, 0.16), transparent 22%),
          linear-gradient(180deg, #f4fbf6 0%, #eef8f2 100%);
}

.doctor-showcase::before,
.doctor-showcase::after {
  position: absolute;
  color: rgba(223, 107, 87, 0.28);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  content: "+";
}

.doctor-showcase::before {
  left: 22px;
  top: 84px;
  color: rgba(229, 169, 58, 0.22);
}

.doctor-showcase::after {
  right: 56px;
  bottom: 48px;
  color: rgba(21, 128, 68, 0.12);
  font-size: 10rem;
}

.doctor-showcase-heading {
  position: relative;
  z-index: 1;
  text-align: center;
}

.doctor-showcase-heading h2 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  text-transform: uppercase;
}

.staff-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 14px;
  margin-top: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.staff-panel::-webkit-scrollbar {
  display: none;
}

.doctor-profile-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px 28px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  scroll-snap-align: start;
}

.doctor-profile-card:nth-child(even) {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
}

.doctor-profile-card:nth-child(even) .doctor-showcase-visual {
  grid-column: auto;
}

.doctor-profile-card:nth-child(even) .doctor-showcase-info {
  grid-column: auto;
  grid-row: auto;
}

.doctor-slider-controls {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.doctor-slider-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(21, 128, 68, 0.22);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-dark);
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(26, 64, 45, 0.08);
  transition:
          border-color 160ms ease,
          color 160ms ease,
          transform 160ms ease;
}

.doctor-slider-controls button:hover,
.doctor-slider-controls button:focus-visible {
  border-color: rgba(0, 108, 69, 0.55);
  color: var(--coral);
  transform: translateY(-1px);
}

.doctor-slider-controls button:focus-visible {
  outline: 3px solid rgba(0, 108, 69, 0.22);
  outline-offset: 3px;
}

.doctor-showcase-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.doctor-blob {
  position: absolute;
  top: auto;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 205px;
  border-radius: 44% 56% 50% 50%;
  background: linear-gradient(135deg, var(--teal-dark), #2f8d64);
}

.doctor-blob::before {
  position: absolute;
  left: -50px;
  bottom: 0;
  width: 210px;
  height: 130px;
  border-radius: 50%;
  background: rgba(21, 128, 68, 0.18);
  content: "";
}

.doctor-blob::after {
  position: absolute;
  right: -58px;
  bottom: 0;
  width: 230px;
  height: 120px;
  border-radius: 50%;
  background: rgba(229, 169, 58, 0.18);
  content: "";
}

.doctor-showcase-visual img {
  position: relative;
  z-index: 1;
  width: min(272px, 100%);
  height: auto;
  max-height: 300px;
  object-fit: contain;
  object-position: bottom center;
  transform: scale(1.02) translateY(10px);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(
          to bottom,
          #000 0%,
          #000 84%,
          rgba(0, 0, 0, 0.5) 94%,
          transparent 100%
  );
  mask-image: linear-gradient(
          to bottom,
          #000 0%,
          #000 84%,
          rgba(0, 0, 0, 0.5) 94%,
          transparent 100%
  );
}

.doctor-showcase-info {
  max-width: 760px;
}

.doctor-showcase-info h3 {
  color: var(--teal-dark);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.doctor-showcase-info small {
  display: block;
  margin-top: 4px;
  color: #2f8d64;
  font-weight: 900;
}

.doctor-credentials {
  display: grid;
  width: 100%;
  gap: 4px;
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--teal-dark);
  text-align: left;
}

.doctor-credentials li {
  padding-left: 2px;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.45;
}

.doctor-credentials li::marker {
  color: var(--coral);
}

.doctor-showcase-info p {
  margin-top: 12px;
  color: #243a32;
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
}

.check-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
}

body:not(.dr-med-site) .check-section {
  background:
          radial-gradient(circle at 84% 34%, rgba(21, 128, 68, 0.12), transparent 34%),
          radial-gradient(circle at 12% 78%, rgba(0, 108, 69, 0.09), transparent 30%),
          linear-gradient(180deg, #f4faf7 0%, #e8f3ec 100%);
}

body:not(.dr-med-site) .check-section .test-tab {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(25, 44, 50, 0.06);
}

body:not(.dr-med-site) .check-section .test-tab:hover,
body:not(.dr-med-site) .check-section .test-tab:focus-visible {
  background: var(--white);
  box-shadow: 0 12px 28px rgba(26, 64, 45, 0.1);
}

.check-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 34px;
}

.check-layout {
  align-items: center;
}

.check-panel {
  display: grid;
  gap: 16px;
}

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

.test-tab {
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
          border-color 160ms ease,
          box-shadow 160ms ease,
          transform 160ms ease;
}

.test-tab span,
.test-head span {
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-visual small {
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.test-tab strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.test-tab small {
  display: inline-block;
  margin-top: 16px;
  color: var(--coral);
  font-weight: 900;
}

.test-tab:hover,
.test-tab:focus-visible {
  border-color: rgba(0, 108, 69, 0.55);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(26, 64, 45, 0.1);
  transform: translateY(-1px);
}

.test-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 42px;
}

.test-page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.test-pagination button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-dark);
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition:
          border-color 160ms ease,
          color 160ms ease,
          transform 160ms ease;
}

.test-pagination button:hover:not(:disabled),
.test-pagination button:focus-visible:not(:disabled) {
  border-color: rgba(0, 108, 69, 0.55);
  color: var(--coral);
  transform: translateY(-1px);
}

.test-pagination button:focus-visible {
  outline: 3px solid rgba(0, 108, 69, 0.22);
  outline-offset: 3px;
}

.test-pagination button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.test-page-number.active {
  border-color: rgba(0, 108, 69, 0.62);
  background: var(--teal-dark);
  color: var(--white);
}

.test-pagination span {
  min-width: 86px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
}

.test-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  padding: 24px;
}

.test-modal.open {
  display: grid;
  place-items: center;
}

.test-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 50, 0.54);
  backdrop-filter: blur(6px);
}

.test-modal-dialog {
  position: relative;
  width: min(780px, calc(100vw - 32px));
  max-height: min(860px, calc(100vh - 32px));
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(5, 24, 30, 0.28);
}

.test-modal-close {
  position: sticky;
  top: 12px;
  z-index: 2;
  float: right;
  width: 38px;
  height: 38px;
  margin: 12px 12px -50px 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.contact-layout {
  align-items: start;
}

.check-card,
.contact-form {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.test-modal .check-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 30px;
}

.test-modal .result-card {
  margin: 0 30px 30px;
}

.test-contact-dialog {
  width: min(520px, calc(100vw - 32px));
}

.test-contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.test-contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 750;
}

.test-contact-label {
  color: var(--ink);
}

.test-contact-label em {
  color: #e60012;
  font-style: normal;
}

.test-contact-form label span:not(.test-contact-label) {
  color: #e60012;
}

.test-contact-form input {
  width: 100%;
  border: 1px solid rgba(8, 124, 122, 0.16);
  border-radius: 999px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 1px 2px rgba(26, 64, 45, 0.04), 0 2px 8px rgba(26, 64, 45, 0.06);
}

.test-contact-form .form-note {
  margin: 0;
}

.test-head {
  margin-bottom: 20px;
}

.test-head h3 {
  margin-top: 6px;
  font-size: 1.35rem;
}

.test-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

fieldset {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
  font-weight: 850;
}

.check-card label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.question-list {
  display: grid;
  gap: 18px;
}

.question-item {
  margin: 0;
  padding: 0;
}

.question-item legend {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 8px;
  line-height: 1.35;
}

.question-item legend span {
  color: var(--coral);
  font-size: 0.95rem;
  font-weight: 900;
}

.question-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  flex: 0 0 auto;
}

.question-hint {
  margin-left: auto;
  align-self: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  font-style: italic;
}

.question-required {
  margin-left: 4px;
  color: var(--coral);
  font-style: normal;
  font-weight: 900;
}

.question-text-field {
  margin-top: 6px;
}

.question-item .question-text-input {
  width: 100%;
  height: auto;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: inherit;
  font: inherit;
  resize: vertical;
}

.question-item .question-text-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(21, 128, 68, 0.16);
}

.self-check-page-form .form-note.self-check-form-error {
  margin: 10px 0 20px;
  padding: 0;
  min-height: 0;
  color: #c81e1e;
  font-weight: 700;
}

.self-check-page-form .form-note.self-check-form-error:not([hidden]) {
  display: block;
}

.result-card {
  display: none;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(26, 64, 45, 0.12);
}

.result-card.visible {
  display: block;
}

.result-card.low {
  border-color: rgba(21, 128, 68, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #f3faf6 100%);
}

.result-card.medium {
  border-color: rgba(229, 169, 58, 0.52);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}

.result-card.high {
  border-color: rgba(223, 107, 87, 0.58);
  background: linear-gradient(180deg, #ffffff 0%, #fff6f4 100%);
}

.result-visual {
  display: flex;
  align-items: center;
  gap: 14px;
}

.result-visual > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #158044;
  font-weight: 900;
}

.result-card.low .result-visual > span {
  background: #158044;
}

.result-card.medium .result-visual > span {
  background: #e5a93a;
}

.result-card.high .result-visual > span {
  background: #df6b57;
}

.result-card.low .result-visual small {
  color: #006c45;
}

.result-card.medium .result-visual small {
  color: #b45309;
}

.result-card.high .result-visual small {
  color: #c2413c;
}

.result-visual strong {
  display: block;
  font-size: 1.16rem;
  line-height: 1.25;
}

.risk-meter {
  height: 10px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21, 128, 68, 0.14);
}

.result-card.medium .risk-meter {
  background: rgba(229, 169, 58, 0.22);
}

.result-card.high .risk-meter {
  background: rgba(223, 107, 87, 0.2);
}

.risk-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #158044;
}

.result-card.medium .risk-meter span {
  background: #e5a93a;
}

.result-card.high .risk-meter span {
  background: #df6b57;
}

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

.quick-booking-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quick-booking-form h4,
.quick-booking-form p {
  margin: 0;
}

.quick-booking-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.quick-booking-form input,
.quick-booking-form select {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: var(--white);
  color: var(--ink);
}

.quick-booking-form small {
  color: var(--muted);
}

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

.news-card {
  overflow: hidden;
}

.news-card-link {
  display: block;
  min-height: 100%;
  color: inherit;
  transition:
          border-color 160ms ease,
          box-shadow 160ms ease,
          transform 160ms ease;
}

.news-card-link:hover,
.news-card-link:focus-visible {
  border-color: rgba(0, 108, 69, 0.55);
  box-shadow: 0 16px 36px rgba(26, 64, 45, 0.12);
  transform: translateY(-2px);
}

.news-card-link:focus-visible {
  outline: 3px solid rgba(0, 108, 69, 0.22);
  outline-offset: 3px;
}

.news-thumb {
  height: 128px;
  background:
          linear-gradient(135deg, rgba(8, 124, 122, 0.92), rgba(63, 120, 168, 0.72)),
          radial-gradient(circle at 20% 20%, rgba(229, 169, 58, 0.8), transparent 28%);
}

.news-card:nth-child(2) .news-thumb {
  background:
          linear-gradient(135deg, rgba(223, 107, 87, 0.9), rgba(229, 169, 58, 0.72)),
          radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.5), transparent 30%);
}

.news-card:nth-child(3) .news-thumb {
  background:
          linear-gradient(135deg, rgba(63, 120, 168, 0.92), rgba(8, 124, 122, 0.68)),
          radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.55), transparent 26%);
}

.news-content {
  padding: 20px;
}

.news-date {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
}

.home-updates-section {
  background: #fbfcfb;
}

.home-updates-layout {
  display: grid;
  gap: 46px;
  align-items: start;
}

.home-updates-column {
  min-width: 0;
}

.home-updates-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.home-updates-heading > div {
  min-width: 0;
}

.home-updates-heading h2 {
  max-width: 680px;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

.home-updates-view-all {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 10px 16px;
  background: var(--white);
  font-size: 0.88rem;
  white-space: nowrap;
}

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

.home-update-card {
  display: grid;
  grid-template-rows: 190px minmax(128px, auto);
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
  box-shadow: 0 12px 28px rgba(42, 61, 66, 0.06);
  transition:
          border-color 160ms ease,
          box-shadow 160ms ease,
          transform 160ms ease;
}

a.home-update-card:hover,
a.home-update-card:focus-visible {
  border-color: rgba(0, 108, 69, 0.55);
  box-shadow: 0 16px 36px rgba(26, 64, 45, 0.12);
  transform: translateY(-2px);
}

a.home-update-card:focus-visible {
  outline: 3px solid rgba(0, 108, 69, 0.22);
  outline-offset: 3px;
}

.home-update-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.home-update-content {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
}

.home-update-content span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
}

.home-update-content h3 {
  font-size: 1.02rem;
  line-height: 1.3;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.news-detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 800;
}

.news-detail-body {
  margin-top: 20px;
}

.news-detail-body p {
  color: var(--muted);
  margin: 0;
}

.news-detail-body p + p {
  margin-top: 18px;
}

.news-detail-page .detail-mini-panel a {
  color: var(--teal-dark);
  font-weight: 800;
}

#news-title,
#knowledge-title,
#news-summary,
#knowledge-summary {
  width: fit-content;
  max-width: 100%;
}

.news-detail-page .service-detail-hero-inner,
.news-detail-page .yumino-news-detail-hero-inner,
.dr-med-news-detail-page .dr-med-service-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
}

.news-detail-page .service-detail-hero-inner > div,
.news-detail-page .yumino-news-detail-hero-inner > div,
.dr-med-news-detail-page .dr-med-service-hero-inner > div {
  width: fit-content;
  max-width: 100%;
  padding-inline: 0;
}

.yumino-news-detail-hero-inner {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
  align-items: start;
}

.yumino-news-detail-hero-inner > div {
  padding-inline: 34px;
}

.yumino-news-detail-article {
  max-width: 920px;
  margin: 0 auto;
}

.yumino-news-detail-article .dr-med-article-media {
  margin: 0 0 34px;
}

.yumino-news-detail-article .dr-med-article-media img {
  aspect-ratio: 16 / 9;
}

.dr-med-news-hero {
  background:
          radial-gradient(circle at 82% 28%, rgba(21, 128, 68, 0.16), transparent 28%),
          linear-gradient(180deg, #f7faf8 0%, #ffffff 100%);
}

.dr-med-news-page .dr-med-news-hero .dr-med-service-hero-inner,
.dr-med-news-page .dr-med-news-hero .service-detail-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
}

.dr-med-news-page .dr-med-news-hero .dr-med-service-hero-inner > div,
.dr-med-news-page .dr-med-news-hero .service-detail-hero-inner > div {
  width: fit-content;
  max-width: 100%;
  padding-inline: 0;
}

.dr-med-news-page .dr-med-news-hero h1,
.dr-med-news-page .dr-med-news-hero p:not(.eyebrow),
.dr-med-news-page .dr-med-news-category-head,
.dr-med-news-page .dr-med-news-category-head h2 {
  width: fit-content;
  max-width: 100%;
}

.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .service-detail-hero-inner {
  grid-template-columns: minmax(0, max-content) minmax(0, 320px);
  justify-content: start;
  align-items: start;
}

.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .dr-med-service-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
}

.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .service-detail-hero-inner > div:first-child,
.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .dr-med-service-hero-inner > div {
  width: fit-content;
  max-width: 100%;
  padding-inline: 0;
}

.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .service-detail-hero h1,
.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) #service-title,
.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) #service-copy,
.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) #service-description,
.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .service-detail-hero-inner > div:first-child > p:not(.eyebrow),
.service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .dr-med-service-hero-inner > div > p:not(.eyebrow) {
  width: fit-content;
  max-width: 100%;
}

.dr-med-news-tabs {
  position: sticky;
  top: 86px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(26, 64, 45, 0.08);
}

.dr-med-news-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(21, 128, 68, 0.08);
  font-weight: 800;
}

/*.dr-med-news-tabs a:hover,*/
/*.dr-med-news-tabs a:focus-visible,*/
/*.dr-med-news-tabs a.active {*/
/*  color: var(--white);*/
/*  background: var(--teal);*/
/*}*/

.dr-med-news-sections {
  display: grid;
  gap: 26px;
}

.dr-med-news-category {
  display: none;
  scroll-margin-top: 150px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(26, 64, 45, 0.08);
}

.dr-med-news-category.active {
  display: block;
}

.dr-med-news-category-head {
  margin-bottom: 22px;
}

.dr-med-news-category-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

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

.dr-med-news-card {
  display: block;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
  color: inherit;
  transition:
          border-color 0.2s ease,
          box-shadow 0.2s ease,
          transform 0.2s ease;
}

a.dr-med-news-card:hover,
a.dr-med-news-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 108, 69, 0.32);
  box-shadow: 0 16px 32px rgba(26, 64, 45, 0.1);
}

.dr-med-news-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.dr-med-news-card h3 {
  margin-bottom: 10px;
}

.dr-med-news-card p {
  margin: 0;
  color: var(--muted);
}

.dr-med-news-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: calc(var(--radius) - 4px);
}

.content-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.content-pagination button {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--teal);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.content-pagination button:hover:not(:disabled),
.content-pagination button:focus-visible,
.content-pagination button.active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.content-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dr-med-news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.dr-med-news-detail-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(21, 128, 68, 0.08);
  font-weight: 800;
}

.dr-med-service-article {
  display: grid;
  gap: 22px;
}

.dr-med-article-media {
  margin: 0;
}

.dr-med-article-media img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.dr-med-article-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.dr-med-news-detail-article .news-detail-body p {
  color: var(--muted);
  font-size: 1.04rem;
}

.dr-med-news-detail-article .news-detail-body p + p {
  margin-top: 16px;
}

.dr-med-news-video-block {
  margin-top: 20px;
}

.dr-med-article-video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
}

.dr-med-article-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.dr-med-news-video-block p {
  margin-top: 12px;
}

.dr-med-news-video-block a {
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-section {
  background: #f7faf8;
  color: var(--ink);
}

.recruitment-hero {
  padding: 92px 0 72px;
  background:
          linear-gradient(90deg, rgba(251, 252, 251, 0.98), rgba(251, 252, 251, 0.78)),
          radial-gradient(circle at 78% 20%, rgba(21, 128, 68, 0.18), transparent 28%),
          var(--soft);
}

.recruitment-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: end;
}

.career-summary {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.career-summary span,
.detail-topline span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.career-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--teal-dark);
  font-size: 2rem;
}

.career-summary small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.recruitment-section {
  background: var(--page);
}

.recruitment-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.job-list-panel,
.job-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(26, 64, 45, 0.08);
}

.job-list-panel {
  position: sticky;
  top: 126px;
  overflow: hidden;
}

.panel-heading {
  padding: 22px 22px 12px;
}

.panel-heading h2 {
  font-size: 1.6rem;
}

.job-list {
  display: grid;
  gap: 0;
}

.job-list-item {
  width: 100%;
  display: block;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 18px 22px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.job-list-item:hover,
.job-list-item.active {
  background: var(--soft);
}

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

.job-list-item strong {
  margin-top: 6px;
  line-height: 1.25;
}

.job-list-item small {
  margin-top: 5px;
  color: var(--muted);
}

.job-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.job-pagination:empty {
  display: none;
}

.job-page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-page-button,
.job-page-number {
  min-width: 36px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 850;
  cursor: pointer;
}

.job-page-button {
  padding: 0 12px;
}

.job-page-button:hover,
.job-page-number:hover,
.job-page-number.active {
  border-color: rgba(0, 108, 69, 0.45);
  background: var(--soft);
}

.job-page-number.active {
  color: var(--white);
  background: var(--teal-dark);
}

.job-page-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.job-detail {
  min-height: 520px;
  padding: 30px;
}

.detail-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.job-detail h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.job-location {
  max-width: 760px;
  color: var(--muted);
  font-weight: 800;
}

.job-post-content {
  margin-top: 26px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.job-post-content p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.92fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 52px rgba(26, 64, 45, 0.12);
}

.contact-left {
  display: grid;
  grid-template-rows: minmax(255px, auto) minmax(255px, auto);
  gap: 14px;
  padding: 24px 28px;
}

.contact-form-flat {
  border: 1px solid rgba(8, 124, 122, 0.14);
  border-radius: 20px;
  box-shadow: none;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.88);
}

.contact-form-flat h2,
.contact-info-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1.12;
}

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

.clinic-system {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(8, 124, 122, 0.18);
}

.clinic-system h3 {
  margin: 0 0 10px;
  color: var(--ink);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.clinic-list {
  display: grid;
  gap: 0;
}

.clinic-item {
  padding: 11px 0;
  border-top: 1px solid rgba(8, 124, 122, 0.14);
}

/*.clinic-item:first-child {*/
/*  border-top: 0;*/
/*  padding-top: 0;*/
/*}*/

/*.clinic-item:last-child {*/
/*  padding-bottom: 0;*/
/*}*/

.clinic-item h4,
.clinic-item p {
  margin: 0;
}

.clinic-item h4 {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.35;
}

.clinic-item h4 span {
  display: none;
}

.clinic-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.clinic-item a {
  display: inline-flex;
  margin-top: 6px;
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.86rem;
}

.contact-info-panel {
  border-left: 1px solid var(--line);
  background: var(--white);
}

.contact-info-head {
  min-height: 166px;
  padding: 34px 30px;
  text-align: center;
  background:
          radial-gradient(circle at 88% 18%, rgba(223, 107, 87, 0.14), transparent 34%),
          linear-gradient(135deg, rgba(225, 243, 232, 0.96), rgba(238, 246, 243, 0.96));
  border-bottom-left-radius: 28px;
}

.contact-info-head h2 {
  color: var(--teal-dark);
}

.contact-info-head strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
}

.contact-info-body {
  padding: 26px 30px 30px;
}

.contact-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.contact-line:first-child {
  margin-top: 0;
}

.contact-line span {
  color: var(--ink);
  font-weight: 850;
}

.contact-line p {
  margin: 0;
  color: var(--ink);
}

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

.contact-form {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.contact-form-flat.contact-form {
  box-shadow: none;
}

.contact-form label {
  display: block;
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 12px;
}

.contact-form-flat label {
  margin-bottom: 8px;
}

.contact-form label span {
  color: #e60012;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid rgba(8, 124, 122, 0.16);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 1px 2px rgba(26, 64, 45, 0.04), 0 2px 8px rgba(26, 64, 45, 0.06);
}

.contact-form textarea {
  height: 72px;
  min-height: 64px;
  border-radius: 22px;
  resize: vertical;
}

.contact-submit {
  width: auto;
  min-width: 142px;
  float: right;
  padding: 12px 22px;
  background: #e60012;
  box-shadow: none;
}

.contact-submit:hover {
  background: #c90010;
}

.form-note {
  clear: both;
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--teal-dark);
  font-weight: 750;
}

.contact-form-flat .form-note {
  min-height: 0;
  margin-top: 8px;
}

.coverage-map {
  clear: both;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 255px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 124, 122, 0.14);
  border-radius: 20px;
  background: #eef6f3;
}

.coverage-map-copy {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  align-self: start;
  justify-self: start;
  margin: 16px 0 0 18px;
  padding: 12px 14px;
  max-width: min(300px, 58%);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(26, 64, 45, 0.08);
  pointer-events: none;
}

.coverage-map-copy span {
  display: block;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.coverage-map-copy strong {
  display: block;
  max-width: 220px;
  margin-top: 8px;
  color: var(--teal-dark);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.18;
}

.coverage-map-embed {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 255px;
  border: 0;
  border-radius: 20px;
}

.vietnam-map {
  width: auto;
  max-width: 172px;
  height: 178px;
  max-height: 178px;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 18px 24px rgba(26, 64, 45, 0.12));
}

.map-shape {
  fill: rgba(21, 128, 68, 0.14);
  stroke: rgba(0, 108, 69, 0.8);
  stroke-width: 4;
  stroke-linejoin: round;
}

.map-coast {
  fill: none;
  stroke: rgba(223, 107, 87, 0.65);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 7 10;
}

.map-marker circle {
  fill: var(--teal);
  stroke: var(--white);
  stroke-width: 4;
}

.map-marker text {
  fill: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
  text-anchor: middle;
  letter-spacing: 0;
}

.map-marker-hcm circle {
  fill: var(--coral);
}

.admin-quick-fab {
  position: fixed;
  top: 86px;
  left: 16px;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  border: 1px solid rgba(0, 108, 69, 0.16);
  border-radius: 50%;
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 12px 28px rgba(25, 44, 50, 0.2);
  transition:
          background-color 160ms ease,
          box-shadow 160ms ease,
          transform 160ms ease;
}

.admin-quick-fab:hover,
.admin-quick-fab:focus-visible {
  background: var(--teal);
  box-shadow: 0 14px 32px rgba(0, 108, 69, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.admin-quick-fab svg {
  width: 20px;
  height: 20px;
  display: block;
}

.fab-stack {
  position: fixed !important;
  right: 18px;
  bottom: 18px;
  z-index: 140;
  width: 52px;
  display: grid !important;
  gap: 10px;
  justify-items: center;
  opacity: 1;
  visibility: visible;
}

.social-fab-row {
  display: grid;
  align-items: center;
  gap: 10px;
  transition:
          opacity 160ms ease,
          transform 160ms ease;
}

.fab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(25, 44, 50, 0.22);
  font-weight: 900;
  cursor: pointer;
}

.social-fab {
  transition:
          opacity 160ms ease,
          transform 160ms ease;
}

.social-fab svg,
.social-fab img {
  width: 35px;
  height: 35px;
  display: block;
}

.social-fab.zalo-fab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-fab.facebook-fab svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fab-stack.chat-open .social-fab-row {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.94);
}

.facebook-fab {
  background: transparent;
  overflow: hidden;
}

.zalo-fab {
  background: transparent;
  overflow: hidden;
}

.tiktok-fab {
  background: #111111;
}

.chat-launcher {
  justify-self: end;
  background: transparent;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(25, 44, 50, 0.22);
}

.chat-launcher .chat-fab-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.chat-panel {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 130;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 36px));
  height: min(520px, calc(100vh - 120px));
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #f3f5f8;
  box-shadow: 0 18px 48px rgba(31, 45, 61, 0.18);
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.chat-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: #4f5d6f;
  background: #e8edf3;
  border-bottom: 1px solid #d8e0ea;
}

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

.chat-brand-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: block;
  object-fit: contain;
}

.chat-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #4f5d6f;
}

.chat-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #4f5d6f;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.chat-header-action svg {
  width: 20px;
  height: 20px;
  display: block;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 16px;
  background: #f3f5f8;
}

.message {
  max-width: 88%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.message.bot {
  align-self: flex-start;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e4eaf1;
  box-shadow: 0 2px 8px rgba(31, 45, 61, 0.04);
}

.message.user {
  align-self: flex-end;
  color: #ffffff;
  background: #0084ff;
  box-shadow: 0 4px 14px rgba(0, 132, 255, 0.22);
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 14px;
  background: #ffffff;
  border-top: 1px solid #e4eaf1;
}

.chat-input-wrap {
  flex: 1;
  min-width: 0;
}

.chat-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #b8d4f5;
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  font: inherit;
}

.chat-form input::placeholder {
  color: #94a3b8;
}

.chat-form input:focus {
  border-color: #7eb6f3;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.12);
}

.chat-form-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.chat-form-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #64748b;
  background: transparent;
  cursor: pointer;
}

.chat-form-action svg {
  width: 22px;
  height: 22px;
  display: block;
}

.chat-form-action.chat-send {
  color: #1e2a44;
}

.chat-form-action.chat-send svg {
  width: 20px;
  height: 20px;
}

.site-footer {
  padding: 30px 0;
  background: #123323;
  color: var(--white);
}

.footer-inner {
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-support {
  font-weight: 760;
}

.footer-support a {
  display: block;
  margin-top: 4px;
  color: #9be8bd;
  font-weight: 900;
  white-space: nowrap;
}

.footer-brand img {
  width: 88px;
  height: auto;
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.18));
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-nav {
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
}

.footer-nav-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 16px;
  width: 100%;
}

.site-footer .footer-inner nav a {
  color: var(--white);
  font-weight: 760;
}

.site-footer .footer-policy-button {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer .footer-inner nav a:hover,
.site-footer .footer-inner nav a:focus-visible {
  color: #9be8bd;
  background: transparent;
}

.legal-main {
  background: linear-gradient(180deg, var(--soft), var(--page) 340px);
}

.legal-hero {
  padding: 86px 0 38px;
}

.legal-hero h1 {
  max-width: 780px;
}

.legal-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-content {
  padding: 24px 0 86px;
}

.legal-document {
  max-width: 1160px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(25, 44, 50, 0.08);
}

.legal-document section + section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  font-size: 1.38rem;
  line-height: 1.22;
}

.legal-document p,
.legal-document li {
  color: #41515a;
}

.legal-document ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.self-check-main {
  background: linear-gradient(180deg, var(--soft), var(--page) 360px);
}

.service-detail-main {
  background: linear-gradient(180deg, var(--soft), var(--page) 380px);
}

.service-detail-hero {
  padding: 76px 0 42px;
}

.service-detail-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: end;
}

.service-detail-hero h1 {
  max-width: 780px;
}

.service-detail-hero p:not(.eyebrow),
.service-detail-summary p,
.service-detail-panel p,
.detail-mini-panel li,
.detail-highlight p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.service-detail-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.service-detail-summary {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(26, 64, 45, 0.1);
}

.service-detail-summary span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 900;
}

.service-detail-summary strong {
  display: block;
  margin-top: 16px;
  font-size: 1.1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-detail-content {
  padding: 22px 0 86px;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.service-detail-panel,
.detail-mini-panel {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(25, 44, 50, 0.08);
}

.service-detail-summary,
.service-detail-side,
.detail-highlight {
  min-width: 0;
  max-width: 100%;
}

.service-detail-panel {
  padding: 34px;
}

.service-detail-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

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

.detail-highlight {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.service-detail-side {
  display: grid;
  gap: 16px;
}

.detail-mini-panel {
  padding: 22px;
}

.detail-mini-panel ul,
.detail-mini-panel ol {
  margin: 14px 0 0;
  padding-left: 22px;
}

.self-check-hero {
  padding: 76px 0 34px;
}

.self-check-hero h1 {
  max-width: 780px;
}

.self-check-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.self-check-content {
  padding: 18px 0 86px;
}

.self-check-page-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.test-switcher {
  position: sticky;
  top: 106px;
}

.test-switcher .test-tabs {
  grid-template-columns: 1fr;
}

.test-switcher .test-pagination {
  justify-content: center;
  margin-top: 14px;
}

.test-tab.active {
  border-color: rgba(0, 108, 69, 0.62);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(26, 64, 45, 0.1);
}

.self-check-page-panel {
  display: grid;
  gap: 22px;
}

.self-check-page-form {
  padding: 34px;
}

.self-check-page-form .test-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.self-check-page-panel .result-card {
  scroll-margin-top: 96px;
}

@media (max-width: 1120px) {
  .brand {
    min-width: 230px;
  }

  .nav-inner {
    position: relative;
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 10px 0;
  }

  .nav-right {
    display: contents;
  }

  .nav-actions {
    position: absolute;
    top: 8px;
    right: 58px;
    display: flex;
    min-height: 0;
    padding: 0;
    border-left: 0;
  }

  .menu-toggle {
    position: absolute;
    top: 14px;
    right: 0;
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin-top: 4px;
    padding: 4px 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: grid;
    gap: 4px;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 980px) {
  .card-grid,
  .specialty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-updates-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dr-med-news-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    grid-template-columns: 1fr;
  }

  .specialty-card img {
    height: 220px;
  }

  .split-layout,
  .video-layout,
  .home-updates-layout,
  .check-layout,
  .contact-layout,
  .contact-shell,
  .recruitment-hero-inner,
  .recruitment-layout {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    border-radius: 18px;
  }

  .contact-left {
    grid-template-rows: auto auto;
    padding: 22px;
  }

  .video-copy-block {
    max-width: 760px;
  }

  .gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-track {
    grid-auto-columns: 100%;
  }

  .contact-info-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .contact-info-head {
    min-height: auto;
    border-bottom-left-radius: 0;
  }

  .job-list-panel {
    position: static;
  }

  .self-check-page-layout {
    grid-template-columns: 1fr;
  }

  .service-detail-hero-inner,
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .staff-panel {
    gap: 22px;
  }

  .doctor-profile-card {
    grid-template-columns: 1fr;
    padding: 24px 18px 28px;
  }

  .doctor-profile-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .doctor-profile-card:nth-child(even) .doctor-showcase-visual,
  .doctor-profile-card:nth-child(even) .doctor-showcase-info {
    grid-column: auto;
    grid-row: auto;
  }

  .doctor-showcase {
    padding: 18px 14px 24px;
  }

  .doctor-showcase-visual {
    min-height: 260px;
  }

  .doctor-showcase-visual img {
    width: min(260px, 100%);
    max-height: 280px;
    transform: scale(1.02) translateY(10px);
  }

  .doctor-blob {
    height: 190px;
  }

  .doctor-showcase-info {
    text-align: center;
  }

  .doctor-credentials {
    display: grid;
    width: 100%;
    justify-items: start;
    text-align: left;
  }

  .detail-section-grid {
    grid-template-columns: 1fr;
  }

  .test-switcher {
    position: static;
  }


  .hero-section {
    min-height: 680px;
  }

  .hero-overlay {
    background:
            linear-gradient(90deg, rgba(251, 252, 251, 0.98) 0%, rgba(251, 252, 251, 0.9) 58%, rgba(251, 252, 251, 0.45) 100%),
            linear-gradient(0deg, rgba(7, 94, 96, 0.08), rgba(7, 94, 96, 0.08));
  }
}

@media (max-width: 767px) {
  .yumino-news-detail-hero-inner > div {
    padding-inline: 18px;
  }

  .site-header .container {
    width: calc(100% - 24px);
  }

  .nav-inner {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 66px 40px;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
    gap: 10px;
    overflow: hidden;
  }

  .brand-mark,
  .brand-mark img {
    width: 58px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-select {
    min-width: 66px;
    min-height: 34px;
    padding: 0 26px 0 12px;
  }

  .language-picker::after {
    right: 10px;
  }

  .nav-right {
    display: contents;
  }

  .viewport-breakpoint-hero .hero-overlay {
    background:
            linear-gradient(180deg, rgba(251, 252, 251, 0.98) 0%, rgba(251, 252, 251, 0.96) 58%, rgba(251, 252, 251, 0.54) 100%),
            linear-gradient(0deg, rgba(7, 94, 96, 0.08), rgba(7, 94, 96, 0.08));
  }

  .nav-actions {
    position: static;
    grid-column: 2;
    grid-row: 1;
    width: auto;
    display: flex;
    min-height: 0;
    padding: 0;
    border-left: 0;
  }

  .menu-toggle {
    position: static;
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    height: 44px;
    padding: 10px;
    z-index: 4;
    cursor: pointer;
    pointer-events: auto;
  }

  .nav-links {
    inset: 82px 16px auto 16px;
    z-index: 60;
  }

  .self-check-hero h1 {
    max-width: 330px;
    font-size: 1.78rem;
    line-height: 1.12;
  }

  .self-check-hero p:not(.eyebrow) {
    max-width: 330px;
  }

  .hero-content {
    padding: 56px 0 70px;
  }

  h1,
  .hero-copy,
  .hero-actions {
    max-width: calc(100vw - 32px);
  }

  .card-grid,
  .news-grid,
  .specialty-grid,
  .test-tabs {
    grid-template-columns: 1fr;
  }

  .test-pagination {
    justify-content: center;
  }

  .result-actions .button {
    width: 100%;
  }

  .test-modal {
    padding: 12px;
  }

  .test-modal-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .test-modal .check-card {
    padding: 22px 18px;
  }

  .test-modal .result-card {
    margin: 0 18px 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2 {
    font-size: clamp(1.45rem, 6vw, 2.1rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .home-updates-heading h2 {
    max-width: none;
  }

  .home-updates-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .doctor-showcase {
    padding: 16px 12px 20px;
  }

  .doctor-profile-card {
    padding: 20px 14px 24px;
  }

  .doctor-showcase-visual {
    min-height: 240px;
  }

  .doctor-showcase-visual img {
    width: min(240px, 100%);
    max-height: 260px;
    transform: scale(1.02) translateY(8px);
  }

  .doctor-blob {
    height: 175px;
    left: 8px;
    right: 8px;
  }

  .gallery-track {
    grid-auto-columns: 100%;
  }

  .gallery-slide,
  .gallery-image {
    min-height: 340px;
  }

  .gallery-caption {
    left: 18px;
    right: 82px;
    bottom: 18px;
  }

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

  .footer-inner nav {
    align-items: flex-start;
    flex: none;
    gap: 10px;
    width: 100%;
  }

  .footer-nav-line {
    justify-content: flex-start;
  }

  .legal-hero {
    padding: 62px 0 28px;
  }

  .legal-document {
    padding: 24px 18px;
  }

  .self-check-hero {
    padding: 58px 0 26px;
  }

  .self-check-page-form {
    padding: 22px 18px;
  }

  .service-detail-hero {
    padding: 58px 0 28px;
  }

  .service-detail-page .container {
    width: calc(100% - 36px);
  }

  .service-detail-panel,
  .detail-mini-panel,
  .service-detail-summary {
    padding: 22px 18px;
  }

  .service-detail-hero h1 {
    max-width: 330px;
    font-size: 1.86rem;
    line-height: 1.12;
  }

  #news-title,
  #knowledge-title,
  #news-summary,
  #knowledge-summary {
    width: fit-content;
    max-width: 100%;
  }

  .news-detail-page .service-detail-hero p:not(.eyebrow),
  .dr-med-news-detail-page .service-detail-hero p:not(.eyebrow) {
    max-width: 100%;
  }

  .dr-med-news-page .dr-med-news-hero h1,
  .dr-med-news-page .dr-med-news-hero p:not(.eyebrow),
  .dr-med-news-page .dr-med-news-category-head h2 {
    width: fit-content;
    max-width: 100%;
  }

  .service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .service-detail-hero h1,
  .service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) #service-title,
  .service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) #service-copy,
  .service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) #service-description,
  .service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .service-detail-hero-inner > div:first-child > p:not(.eyebrow),
  .service-detail-page:not(.news-detail-page):not(.dr-med-news-detail-page) .dr-med-service-hero-inner > div > p:not(.eyebrow) {
    width: fit-content;
    max-width: 100%;
  }

  .service-detail-hero p:not(.eyebrow) {
    max-width: 330px;
  }

  .dr-med-news-tabs {
    position: static;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }

  .dr-med-news-tabs a {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  h1,
  .hero-copy,
  .hero-actions {
    max-width: 358px;
  }

  .fab-stack {
    right: 16px;
    bottom: 16px;
  }

  .admin-quick-fab {
    top: 78px;
    left: 12px;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .admin-quick-fab svg {
    width: 18px;
    height: 18px;
  }

  .home-updates-list {
    grid-template-columns: 1fr;
  }

  .dr-med-news-category {
    padding: 22px 18px;
  }

  .home-update-card {
    grid-template-rows: 170px minmax(112px, auto);
  }

  .home-update-card img {
    min-height: 170px;
  }

  .home-update-content {
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }

  .service-detail-page .container {
    width: calc(100% - 36px);
  }

  .news-detail-summary strong {
    display: none;
  }

  .news-detail-summary p {
    margin-top: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark,
  .brand-mark img {
    width: 62px;
  }

  .brand small {
    display: none;
  }

  .header-tools {
    justify-content: flex-start;
  }

  .hero-section {
    min-height: 700px;
  }

  h1 {
    font-size: 1.88rem;
    line-height: 1.12;
  }

  .section-heading h2 {
    font-size: 1.45rem;
    line-height: 1.16;
  }

  .gallery-track {
    grid-auto-columns: 100%;
  }

  .gallery-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .home-updates-view-all {
    width: auto;
  }

  .hero-actions .button {
    width: auto;
    min-width: 138px;
  }

  .fab-stack {
    right: 12px;
    gap: 8px;
    width: 46px;
  }

  .social-fab-row {
    gap: 8px;
  }

  .fab-button {
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
  }

  .social-fab svg,
  .social-fab img {
    width: 31px;
    height: 31px;
  }

  .social-fab.zalo-fab img {
    width: 100%;
    height: 100%;
  }

  .social-fab.facebook-fab svg {
    width: 100%;
    height: 100%;
  }

  .contact-form,
  .check-card {
    padding: 18px;
  }

  .contact-left {
    gap: 12px;
    padding: 18px;
  }

  .contact-form-row,
  .contact-line {
    grid-template-columns: 1fr;
  }

  .contact-form-flat,
  .contact-info-head,
  .contact-info-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-submit {
    width: 100%;
    float: none;
  }

  .coverage-map {
    min-height: 240px;
    border-radius: 22px;
  }

  .coverage-map-copy {
    margin: 14px 0 0 14px;
    max-width: calc(100% - 28px);
  }

  .coverage-map-copy strong {
    max-width: none;
  }

  .coverage-map-embed {
    min-height: 240px;
    border-radius: 22px;
  }

  .vietnam-map {
    max-width: 220px;
    height: 250px;
    max-height: 250px;
  }
}

/* Footer mở rộng dùng chung cho 3 site (Yumino / DR.MED / DOMED) */
.site-footer.footer-rich .container {
  max-width: 1560px;
}

.site-footer.footer-rich .footer-inner {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
}

body:not(.dr-med-site):not(.domed-site) .site-footer.footer-rich .footer-panel[aria-labelledby="yumino-license-title"] {
  display: none;
}

body:not(.dr-med-site):not(.domed-site) .site-footer.footer-rich .footer-inner {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.05fr);
}

.site-footer.footer-rich .footer-brand,
.site-footer.footer-rich .footer-panel {
  min-width: 0;
}

.site-footer.footer-rich .footer-brand {
  text-align: left;
}

.site-footer.footer-rich .footer-brand img {
  width: auto;
  height: 60px;
  margin: 0 auto 0 0;
  object-fit: contain;
  object-position: left center;
}

.dr-med-site .site-footer.footer-rich .footer-brand img {
  height: 120px;
}

.domed-site .site-footer.footer-rich .footer-brand img {
  height: 42px;
}

.site-footer.footer-rich .footer-brand > strong {
  display: none;
}

.site-footer.footer-rich .footer-panel-title {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 16px;
  font-weight: 850;
}

.site-footer.footer-rich .footer-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 22px;
}

.site-footer.footer-rich .business-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  list-style: none;
}

.site-footer.footer-rich .business-list span {
  color: var(--white);
  font-weight: 760;
}

.site-footer.footer-rich .license-list span {
  font-weight: 400;
}

/* Icon prefix cho thông tin doanh nghiệp / giấy phép / miễn trừ trách nhiệm */
.site-footer.footer-rich .business-list li {
  position: relative;
  padding-left: 30px;
}

.site-footer.footer-rich .business-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 1.6em;
  background-color: rgba(255, 255, 255, 0.82);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
}

.site-footer.footer-rich .business-list:not(.license-list) li:nth-child(1)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22V4a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v18'/%3E%3Cpath d='M15 9h4a1 1 0 0 1 1 1v12'/%3E%3Cpath d='M3 22h18'/%3E%3Cpath d='M8 7h0M8 11h0M8 15h0M11 7h0M11 11h0M11 15h0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22V4a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v18'/%3E%3Cpath d='M15 9h4a1 1 0 0 1 1 1v12'/%3E%3Cpath d='M3 22h18'/%3E%3Cpath d='M8 7h0M8 11h0M8 15h0M11 7h0M11 11h0M11 15h0'/%3E%3C/svg%3E");
}

.site-footer.footer-rich .business-list:not(.license-list) li:nth-child(2)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.site-footer.footer-rich .business-list:not(.license-list) li:nth-child(3)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M14 9h4M14 13h4M5.5 16.5c.8-1.4 2-2 3.5-2s2.7.6 3.5 2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M14 9h4M14 13h4M5.5 16.5c.8-1.4 2-2 3.5-2s2.7.6 3.5 2'/%3E%3C/svg%3E");
}

.site-footer.footer-rich .business-list:not(.license-list) li:nth-child(4)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.site-footer.footer-rich .license-list li::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.site-footer.footer-rich .footer-disclaimer h3 {
  position: relative;
  padding-left: 30px;
}

.site-footer.footer-rich .footer-disclaimer h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.82);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h0'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h0'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

.site-footer.footer-rich .license-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-style: italic;
}

.site-footer.footer-rich .footer-nav {
  align-items: flex-end;
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 10px;
}

.site-footer.footer-rich .footer-nav-line {
  justify-content: flex-end;
}

.site-footer.footer-rich .footer-policy-button {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.site-footer.footer-rich .footer-disclaimer {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
}

.site-footer.footer-rich .footer-disclaimer h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 16px;
}

.site-footer.footer-rich .footer-disclaimer p {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer.footer-rich .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer.footer-rich .footer-certs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer.footer-rich .cert-bocongthuong img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.site-footer.footer-rich .cert-dmca {
  display: inline-flex;
  align-items: stretch;
  height: 26px;
  border-radius: 4px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.site-footer.footer-rich .cert-dmca-mark,
.site-footer.footer-rich .cert-dmca-text {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
}

.site-footer.footer-rich .cert-dmca-mark {
  background: #1f2d3d;
  color: var(--white);
}

.site-footer.footer-rich .cert-dmca-text {
  background: #2e7d32;
  color: var(--white);
}

.site-footer.footer-rich .cert-dmca:hover,
.site-footer.footer-rich .cert-dmca:focus-visible {
  color: var(--white);
  opacity: 0.92;
}

.site-footer.footer-rich .copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.site-footer.footer-rich a:hover,
.site-footer.footer-rich a:focus-visible {
  color: #9be8bd;
}

@media (max-width: 1080px) {
  .site-footer.footer-rich .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer.footer-rich .footer-panel {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 22px;
    padding-left: 0;
  }

  .site-footer.footer-rich .footer-nav {
    align-items: flex-start;
  }

  .site-footer.footer-rich .footer-nav-line {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer.footer-rich .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer.footer-rich .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
