/* 18. SITE FOOTER */
.site-footer {
  background-color: var(--color-ink);
  color: #c4cdc7;
  padding-block: clamp(48px, 6vw, 80px) 32px;
  border-top: 1px solid #313a34;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 48px;
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #a4b0a8;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-hours-list {
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-disclaimer {
  border-top: 1px solid #313a34;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #87948b;
}

/* Styles used by informational, service, article and form pages. */
/* 20. FORMS & INNER PAGES */
.form-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-subtle);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(168, 79, 69, 0.15);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-ink-soft);
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.alert-success {
  background-color: #eaf6ee;
  color: #1a5e30;
  border: 1px solid #b6e2c3;
}

.alert-danger {
  background-color: #fbebee;
  color: var(--color-danger);
  border: 1px solid #f2bdc6;
}

.note-box {
  background-color: var(--color-sage-light);
  border-left: 3px solid var(--color-sage);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-block: 20px;
  font-size: 0.95rem;
}

/* 21. RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-content {
    grid-column: span 12;
    margin-bottom: 32px;
  }

  .hero-image-col {
    grid-column: span 12;
  }

  .reassurance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .care-promises-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .quote-image-col {
    grid-column: span 12;
    margin-bottom: 28px;
  }

  .quote-content-col {
    grid-column: span 12;
    padding-left: 0;
  }

  .pricing-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .care-petal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .care-trust-ribbon {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 24px;
  }

  .care-promises-grid,
  .experience-journey-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(247, 252, 250, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(63, 127, 120, 0.16);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 8px;
    box-shadow: 0 16px 36px rgba(24, 63, 59, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav-link {
    font-size: 1.02rem;
    font-weight: 550;
    color: #2d4844;
    padding: 11px 16px;
    border-radius: 10px;
    transition: background-color 160ms ease, color 160ms ease;
  }

  .site-nav .nav-link:hover,
  .site-nav .nav-link.active {
    background-color: rgba(63, 127, 120, 0.1);
    color: #245c57;
    font-weight: 650;
  }

  .site-nav .nav-link.active::after {
    display: none;
  }

  .mobile-nav-footer {
    display: block;
    padding-top: 14px;
    border-top: 1px solid rgba(63, 127, 120, 0.14);
    margin-top: 8px;
  }

  .mobile-only-book-btn {
    width: 100%;
    text-align: center;
    padding-block: 12px;
    background-color: #245c57 !important;
    color: #ffffff !important;
    border-radius: 999px;
    font-weight: 650;
    box-shadow: 0 4px 14px rgba(36, 92, 87, 0.22);
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

}

@media (max-width: 768px) {

  .reassurance-grid {
    grid-template-columns: 1fr;
  }

  .care-petal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .care-petal-card {
    padding: 18px 20px;
  }

  .care-trust-ribbon {
    padding: 18px 16px;
    border-radius: 20px 6px 20px 6px;
    gap: 14px;
  }

  .direct-steps-grid {
    grid-template-columns: 1fr;
  }

  .care-stages-grid,
  .care-promises-grid,
  .experience-journey-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: span 12;
    height: 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   25. FLOATING CONTACT ACTIONS (DESKTOP & MOBILE RESPONSIVE)
   ========================================================================== */

.floating-contact {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.floating-action {
  pointer-events: auto;
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(63, 127, 120, 0.24);
  border-radius: 50%;

  box-shadow:
    0 10px 28px rgba(24, 63, 59, 0.16),
    0 3px 8px rgba(24, 63, 59, 0.08);

  cursor: pointer;
  text-decoration: none;
  outline: none;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.floating-action[hidden],
.floating-action--top:not(.is-visible) {
  display: none !important;
}

.floating-action:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 14px 32px rgba(24, 63, 59, 0.22),
    0 4px 10px rgba(24, 63, 59, 0.12);
}

.floating-action:focus-visible {
  outline: 3px solid rgba(79, 143, 135, 0.5);
  outline-offset: 3px;
}

.floating-action--zalo,
.floating-action--phone {
  color: #ffffff !important;
}

.floating-action--zalo {
  background: #245c57;
  border-color: rgba(36, 92, 87, 0.4);
}

.floating-action--zalo:hover {
  background: #183f3b;
}

.floating-action--phone {
  background: #4f8f87;
  border-color: rgba(79, 143, 135, 0.4);
}

.floating-action--phone:hover {
  background: #3d756e;
}

.floating-action--top {
  color: #245c57 !important;
  background: rgba(245, 251, 250, 0.94);
  border-color: rgba(63, 127, 120, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.floating-action--top:hover {
  background: #ffffff;
  color: #183f3b !important;
}

.floating-action *,
.floating-action:visited * {
  color: inherit;
}

.floating-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.floating-action-icon svg {
  display: block;
}

/* Mobile Handling: Hide Zalo & Phone (dùng thanh Sticky CTA), giữ nút Lên đầu trang */
@media (max-width: 991px) {
  .floating-contact {
    right: 14px;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .floating-action--zalo,
  .floating-action--phone {
    display: none !important;
  }

  .floating-action--top {
    width: 46px;
    min-width: 46px;
    height: 46px;
  }

  .floating-action--top .floating-action-icon {
    width: 22px;
    height: 22px;
  }
}

/* ==========================================================================
   26. DESKTOP CALL FEEDBACK TOAST
   ========================================================================== */

.tel-desktop-toast {
  position: fixed;
  bottom: 24px;
  right: 88px;
  z-index: 1000;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(63, 127, 120, 0.28);
  box-shadow:
    0 16px 36px rgba(24, 63, 59, 0.2),
    0 4px 12px rgba(24, 63, 59, 0.08);
  padding: 16px 18px;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tel-desktop-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tel-toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tel-toast-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #245c57;
  background: rgba(36, 92, 87, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.tel-toast-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #718096;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 4px;
  transition: color 150ms ease;
}

.tel-toast-close:hover {
  color: #1a202c;
}

.tel-toast-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 2px;
}

.tel-toast-phone {
  font-size: 1.35rem;
  font-weight: 800;
  color: #245c57;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.tel-toast-tip {
  font-size: 0.8rem;
  color: #4a5568;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.tel-toast-actions {
  display: flex;
  gap: 8px;
}

.tel-toast-actions .btn {
  font-size: 0.8rem;
  padding: 7px 12px;
  flex: 1;
  text-align: center;
  justify-content: center;
}

.btn-outline-teal {
  background: transparent;
  color: #245c57;
  border: 1px solid rgba(36, 92, 87, 0.35);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 180ms ease;
}

.btn-outline-teal:hover {
  background: rgba(36, 92, 87, 0.08);
  border-color: #245c57;
}

/* ==========================================================================
   27. DOCTOR PROFILE PAGE (HỒ SƠ BÁC SĨ VŨ THỊ THƠI)
   ========================================================================== */

.doctor-page {
  /* Strict Unified Medical Palette */
  --doc-bg: #f3faf8;
  --doc-surface: rgba(250, 255, 253, 0.72);
  --doc-surface-card: rgba(255, 255, 255, 0.88);
  --doc-primary: #4f8f87;
  --doc-primary-dark: #245c57;
  --doc-primary-deep: #183f3b;
  --doc-primary-light: #dcefeb;
  --doc-primary-wash: rgba(220, 239, 235, 0.45);
  --doc-ink: #183330;
  --doc-ink-soft: #4a6360;
  --doc-border: rgba(63, 127, 120, 0.2);
  --doc-border-strong: rgba(63, 127, 120, 0.35);
  --doc-shadow: 0 16px 36px rgba(24, 63, 59, 0.08);
  --doc-shadow-sm: 0 6px 18px rgba(24, 63, 59, 0.05);

  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  background-color: var(--doc-bg);
  color: var(--doc-ink);
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

/* Medical Ambient Waves */
.doctor-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.doctor-ambient-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.doctor-ambient-blob--1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(213, 237, 230, 0.55) 0%, rgba(243, 250, 248, 0) 70%);
  top: -120px;
  left: -120px;
  filter: blur(48px);
}

.doctor-ambient-blob--2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(200, 230, 222, 0.45) 0%, rgba(243, 250, 248, 0) 70%);
  bottom: 40px;
  right: -140px;
  filter: blur(56px);
}

/* Profile Section Layout */
.doctor-profile-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  z-index: 1;
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 4.8fr 7.2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: flex-start;
}

/* Cột trái: Ảnh & Thẻ Liên hệ */
.doctor-aside-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doctor-photo-card {
  background: var(--doc-surface-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--doc-border);
  border-radius: 24px;
  padding: 12px;
  box-shadow: var(--doc-shadow);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.doctor-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(24, 63, 59, 0.12);
}

.doctor-photo-wrap {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: rgba(36, 92, 87, 0.05);
}

.doctor-portrait-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 400ms ease;
}

.doctor-photo-card:hover .doctor-portrait-img {
  transform: scale(1.02);
}

.doctor-contact-card {
  background: var(--doc-surface-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--doc-border);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: var(--doc-shadow-sm);
}

.doctor-contact-title {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--doc-ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.doctor-contact-details p {
  font-size: 0.92rem;
  color: var(--doc-ink-soft);
  margin-bottom: 10px;
  line-height: 1.55;
}

.doctor-contact-details strong {
  color: var(--doc-ink);
  font-weight: 650;
}

.doctor-phone-link {
  color: var(--doc-primary-dark);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.doctor-phone-link:hover {
  color: var(--doc-primary-deep);
  text-decoration: underline;
}

/* Cột phải: Thông tin & Chuyên môn */
.doctor-main-col {
  display: flex;
  flex-direction: column;
}

.doctor-head {
  margin-bottom: 22px;
}

.doctor-head .hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(213, 237, 230, 0.65);
  border: 1px solid rgba(63, 127, 120, 0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--doc-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.doctor-name-title {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 700;
  color: var(--doc-ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.doctor-experience-subtitle {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.15rem;
  color: var(--doc-primary-dark);
  font-weight: 600;
  line-height: 1.48;
  margin-bottom: 0;
}

/* Quan điểm thăm khám (Editorial Quote) */
.doctor-editorial-quote {
  background: var(--doc-primary-wash);
  border-left: 3.5px solid var(--doc-primary-dark);
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
  margin-block: 24px;
  box-shadow: var(--doc-shadow-sm);
  border-top: 1px solid rgba(63, 127, 120, 0.12);
  border-right: 1px solid rgba(63, 127, 120, 0.12);
  border-bottom: 1px solid rgba(63, 127, 120, 0.12);
}

.doctor-quote-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--doc-primary-dark);
  margin-bottom: 8px;
}

.doctor-editorial-quote p {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--doc-ink);
  line-height: 1.6;
  font-weight: 550;
  margin: 0;
}

/* Câu chuyện & Hành trình */
.doctor-story-body {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.02rem;
  color: #3b534f;
  line-height: 1.76;
  margin-bottom: 30px;
}

.doctor-story-body p {
  margin-bottom: 16px;
}

/* Lĩnh vực chuyên môn sâu (Cards Grid) */
.doctor-specialties-block {
  background: var(--doc-surface-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--doc-border);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--doc-shadow-sm);
  margin-bottom: 34px;
}

.doctor-specialties-heading {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--doc-ink);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

.doctor-specialties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.doctor-specialty-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(243, 250, 248, 0.85);
  border: 1px solid rgba(63, 127, 120, 0.16);
  border-radius: 12px;
  transition: all 180ms ease;
}

.doctor-specialty-item:hover {
  background: #ffffff;
  border-color: var(--doc-border-strong);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(24, 63, 59, 0.08);
}

.specialty-check {
  color: var(--doc-primary-dark);
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.specialty-text {
  font-size: 0.94rem;
  font-weight: 550;
  color: #2d4844;
  line-height: 1.4;
}

.doctor-page .btn-primary {
  background-color: var(--doc-primary-dark) !important;
  border: 1px solid var(--doc-primary-dark) !important;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 650;
  box-shadow: 0 8px 22px rgba(36, 92, 87, 0.22);
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.doctor-page .btn-primary:hover {
  background-color: var(--doc-primary-deep) !important;
  border-color: var(--doc-primary-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(24, 63, 59, 0.28);
}

.doctor-page .btn-secondary {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1.5px solid var(--doc-border-strong) !important;
  color: var(--doc-primary-dark) !important;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 650;
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.doctor-page .btn-secondary:hover {
  background: var(--doc-primary-dark) !important;
  color: #ffffff !important;
  border-color: var(--doc-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(36, 92, 87, 0.2);
}

/* Responsive Doctor Page */
@media (max-width: 991px) {
  .doctor-profile-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .doctor-aside-col {
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }

  .doctor-specialties-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   28. UNIFIED SUBPAGES STYLING (DỊCH VỤ, CHI PHÍ, KIẾN THỨC, LIÊN HỆ)
   ========================================================================== */

.services-page,
.pricing-page,
.posts-page,
.contact-page {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  background-color: #f3faf8;
  color: #183330;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

.subpage-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.subpage-ambient-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.subpage-ambient-blob--1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(213, 237, 230, 0.55) 0%, rgba(243, 250, 248, 0) 70%);
  top: -120px;
  left: -120px;
  filter: blur(48px);
}

.subpage-ambient-blob--2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(200, 230, 222, 0.45) 0%, rgba(243, 250, 248, 0) 70%);
  bottom: 40px;
  right: -140px;
  filter: blur(56px);
}

.services-page section,
.pricing-page section,
.posts-page section,
.contact-page section {
  position: relative;
  z-index: 1;
}

.subpage-title {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: #183330;
  line-height: 1.18;
  letter-spacing: -0.028em;
  margin-bottom: 14px;
}

.subpage-lead {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.08rem;
  color: #4a6360;
  line-height: 1.65;
  margin-inline: auto;
}

/* 1. DỊCH VỤ (SERVICES) */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.service-item-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(63, 127, 120, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(24, 63, 59, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.service-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(24, 63, 59, 0.12);
  border-color: rgba(63, 127, 120, 0.38);
}

.service-thumb-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(36, 92, 87, 0.05);
}

.service-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.service-item-card:hover .service-thumb-img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #183330;
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.95rem;
  color: #4a6360;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(63, 127, 120, 0.12);
}

.service-detail-link {
  font-size: 0.92rem;
  font-weight: 650;
  color: #245c57;
  text-decoration: none;
  transition: all 180ms ease;
}

.service-detail-link:hover {
  color: #183f3b;
  transform: translateX(3px);
}

/* ============================================
   2. CHI TIẾT DỊCH VỤ — Mobile-first redesign
   Flat layout, giảm padding, dễ đọc trên mobile
   ============================================ */

/* --- Page wrapper --- */
.sd-page {
  position: relative;
  overflow-x: clip;
  background: linear-gradient(180deg, #f4fbf9 0%, #fbfdfc 48%, #f3faf8 100%);
}

.sd-page section {
  position: relative;
  z-index: 1;
}

/* --- Breadcrumb --- */
.sd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: #6b8a87;
  padding: 16px 0 12px;
}

.sd-breadcrumb a {
  color: #5d8984;
  text-decoration: none;
}

.sd-breadcrumb a:hover { color: #3f7f78; }

.sd-breadcrumb [aria-current="page"] {
  color: #183330;
  font-weight: 600;
}

/* --- Hero — compact on mobile --- */
.sd-hero {
  padding-bottom: 24px;
}

.sd-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sd-tag {
  display: inline-block;
  background: rgba(63, 127, 120, 0.1);
  color: #3f7f78;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.sd-hero-text h1 {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: clamp(1.35rem, 5vw, 2.2rem);
  font-weight: 750;
  color: #122b28;
  line-height: 1.28;
  margin: 0 0 12px;
}

.sd-hero-text p {
  font-size: 0.93rem;
  color: #4a6360;
  line-height: 1.6;
  margin: 0;
}

.sd-hero-img {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(24, 63, 59, 0.12);
}

.sd-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- Body content --- */
.sd-body {
  padding-bottom: 40px;
}

/* --- Section — flat, no card wrapping --- */
.sd-section {
  padding: 24px 0;
  border-bottom: 1px solid rgba(63, 127, 120, 0.1);
}

.sd-section:last-of-type {
  border-bottom: none;
}

.sd-section h2 {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  font-weight: 700;
  color: #183330;
  line-height: 1.35;
  margin: 0 0 14px;
}

.sd-section > p {
  font-size: 0.92rem;
  color: #4a6360;
  line-height: 1.7;
  margin: 0;
}

/* --- Intro --- */
.sd-intro p {
  font-size: 0.93rem;
  line-height: 1.7;
}

/* --- Chips (triệu chứng) --- */
.sd-chips {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sd-chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(63, 127, 120, 0.1);
  border-radius: 12px;
}

.sd-chip-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f7f78;
  margin-top: 6px;
}

.sd-chip strong {
  display: block;
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.92rem;
  font-weight: 650;
  color: #1a3b38;
  margin-bottom: 4px;
}

.sd-chip p {
  font-size: 0.84rem;
  color: #5a7a77;
  line-height: 1.55;
  margin: 0;
}

/* --- Conditions (bệnh lý) — accordion trên mobile --- */
.sd-conditions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sd-cond-item {
  border-bottom: 1px solid rgba(63, 127, 120, 0.1);
}

.sd-cond-item:last-child { border-bottom: none; }

.sd-cond-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.93rem;
  font-weight: 600;
  color: #1a3b38;
  transition: color 0.2s;
}

.sd-cond-item summary::-webkit-details-marker { display: none; }
.sd-cond-item summary::marker { display: none; content: ''; }

.sd-cond-item summary:hover { color: #3f7f78; }

.sd-cond-chevron {
  flex: 0 0 18px;
  color: #7a9e9a;
  transition: transform 0.25s ease;
}

.sd-cond-item[open] .sd-cond-chevron {
  transform: rotate(180deg);
}

.sd-cond-item > p {
  font-size: 0.87rem;
  color: #4a6360;
  line-height: 1.6;
  margin: 0;
  padding: 0 0 14px;
  animation: sdFadeIn 0.25s ease;
}

/* --- Steps (quy trình) — compact timeline --- */
.sd-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 36px;
}

.sd-steps::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(63, 127, 120, 0.12), rgba(63, 127, 120, 0.3), rgba(63, 127, 120, 0.12));
  border-radius: 2px;
}

.sd-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  position: relative;
}

.sd-step-num {
  position: absolute;
  left: -36px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3f7f78, #5ba89f);
  color: #fff;
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: 50%;
  z-index: 1;
}

.sd-step-body strong {
  display: block;
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.93rem;
  font-weight: 650;
  color: #1a3b38;
  margin-bottom: 4px;
}

.sd-step-body p {
  font-size: 0.86rem;
  color: #4a6360;
  line-height: 1.6;
  margin: 0;
}

/* --- Checklist (vì sao chọn) --- */
.sd-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sd-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sd-checklist svg {
  flex: 0 0 20px;
  color: #3f7f78;
  margin-top: 2px;
}

.sd-checklist strong {
  display: block;
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.92rem;
  font-weight: 650;
  color: #1a3b38;
  margin-bottom: 3px;
}

.sd-checklist p {
  font-size: 0.85rem;
  color: #5a7a77;
  line-height: 1.55;
  margin: 0;
}

/* --- FAQ accordion --- */
.sd-faq {
  display: flex;
  flex-direction: column;
}

.sd-faq-item {
  border-bottom: 1px solid rgba(63, 127, 120, 0.1);
}

.sd-faq-item:last-child { border-bottom: none; }

.sd-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a3b38;
  transition: color 0.2s;
}

.sd-faq-item summary::-webkit-details-marker { display: none; }
.sd-faq-item summary::marker { display: none; content: ''; }
.sd-faq-item summary:hover { color: #3f7f78; }

.sd-faq-chevron {
  flex: 0 0 18px;
  color: #7a9e9a;
  transition: transform 0.25s ease;
}

.sd-faq-item[open] .sd-faq-chevron { transform: rotate(180deg); }

.sd-faq-ans {
  padding: 0 0 14px;
  animation: sdFadeIn 0.25s ease;
}

.sd-faq-ans p {
  font-size: 0.87rem;
  color: #4a6360;
  line-height: 1.65;
  margin: 0;
}

@keyframes sdFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Quote (lời bác sĩ) --- */
.sd-quote-wrap {
  border-bottom: none !important;
}

.sd-quote {
  margin: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-left: 3px solid #3f7f78;
  border-radius: 0 12px 12px 0;
}

.sd-quote p {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.93rem;
  font-weight: 500;
  color: #1a3b38;
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 12px;
}

.sd-quote footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sd-quote footer strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #3f7f78;
  font-style: normal;
}

.sd-quote footer span {
  font-size: 0.8rem;
  color: #6b8a87;
  font-style: normal;
}

/* --- Cost --- */
.sd-cost {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 20px !important;
  border: 1px solid rgba(63, 127, 120, 0.12) !important;
  margin-top: 8px;
}

.sd-cost h2 {
  font-size: 1.05rem !important;
}

.sd-cost p {
  margin-bottom: 14px !important;
}

.sd-cost .btn {
  width: 100%;
  text-align: center;
}

/* --- Layout 2 cột (desktop) --- */
.sd-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sd-main {
  min-width: 0; /* fix overflow in flex */
}

/* --- Sidebar (mobile: dưới cùng, desktop: sticky bên phải) --- */
.sd-sidebar {
  margin-top: 24px;
}

.sd-sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sd-sidebar-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(63, 127, 120, 0.15);
  border-radius: 16px;
  padding: 20px;
}

/* Đặt lịch card */
.sd-sidebar-booking h3 {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #183330;
  margin: 0 0 6px;
}

.sd-sidebar-booking p {
  font-size: 0.85rem;
  color: #5a7a77;
  margin: 0 0 14px;
  line-height: 1.5;
}

.sd-sidebar-btn {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.sd-sidebar-zalo {
  display: block;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: #3f7f78;
  text-decoration: none;
  transition: color 0.2s;
}

.sd-sidebar-zalo:hover { color: #2a5854; }

/* Dịch vụ khác list */
.sd-sidebar-services h3 {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #183330;
  margin: 0 0 12px;
}

.sd-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sd-sidebar-list li + li {
  border-top: 1px solid rgba(63, 127, 120, 0.08);
}

.sd-sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 2px;
  font-size: 0.88rem;
  font-weight: 550;
  color: #2a5854;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.sd-sidebar-list a:hover {
  color: #3f7f78;
  padding-left: 6px;
}

.sd-sidebar-list svg {
  flex: 0 0 14px;
  color: #7a9e9a;
}

/* ============================================
   TABLET (768px+) — hero row, chips 2 col
   ============================================ */
@media (min-width: 768px) {
  .sd-hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .sd-hero-text {
    flex: 1;
  }

  .sd-hero-img {
    flex: 0 0 42%;
    max-width: 420px;
  }

  .sd-section {
    padding: 32px 0;
  }

  .sd-section h2 {
    font-size: 1.35rem;
  }

  .sd-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .sd-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .sd-cost {
    max-width: 100%;
  }

  .sd-cost .btn {
    width: auto;
  }
}

/* ============================================
   DESKTOP (1024px+) — 2 column layout + sticky sidebar
   ============================================ */
@media (min-width: 1024px) {
  .sd-layout {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }

  .sd-main {
    flex: 1;
    min-width: 0;
  }

  .sd-sidebar {
    flex: 0 0 300px;
    width: 300px;
    margin-top: 0;
  }

  .sd-sidebar-sticky {
    position: sticky;
    top: 90px; /* dưới header */
  }

  .sd-hero-img {
    flex: 0 0 38%;
  }
}

/* Keep old service-detail-link for index page */
.service-detail-link {
  font-size: 0.92rem;
  font-weight: 650;
  color: #245c57;
  text-decoration: none;
  transition: all 180ms ease;
}

.service-detail-link:hover {
  color: #183f3b;
  transform: translateX(3px);
}


/* 2. CHI PHÍ THĂM KHÁM (PRICING) */
.pricing-commit-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(63, 127, 120, 0.2);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 12px 30px rgba(24, 63, 59, 0.07);
  margin-bottom: 36px;
}

.commit-card-heading {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #183330;
  margin-bottom: 22px;
}

.commit-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.commit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.commit-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(213, 237, 230, 0.7);
  color: #245c57;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(63, 127, 120, 0.2);
}

.commit-content strong {
  font-size: 1.05rem;
  color: #183330;
  display: block;
  margin-bottom: 4px;
}

.commit-desc {
  font-size: 0.95rem;
  color: #4a6360;
  line-height: 1.55;
  margin: 0;
}

.pricing-inquiry-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(63, 127, 120, 0.22);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 12px 30px rgba(24, 63, 59, 0.07);
  text-align: center;
}

.inquiry-card-heading {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #183330;
  margin-bottom: 12px;
}

.inquiry-card-desc {
  font-size: 1rem;
  color: #4a6360;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 24px;
  line-height: 1.6;
}

.inquiry-card-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* 3. KIẾN THỨC Y KHOA (POSTS) */
.articles-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.post-item-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(63, 127, 120, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(24, 63, 59, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.post-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(24, 63, 59, 0.12);
  border-color: rgba(63, 127, 120, 0.38);
}

.post-thumb-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(36, 92, 87, 0.05);
}

.post-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.post-item-card:hover .post-thumb-img {
  transform: scale(1.04);
}

.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #587a75;
  margin-bottom: 10px;
}

.post-category-tag {
  background: rgba(213, 237, 230, 0.65);
  color: #245c57;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 650;
}

.post-meta-dot {
  color: #a0aec0;
}

.post-card-title {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #183330;
  margin-bottom: 10px;
  line-height: 1.35;
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.post-card-title a:hover {
  color: #245c57;
}

.post-card-excerpt {
  font-size: 0.95rem;
  color: #4a6360;
  line-height: 1.6;
  margin-bottom: 18px;
}

.post-read-link {
  font-size: 0.92rem;
  font-weight: 650;
  color: #245c57;
  text-decoration: none;
  transition: all 180ms ease;
  display: inline-block;
}

.post-read-link:hover {
  color: #183f3b;
  transform: translateX(3px);
}

.posts-pending-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(63, 127, 120, 0.22);
  border-radius: 24px;
  padding: clamp(36px, 5vw, 48px);
  text-align: center;
  max-width: 820px;
  margin: 40px auto 0;
  box-shadow: 0 14px 34px rgba(24, 63, 59, 0.07);
}

.pending-card-heading {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #183330;
  margin-bottom: 14px;
}

.pending-card-desc {
  font-size: 1.05rem;
  color: #4a6360;
  line-height: 1.7;
  margin-bottom: 14px;
}

.pending-card-subdesc {
  font-size: 0.95rem;
  color: #587a75;
  margin-bottom: 26px;
}

.pending-card-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* 4. LIÊN HỆ & CHỈ ĐƯỜNG (CONTACT) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: flex-start;
}

.contact-details-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(63, 127, 120, 0.2);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 10px 28px rgba(24, 63, 59, 0.06);
  margin-top: 24px;
  margin-bottom: 24px;
}

.contact-details-heading {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #183330;
  margin-bottom: 16px;
}

.contact-details-list p {
  font-size: 0.95rem;
  color: #4a6360;
  margin-bottom: 12px;
  line-height: 1.6;
}

.contact-details-list strong {
  color: #183330;
  font-weight: 650;
}

.contact-phone-link {
  color: #245c57;
  font-weight: 700;
  text-decoration: none;
}

.contact-phone-link:hover {
  color: #183f3b;
  text-decoration: underline;
}

.contact-emergency-card {
  background: #fff5f3;
  border: 1px solid rgba(220, 76, 62, 0.25);
  border-left: 4px solid #dc4c3e;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.emergency-icon-badge {
  color: #dc4c3e;
  flex-shrink: 0;
  margin-top: 1px;
}

.emergency-text {
  color: #9c2e23;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.emergency-text strong {
  color: #7d2016;
  font-weight: 700;
}

.contact-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-page .btn-facebook {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.contact-page .btn-facebook:hover {
  background: #1264cf;
  border-color: #1264cf;
  color: #ffffff;
}

.contact-page .btn-secondary,
.appointment-page .btn-secondary {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid rgba(63, 127, 120, 0.45) !important;
  color: #183f3b !important;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 650;
  font-size: 0.96rem;
  transition: all 220ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(24, 63, 59, 0.05);
}

.contact-page .btn-secondary:hover,
.appointment-page .btn-secondary:hover {
  background: #245c57 !important;
  color: #ffffff !important;
  border-color: #245c57 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(36, 92, 87, 0.2);
}

.contact-media-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-photo-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(63, 127, 120, 0.2);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 10px 28px rgba(24, 63, 59, 0.06);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.contact-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(24, 63, 59, 0.12);
}

.contact-photo-wrap {
  border-radius: 14px;
  overflow: hidden;
}

.contact-venue-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 400ms ease;
}

.contact-photo-card:hover .contact-venue-img {
  transform: scale(1.02);
}

.contact-map-block {
  margin-top: 48px;
}

.contact-map-heading {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #183330;
  margin-bottom: 16px;
}

.contact-map-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(63, 127, 120, 0.2);
  box-shadow: 0 10px 28px rgba(24, 63, 59, 0.06);
  width: 100%;
  height: 420px;
}

/* 28.5 Trang Đặt lịch hẹn (Appointment Page) */
.appointment-page {
  position: relative;
  overflow: hidden;
  background-color: #f7fcf9;
  min-height: 100vh;
}

.appointment-section {
  position: relative;
  z-index: 2;
  padding-block: 60px 84px;
}

.appointment-container {
  max-width: 760px;
  margin: 0 auto;
}

.appointment-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 36px;
}

.appointment-head .hero-tag {
  margin-bottom: 12px;
}

.appointment-form-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(63, 127, 120, 0.2);
  border-radius: 24px;
  padding: 38px 42px;
  box-shadow: 0 14px 36px rgba(24, 63, 59, 0.06);
  margin-bottom: 24px;
}

.appointment-page .form-label {
  display: block;
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.94rem;
  font-weight: 650;
  color: #183330;
  margin-bottom: 8px;
}

.appointment-page .form-control {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid rgba(63, 127, 120, 0.25);
  background: #ffffff;
  padding: 12px 16px;
  font-size: 0.98rem;
  color: #183330;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  font-family: inherit;
  box-sizing: border-box;
}

.appointment-page .form-control:focus {
  border-color: #245c57;
  outline: none;
  box-shadow: 0 0 0 3.5px rgba(36, 92, 87, 0.15);
}

.appointment-page .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.appointment-page .form-hint {
  color: #55726e;
  font-size: 0.83rem;
  margin-top: 6px;
  display: block;
  line-height: 1.45;
}

.appointment-page .required-mark {
  color: #d13b2c;
  font-weight: 700;
  margin-left: 2px;
}

.appointment-page .appointment-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #32504b;
  line-height: 1.55;
  cursor: pointer;
  margin-top: 10px;
}

.appointment-page .appointment-consent-check input {
  accent-color: #245c57;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}

.appointment-submit-btn {
  width: 100%;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  background: #245c57 !important;
  border: 1.5px solid #245c57 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(36, 92, 87, 0.22);
  transition: all 220ms ease;
  cursor: pointer;
  margin-top: 12px;
}

.appointment-submit-btn:hover {
  background: #183f3b !important;
  border-color: #183f3b !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(24, 63, 59, 0.3);
}

.appointment-contact-nav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px dashed rgba(63, 127, 120, 0.35);
  border-radius: 20px;
  padding: 20px 26px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 6px 18px rgba(24, 63, 59, 0.04);
}

.appointment-nav-text strong {
  display: block;
  font-size: 0.98rem;
  color: #183330;
  font-weight: 700;
  margin-bottom: 3px;
}

.appointment-nav-text span {
  font-size: 0.88rem;
  color: #506f6b;
  line-height: 1.45;
}

.appointment-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.appointment-alert .alert-icon {
  flex-shrink: 0;
}

/* 28.6 Chi tiết bài viết kiến thức (Post Detail Page) */
.post-detail-page {
  position: relative;
  overflow: hidden;
  background-color: #f7fcf9;
  min-height: 100vh;
}

.post-detail-section {
  position: relative;
  z-index: 2;
  padding-block: 48px 84px;
}

.post-detail-container {
  max-width: 860px;
  margin: 0 auto;
}

/* Breadcrumb y tế */
.post-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: #55726e;
  margin-bottom: 24px;
}

.post-breadcrumb a {
  color: #245c57;
  text-decoration: none;
  transition: color 180ms ease;
  font-weight: 550;
}

.post-breadcrumb a:hover {
  color: #183330;
  text-decoration: underline;
}

.post-breadcrumb .breadcrumb-sep {
  color: #8faea8;
  font-size: 1rem;
}

.post-breadcrumb .breadcrumb-current {
  color: #183330;
  font-weight: 650;
}

/* Header */
.post-detail-header {
  margin-bottom: 30px;
}

.post-detail-header .hero-tag {
  margin-bottom: 14px;
  display: inline-block;
}

.post-detail-title {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 750;
  line-height: 1.28;
  color: #183330;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.post-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.92rem;
  color: #506f6b;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(63, 127, 120, 0.18);
}

.post-detail-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-detail-meta .meta-icon {
  color: #3f7f78;
  flex-shrink: 0;
}

.post-detail-meta .meta-dot {
  color: #a0bdb8;
  font-weight: bold;
}

.post-detail-meta strong {
  color: #183330;
  font-weight: 650;
}

/* Hero Image Card */
.post-hero-image-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(63, 127, 120, 0.2);
  border-radius: 24px;
  padding: 10px;
  box-shadow: 0 14px 36px rgba(24, 63, 59, 0.07);
  margin-bottom: 36px;
  overflow: hidden;
}

.post-hero-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Article Content Body */
.post-article-content {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(63, 127, 120, 0.18);
  border-radius: 24px;
  padding: 42px 48px;
  box-shadow: 0 10px 32px rgba(24, 63, 59, 0.05);
  font-size: 1.06rem;
  line-height: 1.84;
  color: #203c37;
  margin-bottom: 44px;
}

.post-article-content p {
  margin-bottom: 22px;
  color: #24413c;
}

.post-article-content h2,
.post-article-content h3 {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  color: #183330;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 36px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 14px;
}

.post-article-content h2::before,
.post-article-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #245c57 0%, #4a948b 100%);
}

.post-article-content h3 {
  font-size: 1.35rem;
}

.post-article-content ul,
.post-article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.post-article-content li {
  margin-bottom: 12px;
  line-height: 1.72;
}

.post-article-content li strong {
  color: #183330;
  font-weight: 650;
}

.post-article-content .note-box {
  background: rgba(230, 248, 243, 0.85);
  border: 1px solid rgba(46, 133, 100, 0.28);
  border-left: 4px solid #245c57;
  border-radius: 16px;
  padding: 22px 26px;
  margin: 28px 0;
}

.post-article-content .note-box p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.68;
  color: #1b4b45;
}

.post-article-content .note-box strong {
  color: #113833;
}

/* Post CTA Banner */
.post-cta-banner {
  background: linear-gradient(135deg, rgba(230, 248, 243, 0.95) 0%, rgba(213, 240, 233, 0.9) 100%);
  border: 1.5px solid rgba(63, 127, 120, 0.35);
  border-radius: 24px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(24, 63, 59, 0.08);
  margin-bottom: 52px;
}

.post-cta-heading {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.45rem;
  font-weight: 750;
  color: #183330;
  margin-bottom: 10px;
}

.post-cta-desc {
  color: #40635f;
  font-size: 0.98rem;
  max-width: 580px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.post-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Related Articles */
.post-related-section {
  margin-top: 48px;
}

.post-related-heading {
  font-family: var(--font-ios, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1.5rem;
  font-weight: 750;
  color: #183330;
  margin-bottom: 24px;
}

.post-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* Responsive Subpages */
@media (max-width: 991px) {
  .service-detail-hero-grid,
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-detail-hero-grid {
    gap: 36px;
  }

  .service-detail-visual {
    width: min(100%, 720px);
  }

  .service-detail-sidebar {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-card-grid,
  .articles-card-grid {
    grid-template-columns: 1fr;
  }

  .appointment-form-card {
    padding: 26px 22px;
  }

  .appointment-contact-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .appointment-contact-nav .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .post-article-content {
    padding: 30px 24px;
  }
}

@media (max-width: 768px) {
  .service-detail-hero {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .service-detail-breadcrumb {
    margin-bottom: 25px;
  }

  .service-detail-title {
    margin-top: 13px;
    font-size: clamp(2rem, 10vw, 2.55rem);
    letter-spacing: -0.038em;
  }

  .service-detail-lead {
    margin-bottom: 22px;
    font-size: 0.98rem;
    line-height: 1.66;
  }

  .service-detail-actions {
    flex-direction: column;
    margin-bottom: 24px;
  }

  .service-detail-actions .btn {
    width: 100%;
  }

  .service-detail-hero-zalo,
  .service-detail-booking-card {
    display: none;
  }

  .service-detail-visual {
    border-radius: 19px;
  }

  .service-detail-visual img {
    aspect-ratio: 4 / 3;
  }

  .service-detail-body {
    padding-top: 42px;
  }

  .service-detail-content-card,
  .service-detail-process,
  .service-detail-cost-card,
  .service-detail-booking-card,
  .service-detail-related-card {
    border-radius: 17px;
  }

  .service-detail-content-card,
  .service-detail-process {
    padding: 24px 19px;
  }

  .service-process-grid,
  .service-detail-sidebar {
    grid-template-columns: 1fr;
  }

  .service-process-step {
    position: relative;
    min-height: 0;
    padding: 17px 17px 17px 64px;
  }

  .service-process-number {
    position: absolute;
    top: 18px;
    left: 16px;
    margin: 0;
  }

  .service-detail-cost-card {
    display: block;
    padding: 24px 19px;
  }

  .service-detail-cost-icon {
    margin-bottom: 18px;
  }

  .service-detail-cost-actions {
    flex-direction: column;
  }

  .service-detail-cost-actions .btn {
    width: 100%;
  }

  .service-detail-booking-card,
  .service-detail-related-card {
    padding: 23px 19px;
  }

  .appointment-page .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .post-article-content {
    padding: 24px 18px;
  }

  .post-cta-banner {
    padding: 28px 20px;
  }

  .post-cta-actions .btn {
    width: 100%;
  }

  .post-related-grid {
    grid-template-columns: 1fr;
  }
}
