/* =========================================================
   NHA KHOA HOÀNG GIA – ROYAL RED, GOLD & PORCELAIN DESIGN SYSTEM
   ========================================================= */
:root {
  --red-900: #7a0007;
  --red-800: #9e0b0f;
  --red-700: #c40014;
  --red-600: #e60000;
  --red-50: #fff2f2;
  --gold-500: #ffc107;
  --gold-400: #ffd54f;
  --gold-600: #d99b00;
  --gold-100: #fff8db;
  --white: #ffffff;
  --surface: #fbf9f8;
  --surface-alt: #f5f1ef;
  --border: #eadfda;
  --text-900: #1f242c;
  --text-700: #424b57;
  --text-500: #6b7280;
  --success: #15803d;
  --danger: #b91c1c;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(122, 0, 7, 0.06);
  --shadow-md: 0 12px 30px rgba(122, 0, 7, 0.1);
  --shadow-gold: 0 8px 24px rgba(255, 193, 7, 0.3);
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ---------- TOP BAR & HEADER ---------- */
.top-strip {
  background: var(--red-900);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 193, 7, 0.25);
}

.top-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 6px 0;
}

.top-strip-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.top-strip a:hover {
  color: var(--gold-400);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, #8e0008 0%, #c80012 52%, #970009 100%);
  border-bottom: 2px solid rgba(255, 193, 7, 0.55);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

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

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 213, 79, 0.65);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text small {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-text strong {
  color: var(--gold-400);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hotline-dropdown {
  position: relative;
}

.hotline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 1.5px solid rgba(255, 213, 79, 0.7);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}

.hotline-pill:hover {
  background: rgba(0, 0, 0, 0.35);
}

.hotline-pill strong {
  color: var(--gold-400);
  font-size: 0.94rem;
  display: block;
  line-height: 1.1;
}

.hotline-pill span {
  font-size: 0.68rem;
  opacity: 0.88;
  display: block;
}

.hotline-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 260px;
  background: var(--white);
  color: var(--text-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 10px;
  display: none;
  z-index: 80;
}

.hotline-menu.open {
  display: block;
}

.hotline-menu-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-500);
  text-transform: uppercase;
  padding: 4px 8px 6px;
}

.hotline-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--red-800);
  font-size: 0.92rem;
}

.hotline-menu a:hover {
  background: var(--red-50);
}

.btn-header-book {
  background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
  color: #5c0005;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
  transition: transform 0.15s;
}

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

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 213, 79, 0.55);
  color: var(--white);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background: #7c0007;
  border-top: 1px solid rgba(255, 213, 79, 0.3);
  padding: 14px 20px 20px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer nav {
  display: grid;
  gap: 6px;
}

.mobile-drawer a {
  color: var(--white);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

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

.btn-gold {
  background: linear-gradient(135deg, #ffe066 0%, #ffb703 100%);
  color: #5c0005;
  box-shadow: var(--shadow-gold);
}

.btn-red {
  background: linear-gradient(135deg, #d90429 0%, #9e0b0f 100%);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(158, 11, 15, 0.28);
}

.btn-outline-gold {
  background: rgba(0, 0, 0, 0.16);
  border-color: var(--gold-400);
  color: var(--white);
}

.btn-outline-red {
  background: var(--white);
  border-color: var(--red-700);
  color: var(--red-800);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ---------- HERO 3-BANNER SLIDER (ZERO CLS) ---------- */
.hero-slider-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 35%, rgba(255, 193, 7, 0.24) 0%, transparent 45%),
    radial-gradient(circle at 18% 80%, rgba(255, 193, 7, 0.15) 0%, transparent 40%),
    linear-gradient(135deg, #8b0007 0%, #cc0012 48%, #960009 100%);
  color: var(--white);
}

.hero-slides-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 40px 0 0;
  position: relative;
}

.hero-slide-visual-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  border: 2px solid rgba(255, 213, 79, 0.55);
  border-bottom: none;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  background: rgba(110, 0, 6, 0.55);
}

.hero-slide-visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 213, 79, 0.65);
  background: rgba(70, 0, 4, 0.65);
  color: var(--gold-400);
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.slider-arrow:hover {
  background: rgba(122, 0, 7, 0.95);
}

.slider-prev { left: 14px; }
.slider-next { right: 14px; }

.slider-dots {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 14px;
  background: rgba(65, 0, 4, 0.35);
  border-top: 1px solid rgba(255, 213, 79, 0.22);
}

.slider-dot {
  height: 10px;
  width: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s, background 0.25s;
}

.slider-dot.active {
  width: 30px;
  background: var(--gold-500);
}

/* ---------- COUNT-UP STATS BAND ---------- */
.stats-band {
  background: linear-gradient(90deg, #7a0007 0%, #b50010 50%, #7a0007 100%);
  color: var(--white);
  padding: 34px 0;
  border-top: 2px solid rgba(255, 193, 7, 0.45);
  border-bottom: 2px solid rgba(255, 193, 7, 0.45);
}

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

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 213, 79, 0.32);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--gold-400);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.stat-sample-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 193, 7, 0.2);
  color: var(--gold-400);
  border: 1px solid rgba(255, 213, 79, 0.45);
}

/* ---------- VIDEO SECTION ---------- */
.videos-4grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1a0608;
  cursor: pointer;
  overflow: hidden;
  border: none;
  padding: 0;
  width: 100%;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 0.3s, opacity 0.2s;
}

.video-thumb:hover img {
  transform: scale(1.04);
  opacity: 0.96;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(196, 0, 20, 0.92);
  border: 2.5px solid var(--gold-400);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* ---------- 9 TESTIMONIALS GRID ---------- */
.testimonials-9grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, border-color 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
}

.testimonial-card.is-placeholder {
  background: #fcfaf9;
  border-style: dashed;
  border-color: #d7c7c0;
}

.placeholder-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--gold-100);
  color: #7a5200;
  border: 1px solid rgba(217, 155, 0, 0.35);
  margin-bottom: 10px;
  align-self: flex-start;
}

/* ---------- ARTICLE TOC & LINKS ---------- */
.toc-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red-700);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.toc-box strong {
  display: block;
  color: var(--red-800);
  margin-bottom: 8px;
}

.toc-box ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.92rem;
}

.toc-box a:hover,
.prose-link {
  color: var(--red-800);
  font-weight: 600;
  text-decoration: underline;
}

.prose-ext::after {
  content: " ↗";
  font-size: 0.78em;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 35%, rgba(255, 193, 7, 0.24) 0%, transparent 45%),
    radial-gradient(circle at 18% 80%, rgba(255, 193, 7, 0.15) 0%, transparent 40%),
    linear-gradient(135deg, #8b0007 0%, #cc0012 48%, #960009 100%);
  color: var(--white);
  padding: 46px 0 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(70, 0, 4, 0.35) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 32px;
}

.hero-copy {
  padding-bottom: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 213, 79, 0.55);
  color: var(--gold-400);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.hero-title {
  margin: 0 0 10px;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-title .line-top {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
}

.hero-title .line-main {
  display: block;
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  font-weight: 900;
  background: linear-gradient(180deg, #fff4b8 0%, #ffd54f 45%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.hero-slogan {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 0 22px;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.hero-pillar {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 213, 79, 0.32);
  border-radius: 12px;
  padding: 10px 12px;
  backdrop-filter: blur(4px);
}

.hero-pillar strong {
  display: block;
  font-size: 0.84rem;
  color: var(--gold-400);
  text-transform: uppercase;
}

.hero-pillar span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 213, 79, 0.3);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.84rem;
}

.hero-branches strong {
  color: var(--gold-400);
  display: block;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.hero-doctor-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  border: 2px solid rgba(255, 213, 79, 0.55);
  border-bottom: none;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  background: rgba(110, 0, 6, 0.55);
}

.hero-doctor-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.hero-doctor-tag {
  background: linear-gradient(90deg, rgba(110, 0, 6, 0.96), rgba(168, 0, 14, 0.96));
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 213, 79, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hero-doctor-tag strong {
  color: var(--gold-400);
  display: block;
  font-size: 1rem;
}

.hero-doctor-tag span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- SECTION WRAPPERS & HEADINGS ---------- */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}

.section-heading-ornament {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red-800);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.section-heading-ornament::before,
.section-heading-ornament::after {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--red-700));
}

.section-subtitle {
  margin: 0;
  color: var(--text-700);
  font-size: 1rem;
}

/* ---------- FEATURED SERVICES (5-COL LIKE DEMO) ---------- */
.services-5grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-pill-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-pill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.red-gold-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d90429, #8d0008);
  border: 3px solid var(--gold-500);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.2), 0 8px 18px rgba(158, 11, 15, 0.2);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.service-pill-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--red-800);
  text-transform: uppercase;
}

.service-pill-card p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: var(--text-700);
  flex-grow: 1;
}

.card-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--red-700);
}

/* ---------- PROMO / CONSULTATION BANNER ---------- */
.promo-banner {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.2) 0%, transparent 45%),
    linear-gradient(120deg, #8e0008 0%, #d40014 55%, #8e0008 100%);
  color: var(--white);
  padding: 32px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 2px solid rgba(255, 193, 7, 0.55);
  box-shadow: var(--shadow-md);
}

.promo-copy small {
  display: inline-block;
  background: rgba(255, 193, 7, 0.2);
  color: var(--gold-400);
  border: 1px solid rgba(255, 213, 79, 0.5);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.promo-copy h2 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 900;
  color: var(--gold-400);
}

.promo-copy p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.94);
}

.promo-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.promo-hotline-line {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
}

/* ---------- WHY CHOOSE US (4 CARDS) ---------- */
.why-4grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red-50);
  border: 2px solid var(--red-700);
  color: var(--red-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.why-card h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--red-800);
}

.why-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-700);
}

/* ---------- DOCTOR SPOTLIGHT ---------- */
.doctor-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.doctor-avatar-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid var(--gold-500);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.doctor-avatar-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.doctor-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge-red {
  display: inline-block;
  background: var(--red-50);
  color: var(--red-800);
  border: 1px solid rgba(196, 0, 20, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-gold {
  display: inline-block;
  background: var(--gold-100);
  color: #7a5200;
  border: 1px solid rgba(217, 155, 0, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- 5-STEP PROCESS (LIKE DEMO) ---------- */
.process-5grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 12px 10px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -12px;
  top: 30px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--red-700);
  line-height: 1;
}

.process-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d90429, #8d0008);
  border: 3px solid var(--gold-500);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(158, 11, 15, 0.22);
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--red-800);
  text-transform: uppercase;
}

.process-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-700);
}

/* ---------- GALLERY, CARDS & ARTICLES ---------- */
.cards-3grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.media-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.media-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.media-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}

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

.media-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.media-card-body h3 {
  margin: 6px 0 8px;
  font-size: 1.06rem;
  line-height: 1.38;
  color: var(--text-900);
}

.media-card-body p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-700);
  flex-grow: 1;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--red-800);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-700);
  font-size: 0.94rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* ---------- BOOKING & FORMS ---------- */
.booking-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.info-panel {
  background: linear-gradient(155deg, #8e0008 0%, #c80012 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 2px solid rgba(255, 193, 7, 0.45);
  box-shadow: var(--shadow-md);
}

.info-panel h3 {
  margin: 0 0 10px;
  color: var(--gold-400);
  font-size: 1.3rem;
}

.branch-box {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 213, 79, 0.3);
  border-radius: 12px;
  padding: 14px;
  margin-top: 12px;
}

.branch-box strong {
  color: var(--gold-400);
  display: block;
  margin-bottom: 4px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-900);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d9d0cb;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-900);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--red-700);
  box-shadow: 0 0 0 3px rgba(196, 0, 20, 0.12);
}

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  margin-top: 14px;
  font-weight: 600;
}

.alert-success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #86efac;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ---------- SUBPAGE HERO & BREADCRUMB ---------- */
.page-hero {
  background: linear-gradient(125deg, #8b0007 0%, #c80012 100%);
  color: var(--white);
  padding: 36px 0;
  border-bottom: 3px solid var(--gold-500);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--gold-400);
}

.page-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.95);
}

/* ---------- PRICING TABLE ---------- */
.pricing-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.pricing-group-header {
  background: linear-gradient(90deg, #9e0b0f, #c80012);
  color: var(--gold-400);
  padding: 14px 20px;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.pricing-table th,
.pricing-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.pricing-table th {
  background: var(--surface);
  font-weight: 700;
  color: var(--text-900);
}

.price-highlight {
  font-weight: 800;
  color: var(--red-800);
  white-space: nowrap;
}

/* ---------- ARTICLE PROSE ---------- */
.prose {
  font-size: 1.02rem;
  color: var(--text-900);
}

.prose h2 {
  color: var(--red-800);
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.prose h3 {
  color: var(--text-900);
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

/* ---------- FOOTER ---------- */
.cta-strip {
  background: linear-gradient(90deg, #8e0008 0%, #d40014 50%, #8e0008 100%);
  color: var(--white);
  padding: 24px 0;
  border-top: 2px solid var(--gold-500);
}

.cta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-strip h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--white);
}

.cta-strip h2 span {
  color: var(--gold-400);
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding-top: 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 0.85fr 0.9fr;
  gap: 28px;
  padding-bottom: 36px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--red-800);
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-700);
}

.footer-links a:hover {
  color: var(--red-700);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--red-50);
  border: 1px solid rgba(196, 0, 20, 0.22);
  color: var(--red-800);
  font-weight: 700;
  font-size: 0.85rem;
}

.social-btn:hover {
  background: var(--red-700);
  color: var(--white);
}

.footer-bottom {
  background: var(--red-900);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  padding: 14px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ---------- FLOATING ACTION DOCK & MOBILE STICKY BAR ---------- */
.floating-dock {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dock-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  border: 2px solid var(--gold-400);
  transition: transform 0.2s;
}

.dock-btn:hover {
  transform: scale(1.06);
}

.dock-call {
  background: linear-gradient(135deg, #e60000, #9e0b0f);
  animation: pulse-ring 2.2s infinite;
}

.dock-fb {
  background: #1877f2;
  border-color: var(--white);
}

.dock-zalo {
  background: #0068ff;
  border-color: var(--white);
  font-weight: 900;
  font-size: 0.78rem;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(230, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); }
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--white);
  border-top: 2px solid var(--gold-500);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.14);
  grid-template-columns: repeat(3, 1fr);
}

.mobile-sticky-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--red-800);
}

.mobile-sticky-bar a.primary {
  background: linear-gradient(135deg, #d90429, #9e0b0f);
  color: var(--gold-400);
}

/* ---------- LIGHTBOX & FILTER CHIPS ---------- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-700);
  font-weight: 600;
  font-size: 0.88rem;
}

.chip.active,
.chip:hover {
  background: var(--red-800);
  color: var(--white);
  border-color: var(--red-800);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 18, 22, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 920px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lightbox-inner img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #111;
}

.lightbox-caption {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .services-5grid,
  .stats-5grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .videos-4grid,
  .why-4grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .testimonials-9grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-5grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero-grid,
  .doctor-feature,
  .booking-split,
  .cards-3grid,
  .cards-2grid {
    grid-template-columns: 1fr;
  }
  .hero-pillars,
  .hero-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .promo-actions {
    align-items: flex-start;
  }
  .btn-header-book {
    display: none;
  }
}

@media (max-width: 600px) {
  html,
  body {
    overflow-x: clip;
  }
  body {
    padding-bottom: 62px;
  }
  .container {
    padding: 0 14px;
  }
  .header-inner {
    gap: 8px;
    min-height: 64px;
  }
  .brand-logo {
    gap: 7px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand-text small {
    font-size: 0.62rem;
  }
  .brand-text strong {
    font-size: 0.96rem;
  }
  .header-actions {
    gap: 6px;
  }
  .hotline-pill {
    padding: 5px 9px;
    gap: 5px;
  }
  .hotline-pill strong {
    font-size: 0.8rem;
  }
  .mobile-menu-btn {
    padding: 6px 8px;
  }
  .top-strip {
    display: none;
  }
  .services-5grid,
  .stats-5grid,
  .videos-4grid,
  .testimonials-9grid,
  .why-4grid,
  .process-5grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
  .hero-branches {
    grid-template-columns: 1fr;
  }
  .floating-dock {
    display: none;
  }
  .mobile-sticky-bar {
    display: grid;
  }
  .hotline-pill span {
    display: none;
  }
}
