/* 
 * CSS stylesheet cho Landing Page Dịch vụ thông tắc sữa tại nhà 
 * Tác giả: Antigravity Code Assistant
 * Ngôn ngữ: Tiếng Việt, có comment giải thích chi tiết
 */

/* Import Google Fonts - Be Vietnam Pro hỗ trợ tiếng Việt cực đẹp, chuẩn 100% không bao giờ lỗi */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&display=swap');

/* Định nghĩa hệ thống biến màu sắc và tokens */
:root {
  --primary-color: #E76F51;      /* Hồng cam ấm áp - đại diện cho sự ấm áp của sữa mẹ */
  --primary-hover: #D85A3C;
  --secondary-color: #2A9D8F;    /* Xanh ngọc - màu an toàn y khoa, sự tin cậy */
  --accent-color: #F4A261;       /* Vàng sữa - màu năng lượng dịu nhẹ */
  --bg-milk: #FDFBF7;            /* Nền kem sữa ấm áp, dễ chịu cho mắt */
  --bg-white: #FFFFFF;
  --text-dark: #2D3748;          /* Màu chữ xám đậm dễ đọc, chuẩn SEO */
  --text-muted: #718096;
  --border-color: #E2E8F0;
  --font-main: 'Be Vietnam Pro', sans-serif;
  --shadow-light: 0 4px 6px rgba(231, 111, 81, 0.05);
  --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.05);
  --shadow-accent: 0 10px 20px rgba(231, 111, 81, 0.15);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset CSS cơ bản */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-milk);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Helper chống xuống dòng từ cô đơn (orphan word) */
.keep-together {
  white-space: nowrap;
}

/* Áp dụng text-wrap balance cho tất cả heading chính */
h1, h2, h3 {
  text-wrap: balance;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container chia khung */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nút bấm CTA phong cách Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px; /* Bo góc tròn trịa, mềm mại */
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(231, 111, 81, 0.25);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

.btn-secondary:hover {
  background-color: #207E73;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* HEADER - Thanh điều hướng */
.site-header {
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 900; /* Đảm bảo thấp hơn Floating Contact (z-index: 999) và Sticky CTA Mobile (z-index: 1000) */
  border-bottom: 1px solid rgba(231, 111, 81, 0.1);
  box-shadow: var(--shadow-light);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px; /* Tăng nhẹ để logo to hơn 30% hiển thị thoải mái */
}

.logo {
  /* Loại bỏ margin-right auto để menu được căn đối */ /* Đẩy menu điều hướng và hotline sang bên phải, cách xa logo */
  flex-shrink: 0; /* Chống co dãn, giữ nguyên kích thước logo */
}

.logo img {
  height: 68px; /* Tăng thêm 30% giúp logo nổi bật và dễ nhìn */
  width: auto;
  object-fit: contain;
}

.main-nav {
  margin-left: auto; /* Đẩy menu sang bên phải một cách tự nhiên */
  margin-right: 24px; /* Khoảng cách thoáng với lề phải */
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 36px; /* Tăng nhẹ gap để menu nhìn thoáng đãng */
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  white-space: nowrap; /* Không cho phép xuống dòng chữ trong menu */
}

.main-nav a:hover {
  color: var(--primary-color);
}

/* Thanh gạch dưới hiệu ứng khi hover link điều hướng */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0; /* Chống co dãn, giữ nguyên kích thước vùng Hotline và nút Đặt lịch */
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.phone-link svg {
  fill: var(--primary-color);
  animation: shake 1.5s infinite alternate;
}

/* Hiệu ứng rung lắc nhẹ cho biểu tượng cuộc gọi để thu hút chú ý */
@keyframes shake {
  0% { transform: rotate(0); }
  15% { transform: rotate(5deg); }
  30% { transform: rotate(-5deg); }
  45% { transform: rotate(4deg); }
  60% { transform: rotate(-4deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0); }
}

/* HERO BANNER - Đầu trang */
.hero-section {
  padding: 80px 0 100px 0;
  background: radial-gradient(circle at 80% 20%, rgba(244, 162, 97, 0.1) 0%, rgba(253, 251, 247, 0) 60%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(42, 157, 143, 0.1);
  color: var(--secondary-color);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(231, 111, 81, 0) 70%, rgba(231, 111, 81, 0.05));
  pointer-events: none;
}

/* SECTION CHUNG */
.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 900px; /* Tăng từ 700px lên 900px để tránh xuống dòng xấu trên Desktop */
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-wrap: balance; /* Tự động cân bằng ngắt dòng */
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* SECTION PAIN POINT - NỖI ĐAU CỦA MẸ */
.bg-darker {
  background-color: rgba(231, 111, 81, 0.02);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pain-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background-color: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  border-left: 4px solid #E63946; /* Điểm nhấn màu đỏ cảnh báo */
}

.pain-item-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.pain-item-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.pain-item-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pain-advise {
  margin-top: 32px;
  padding: 20px;
  background-color: rgba(230, 57, 70, 0.05);
  border-radius: 12px;
  border-left: 4px solid #E63946;
  font-style: italic;
  font-weight: 500;
}

/* SECTION SOLUTION - QUY TRÌNH GIẢI PHÁP */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background-color: var(--bg-white);
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(231, 111, 81, 0.05);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(231, 111, 81, 0.08);
}

.step-number {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(231, 111, 81, 0.05);
  line-height: 1;
  user-select: none;
}

.step-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(231, 111, 81, 0.1);
  color: var(--primary-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* SECTION WHY CHOOSE US - ƯU ĐIỂM VƯỢT TRỘI */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-box {
  display: flex;
  gap: 20px;
  padding: 32px;
  background-color: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(231, 111, 81, 0.02);
  transition: var(--transition-smooth);
}

.feature-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(42, 157, 143, 0.1);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* SECTION PRICING - BẢNG GIÁ DỊCH VỤ */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--bg-white);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  box-shadow: var(--shadow-medium);
  position: relative;
  border: 1px solid rgba(231, 111, 81, 0.05);
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
}

.pricing-card.popular::before {
  content: 'KHUYÊN DÙNG';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 1px;
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-price {
  margin-bottom: 32px;
}

.price-old {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.price-new {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
}

.price-new span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.pricing-features li svg {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.pricing-bonus {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.pricing-bonus-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bonus-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.bonus-list li {
  font-size: 0.85rem;
  color: var(--text-dark);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.bonus-list span {
  font-weight: 700;
  color: var(--secondary-color);
}

/* SECTION FEEDBACK - ĐÁNH GIÁ KHÁCH HÀNG */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(231, 111, 81, 0.02);
}

.stars {
  color: #FFB020;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* SECTION FAQ - HỎI ĐÁP */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  background-color: rgba(231, 111, 81, 0.02);
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px 24px;
  max-height: 300px; /* Đủ lớn để hiện hết text */
}

.faq-question svg {
  transition: var(--transition-smooth);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

/* SECTION CTA FORM - ĐĂNG KÝ ĐẶT LỊCH */
.booking-section {
  background: linear-gradient(135deg, rgba(231, 111, 81, 0.05) 0%, rgba(244, 162, 97, 0.05) 100%);
  padding: 100px 0;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.booking-info h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.booking-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.trust-elements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-icon {
  color: var(--secondary-color);
}

.booking-form-wrapper {
  background-color: var(--bg-white);
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(231, 111, 81, 0.05);
}

.booking-form-wrapper h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  outline: none;
  background-color: var(--bg-milk);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.1);
}

.btn-block {
  width: 100%;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* FOOTER - Chân trang */
.site-footer {
  background-color: #1A202C; /* Nền tối sang trọng */
  color: #E2E8F0;
  padding: 80px 0 30px 0;
  border-top: 4px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-about h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--bg-white);
}

.footer-about p {
  color: #A0AEC0;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-logo {
  height: 86px; /* Tăng kích thước thêm 20% nữa (86px) */
  width: auto;
  object-fit: contain;
  margin: 0 auto 24px auto; /* Căn giữa logo và cách dưới 24px */
}

.footer-links h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--bg-white);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #A0AEC0;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 4px;
}

.footer-contact h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--bg-white);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #A0AEC0;
  font-size: 0.9rem;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #2D3748;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #718096;
  font-size: 0.85rem;
}

/* THIẾT KẾ RESPONSIVE (Cho mọi thiết bị di động và máy tính bảng) */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  .hero-grid, .pain-grid, .booking-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: relative;
  }
  .header-container {
    height: 70px;
  }
  .main-nav {
    display: none; /* Ẩn menu trên mobile để tinh gọn */
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image {
    order: -1; /* Đưa ảnh lên trước trên thiết bị di động */
    max-width: 450px;
    margin: 0 auto;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-badges {
    align-items: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
  .pricing-card {
    max-width: 450px;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .booking-info {
    text-align: center;
  }
  .trust-elements {
    justify-items: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ========================================
   SECTION �? TIN C?Y � Trust Intro Box
======================================== */
.trust-intro-section {
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.04) 0%, rgba(244, 162, 97, 0.04) 100%);
  padding: 60px 0;
}

.trust-intro-box {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 40px 48px;
  box-shadow: var(--shadow-medium);
  border-left: 5px solid var(--secondary-color);
}

.trust-intro-icon {
  font-size: 3rem;
  line-height: 1;
  flex-shrink: 0;
}

.trust-intro-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
  text-align: left;
}

.trust-intro-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.trust-hygiene-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-hygiene-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}


/* ========================================
   SECTION CANH BAO Y KHOA
======================================== */
.medical-warning-section {
  background: rgba(230, 57, 70, 0.02);
}

.medical-warning-box {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-medium);
  border: 2px solid rgba(230, 57, 70, 0.12);
}

.medical-warning-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.medical-warning-icon {
  font-size: 2rem;
  line-height: 1;
}

.medical-warning-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #C0392B;
  text-align: left;
}

.medical-warning-lead {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding: 14px 20px;
  background-color: rgba(230, 57, 70, 0.06);
  border-radius: 10px;
}

.medical-warning-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.medical-warning-list li {
  font-size: 0.95rem;
  color: var(--text-dark);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 12px;
  background: rgba(230, 57, 70, 0.03);
  border-radius: 8px;
}

.medical-disclaimer {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(0,0,0,0.03);
  font-style: italic;
  border-left: 3px solid var(--border-color);
}


/* ========================================
   SECTION KHU VUC PHUC VU
======================================== */
.area-served-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.area-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(231, 111, 81, 0.07);
  transition: var(--transition-smooth);
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.area-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.area-card.area-primary {
  border: 2px solid var(--secondary-color);
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.03), var(--bg-white));
}

.area-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.area-card ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.area-card ul li:last-child {
  border-bottom: none;
}

.area-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 12px;
}

.area-cta {
  text-align: center;
  padding: 20px;
  background-color: rgba(231, 111, 81, 0.05);
  border-radius: 12px;
  font-size: 1rem;
}

.area-phone-link {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: underline;
}

.testimonial-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 24px;
  padding: 12px;
  background: rgba(0,0,0,0.02);
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .area-served-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .trust-intro-box {
    flex-direction: column;
    padding: 28px 24px;
  }
  .trust-intro-title {
    font-size: 1.2rem;
  }
  .medical-warning-box {
    padding: 28px 20px;
  }
  .medical-warning-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .medical-warning-header h2 {
    font-size: 1.2rem;
  }
  .area-served-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   TỐI ƯU HÓA UI/UX CHUYỂN ĐỔI - LANDING PAGE THÔNG TẮC TIA SỮA TRẦN HOÀNG
   ========================================================================== */

/* 1. Hỗ trợ ẩn phần tử không cần thiết trên mobile */
.mobile-hide {
  display: block;
}

/* 2. Floating Contact Bar cho Desktop (màn hình rộng hơn 768px) */
.floating-contact-desktop {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  transition: var(--transition-smooth);
}

.floating-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  position: relative;
  cursor: pointer;
  outline: none;
}

.floating-item .floating-icon {
  font-size: 1.4rem;
  transition: var(--transition-smooth);
}

.floating-item .floating-text {
  position: absolute;
  right: 64px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Mũi tên nhỏ bên phải của popup text */
.floating-item .floating-text::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--text-dark);
}

/* Hiệu ứng Hover & Active trên Desktop */
.floating-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(231, 111, 81, 0.3);
}

.floating-item:hover .floating-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.floating-item:active {
  transform: scale(0.95);
}

/* Phối màu cho từng nút Floating Contact */
.floating-phone {
  background: linear-gradient(135deg, #FF4B2B, #E76F51);
  color: white;
}

.floating-zalo {
  background: linear-gradient(135deg, #0084FF, #0050E6);
  color: white;
}

.floating-booking {
  background: linear-gradient(135deg, var(--secondary-color), #1E7D72);
  color: white;
}

/* 3. Sticky CTA Bar cho Mobile (màn hình nhỏ hơn hoặc bằng 768px) */
.sticky-cta-mobile {
  display: none; /* Ẩn mặc định trên Desktop */
}

/* 4. Trạng thái focus-visible cho người dùng sử dụng bàn phím */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
select:focus-visible,
.floating-item:focus-visible {
  outline: 3px solid var(--primary-color) !important;
  outline-offset: 2px !important;
}

/* ==========================================================================
   MEDIA QUERIES - ĐÁP ỨNG THIẾT BỊ DI ĐỘNG (MOBILE <= 768PX)
   ========================================================================== */
@media (max-width: 768px) {
  
  /* Ẩn Floating Contact Desktop và phần tử chỉ định */
  .floating-contact-desktop,
  .mobile-hide {
    display: none !important;
  }

  /* Kích hoạt Sticky CTA Mobile cố định dưới màn hình */
  .sticky-cta-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) 12px;
    z-index: 1000;
  }

  .sticky-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 48px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bg-white);
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
  }

  .sticky-item:active {
    transform: scale(0.97);
  }

  .sticky-phone {
    background: linear-gradient(135deg, #FF4B2B, #E76F51);
  }

  .sticky-zalo {
    background: linear-gradient(135deg, #0084FF, #0050E6);
  }

  .sticky-booking {
    background: linear-gradient(135deg, var(--secondary-color), #1E7D72);
  }

  .sticky-item .sticky-icon {
    font-size: 1.1rem;
  }

  /* Tạo khoảng trống an toàn dưới chân trang để không bị Sticky CTA che nội dung */
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .site-footer {
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Tối ưu hóa form đặt lịch trên mobile */
  .booking-section {
    padding-bottom: 30px; /* Thêm khoảng đệm cho form */
  }

  .booking-form-wrapper {
    padding: 24px 16px;
    border-radius: 16px;
    margin-top: 15px;
  }

  .booking-form-wrapper h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  /* Tăng kích thước input/select/button để dễ bấm bằng một tay */
  .form-control {
    min-height: 48px !important;
    font-size: 16px !important; /* Ngăn iPhone zoom tự động */
    padding: 10px 14px !important;
    border-radius: 8px !important;
  }

  .form-group {
    margin-bottom: 18px !important;
  }

  .form-group label {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  /* Nút submit form đặt lịch to và dễ chạm hơn */
  #submit-booking.btn-block {
    min-height: 54px !important;
    font-size: 1.1rem !important;
    font-weight: 700;
    border-radius: 27px;
    margin-top: 8px;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(231, 111, 81, 0.2);
  }

  #submit-booking.btn-block:active {
    transform: scale(0.98);
  }

  .form-note {
    font-size: 0.8rem;
    margin-top: 10px;
  }

  /* Tối ưu hóa Hero Section trên Mobile */
  .hero-section {
    padding: 40px 0 30px 0 !important;
  }

  .hero-grid {
    display: flex;
    flex-direction: column-reverse; /* Đẩy nội dung chữ và nút bấm lên trên, ảnh xuống dưới */
    gap: 24px;
  }

  .hero-content {
    text-align: center;
  }

  #main-title {
    font-size: 1.7rem !important; /* H1 ngắn gọn, vừa vặn màn hình */
    line-height: 1.3 !important;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 0.95rem !important;
    margin-bottom: 18px;
  }

  .hero-badges {
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
    max-width: 100%;
  }

  .badge-item {
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
    align-items: flex-start !important;
  }

  /* Đảm bảo nút CTA chính xuất hiện sớm trong màn hình đầu tiên */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
  }

  .hero-buttons .btn {
    width: 100% !important;
    min-height: 48px;
    font-size: 0.95rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Ảnh hero không quá cao và cân đối */
  .hero-image {
    max-width: 240px;
    margin: 0 auto !important;
  }

  .hero-image img {
    max-height: 200px !important;
    width: auto !important;
    object-fit: contain;
  }

  /* Tối ưu hóa Header Mobile để không bị tràn ngang và tối giản */
  .site-header {
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 900; /* Đồng bộ z-index */
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .header-container {
    padding: 0 16px !important;
    display: flex;
    justify-content: center; /* Căn giữa logo trên mobile theo yêu cầu của bạn */
    align-items: center;
    width: 100%;
    height: 92px !important; /* Chiều cao header 92px phù hợp sau khi giảm logo 20% */
  }

  /* Giới hạn logo trong header mobile - Giảm 20% (cao 76px) đã crop sát biên giúp cân đối và thoáng mắt hơn */
  .logo img {
    height: 76px !important; 
    width: auto !important;
  }

  /* Tránh tràn ngang trên các section khác */
  .container {
    padding: 0 16px !important;
  }

  .section-padding {
    padding: 40px 0 !important;
  }

  .section-header h2 {
    font-size: 1.4rem !important;
    line-height: 1.3;
  }

  /* Điều chỉnh các phần tử nhỏ để cải thiện khoảng trắng */
  .step-card {
    padding: 20px 16px !important;
  }

  .feature-box {
    padding: 16px !important;
  }
}
