/* ==========================================================================
   PHÒNG CHẨN TRỊ YHCT PHẠM BÁ TUÂN - DESIGN SYSTEM & STYLESHEET
   Inspiration: Bernard Healthcare Medical Standard (bernard.vn)
   Palette: Emerald Jade (#0D4E3A), Imperial Gold (#C69A39), Warm Silk (#FBF9F5)
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary: #0D4E3A;          /* Royal Herbal Jade */
  --primary-dark: #083427;     /* Deep Forest Jade */
  --primary-light: #166B50;    /* Vibrant Herbal Emerald */
  --primary-subtle: #EAF3EF;   /* Soft Jade Tint */
  --primary-glow: rgba(13, 78, 58, 0.15);

  --gold: #C69A39;             /* Imperial Gold */
  --gold-dark: #A37A23;        /* Antique Gold */
  --gold-light: #E4BD68;       /* Bright Shimmer Gold */
  --gold-subtle: #FAF4E6;      /* Soft Gold Wash */

  --accent-red: #9B2C2C;       /* Traditional Herb Red Seal */
  --accent-blue: #1D4ED8;      /* Modern Clinical Blue */
  --accent-teal: #0F766E;

  --bg-page: #FBF9F5;          /* Warm Ancient Paper / Silk Tone */
  --bg-surface: #FFFFFF;       /* Pure White Card */
  --bg-surface-alt: #F4EFE6;   /* Light Bamboo / Cream */
  --bg-dark: #0A1C15;          /* Deep Dark Jade for Footer */
  --bg-dark-card: #122820;

  --text-main: #1A2721;        /* Deep Charcoal Green */
  --text-muted: #5B6B63;       /* Muted Botanical Slate */
  --text-light: #94A3B8;       /* Subtle Grey */
  --text-white: #FFFFFF;

  --border-color: #E6DFD5;     /* Warm Cream Border */
  --border-focus: #0D4E3A;

  --font-serif: 'Playfair Display', 'Merriweather', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Cinzel Decorative', 'Philosopher', serif;

  --shadow-sm: 0 2px 8px rgba(10, 36, 26, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 36, 26, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 36, 26, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 36, 26, 0.16);
  --shadow-gold: 0 8px 25px rgba(198, 154, 57, 0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1280px;
  --header-height: 72px;
  --topbar-height: 40px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar-height) + var(--header-height) + 12px);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: calc(var(--topbar-height) + var(--header-height));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  max-width: 100%;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-white { color: var(--text-white); }
.text-center { text-align: center; }

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(198, 154, 57, 0.3);
  margin-bottom: 14px;
}

.section-badge.badge-primary {
  background: var(--primary-subtle);
  color: var(--primary-dark);
  border-color: rgba(13, 78, 58, 0.2);
}

.section-title {
  margin-bottom: 14px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  margin: 14px auto 0 auto;
  border-radius: 2px;
}

.section-title.title-left::after {
  margin-left: 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  letter-spacing: 0.3px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(13, 78, 58, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 78, 58, 0.35);
  color: var(--text-white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(198, 154, 57, 0.4);
  color: #FFFFFF;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary-dark);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   TOP BAR & STREAMLINED HEADER
   ========================================================================== */
.top-bar {
  background: var(--primary-dark);
  color: #D1E5DE;
  font-size: 0.82rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item i {
  color: var(--gold);
  font-size: 0.85rem;
}

.top-bar-item a:hover {
  color: var(--gold-light);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.patient-portal-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.82rem;
}

.patient-portal-btn:hover {
  color: #FFFFFF;
}

/* --- Main Header --- */
.site-header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(10, 36, 26, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  flex-wrap: nowrap;
  gap: 14px;
}

.site-header .header-inner {
  max-width: 1720px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Compact two-line clinic brand */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.logo-symbol {
  width: 54px;
  height: 54px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  border: 0;
}

.logo-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-clinic-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
  line-height: 1.12;
}

.logo-clinic-name-top {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.logo-clinic-name-main {
  margin-top: 3px;
  font-size: 1.22rem;
  letter-spacing: 0.15px;
}

/* Streamlined Single-Line Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  word-spacing: 0.5px;
}

.nav-link i.fa-chevron-down {
  font-size: 0.6rem;
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

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

.nav-item:hover > .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 110;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-link i {
  color: var(--gold);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

.dropdown-link:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  transform: translateX(3px);
}

/* Header Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.search-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background: var(--bg-page);
  border: 1px solid var(--border-color);
}

.search-toggle-btn:hover {
  color: var(--primary);
  background: var(--primary-subtle);
  border-color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--primary-dark);
  background: var(--primary-subtle);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1000;
  box-shadow: var(--shadow-xl);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
  background: var(--primary-subtle);
  color: var(--primary);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO BANNER & QUICK BOOKING
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 760px;
  background: var(--primary-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-bottom: 0;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-1 {
  background: linear-gradient(90deg, rgba(5, 35, 25, 0.92) 0%, rgba(7, 48, 34, 0.78) 44%, rgba(5, 28, 21, 0.16) 72%, rgba(5, 28, 21, 0.08) 100%),
              url('../images/banner-suy-gian-tinh-mach.png') center/cover no-repeat;
  background-position: center, 72% center;
}

.hero-slide-2 {
  background: linear-gradient(90deg, rgba(5, 35, 25, 0.92) 0%, rgba(7, 48, 34, 0.78) 44%, rgba(5, 28, 21, 0.16) 72%, rgba(5, 28, 21, 0.08) 100%),
              url('../images/banner-hiem-muon.png') center/cover no-repeat;
  background-position: center, 72% center;
}

.hero-slide-3 {
  background: linear-gradient(90deg, rgba(5, 35, 25, 0.92) 0%, rgba(7, 48, 34, 0.78) 44%, rgba(5, 28, 21, 0.16) 72%, rgba(5, 28, 21, 0.08) 100%),
              url('../images/banner-xuong-khop.png') center/cover no-repeat;
  background-position: center, 72% center;
}

.hero-slide-4 {
  background: linear-gradient(90deg, rgba(5, 35, 25, 0.92) 0%, rgba(7, 48, 34, 0.78) 44%, rgba(5, 28, 21, 0.16) 72%, rgba(5, 28, 21, 0.08) 100%),
              url('../images/banner-ho-tro-u.png') center/cover no-repeat;
  background-position: center, 72% center;
}

.hero-pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(198, 154, 57, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* 4 Disease Quick Switcher Tabs on Banner */
.hero-disease-tabs {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 15;
  background: linear-gradient(to top, rgba(3, 20, 14, 0.96) 0%, rgba(3, 20, 14, 0.72) 70%, transparent 100%);
  padding: 12px 0 16px 0;
}

.disease-tabs-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.disease-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.disease-tab .tab-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-light);
  opacity: 0.75;
}

.disease-tab .tab-info {
  display: flex;
  flex-direction: column;
}

.disease-tab .tab-info strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

.disease-tab .tab-info small {
  font-size: 0.72rem;
  color: #B5D1C7;
  white-space: nowrap;
}

.disease-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold);
}

.disease-tab.active {
  background: rgba(198, 154, 57, 0.22);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.disease-tab.active .tab-num {
  opacity: 1;
  color: #FFDF80;
}

.disease-tab.active .tab-info strong {
  color: #FFF;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: min(760px, calc(100% - 32px));
  max-width: 760px;
  padding: 44px 0 140px;
  color: #FFFFFF;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(198, 154, 57, 0.22);
  border: 1px solid rgba(228, 189, 104, 0.5);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  max-width: 100%;
  white-space: normal;
  line-height: 1.3;
}

.hero-title {
  color: #FFFFFF;
  font-size: clamp(2.1rem, 3.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  overflow-wrap: anywhere;
}

.hero-title span {
  color: var(--gold-light);
  font-style: italic;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #E2ECE8;
  margin-bottom: 24px;
  max-width: 680px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-buttons .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.highlight-text {
  min-width: 0;
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(198, 154, 57, 0.2);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.highlight-text h5 {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.highlight-text p {
  color: #B5D1C7;
  font-size: 0.76rem;
  margin: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.hero-slider-nav {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 12;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(8, 52, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
}

.slider-btn:hover {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
}

.quick-booking-section {
  position: relative;
  z-index: 20;
  margin-top: 32px;
  margin-bottom: 40px;
}

.booking-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
}

.booking-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.booking-form-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.booking-form-header h3 i {
  color: var(--gold);
}

.booking-guarantee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.booking-guarantee i {
  color: #16A34A;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  align-items: end;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: var(--bg-page);
  font-size: 0.88rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ==========================================================================
   ABOUT & WORKFLOW
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.about-floating-card {
  position: static;
  background: #FFFFFF;
  padding: 16px 18px;
  margin-top: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  max-width: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.floating-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-text h4 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.floating-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.feature-box-wide {
  grid-column: 1 / -1;
}

.feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.feature-box i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 2px;
}

.feature-box h5 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.feature-box p {
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
}

.workflow-section {
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-surface-alt) 100%);
}

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

.workflow-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.workflow-step-num {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: rgba(198, 154, 57, 0.25);
}

.workflow-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--primary-subtle);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.workflow-card:hover .workflow-icon-box {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--gold);
  transform: scale(1.06);
}

.workflow-card h4 {
  font-size: 1.18rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.workflow-card .step-latin {
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.workflow-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   SERVICES & DEPARTMENTS
   ========================================================================== */
.services-nav-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.service-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-tab-btn i {
  color: var(--gold);
  font-size: 1rem;
}

.service-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.service-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(13, 78, 58, 0.3);
}

.service-tab-btn.active i {
  color: var(--gold-light);
}

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

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.service-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 78, 58, 0.88);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(228, 189, 104, 0.4);
}

.service-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h4 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.service-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}


.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.service-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--gold-dark);
  gap: 10px;
}

/* ==========================================================================
   DOCTORS SECTION
   ========================================================================== */
.doctors-section {
  background: var(--bg-page);
}

.about-doctors-section {
  margin: 72px 0;
  padding: 64px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-doctors-section .section-header {
  max-width: 1120px;
}

@media (min-width: 769px) {
  .about-doctors-section .section-title {
    font-size: 2.5rem;
    white-space: nowrap;
  }
}

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

.doctor-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

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

.doctor-img-box {
  position: relative;
  height: 300px;
  background: linear-gradient(180deg, #E2ECE8 0%, #CCDED7 100%);
  overflow: hidden;
}

.doctor-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.doctor-card:hover .doctor-img-box img {
  transform: scale(1.04);
}

.doctor-experience-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(13, 78, 58, 0.92);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--gold);
}

.doctor-info {
  padding: 22px;
  text-align: center;
}

.doctor-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.doctor-info h4 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.doctor-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.doctor-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* ==========================================================================
   HERBAL PHARMACY & GACP-WHO SECTION
   ========================================================================== */
.pharmacy-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.pharmacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.pharmacy-content h2 {
  color: #FFFFFF;
  margin-bottom: 18px;
}

.pharmacy-content p {
  color: #D6E8E2;
  font-size: 1rem;
  line-height: 1.7;
}

.pharmacy-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.pillar-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 18px;
  backdrop-filter: blur(10px);
}

.pillar-item i {
  color: var(--gold-light);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.pillar-item h5 {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.pillar-item p {
  font-size: 0.8rem;
  color: #B2D4C8;
  margin: 0;
}

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

.pharmacy-gallery-img {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.pharmacy-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* ==========================================================================
   TRANSPARENT PRICE LIST
   ========================================================================== */
.pricing-section {
  background: #FFFFFF;
}

.pricing-table-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.pricing-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 14px;
}

.pricing-cat-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.price-filter-btn {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.price-filter-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.price-search-box {
  position: relative;
  min-width: 220px;
}

.price-search-box input {
  width: 100%;
  padding: 7px 14px 7px 34px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
}

.price-search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.pricing-table tr:hover {
  background: var(--primary-subtle);
}

.pricing-name {
  font-weight: 700;
  color: var(--primary-dark);
}

.pricing-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.pricing-price {
  font-weight: 800;
  color: var(--accent-red);
  font-size: 0.95rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background: var(--bg-surface-alt);
}

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

.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.rating-stars {
  color: #F59E0B;
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.author-info h5 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0;
}

/* 4 Video Youtube Testimonials Grid */
.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1200px) {
  .video-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .video-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.video-testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.video-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold);
}

.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  overflow: hidden;
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  width: fit-content;
}

.badge-tinh-mach { background: rgba(13, 78, 58, 0.1); color: var(--primary); }
.badge-hiem-muon { background: rgba(147, 51, 234, 0.1); color: #9333EA; }
.badge-xuong-khop { background: rgba(198, 154, 57, 0.12); color: var(--gold-dark); }
.badge-ho-tro-u { background: rgba(2, 132, 199, 0.1); color: #0284C7; }

.video-card-body h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.video-card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

/* ==========================================================================
   NEWS, ARTICLES & DEDICATED BLOG HUB STYLES
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.patient-stories-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.health-guide-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
}

.health-guide-section .section-header {
  max-width: 1120px;
}

@media (min-width: 769px) {
  .health-guide-section .section-title {
    font-size: 2.6rem;
    white-space: nowrap;
  }
}

.news-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.content-card-clickable {
  cursor: pointer;
}

.content-card-clickable:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.article-detail-header {
  text-align: center;
  margin-bottom: 28px;
}

.article-detail-header h1 {
  max-width: 800px;
  margin: 14px auto 16px;
  color: var(--primary-dark);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.28;
}

.article-hero-image,
.article-content-image {
  display: block;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.article-hero-image {
  max-height: 520px;
  margin-bottom: 32px;
}

.article-content-image {
  max-height: 540px;
  margin: 22px auto;
}

.article-acupoint-image {
  width: auto;
  max-width: min(100%, 640px);
  height: auto;
  object-fit: contain;
}

.article-detail-content {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.85;
}

.article-detail-content h2 {
  margin: 34px 0 14px;
  color: var(--primary-dark);
  font-size: 1.55rem;
}

.article-detail-content h3 {
  margin: 26px 0 12px;
  color: var(--primary);
  font-size: 1.22rem;
}

.article-detail-content p,
.article-detail-content ul {
  margin-bottom: 16px;
}

.article-detail-content ul {
  padding-left: 24px;
}

.article-detail-content li {
  margin-bottom: 8px;
}

.article-lead {
  color: #334155;
  font-size: 1.08rem;
  font-weight: 500;
}

.article-note,
.article-warning,
.article-cta {
  margin: 24px 0;
  padding: 20px 22px;
  border-radius: 12px;
}

.article-note {
  background: #EFF6FF;
  border-left: 4px solid #2563EB;
}

.article-warning {
  background: #FFF7ED;
  border-left: 4px solid #EA580C;
  font-weight: 600;
}

.article-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #FFFFFF;
  text-align: center;
}

.article-cta strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.article-not-found {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.article-not-found i {
  margin-bottom: 16px;
  font-size: 3rem;
}

@media (max-width: 640px) {
  #articleDetailContainer {
    padding: 24px 18px !important;
  }
}

.news-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.news-user-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

.news-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.news-cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-body h4 {
  font-size: 1.12rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.news-body h4 a:hover {
  color: var(--gold-dark);
}

.news-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.news-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.news-youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: #FFF0F0;
  color: #DC2626;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.news-youtube-link:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.patient-story-empty {
  grid-column: 1 / -1;
  padding: 36px 20px;
  text-align: center;
  background: #FFFFFF;
  border: 1px dashed var(--gold);
  border-radius: var(--radius-lg);
}

.patient-story-empty > i {
  display: block;
  margin-bottom: 12px;
  color: #DC2626;
  font-size: 2.5rem;
}

.patient-story-empty h4 { margin-bottom: 6px; }
.patient-story-empty p { margin-bottom: 18px; color: var(--text-muted); }

.news-readmore {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-readmore:hover {
  color: var(--gold-dark);
  gap: 9px;
}

.news-delete-btn {
  color: var(--accent-red);
  font-size: 0.82rem;
  padding: 4px 8px;
  border-radius: 4px;
}

.news-delete-btn:hover {
  background: #FEE2E2;
}

/* News Hub Controls */
.news-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.news-cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.news-filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.news-filter-pill.active, .news-filter-pill:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.news-search-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-search-input {
  position: relative;
}

.news-search-input input {
  padding: 8px 16px 8px 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  min-width: 220px;
}

.news-search-input i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Single Article Layout */
.article-header {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.article-breadcrumbs a:hover {
  color: var(--primary);
}

.article-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item i {
  color: var(--gold);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2D3748;
}

.article-content h2, .article-content h3 {
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.article-content p {
  margin-bottom: 20px;
  font-size: 1.02rem;
  color: #334155;
}

.article-toc {
  background: var(--bg-surface-alt);
  padding: 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  margin: 30px 0;
}

.article-toc h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.article-toc ul {
  padding-left: 20px;
  list-style: decimal;
}

.article-toc li {
  margin-bottom: 8px;
}

.article-toc a {
  color: var(--primary);
  font-weight: 500;
}

.article-toc a:hover {
  text-decoration: underline;
}

.article-callout {
  background: var(--primary-subtle);
  border: 1px solid #B5D1C7;
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin: 28px 0;
}

/* ========================================================================== 
   CONSULTATION CTA & BANNER
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, #0A3426 0%, #0D4E3A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(228, 189, 104, 0.3);
}

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

.cta-banner-text {
  max-width: 600px;
}

.cta-banner-text h3 {
  color: #FFFFFF;
  font-size: 1.85rem;
  margin-bottom: 10px;
}

.cta-banner-text p {
  color: #C8DFD7;
  font-size: 1rem;
  margin: 0;
}

.cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #BACBC5;
  padding-top: 60px;
  padding-bottom: 36px;
  font-size: 0.9rem;
  border-top: 2px solid var(--gold-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.footer-brand p {
  color: #A2B9B1;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #A2B9B1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-links a i {
  font-size: 0.65rem;
  color: var(--gold);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.newsletter-input-group {
  display: flex;
  position: relative;
}

.newsletter-input-group input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-size: 0.85rem;
}

.newsletter-input-group input:focus {
  outline: none;
  border-color: var(--gold);
}

.newsletter-input-group button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  padding: 0 14px;
  background: var(--gold);
  color: #FFFFFF;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.82rem;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-btn:hover {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: #7E978E;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  font-size: 1.3rem;
  position: relative;
  transition: all var(--transition-normal);
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-zalo { background: #FFFFFF; }
.zalo-mark {
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  color: transparent;
  background: url('../images/zalo-logo.png') center / contain no-repeat;
}
.float-messenger { background: linear-gradient(135deg, #00B2FF 0%, #006AFF 55%, #A033FF 100%); }
.float-call { background: #16A34A; animation: pulse-green 2s infinite; }
.float-book { background: var(--gold); animation: pulse-gold 2s infinite; }

.float-scroll-top {
  background: var(--primary-dark);
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.float-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(198, 154, 57, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(198, 154, 57, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 154, 57, 0); }
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 28, 21, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  position: relative;
  transform: scale(0.95) translateY(15px);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 20px 24px;
  background: var(--primary-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.modal-close-btn:hover {
  background: var(--accent-red);
  color: #FFFFFF;
}

.modal-body {
  padding: 24px;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-form-grid .full-width {
  grid-column: span 2;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 14px 18px;
  border-left: 5px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  animation: slideInRight 0.3s ease;
}

.toast.toast-success { border-left-color: #16A34A; }
.toast.toast-error { border-left-color: var(--accent-red); }

.toast-icon {
  font-size: 1.3rem;
}

.toast-success .toast-icon { color: #16A34A; }
.toast-error .toast-icon { color: var(--accent-red); }

.toast-content h5 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.toast-content p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-muted);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.contact-form-card {
  padding: 36px;
}

.contact-info-card {
  padding: 32px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS & MOBILE OPTIMIZATION
   ========================================================================== */

/* Prevent mobile horizontal overflow */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 1420px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 1080px) {
  .hero-section { min-height: 760px; padding: 0; }
  .hero-content { width: min(700px, calc(100% - 48px)); padding: 40px 0 130px; }
  .hero-title { font-size: clamp(2rem, 4.5vw, 2.8rem); }
  .hero-highlights { grid-template-columns: repeat(2, 1fr); }
  .quick-booking-section { margin-top: 24px; margin-bottom: 30px; }
  .booking-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-grid .btn { grid-column: span 2; }
  .about-grid, .pharmacy-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-floating-card { position: static; margin-top: 16px; width: 100%; max-width: 100%; }
  .services-grid, .doctors-grid, .testimonials-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-section { margin-bottom: 24px; }
  .site-footer { padding-top: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { 
    --topbar-height: 0px; 
    --header-height: 64px; 
  }
  .top-bar { display: none; }

  /* Header & Logo Mobile */
  .site-header { height: 64px; }
  .site-header .header-inner { padding-left: 12px; padding-right: 12px; gap: 10px; }
  .logo-symbol { width: 40px; height: 40px; }
  .logo-clinic-name-top { font-size: 0.66rem; letter-spacing: 0; }
  .logo-clinic-name-main { font-size: 0.94rem; margin-top: 1px; }
  .header-actions { gap: 6px; }
  .header-actions .btn span { display: none; }
  .header-actions .btn { padding: 8px 12px; font-size: 0.85rem; }
  .search-toggle-btn { width: 36px; height: 36px; font-size: 0.9rem; }
  .mobile-menu-toggle { width: 38px; height: 38px; font-size: 1.05rem; }

  /* Typography & Sections */
  .container { padding-left: 14px; padding-right: 14px; }
  .section-padding { padding-top: 38px; padding-bottom: 38px; }
  .section-title { font-size: 1.5rem; line-height: 1.3; }
  .section-subtitle { font-size: 0.86rem; }
  .section-badge { font-size: 0.72rem; padding: 4px 12px; }

  /* Hero Section Mobile */
  .hero-section {
    display: block;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }
  .hero-slider {
    position: relative;
    width: 100%;
    height: auto;
  }
  .hero-slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
  }
  .hero-slide-1,
  .hero-slide-2,
  .hero-slide-3,
  .hero-slide-4 {
    background-position: center, 78% center;
  }
  .hero-slide.active {
    display: block;
    position: relative;
    inset: auto;
  }
  .hero-slide > .container {
    height: auto !important;
    min-height: 0;
    align-items: flex-start !important;
  }
  .hero-content { width: 100%; max-width: none; padding: 32px 0 24px; }
  .hero-badge { font-size: 0.72rem; padding: 6px 14px; letter-spacing: 0.8px; margin-bottom: 12px; }
  .hero-title { font-size: 1.65rem; line-height: 1.25; margin-bottom: 12px; }
  .hero-desc { font-size: 0.88rem; line-height: 1.55; margin-bottom: 18px; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 10px; margin-bottom: 20px; }
  .hero-buttons .btn { width: 100%; justify-content: center; padding: 12px 18px; font-size: 0.92rem; }
  .hero-slider-nav { display: none; }
  .slider-btn { width: 40px; height: 40px; font-size: 0.9rem; }
  .hero-highlights { grid-template-columns: 1fr; gap: 8px; padding-top: 16px; }
  .highlight-item { padding: 10px 14px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.12); }
  .highlight-icon { width: 36px; height: 36px; font-size: 0.95rem; }
  .highlight-text h5 { font-size: 0.88rem; }
  .highlight-text p { font-size: 0.74rem; }

  /* Hero Disease Tabs Mobile */
  .hero-disease-tabs {
    position: relative;
    bottom: auto;
    left: auto;
    background: rgba(3, 20, 14, 0.96);
    padding: 10px 0 14px 0;
  }
  .disease-tabs-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .disease-tab {
    padding: 8px 10px;
    gap: 8px;
  }
  .disease-tab .tab-num {
    font-size: 0.95rem;
  }
  .disease-tab .tab-info strong {
    font-size: 0.78rem;
    white-space: normal;
    line-height: 1.2;
  }
  .disease-tab .tab-info small {
    display: none;
  }

  /* Quick Booking Mobile */
  .quick-booking-section { margin-top: 14px; margin-bottom: 20px; }
  .booking-card { padding: 18px 14px; border-radius: var(--radius-md); }
  .booking-form-header { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 14px; }
  .booking-form-header h3 { font-size: 1.05rem; }
  .booking-grid { grid-template-columns: 1fr; gap: 10px; }
  .booking-grid .btn { grid-column: span 1; width: 100%; height: 46px; }
  .form-control { height: 44px; font-size: 16px; }

  /* Services & Specializations */
  .service-tab-buttons { flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
  .service-tab-btn { padding: 8px 14px; font-size: 0.82rem; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card-img { height: 180px; }
  .service-card-body { padding: 16px; }
  .service-card-body h4 { font-size: 1.12rem; margin-bottom: 8px; }
  .service-card-body p { font-size: 0.85rem; line-height: 1.5; margin-bottom: 14px; }

  /* About & Workflow */
  .about-main-img { height: 260px; }
  .about-features { grid-template-columns: 1fr; gap: 10px; margin: 16px 0; }
  .feature-box-wide { grid-column: auto; }
  .feature-box { padding: 12px; }
  .workflow-grid { grid-template-columns: 1fr; gap: 14px; }
  .workflow-card { padding: 22px 16px; }
  .contact-form-card, .contact-info-card { padding: 20px 14px; }

  /* Doctors Mobile */
  .doctors-grid { grid-template-columns: 1fr; gap: 20px; }
  .doctor-img-box { height: 270px; }
  .doctor-info { padding: 18px 14px; }
  .doctor-info h4 { font-size: 1.12rem; }
  .doctor-desc { font-size: 0.85rem; line-height: 1.5; }
  .doctor-actions { flex-direction: column; width: 100%; gap: 8px; }
  .doctor-actions .btn { width: 100%; }

  /* Pharmacy / GACP Mobile */
  .pharmacy-pillars { grid-template-columns: 1fr; gap: 12px; }
  .pharmacy-gallery { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .pharmacy-gallery-img { height: 160px !important; }

  /* Cẩm nang: các mẹo dưỡng sinh không giữ bố cục 4 cột trên điện thoại */
  .daily-tips-card { padding: 22px 14px !important; }
  .daily-tips-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .daily-tips-grid > div { padding: 14px !important; min-width: 0; }

  /* Pricing Table Mobile */
  .pricing-filters { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
  .pricing-cat-buttons { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .price-filter-btn { white-space: nowrap; flex-shrink: 0; font-size: 0.78rem; padding: 6px 12px; }
  .price-search-box { width: 100%; min-width: 100%; }
  .pricing-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); }
  .pricing-table { min-width: 760px; }
  .pricing-table th, .pricing-table td { padding: 10px 12px; font-size: 0.82rem; }
  .pricing-table th { font-size: 0.78rem; }

  /* Testimonials & News Mobile */
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card { padding: 18px 14px; }
  .testimonial-text { font-size: 0.86rem; margin-bottom: 14px; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .news-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .news-cat-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .news-filter-pill { white-space: nowrap; flex-shrink: 0; font-size: 0.78rem; }
  .news-search-group { flex-direction: column; width: 100%; }
  .news-search-input { width: 100%; min-width: 100% !important; }
  .news-search-input input { width: 100%; }

  /* CTA Banner Mobile */
  .cta-banner-section { padding: 24px 16px; text-align: center; margin-bottom: 20px; border-radius: var(--radius-md); }
  .cta-banner-text h3 { font-size: 1.3rem; }
  .cta-banner-text p { font-size: 0.86rem; }
  .cta-banner-actions { justify-content: center; width: 100%; gap: 10px; }
  .cta-banner-actions .btn { width: 100%; }

  /* Footer Mobile */
  .site-footer { padding-top: 40px; padding-bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 30px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; }

  /* Modals Mobile */
  .modal-dialog { width: 94%; max-width: 94%; margin: 10px auto; max-height: 90vh; }
  .modal-header { padding: 14px 16px; }
  .modal-header h3 { font-size: 1.05rem; }
  .modal-body { padding: 16px; }
  .modal-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .modal-form-grid .full-width { grid-column: span 1; }
  .modal-form-grid .btn { width: 100%; }

  /* Touch targets and long text */
  button,
  .btn,
  .nav-link,
  .dropdown-link,
  .mobile-nav-link {
    min-height: 44px;
  }
  h1, h2, h3, h4, h5, p, li, a, span {
    overflow-wrap: anywhere;
  }
  input,
  select,
  textarea {
    font-size: 16px !important;
    max-width: 100%;
  }
  textarea.form-control { height: auto; min-height: 110px; }

  /* Detailed specialty pages stack cleanly and keep imagery readable */
  .about-grid > div { width: 100%; min-width: 0; }
  .about-grid img { width: 100%; height: auto; }
  .about-grid li { align-items: flex-start; }

  /* Khi bố cục hai cột chuyển thành một cột, luôn đặt hình minh họa trước
     phần nội dung dù hình nằm bên trái hay bên phải trên màn hình lớn. */
  .about-grid > div:has(img),
  .about-grid > .about-image-wrapper,
  .pharmacy-grid > .pharmacy-gallery {
    order: -1;
  }

  .about-grid > div:has(img) img,
  .pharmacy-grid > .pharmacy-gallery img {
    display: block;
    width: 100%;
  }

  /* Floating Buttons Mobile */
  .floating-actions { bottom: max(14px, env(safe-area-inset-bottom)); right: 10px; gap: 8px; }
  .float-btn { width: 42px; height: 42px; font-size: 1.1rem; }
}

@media (max-width: 420px) {
  .logo-symbol { width: 34px; height: 34px; }
  .logo-clinic-name-top { font-size: 0.58rem; }
  .logo-clinic-name-main { font-size: 0.84rem; }
  .hero-title { font-size: 1.45rem; }
  .pharmacy-gallery { grid-template-columns: 1fr !important; }
  .pharmacy-gallery-img { height: 160px; }
  .daily-tips-grid { grid-template-columns: 1fr !important; }
  .toast { min-width: 260px; padding: 10px 14px; font-size: 0.82rem; }
}

/* Extra safeguards for narrow phones */
@media (max-width: 600px) {
  .site-header .header-inner {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    gap: 8px;
  }

  .brand-logo {
    min-width: 0;
    gap: 7px;
  }

  .logo-clinic-name {
    min-width: 0;
    max-width: calc(100vw - 105px);
  }

  .logo-clinic-name-top,
  .logo-clinic-name-main {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions .search-toggle-btn,
  .header-actions .btn-gold {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .mobile-nav-drawer {
    width: min(300px, 88vw);
    right: min(-300px, -88vw);
  }

  .mobile-nav-drawer.open { right: 0; }

  body > .site-header + section h1 {
    font-size: 1.7rem !important;
    line-height: 1.25 !important;
  }

  body > .site-header + section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

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

  .about-grid > *,
  .pharmacy-grid > *,
  .contact-grid > * {
    min-width: 0;
  }

  .about-content .text-gold {
    font-size: 1.25rem !important;
    line-height: 1.35;
  }

  .modal-dialog,
  .booking-card,
  .contact-form-card,
  .contact-info-card {
    max-width: calc(100vw - 20px);
  }

  .modal-overlay { padding: 10px; }
  .modal-dialog { width: 100%; max-height: calc(100dvh - 20px); }
  .modal-header { position: sticky; top: 0; z-index: 2; }

  .news-card-actions,
  .service-card-footer {
    gap: 10px;
    flex-wrap: wrap;
  }

  .article-detail-header h1 { font-size: 1.55rem; }
  .article-detail-content { font-size: 0.94rem; line-height: 1.7; }
  .article-detail-content h2 { font-size: 1.3rem; line-height: 1.35; }
  .article-detail-content h3 { font-size: 1.12rem; line-height: 1.4; }
  .article-note,
  .article-warning,
  .article-cta { padding: 16px 14px; }
}
