@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
  /* ── Trắng + hồng pastel #E7A6B9 + chữ đen — tối giản, sang trọng ──
     Hồng dùng làm NỀN/accent; chữ trên nền hồng và toàn bộ nội dung là ĐEN
     (đen trên #E7A6B9 tương phản ~10:1; trắng trên #E7A6B9 thì KHÔNG đạt). */
  --rose: #E7A6B9;
  /* hồng pastel duy nhất: nền nút, header lịch, accent, viền */
  --rose-text: #D77A93;
  /* hồng đậm hơn 1 chút — DÙNG KHI HỒNG LÀM CHỮ trên nền sáng (eyebrow/nhãn) cho dễ đọc */
  --blush: #FBEEF2;
  /* hồng rất nhạt: nền section/card, tag */
  --blush-deep: #F6DCE5;
  /* hồng nhạt đậm hơn — gradient/viền */
  --cream: #FBF7F4;
  /* nền ngà ấm xen kẽ */
  --ink: #1A1A1A;
  /* ĐEN — tiêu đề, chữ trên nền hồng */
  --text: #2D2D2D;
  /* ĐEN — nội dung body */
  --muted: #767676;
  /* xám trung tính — chú thích/hint */
  --line: #EFE6EA;
  /* hairline */
  --white: #ffffff;

  /* ── Alias: gộp mọi sắc hồng cũ về 1 hồng #E7A6B9, chữ nhấn về đen ── */
  --rose-deep: var(--rose);
  /* (cũ: hồng đậm) → nay = #E7A6B9 */
  --rose-ink: var(--ink);
  /* (cũ: chữ hồng mận) → nay = đen */
  --pink: var(--rose);
  --blue: var(--rose);
  --text-dark: var(--ink);
  --bg-light: var(--white);
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--white);
  color: var(--ink);
  line-height: 1.6;
  font-family: 'Be Vietnam Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Tiêu đề lớn dùng serif Playfair Display — cảm giác sang trọng */
h1,
h2,
.section-title,
.article-title,
.hero-content h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

p {
  color: var(--text);
}

/* ── EYEBROW — nhãn nhỏ HỒNG đặt trên tiêu đề section (CHUẨN TOÀN SITE) ──
   Dùng cho mọi nhãn/subtitle hồng trên nền sáng. Markup chuẩn:
   <span class="eyebrow"><i class="fas fa-heart"></i> NHÃN</span>
   Icon heart tuỳ chọn nhưng khuyến nghị để đồng bộ. KHÔNG dùng cho tag/badge nền blush. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-text);
  margin-bottom: 18px;
}

.eyebrow i {
  color: var(--rose-text);
  font-size: 1.05rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  color: var(--pink);
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--pink);
  display: flex;
  align-items: center;
}

.logo-text span {
  color: var(--pink);
}

.logo-img {
  height: 35px;
  width: auto;
  display: block;
}



/* --- 1. Sticky Header --- */
header {
  background: var(--white);
  border-bottom: 1px solid #f0f0f0;
  z-index: 1000;
  width: 100%;
}

#header-placeholder {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* --- Trang chủ: header trong suốt đè lên hero video, chuyển nền đặc khi cuộn --- */
body.home #header-placeholder {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

body.home header {
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body.home #header-placeholder:not(.scrolled) header {
  background: transparent;
  border-bottom-color: transparent;
}

body.home #header-placeholder.scrolled header {
  box-shadow: 0 2px 22px rgba(64, 49, 58, 0.08);
}

/* Logo + nút mở menu màu trắng khi header trong suốt */
body.home #header-placeholder:not(.scrolled) .logo-text,
body.home #header-placeholder:not(.scrolled) .logo-text span,
body.home #header-placeholder:not(.scrolled) .menu-toggle {
  color: #fff;
}

/* Link cấp 1 màu trắng — chỉ desktop (mobile dùng panel trượt nền trắng riêng) */
@media (min-width: 901px) {

  body.home #header-placeholder:not(.scrolled) .nav-links>li>a.dropbtn,
  body.home #header-placeholder:not(.scrolled) .nav-links>li>a:not(.btn-book) {
    color: #fff;
  }

  body.home #header-placeholder:not(.scrolled) .nav-links>li>a.dropbtn:hover,
  body.home #header-placeholder:not(.scrolled) .nav-links>li>a:not(.btn-book):hover {
    color: rgba(255, 255, 255, 0.72);
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  max-width: 1200px;
  margin: auto;
}



.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--pink);
}

.btn-book {
  background-color: var(--rose);
  color: var(--ink) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

/* Giữ nút đặt lịch đậm 600 — thắng đặc hiệu của `.nav-links a` (font-weight 400) */
.nav-links a.btn-book {
  font-weight: 600;
}

.btn-book:hover {
  background-color: var(--rose-text);
  box-shadow: 0 8px 22px rgba(199, 130, 150, 0.4);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.close-menu,
.overlay {
  display: none;
}

/* --- 2. Dropdown Menu (Desktop) --- */
.dropdown {
  position: relative;
}

.submenu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 30px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--white);
  min-width: 210px;
  box-shadow: 0 18px 42px rgba(215, 122, 147, 0.26);
  border-radius: 14px;
  list-style: none;
  padding: 8px;
  z-index: 1000;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.32s;
  pointer-events: none;
}

/* Cầu nối trong suốt: giữ hover liên tục qua khoảng hở giữa nút và submenu */
.submenu::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
}

/* Mũi nhọn nhỏ chỉ lên nút cha cho liền mạch */
.submenu::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 13px;
  height: 13px;
  background: var(--white);
  border-radius: 3px 0 0 0;
}


/* Hỗ trợ rê chuột (hover) trên máy tính bàn / Laptop */
@media (hover: hover) {
  .dropdown:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

/* Hỗ trợ chạm (tap) để mở trên Tablet / iPad */
.dropdown.active-desktop .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}


.submenu li {
  width: 100%;
  margin-bottom: 4px;
}

.submenu li:last-child {
  margin-bottom: 0;
}

.submenu a {
  display: block;
  padding: 11px 18px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: 9px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.submenu a:hover {
  background-color: var(--white);
  color: var(--rose-text);
  padding-left: 23px;
}

/* --- 3. Các Sections & Elements (Giao diện phẳng) --- */
.hero {
  position: relative;
  background-image: url('images/anh-phong-kham.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section {
  padding: 60px 5%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.team-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  text-align: center;
  width: 300px;
}

.team-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.team-card h3 {
  margin: 15px 0 5px;
}

.team-card p {
  color: var(--blue);
  font-weight: bold;
  margin-bottom: 20px;
}

.team-card.obgyn p {
  color: var(--pink);
}

.content-container {
  max-width: 600px;
  margin: auto;
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: none;
}

/* ============================================================
   ĐẶT LỊCH KHÁM (dat-lich.html)
   ============================================================ */

.booking-section {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px 6% 72px;
  background:
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

/* --- Khối đặt lịch: thông tin phụ + form chính --- */
.booking-card {
  max-width: 1120px;
  margin: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(201, 123, 146, 0.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* --- Panel thông tin --- */
.booking-info {
  background:
    linear-gradient(160deg, var(--blush) 0%, var(--cream) 82%);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
}

.booking-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-text);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(201, 123, 146, 0.14);
}

.booking-info h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}

.booking-info-lead {
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.booking-perks {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.booking-perks li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.5;
}

.booking-perks li i {
  color: var(--rose-text);
  margin-top: 4px;
  flex-shrink: 0;
}

.booking-contact {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
}

.booking-contact a,
.booking-contact>div {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.5;
}

.booking-contact i {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--blush-deep);
  color: var(--ink);
  font-size: 1rem;
}

.booking-contact .hotline {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
}

/* --- Panel form --- */
.form-container {
  flex: 1;
  padding: 30px 24px;
  background: var(--white);
}

.form-head {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-text);
  margin-bottom: 9px;
}

.form-head h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.65rem;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 9px;
}

.form-head p {
  max-width: 620px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.field-hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Input + icon */
.input-icon {
  position: relative;
}

.input-icon>i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rose-text);
  font-size: 0.95rem;
  pointer-events: none;
}

.form-group input,
.form-group select {
  width: 100%;
  display: block;
  min-height: 52px;
  padding: 13px 14px 13px 45px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--white);
  box-sizing: border-box;
  font-family: inherit;
  font-size: 16px;
  /* Ngăn iOS tự zoom khi focus */
  color: var(--ink);
  margin: 0;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-group input::placeholder {
  color: #a9a1a5;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--rose);
  background: #fffdfd;
  box-shadow: 0 0 0 4px rgba(231, 166, 185, 0.22);
}

.form-group input[type="date"] {
  appearance: none;
  min-height: 50px;
}

/* --- Bộ chọn chuyên khoa (thay cho dropdown) --- */
.dept-cards {
  display: grid;
  gap: 12px;
}

.dept-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.dept-card input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.dept-card-inner {
  pointer-events: none;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  padding: 15px 44px 15px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  height: 100%;
  min-height: 86px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.dept-icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--rose-text);
  background: var(--blush);
  transition: background 0.2s, color 0.2s;
}

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

.dept-name {
  display: block;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--ink);
}

.dept-doctor {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--muted);
}

.dept-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 0.68rem;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s, transform 0.2s;
}

/* Hai chuyên khoa phân biệt bằng icon + nhãn, KHÔNG bằng màu — cùng tông hồng */
.dept-pink .dept-check,
.dept-blue .dept-check {
  background: var(--rose);
}

.dept-pink input:checked+.dept-card-inner,
.dept-blue input:checked+.dept-card-inner {
  border-color: var(--rose);
  background: var(--blush);
  transform: translateY(-1px);
}

.dept-pink input:checked+.dept-card-inner .dept-icon,
.dept-blue input:checked+.dept-card-inner .dept-icon {
  background: var(--rose);
  color: var(--ink);
}

.dept-card input:checked+.dept-card-inner .dept-check {
  opacity: 1;
  transform: scale(1);
}

.dept-card input:focus-visible+.dept-card-inner {
  box-shadow: 0 0 0 4px rgba(231, 166, 185, 0.25);
}

/* --- Gợi ý giờ khám của bác sĩ đã chọn --- */
.schedule-hint {
  margin: -2px 0 18px;
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  animation: hintIn 0.25s ease;
}

@keyframes hintIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.schedule-hint[hidden] {
  display: none;
}

.schedule-hint.pink,
.schedule-hint.blue {
  background: var(--blush);
  border-color: var(--blush-deep);
}

.schedule-hint-head {
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.schedule-hint.pink .schedule-hint-head,
.schedule-hint.blue .schedule-hint-head {
  color: var(--rose-text);
}

.schedule-hint-list {
  list-style: none;
  display: grid;
  gap: 2px;
}

.schedule-hint-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 0;
}

.schedule-hint-list li span:first-child {
  color: var(--muted);
}

.schedule-hint-list li span:last-child {
  font-weight: 600;
  color: var(--ink);
}

.schedule-hint-list li span.off {
  color: var(--muted);
  font-weight: 500;
  font-style: italic;
}

/* --- Nút gửi --- */
button.submit-btn {
  background: var(--rose);
  color: var(--ink);
  border: none;
  padding: 15px 25px;
  border-radius: 999px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(199, 130, 150, 0.35);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

button.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(199, 130, 150, 0.45);
}

button.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* --- Trạng thái đặt lịch thành công --- */
.booking-success {
  text-align: center;
  padding: 34px 8px;
}

.booking-success .success-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose);
  color: var(--ink);
  font-size: 2rem;
  box-shadow: 0 12px 28px rgba(199, 130, 150, 0.35);
}

.booking-success h3 {
  color: var(--ink);
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.booking-success .btn-newbooking {
  margin-top: 22px;
  display: inline-block;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--blush-deep);
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}

.booking-success .btn-newbooking:hover {
  border-color: var(--rose);
  color: var(--rose-text);
}

@media (prefers-reduced-motion: reduce) {
  .schedule-hint {
    animation: none;
  }
}

@media (min-width: 640px) {
  .dept-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Desktop: tách 2 cột --- */
@media (min-width: 900px) {
  .booking-section {
    padding: 64px 6% 96px;
  }

  .booking-card {
    flex-direction: row;
  }

  .booking-info {
    width: 36%;
    max-width: 390px;
    flex: none;
    padding: 46px 36px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .form-container {
    padding: 46px 44px;
  }

  .form-row {
    flex-direction: row;
    gap: 16px;
  }

  .form-row .form-group {
    flex: 1;
  }
}

table.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table.schedule-table th,
table.schedule-table td {
  padding: 12px;
  text-align: center;
}

table.schedule-table th {
  background-color: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.map-container {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  margin-top: 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(201, 123, 146, 0.12);
}

.map-container iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

/* ========================
   SERVICE PAGES — shared
======================== */
/* Banner đầu trang con — dùng chung cho mọi trang (.page-hero) và trang dịch vụ (.service-hero) */
.page-hero,
.service-hero {
  background: var(--blush);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 58px 6% 50px;
}

.page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.page-hero .eyebrow,
.service-hero .eyebrow {
  justify-content: center;
}

.page-hero-icon,
.service-hero-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 2rem;
  background: var(--white);
  color: var(--rose-text);
  box-shadow: 0 12px 30px rgba(201, 123, 146, 0.18);
}

.page-hero h1,
.service-hero h1 {
  font-size: 2.05rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}

.page-hero p,
.service-hero p {
  color: var(--text);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.8;
}

@media (min-width: 900px) {

  .page-hero,
  .service-hero {
    padding: 82px 6% 68px;
  }

  .page-hero h1,
  .service-hero h1 {
    font-size: 2.85rem;
  }
}

/* ── Helper bố cục dùng chung cho trang con mono-rose ── */
.page-section {
  padding: 56px 6%;
}

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

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

.page-section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.center-head {
  text-align: center;
  margin-bottom: 42px;
}

.center-head .eyebrow {
  justify-content: center;
}

.center-head .section-title {
  margin-bottom: 0;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose p {
  margin-bottom: 16px;
  line-height: 1.95;
  color: var(--text);
  font-size: 1.02rem;
}

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

/* ── Thẻ bác sĩ (dùng ở trang Giới thiệu, đồng bộ trang chủ) ── */
.team-grid-home {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: 800px;
  margin: 0 auto;
}

.doctor-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.doctor-card:hover {
  transform: translateY(-5px);
  border-color: var(--rose);
  box-shadow: 0 22px 50px rgba(201, 123, 146, 0.14);
}

.doctor-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.doctor-info {
  padding: 24px 26px 28px;
}

.doctor-specialty-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--blush);
  color: var(--ink);
}

.doctor-info h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.doctor-info p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

@media (min-width: 600px) {
  .team-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-block {
  max-width: 780px;
  margin: auto;
}

.service-block h3 {
  font-size: 1.32rem;
  color: var(--ink);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.service-block h3 i {
  color: var(--rose-text);
  font-size: 1.05rem;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.7;
  color: var(--text);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li i {
  margin-top: 5px;
  flex-shrink: 0;
  color: var(--rose-text) !important;
}

.info-box {
  background: var(--blush);
  border-left: 4px solid var(--rose);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  margin: 30px 0;
}

.info-box p {
  margin-bottom: 8px;
  color: var(--text);
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box p i {
  color: var(--rose-text) !important;
}

.cta-section {
  text-align: center;
  margin-top: 48px;
  padding: 44px 30px;
  border-radius: 22px;
  background: var(--blush);
  border: 1px solid var(--line);
}

.cta-section p {
  margin: 0 auto 22px;
  max-width: 520px;
  color: var(--text);
  line-height: 1.7;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rose);
  color: var(--ink);
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.cta-btn:hover {
  background: var(--rose-text);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(199, 130, 150, 0.42);
}

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 38px 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--rose);
  box-shadow: 0 18px 40px rgba(201, 123, 146, 0.12);
}

.benefit-card i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ink);
  background: var(--blush);
  margin-bottom: 14px;
}

.benefit-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* ========================
   FOOTER
======================== */
.footer-main {
  background: #2B2026;
  padding: 52px 5% 36px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-main p {
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

/* ========================
   BLOG SHARED COMPONENTS
======================== */
.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: fit-content;
}

.blog-tag.pink {
  background: var(--blush);
  color: var(--rose-ink);
}

.blog-tag.blue {
  background: var(--blush);
  color: var(--rose-ink);
}

/* ========================
   BLOG RELATED POSTS
======================== */
.related-section {
  margin-top: 54px;
}

.related-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.related-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s,
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
  background: var(--white);
}

.related-card:hover {
  transform: translateY(-5px);
}

.related-card.pink-card:hover {
  border-color: var(--pink);
  box-shadow: 0 10px 28px rgba(255, 120, 210, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.related-card.blue-card:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 28px rgba(140, 169, 255, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.related-thumb {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.related-thumb.pink-bg {
  background: linear-gradient(135deg, #fff5fb 0%, #fce8f5 40%, #f8d2ef 100%);
}

.related-thumb.blue-bg {
  background: linear-gradient(135deg, #f4f7ff 0%, #e6ecff 40%, #d4deff 100%);
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-card:hover .related-thumb img {
  transform: scale(1.05);
}

.related-body {
  padding: 16px 20px;
}

.related-body .blog-tag {
  margin-bottom: 8px;
}

.related-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  transition: color 0.2s;
}

.related-card.pink-card:hover .related-body h4 {
  color: #e05ab5;
}

.related-card.blue-card:hover .related-body h4 {
  color: #6b8cee;
}

/* ========================
   BLOG ARTICLES — shared
======================== */
.article-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 5%;
}

.article-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 26px;
}

.article-hero-img {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.article-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  line-height: 1.9;
  color: #444;
  font-size: 0.98rem;
}

.article-body h2 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 36px 0 14px;
  font-weight: 700;
}

.article-body h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 26px 0 10px;
  font-weight: 700;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

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

.article-body strong {
  color: var(--text-dark);
}

/* Default pink — override inline for blue articles */
.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff5fb, #fce8f5);
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 120, 210, 0.1);
}

.article-highlight {
  background: linear-gradient(135deg, #fff5fb, #fce8f5);
  border-left: 4px solid var(--pink);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  font-size: 0.96rem;
  line-height: 1.8;
}

.warning-box {
  background: linear-gradient(135deg, #fff8f0, #fff0e8);
  border-left: 4px solid #f5a623;
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 0.96rem;
  line-height: 1.8;
}

.warning-box strong {
  color: #d4861a;
}

.share-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 40px;
}

.share-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s;
  color: white;
}

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

.fb-btn {
  background: #1877f2;
}

.fb-btn:hover {
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.3);
}

.zalo-btn {
  background: #0068ff;
}

.zalo-btn:hover {
  box-shadow: 0 4px 16px rgba(0, 104, 255, 0.3);
}

/* Default pink — override inline for blue articles */
.article-cta {
  text-align: center;
  padding: 40px 28px;
  background: linear-gradient(135deg, #fff5fb 0%, #fce8f5 100%);
  border-radius: 18px;
  margin-top: 34px;
  border: 1px solid rgba(255, 120, 210, 0.08);
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 120, 210, 0.06);
}

.article-cta h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-dark);
  position: relative;
}

.article-cta p {
  color: #888;
  margin-bottom: 20px;
  font-size: 0.93rem;
  position: relative;
}

.article-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--pink), #e060c0);
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.article-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 120, 210, 0.3);
}

@media (min-width: 600px) {
  .article-title {
    font-size: 2rem;
  }
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 52px;
  }
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 14px;
}

.footer-brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.72;
  margin-bottom: 20px;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.footer-social-btn:hover {
  background: var(--pink);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color 0.2s;
}

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

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

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  line-height: 1.55;
}

.footer-contact-list li i {
  color: var(--pink);
  margin-top: 3px;
  width: 14px;
  flex-shrink: 0;
  font-size: 0.82rem;
}

.footer-bottom {
  background: #221A1F;
  padding: 15px 5%;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--pink);
}


/* ========================
   BLOG LISTING
======================== */
.blog-page {
  padding: 60px 5%;
  max-width: 1100px;
  margin: auto;
}

.blog-page .section-title {
  position: relative;
  padding-bottom: 16px;
}

.blog-page .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: var(--rose);
}

.blog-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.blog-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--blush-deep);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--ink);
}

.filter-btn:hover {
  border-color: var(--rose);
  color: var(--rose-text);
  transform: translateY(-1px);
}

.filter-btn.active,
.filter-btn.active-blue,
.filter-btn.active-all {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(199, 130, 150, 0.28);
}

.blog-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .blog-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .blog-grid-full {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card-full {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s, box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.blog-card-full:hover {
  transform: translateY(-6px);
  border-color: var(--rose);
  box-shadow: 0 18px 40px rgba(201, 123, 146, 0.14);
}

.blog-card-full.hidden {
  display: none;
}

.blog-thumb-wrap {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
}

.blog-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-full:hover .blog-thumb-wrap img {
  transform: scale(1.05);
}

.blog-thumb-wrap.pink-bg,
.blog-thumb-wrap.blue-bg {
  background: linear-gradient(135deg, #fff5fb 0%, #fbe6ef 45%, #f4cfde 100%);
}

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

.blog-card-body .blog-tag {
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.2s;
}

.blog-card-full:hover .blog-card-body h3 {
  color: var(--rose-text);
}

.blog-card-body p {
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}

.blog-subscribe {
  text-align: center;
  margin-top: 60px;
  padding: 48px 30px;
  background: var(--blush);
  border-radius: 22px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.blog-subscribe::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(231, 166, 185, 0.16);
}

.blog-subscribe::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(231, 166, 185, 0.12);
}

.blog-subscribe h3 {
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 8px;
  position: relative;
}

.blog-subscribe p {
  color: var(--text);
  max-width: 480px;
  margin: 0 auto 24px;
  font-size: 0.93rem;
  line-height: 1.7;
  position: relative;
}

.blog-subscribe a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--rose);
  color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.blog-subscribe a:hover {
  background: var(--rose-text);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(199, 130, 150, 0.42);
}

/* ========================
   BANG GIA
======================== */
.price-page {
  padding: 60px 5%;
  max-width: 1100px;
  margin: auto;
}

.price-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.price-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.price-tab-btn {
  padding: 10px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--blush-deep);
  background: var(--white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  color: var(--ink);
}

.price-tab-btn:hover {
  border-color: var(--rose);
  color: var(--rose-text);
}

.price-tab-btn.active-pink,
.price-tab-btn.active-blue {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--ink);
}

.price-section {
  display: none;
}

.price-section.active {
  display: block;
}

.price-specialty-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 22px 28px;
  border-radius: 14px;
}

.price-specialty-header.obgyn,
.price-specialty-header.peds {
  background: var(--blush);
  border: 1px solid var(--line);
}

.price-specialty-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--ink);
  background: var(--white);
}

.price-specialty-header.obgyn .price-specialty-icon,
.price-specialty-header.peds .price-specialty-icon {
  background: var(--white);
  color: var(--rose-text);
}

.price-specialty-header h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 3px;
}

.price-specialty-header p {
  font-size: 0.88rem;
  color: var(--muted);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.price-table thead th {
  padding: 15px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: left;
}

.obgyn-table thead,
.peds-table thead {
  background: var(--rose);
}

.price-table thead th:last-child {
  text-align: right;
}

.price-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}

.price-table tbody tr:last-child {
  border-bottom: none;
}

.price-table tbody tr:hover {
  background: var(--blush);
}

.price-table td {
  padding: 12px 14px;
  vertical-align: top;
}

.service-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.97rem;
  margin-bottom: 3px;
}

.service-desc {
  display: none;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (min-width: 600px) {
  .price-table td {
    padding: 16px 20px;
  }

  .service-desc {
    display: block;
  }
}

.price-amount {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.97rem;
}

.price-amount.obgyn-color,
.price-amount.peds-color {
  color: var(--rose-text);
}

.price-contact {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

.price-note {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 30px;
}

.price-note i {
  color: var(--rose-text);
  margin-right: 6px;
}

.price-cta {
  text-align: center;
  padding: 44px 30px;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-top: 10px;
}

.price-cta h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.price-cta p {
  color: var(--text);
  max-width: 520px;
  margin: 0 auto 22px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.price-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  background: var(--rose);
  color: var(--ink);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.price-cta-btn:hover {
  background: var(--rose-text);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(199, 130, 150, 0.42);
}

/* ========================
   FAQ
======================== */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.faq-tab-btn {
  padding: 10px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--blush-deep);
  background: var(--white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--ink);
}

.faq-tab-btn:hover {
  border-color: var(--rose);
  color: var(--rose-text);
}

.faq-tab-btn.active-pink,
.faq-tab-btn.active-pink:hover,
.faq-tab-btn.active-blue,
.faq-tab-btn.active-blue:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--ink);
}

.faq-section {
  display: none;
  max-width: 750px;
  margin: auto;
}

.faq-section.active {
  display: block;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item:hover {
  border-color: var(--rose);
  box-shadow: 0 10px 26px rgba(201, 123, 146, 0.12);
}

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

.faq-question .faq-icon {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  color: var(--rose-text);
  flex-shrink: 0;
}

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

.faq-item.open .faq-question {
  color: var(--rose-text);
}

.faq-item.nhi .faq-question .faq-icon,
.faq-item.nhi.open .faq-question {
  color: var(--rose-text);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: var(--cream);
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text);
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 15px 20px 18px;
}

.faq-note {
  text-align: center;
  margin-top: 40px;
  padding: 22px;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.95rem;
  color: var(--text);
}

.faq-note a {
  color: var(--rose-text);
  font-weight: 600;
  text-decoration: none;
}

.faq-note a:hover {
  text-decoration: underline;
}

/* ========================
   KHAM THAI
======================== */
.calculator-widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  margin: 40px auto;
  box-shadow: 0 18px 42px rgba(201, 123, 146, 0.12);
}

.calculator-widget h3 {
  color: var(--ink);
  margin-bottom: 22px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 11px;
}

.calculator-widget h3 i {
  color: var(--rose-text);
}

.calc-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.calc-tab {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--blush-deep);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.calc-tab.active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(199, 130, 150, 0.28);
}

.calc-content {
  margin-bottom: 20px;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calc-content label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
  font-size: 0.95rem;
}

.calc-content input[type="date"],
.calc-content input[type="number"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.calc-content input:focus {
  border-color: var(--rose);
}

.us-age-inputs {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.us-age-inputs>div {
  flex: 1;
}

.calc-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
}

.calc-result {
  background: var(--blush);
  border-radius: 14px;
  padding: 22px;
  border-left: 4px solid var(--rose);
  margin-top: 22px;
  animation: fadeIn 0.4s ease;
}

.result-box {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--blush-deep);
  padding-bottom: 12px;
}

.result-box:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.result-box span {
  color: #555;
  font-weight: 500;
}

.milestone-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.milestone-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

.milestone-badge {
  background: var(--rose);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.milestone-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  font-size: 0.97rem;
}

/* ========================
   SCHEDULE WIDGET
======================== */
.schedules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.schedule-container h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}



.schedule-widget {
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
}

.schedule-widget-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--rose);
}

.schedule-container.obgyn .schedule-widget-header,
.schedule-container.peds .schedule-widget-header {
  background: var(--rose);
}

.schedule-widget-header div,
.schedule-row div {
  padding: 13px 16px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row:hover {
  background: var(--blush);
}

.schedule-row .day {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.schedule-row .day i {
  font-size: 0.5rem;
  color: var(--rose);
}

.schedule-container.obgyn .schedule-row .day i,
.schedule-container.peds .schedule-row .day i {
  color: var(--rose);
}

.schedule-row .time {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
}

.time-off {
  color: var(--muted) !important;
  font-style: italic;
}

@media (min-width: 900px) {
  .schedules-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
}

/* --- 4. Responsive & Mobile Menu --- */
@media (max-width: 900px) {

  .logo-img {
    display: none;
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
  }

  .overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 16, 22, 0.78);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

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

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(84vw, 340px);
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    padding: 22px 22px calc(22px + env(safe-area-inset-bottom));
    box-shadow: -10px 0 40px rgba(26, 16, 22, 0.18);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .close-menu {
    display: block;
    align-self: flex-end;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-dark);
    margin-bottom: 20px;
    transition: color 0.3s;
  }

  .close-menu:hover,
  .nav-links a:hover {
    color: var(--pink);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    font-size: 1.1rem;
    padding: 10px 0;
    font-weight: 500;
  }


  .nav-links a.btn-book {
    text-align: center;
    border-bottom: none;
    margin-top: 10px;
    font-weight: 600;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .why-us,
  .quick-schedule {
    background: var(--white);
  }

  /* Mobile = accordion: huỷ mọi trang trí kiểu "thẻ nổi" của submenu desktop */
  .dropdown:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .submenu {
    position: static;
    transform: none !important;
    left: auto !important;

    display: block;
    visibility: visible;
    opacity: 1;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    pointer-events: auto;
    /* max-height được JS đặt đúng bằng scrollHeight → đóng/mở mượt, không khựng */
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-height;
  }

  /* Bỏ mũi nhọn + cầu nối (chỉ dành cho menu thả xuống ở desktop) */
  .submenu::before,
  .submenu::after {
    display: none;
  }

  .submenu li {
    margin: 0;
  }

  /* Chevron xoay mượt theo accordion */
  .dropbtn i {
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .submenu a {
    font-size: 1rem;
    padding: 11px 0 11px 18px;
    color: var(--text);
    background: transparent;
    border: none;
    border-left: 2px solid var(--blush-deep);
    border-radius: 0;
    box-shadow: none;
    white-space: normal;
  }

  .submenu a:hover {
    transform: none;
    padding-left: 18px;
    background: transparent;
    border-left-color: var(--rose);
    color: var(--rose-text);
    box-shadow: none;
  }
}
