/* ==========================================================================
   Phòng khám ThS.BS.CKII Đoàn Hữu Huy - Nội khoa người lớn và trẻ em
   Editorial Premium Medical Theme inspired by Crafto Design Language
   Color Palette: Deep Naval Blue, Crisp Clinical White, Refined Warm Neutral
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Primary & Neutral Colors */
  --navy-950: #07111e;
  --navy-900: #0b172a;
  --navy-850: #0e1e36;
  --navy-800: #122847;
  --navy-700: #1a365d;
  --navy-600: #254a7c;
  
  --accent-cyan: #0ea5e9;
  --accent-cyan-light: #38bdf8;
  --accent-cyan-dark: #0284c7;
  
  --accent-gold: #c5a880;
  --accent-gold-light: #dfcaa7;
  --accent-gold-dark: #9e7d53;
  --accent-gold-glow: rgba(197, 168, 128, 0.18);

  /* Refined Warm Neutral Editorial Palette */
  --bg-warm-neutral: #ece7df;
  --bg-warm-neutral-alt: #f5f1ea;
  --bg-warm-card-tint: #f8f5ee;
  --border-warm-neutral: #dad4c8;
  --border-warm-subtle: #e2dcd1;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --emerald-600: #059669;
  --emerald-50: #ecfdf5;

  --white: #ffffff;
  --black: #000000;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale - Tightened vertical rhythm */
  --section-py: 72px;
  --section-py-sm: 48px;
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px rgba(7, 17, 30, 0.06);
  --shadow-card-hover: 0 16px 32px rgba(7, 17, 30, 0.1);
  --shadow-dark-card: 0 16px 36px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background-color: var(--white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--white);
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea {
  font: inherit;
}

/* ==========================================================================
   PROGRESSIVE ENHANCEMENT: Base Visible State
   Content is 100% visible by default!
   ========================================================================== */
.reveal,
.reveal-init {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.js-ready .reveal-init {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  html.js-ready .reveal-init.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  html.js-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }

  html.js-ready .reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
  scroll-margin-top: 104px;
}

.hero-section {
  scroll-margin-top: 104px;
}

@media (max-width: 768px) {
  .section,
  .hero-section {
    scroll-margin-top: 84px;
  }
}

/* Section Background Variations */
.bg-light,
.bg-neutral-warm {
  background-color: var(--bg-warm-neutral);
}

.bg-white {
  background-color: var(--white);
}

.bg-navy {
  background-color: var(--navy-950);
}

.text-white { color: var(--white) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-muted { color: var(--slate-400) !important; }
.font-bold { font-weight: 700; }
.mb-4 { margin-bottom: 20px; }

/* Section Header Typography */
.section-header {
  margin-bottom: 32px;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan-dark);
  margin-bottom: 10px;
}

.section-tag.text-gold {
  color: var(--accent-gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.title-underline {
  width: 48px;
  height: 3px;
  background-color: var(--navy-800);
  margin-bottom: 18px;
  border-radius: 2px;
}

.title-underline.center {
  margin-left: auto;
  margin-right: auto;
}

.title-underline.gold {
  background-color: var(--accent-gold);
}

.section-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--slate-600);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.lead-text {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--slate-800);
  font-weight: 500;
  margin-bottom: 12px;
}

.body-text {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--slate-600);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  margin-right: -6px;
  margin-left: 2px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon-circle {
  transform: translateX(3px);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--navy-950);
  border-color: var(--accent-gold);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.3);
}

.btn-gold .btn-icon-circle {
  background-color: var(--navy-950);
  color: var(--accent-gold);
}

.btn-gold:hover {
  background-color: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  transform: translateY(-2px);
  color: var(--navy-950);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-dark:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Header & Sticky Navigation (Clean & Simplified)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: transparent;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: rgba(7, 17, 30, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-crest {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  border: 1.5px solid rgba(197, 168, 128, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-cyan-light);
  line-height: 1.3;
}

/* Desktop Nav (Simplified: 4 Items) */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
  color: var(--white);
}

.desktop-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--transition-fast);
}

.desktop-nav .nav-link:hover::after,
.desktop-nav .nav-link.active::after {
  width: 100%;
}

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition-fast);
}

.header-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan-light);
}

.header-phone:hover {
  color: var(--accent-cyan-light);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  color: var(--white);
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  height: 100svh;
  background-color: var(--navy-950);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 999;
  transition: right var(--transition-normal);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}

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

.mobile-drawer-header {
  margin-bottom: 24px;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-gold);
  padding-left: 4px;
}

.mobile-drawer-footer {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-note {
  font-size: 0.78rem;
  color: var(--slate-400);
  text-align: center;
}

/* ==========================================================================
   01. Hero Section - True Full Viewport Height (100svh / 100vh)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 40px;
  background-color: var(--navy-950);
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 25%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(7, 17, 30, 0.98) 0%,
    rgba(7, 17, 30, 0.95) 28%,
    rgba(7, 17, 30, 0.76) 38%,
    rgba(7, 17, 30, 0.28) 48%,
    rgba(7, 17, 30, 0.05) 58%,
    transparent 68%
  );
}

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-content {
  max-width: 620px;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--accent-cyan-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-supporting {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.hero-credibility {
  font-size: 0.95rem;
  color: var(--slate-300);
  line-height: 1.55;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cred-dot {
  color: var(--accent-gold);
  font-size: 0.75rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.cred-text {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.cred-part {
  display: inline;
}

.cred-bullet {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
}

/* ==========================================================================
   02. Phòng khám / Overview Section (White Canvas with Warm Accent Pillars)
   ========================================================================== */
.section-clinic {
  background-color: var(--white);
  padding-top: 72px;
  padding-bottom: 56px;
}

.clinic-intro-block {
  max-width: 980px;
  margin: 0 auto;
}

.clinic-intro-header {
  margin-bottom: 32px;
}

.clinic-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.pillar-card {
  background-color: var(--bg-warm-neutral-alt);
  border: 1px solid var(--border-warm-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 24px rgba(7, 17, 30, 0.07);
  background-color: var(--white);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--accent-cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pillar-title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--slate-900);
  margin-bottom: 6px;
  line-height: 1.35;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ==========================================================================
   03. Section Nội khoa người lớn (Refined Warm Neutral Band)
   ========================================================================== */
.section-adult {
  background-color: var(--bg-warm-neutral);
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid var(--border-warm-neutral);
  border-bottom: 1px solid var(--border-warm-neutral);
}

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.section-adult .service-card {
  background: var(--white);
  border: 1px solid var(--border-warm-neutral);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(7, 17, 30, 0.04);
}

.section-adult .service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(7, 17, 30, 0.09);
  border-color: var(--accent-gold);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--bg-warm-neutral-alt);
  color: var(--navy-800);
  border: 1px solid var(--border-warm-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.service-card:hover .card-icon {
  background: var(--navy-900);
  color: var(--accent-gold);
  border-color: var(--navy-900);
}

.card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ==========================================================================
   04. Section Nội khoa trẻ em (Crisp White Canvas with Tinted Cards)
   ========================================================================== */
.section-pediatric {
  background-color: var(--white);
  padding-top: 60px;
  padding-bottom: 64px;
}

.section-pediatric .service-card {
  background: var(--bg-warm-card-tint);
  border: 1px solid var(--border-warm-subtle);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(7, 17, 30, 0.03);
}

.section-pediatric .service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(7, 17, 30, 0.08);
  border-color: var(--accent-cyan);
  background: var(--white);
}

/* ==========================================================================
   05. Section Tim mạch / Thế mạnh chuyên sâu (Deep Navy Section)
   ========================================================================== */
.section-cardiology {
  background-color: var(--navy-950);
  padding-top: 72px;
  padding-bottom: 72px;
}

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

.cardio-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  position: relative;
}

.cardio-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.cardio-num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  opacity: 0.6;
  margin-bottom: 12px;
}

.cardio-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.cardio-card-desc {
  font-size: 0.92rem;
  color: var(--slate-300);
  line-height: 1.6;
}

/* ==========================================================================
   06. Giới thiệu Bác sĩ Huy (White Canvas)
   ========================================================================== */
.section-doctor {
  background-color: var(--white);
  padding-top: 72px;
  padding-bottom: 72px;
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.doctor-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-warm-subtle);
}

.doctor-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
}

.photo-caption {
  background: var(--bg-warm-neutral-alt);
  padding: 12px 18px;
  font-size: 0.82rem;
  color: var(--slate-600);
  font-style: italic;
  border-top: 1px solid var(--border-warm-subtle);
}

.doctor-subtitle {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--accent-cyan-dark);
  margin-bottom: 18px;
}

.doctor-bio {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--slate-700);
  margin-bottom: 24px;
}

.doctor-bio p + p {
  margin-top: 10px;
}

.doctor-details-list {
  border-top: 1px solid var(--border-warm-subtle);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-row {
  display: flex;
  gap: 12px;
  font-size: 0.92rem;
}

.detail-label {
  font-weight: 700;
  color: var(--slate-800);
  min-width: 130px;
}

.detail-val {
  color: var(--slate-600);
}

/* ==========================================================================
   07. Hoạt động chuyên môn (Refined Warm Neutral Band)
   ========================================================================== */
.section-activities {
  background-color: var(--bg-warm-neutral);
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: 1px solid var(--border-warm-neutral);
  border-bottom: 1px solid var(--border-warm-neutral);
}

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

.activity-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-warm-neutral);
  box-shadow: 0 4px 18px rgba(7, 17, 30, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(7, 17, 30, 0.1);
  border-color: var(--accent-gold);
}

.activity-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

.activity-content {
  padding: 18px 20px 22px;
}

.activity-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.activity-caption {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ==========================================================================
   08. Liên hệ & Chỉ đường (With Clinic Info, Hours, and Real Clinic Photo)
   ========================================================================== */
.section-contact {
  background-color: var(--bg-warm-neutral);
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: 1px solid var(--border-warm-neutral);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: stretch;
}

.contact-info-card {
  background: var(--navy-950);
  color: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-card-header {
  margin-bottom: 22px;
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.25;
}

.contact-license {
  font-size: 0.86rem;
  color: var(--accent-gold);
  margin-bottom: 0;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

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

.c-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.c-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-bottom: 2px;
}

.c-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.c-val a:hover {
  color: var(--accent-gold);
}

/* Compact Clinic Hours Subsection inside Info Card */
.contact-hours-block {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 26px;
}

.contact-hours-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.contact-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  line-height: 1.5;
}

.hours-day {
  color: var(--slate-300);
}

.hours-time {
  color: var(--white);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hours-time.hours-off {
  color: var(--slate-400);
  font-weight: 400;
}

.contact-hours-note {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--accent-gold);
  margin-top: 12px;
  opacity: 0.95;
}

.contact-actions-row {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Right-Side Clinic Facade Card (phongkham.webp) */
.contact-media-col {
  display: flex;
  height: 100%;
}

.clinic-facade-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark-card);
  border: 1px solid var(--border-warm-neutral);
  background-color: var(--navy-950);
}

.clinic-facade-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform var(--transition-slow);
}

.clinic-facade-card:hover .clinic-facade-img {
  transform: scale(1.02);
}

/* ==========================================================================
   09. Footer (Clinic-First Identity)
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.05fr 0.95fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand .brand-title {
  white-space: nowrap;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--slate-400);
  line-height: 1.65;
  margin-bottom: 14px;
}

.footer-license {
  font-size: 0.82rem;
  color: var(--accent-gold);
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links, .footer-hours-list, .footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--slate-400);
}

.footer-links a:hover, .footer-contact-list a:hover {
  color: var(--accent-gold);
}

.footer-hours-list strong {
  color: var(--white);
}

.footer-note {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-style: italic;
  margin-top: 6px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--accent-cyan-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  :root {
    --section-py: 64px;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions .header-phone {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .clinic-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .clinic-facade-card {
    height: 440px;
    min-height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 50px;
    --section-py-sm: 36px;
  }

  /* Compact Mobile Header (64px - 68px height) */
  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: rgba(7, 17, 30, 0.96);
  }

  .brand-crest {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .brand-title {
    font-size: clamp(0.76rem, 3.6vw, 0.9rem);
    white-space: nowrap;
  }

  .brand-subtitle {
    font-size: 0.65rem;
    white-space: nowrap;
  }

  /* Mobile Hero - True 100svh / 100vh Full Viewport Height */
  .hero-section {
    min-height: 100vh;
    min-height: 100svh;
    height: 100vh;
    height: 100svh;
    padding-top: 70px;
    padding-bottom: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-bg-image {
    object-position: 72% 0%;
  }

  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(7, 17, 30, 0.12) 0%,
      rgba(7, 17, 30, 0.2) 26%,
      rgba(7, 17, 30, 0.76) 52%,
      rgba(7, 17, 30, 0.96) 78%,
      var(--navy-950) 100%
    );
  }

  .hero-content {
    margin-top: auto;
  }

  .hero-eyebrow {
    font-size: 0.74rem;
    padding: 5px 12px;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

  .hero-supporting {
    font-size: 1.02rem;
    margin-bottom: 6px;
  }

  .hero-credibility {
    font-size: 0.86rem;
    margin-bottom: 20px;
    align-items: flex-start;
  }

  .cred-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .cred-bullet {
    display: none;
  }

  .cred-part {
    display: block;
    line-height: 1.35;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 11px 20px;
  }

  .clinic-pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-cards-grid,
  .cardio-grid,
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 22px 18px;
  }

  .doctor-photo {
    height: 320px;
  }

  .contact-info-card {
    padding: 26px 18px;
  }

  .clinic-facade-card {
    height: 380px;
    min-height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
