/* ==========================================================================
   NHA KHOA KỲ HÒA - LUXURY DENTAL STUDIO STYLESHEET
   ========================================================================== */

:root {
  /* Palette - phong cách "Harmony": xanh rêu đậm + vàng đồng + nền kem */
  --brand-primary: #14463b;      /* xanh rêu đậm — accent, link */
  --brand-gold: #c2a15a;         /* vàng đồng muted */
  --brand-gold-bright: #cdad66;
  --brand-gold-soft: #ecdcb0;
  --brand-brown: #143a30;        /* dùng cho heading — nay là xanh rêu đậm */

  /* Xanh rêu (medical green) */
  --emerald-dark: #0e2f27;
  --emerald-deep: #123c33;
  --teal-primary: #1a5a4b;       /* xanh rêu vừa — badge, tag */
  --teal-light: #e8f0ec;         /* xanh rất nhạt — nền badge */

  /* Nền kem & chữ */
  --ink-primary: #1c2b26;
  --ink-secondary: #41514b;
  --muted: #6d7c76;
  --line: #dcd3c3;               /* line ấm trên nền kem */
  --line-soft: #efe8db;
  --bg-main: #f7f3ea;            /* nền kem */
  --bg-card: #ffffff;
  
  /* Typography */
  --font-display: "Lora", Georgia, serif;
  --font-body: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
  --shadow-gold: 0 10px 30px rgba(20, 70, 59, 0.22);
  --shadow-teal: 0 10px 30px rgba(20, 70, 59, 0.25);
  
  --container: min(1280px, calc(100vw - 40px));
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-primary);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-brown);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ==========================================================================
   HEADER NAVBAR
   ========================================================================== */
.header-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-title-main {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-brown);
}

.brand-sub-main {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}

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

.nav-link-item {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link-item:hover, .nav-link-item.active {
  color: var(--teal-primary);
  background: var(--teal-light);
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--teal-primary), var(--emerald-dark));
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-teal);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.35);
}

/* ==========================================================================
   HERO WITH REAL DENTAL PHOTO SHOWCASE
   ========================================================================== */
.hero-visual {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  position: relative;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--teal-light);
  color: var(--teal-primary);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-visual h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--brand-brown);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

.hero-visual h1 span {
  color: var(--teal-primary);
  display: block;
}

.hero-visual-desc {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-action-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-main-gold {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-primary));
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-main-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(215, 157, 69, 0.4);
}

.btn-main-outline {
  background: #ffffff;
  color: var(--ink-primary);
  border: 1.5px solid var(--line);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-main-outline:hover {
  border-color: var(--brand-gold);
  background: var(--teal-light);
}

/* Hero Image Frame */
.hero-media-wrapper {
  position: relative;
}

.hero-primary-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  aspect-ratio: 4 / 3;
}

.hero-primary-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-primary-photo:hover img {
  transform: scale(1.03);
}

.hero-floating-stat {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #ffffff;
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-stat-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
}

/* ==========================================================================
   PHOTO GALLERY OF KỲ HÒA DENTAL CLINIC
   ========================================================================== */
.photo-gallery-section {
  padding: 80px 0;
  background: #ffffff;
}

.section-head-title {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 50px;
}

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

.gallery-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-gold);
}

.gallery-card-img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-img img {
  transform: scale(1.06);
}

.gallery-card-content {
  padding: 20px;
}

.gallery-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--brand-brown);
}

.gallery-card-content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES GRID WITH PHOTOS
   ========================================================================== */
.services-photo-section {
  padding: 80px 0;
  background: var(--bg-main);
}

.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-photo-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-gold);
}

.service-photo-header {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.service-photo-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-photo-card:hover .service-photo-header img {
  transform: scale(1.05);
}

.service-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 118, 110, 0.9);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.service-photo-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-photo-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--brand-brown);
}

.service-photo-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   BHYT DENTAL SECTION WITH REAL BHYT PHOTO
   ========================================================================== */
.bhyt-photo-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald-deep));
  color: #ffffff;
}

.bhyt-split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.bhyt-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.2);
  aspect-ratio: 4 / 3;
}

.bhyt-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   DOCTOR TEAM WITH REAL PHOTO
   ========================================================================== */
.doctors-photo-section {
  padding: 80px 0;
  background: #ffffff;
}

.doctor-photo-banner {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.doctor-banner-img {
  aspect-ratio: 4 / 3;
}

.doctor-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-banner-info {
  padding: 40px;
}

/* ==========================================================================
   REVOLUTIONARY STUDIO FOOTER BAND (100% UNLIKE YKHOAKYHOA.VN)
   ========================================================================== */
.studio-footer-band {
  background: linear-gradient(135deg, #072b28 0%, #0b3c37 50%, #041816 100%);
  color: #ffffff;
  padding: 50px 0 24px;
  border-top: 3px solid var(--brand-gold);
  position: relative;
}

.studio-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.studio-brand-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-brand-title img {
  height: 36px;
  width: auto;
}

.studio-contact-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.studio-pill-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-gold-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Integrated Horizontal Studio Glass Card */
.studio-glass-footer-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(215, 157, 69, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
}

/* STRICT REQUIREMENT: SYSTEM BADGE IN FOOTER ONLY */
.footer__system-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(215, 157, 69, 0.3), rgba(15, 118, 110, 0.3));
  border: 1px solid var(--brand-gold);
  border-radius: var(--radius-pill);
  color: var(--brand-gold-soft);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.studio-address-text {
  font-size: 0.88rem;
  opacity: 0.9;
  line-height: 1.6;
}

.studio-service-tags-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-tag-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: #e6f4f2;
  transition: all 0.2s ease;
}

.studio-tag-chip:hover {
  background: var(--brand-gold);
  color: #000000;
}

.studio-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.75;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   HIGH-END DENTAL BOOKING MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transform: translateY(20px);
  transition: transform 0.3s var(--ease-out);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--teal-light);
  color: var(--teal-primary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.modal-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brand-brown);
  margin-bottom: 6px;
  line-height: 1.2;
}

.modal-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-main);
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--ink-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-primary);
  display: block;
}

.form-group input, .form-group select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg-main);
  font-size: 0.92rem;
  color: var(--ink-primary);
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--teal-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(15, 118, 110, 0.15);
}

.btn-modal-submit {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-primary), var(--emerald-dark));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-teal);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-visual-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-action-group {
    justify-content: center;
  }
  .gallery-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid-3 {
    grid-template-columns: 1fr;
  }
  .bhyt-split-layout {
    grid-template-columns: 1fr;
  }
  .doctor-photo-banner {
    grid-template-columns: 1fr;
  }
  .studio-glass-footer-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .gallery-grid-4 {
    grid-template-columns: 1fr;
  }
  .studio-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   MULTI-PAGE COMPONENTS — bổ sung 21/7/2026 khi tách landing page thành website
   ========================================================================== */

/* --- Breadcrumb --- */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumb-bar a { color: var(--brand-primary); font-weight: 600; }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar .crumb-sep { margin: 0 10px; color: var(--line); }

/* --- Page hero (trang con) --- */
.page-hero {
  background: linear-gradient(180deg, #fffdf9 0%, var(--bg-main) 100%);
  padding: 54px 0 44px;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: 2.5rem; margin: 12px 0 14px; }
.page-hero p { color: var(--ink-secondary); font-size: 1.06rem; max-width: 760px; }

/* --- Section spacing --- */
.section-pad { padding: 60px 0; }
.section-alt { background: #fff; }

/* --- Pillars (3 trụ định vị) --- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 34px;
}
.pillar-card {
  display: block;
  background: #fff;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.pillar-card:not(.static):hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-md);
}
.pillar-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: 10px;
}
.pillar-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.pillar-card p { color: var(--ink-secondary); font-size: 0.96rem; margin-bottom: 14px; }
.pillar-link { font-size: 0.9rem; font-weight: 700; color: var(--brand-primary); }
.pillar-link.muted { color: var(--muted); font-weight: 600; }

/* --- Danh sách dịch vụ --- */
.service-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.service-list-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.service-list-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-md);
}
.service-list-img { height: 190px; overflow: hidden; background: var(--line-soft); }
.service-list-img img { width: 100%; height: 100%; object-fit: cover; }
.service-list-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-list-body h3 { font-size: 1.15rem; }
.service-list-body p { color: var(--ink-secondary); font-size: 0.94rem; flex: 1; }

/* Tag BHYT / tự trả */
.service-card-tag.tag-bhyt { background: var(--teal-light); color: var(--teal-primary); }
.service-card-tag.tag-self { background: #fdf2e4; color: var(--brand-primary); }

/* --- Layout bài viết + sidebar --- */
.prose-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}
.prose { max-width: 780px; }
.prose h2 {
  font-size: 1.62rem;
  margin: 36px 0 14px;
  padding-top: 8px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose p { color: var(--ink-secondary); margin-bottom: 14px; }
.prose ul, .prose ol { color: var(--ink-secondary); margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--brand-primary); font-weight: 600; text-decoration: underline; }
.prose-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.note-inline {
  background: #fdf8f1;
  border-left: 4px solid var(--brand-gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
}

/* --- Sidebar --- */
.prose-aside { position: sticky; top: 92px; }
.aside-card {
  background: #fff;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.aside-card h4 { font-size: 1.08rem; margin-bottom: 14px; }
.aside-list { list-style: none; margin: 0 0 4px; padding: 0; font-size: 0.9rem; color: var(--ink-secondary); }
.aside-list li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.aside-list li:last-child { border-bottom: none; }
.aside-list strong { color: var(--brand-brown); }

/* --- Hộp thông báo --- */
.notice-box {
  background: #fdf8f1;
  border: 1.5px solid rgba(215, 157, 69, 0.4);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.96rem;
  color: var(--ink-secondary);
}
.notice-box a { color: var(--brand-primary); font-weight: 700; }
.highlight-box {
  background: rgba(215, 157, 69, 0.12);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}
.highlight-box strong { color: var(--brand-brown); }

/* --- Bảng 2 cột được/không được BHYT --- */
.two-col-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 22px 0 24px;
}
.two-col-table > div {
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1.5px solid var(--line-soft);
}
.two-col-table .col-yes { background: var(--teal-light); border-color: rgba(15, 118, 110, 0.25); }
.two-col-table .col-no { background: #fdf2e4; border-color: rgba(215, 157, 69, 0.35); }
.two-col-table h4 { font-size: 1.02rem; margin-bottom: 12px; }
.two-col-table .col-yes h4 { color: var(--teal-primary); }
.two-col-table ul { margin: 0 0 0 18px; font-size: 0.93rem; color: var(--ink-secondary); }
.two-col-table li { margin-bottom: 6px; }

/* --- Bảng giá --- */
.table-scroll { overflow-x: auto; margin: 20px 0 26px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.price-table th {
  background: var(--brand-brown);
  color: #fff;
  text-align: left;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.9rem;
}
.price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); color: var(--ink-secondary); }
.price-table tr:nth-child(even) td { background: #fdfbf8; }
.price-table td a { color: var(--brand-primary); font-weight: 600; }
.price-cell { color: var(--muted); font-style: italic; }

/* --- FAQ --- */
.faq-list { display: grid; gap: 14px; margin: 18px 0 8px; }
.faq-item {
  background: #fff;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.faq-item h3 { font-size: 1.05rem; margin: 0 0 8px; }
.faq-item p { margin: 0; font-size: 0.95rem; }

/* --- Chip liên kết dịch vụ khác --- */
.related-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.related-chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: all 0.2s ease;
}
.related-chip:hover { border-color: var(--brand-gold); color: var(--brand-primary); }

/* --- Chuyên mục kiến thức --- */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.topic-card {
  display: block;
  background: #fff;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.topic-card:not(.static):hover { transform: translateY(-4px); border-color: var(--brand-gold); box-shadow: var(--shadow-md); }
.topic-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.topic-card p { color: var(--ink-secondary); font-size: 0.94rem; margin-bottom: 14px; }

/* --- Dải CTA --- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-brown) 0%, var(--brand-primary) 100%);
  padding: 54px 0;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: 1.9rem; margin-bottom: 12px; }
.cta-band p { opacity: 0.92; max-width: 640px; margin: 0 auto 26px; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge-on-dark {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(215, 157, 69, 0.2);
  color: var(--brand-gold-soft);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.check-list-light { list-style: none; display: grid; gap: 11px; margin: 0; padding: 0; }
.check-list-light li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.check-list-light li::before { content: "✔"; color: var(--brand-gold-soft); font-weight: 700; }

/* --- Ghi chú y khoa --- */
.medical-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* --- Trang liên hệ --- */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: stretch;
}
.contact-col { display: grid; gap: 14px; align-content: start; }
.contact-info-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}
.contact-info-card > div { display: flex; gap: 10px; }
.contact-info-card strong { color: var(--brand-brown); }
.contact-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  display: flex;
  min-height: 420px;
}

/* --- Footer sitemap 4 cột --- */
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin: 28px 0;
}
.footer-sitemap a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-sitemap a:hover { color: var(--brand-gold-soft); }
.footer-col-title {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-gold-soft);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .prose-wrap { grid-template-columns: 1fr; }
  .prose-aside { position: static; }
  .page-hero h1 { font-size: 2rem; }
}
@media (max-width: 640px) {
  .section-pad { padding: 42px 0; }
  .page-hero { padding: 36px 0 30px; }
  .cta-band-actions .btn-main-gold,
  .cta-band-actions .btn-main-outline { width: 100%; justify-content: center; }
}

/* --- Bai viet kien thuc --- */
.article-meta { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.article-lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  font-weight: 500;
  border-left: 4px solid var(--brand-gold);
  padding-left: 18px;
  margin-bottom: 26px;
}
.cluster-block { margin-bottom: 44px; }
.cluster-block:last-of-type { margin-bottom: 0; }

/* ==========================================================================
   HARMONY-STYLE REFINEMENTS — cập nhật 21/7/2026 theo mẫu tham khảo
   (xanh rêu đậm + vàng đồng + nền kem; nút xanh, heading serif 2 màu,
   thẻ feature icon tròn, dải CTA bo tròn nổi)
   ========================================================================== */

/* Heading serif 2 màu: dòng phụ (span) tô vàng đồng */
.hero-visual h1 span { color: var(--brand-gold); }

/* Nút chính: xanh rêu đặc, chữ trắng (như nút Book Appointment trong mẫu) */
.btn-main-gold {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(20, 70, 59, 0.22);
}
.btn-main-gold:hover {
  background: var(--emerald-deep);
  box-shadow: 0 12px 30px rgba(20, 70, 59, 0.3);
}

/* Nút viền trên nền sáng */
.btn-main-outline {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-main-outline:hover {
  border-color: var(--brand-primary);
  background: var(--teal-light);
}

/* Badge nổi trên ảnh hero = hộp xanh rêu đậm, chữ trắng (như "Excellence in every detail") */
.hero-floating-stat {
  background: linear-gradient(135deg, var(--emerald-deep), var(--emerald-dark));
  border: none;
  color: #fff;
  bottom: -28px;
  right: -20px;
  left: auto;
  max-width: 300px;
}
.hero-floating-stat strong { color: #fff !important; }
.hero-floating-stat span { color: rgba(255,255,255,0.82) !important; }
.hero-stat-badge {
  background: rgba(194, 161, 90, 0.2);
  color: var(--brand-gold-soft);
}

/* Ảnh hero: bo tròn mềm hơn, viền kem */
.hero-primary-photo { border-color: #fffdf8; border-radius: 26px; }

/* Feature/pillar: số thứ tự thành huy hiệu tròn nền xanh nhạt (giống icon tròn trong mẫu) */
.pillar-num {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--brand-primary);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.pillar-card { border-radius: 22px; }
.pillar-card:not(.static):hover { border-color: var(--brand-gold); }

/* Thẻ dịch vụ / gallery / bài viết: bo tròn mềm, viền vàng khi hover */
.service-list-card, .topic-card, .faq-item, .aside-card,
.contact-info-card, .gallery-card { border-radius: 22px; }
.gallery-card:hover, .service-list-card:hover, .topic-card:not(.static):hover { border-color: var(--brand-gold); }

/* Section trồi lên chồng nhẹ như mẫu (feature row dưới hero) */
.pillars-section { margin-top: -36px; position: relative; z-index: 2; }
.pillars-section .container > .pillar-grid,
.pillars-section .pillar-grid { }

/* Dải CTA = card xanh rêu bo tròn nổi trên nền kem (như banner cuối mẫu) */
.cta-band {
  background: transparent;
  padding: 20px 0 60px;
}
.cta-band .container {
  background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald-dark) 100%);
  border-radius: 28px;
  padding: 52px 48px;
  box-shadow: 0 24px 60px rgba(14, 47, 39, 0.25);
  position: relative;
  overflow: hidden;
}
/* Nút vàng đồng trên nền xanh của dải CTA + section BHYT */
.cta-band .btn-main-gold,
.bhyt-photo-section .btn-main-gold {
  background: linear-gradient(135deg, var(--brand-gold-bright), var(--brand-gold));
  color: var(--emerald-dark);
  box-shadow: 0 8px 22px rgba(194, 161, 90, 0.35);
}
.cta-band .btn-main-gold:hover,
.bhyt-photo-section .btn-main-gold:hover {
  background: var(--brand-gold-bright);
  color: var(--emerald-dark);
}
.cta-band .btn-main-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.cta-band .btn-main-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* Section BHYT: nền xanh rêu đậm (đồng bộ tông mẫu) */
.bhyt-photo-section {
  background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald-dark) 100%);
  padding: 72px 0;
}
.bhyt-photo-frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.bhyt-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Trang con: hero nền kem, tiêu đề xanh rêu; badge tag xanh nhạt */
.page-hero { background: linear-gradient(180deg, #fffdf8 0%, var(--bg-main) 100%); }

/* Tag BHYT giữ nền xanh nhạt, tag tự trả nền vàng nhạt */
.service-card-tag.tag-bhyt { background: var(--teal-light); color: var(--teal-primary); }
.service-card-tag.tag-self { background: #f6efe0; color: #9a7b33; }

/* --- Bang gia theo nhom --- */
.price-group-title {
  font-size: 1.15rem;
  margin: 30px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--brand-gold);
  display: inline-block;
}
.price-table td:nth-child(3) { text-align: right; white-space: nowrap; font-weight: 600; color: var(--brand-brown); }
.price-table td:nth-child(2) { text-align: center; }

/* Fix: badge BHYT trong bang gia hien inline (class goc dung position:absolute) */
.price-table .service-card-tag {
  position: static;
  display: inline-block;
  top: auto; right: auto;
  font-size: 0.72rem;
  padding: 3px 10px;
}

/* Fix: badge "Thuoc he thong Y khoa Ky Hoa" cach dong Email phia tren */
.footer-sitemap .footer__system-note {
  margin-top: 18px;
  margin-bottom: 0;
}
