@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Baloo+2:wght@500;600;700;800&display=swap');

:root {
  --primary: #FF6B35;
  --primary-dark: #E55A2B;
  --secondary: #FBBF24;
  --accent: #10B981;
  --accent-dark: #059669;
  --bg-cream: #FFF8F0;
  --bg-warm: #FEF3E2;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Baloo 2', cursive; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,107,53,0.1);
  transition: all 0.3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: 'Baloo 2', cursive; font-size: 1.8rem; font-weight: 800;
  color: var(--primary); text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo span { color: var(--secondary); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-dark); font-weight: 600;
  font-size: 0.95rem; position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 3px;
  background: var(--primary); border-radius: 2px; transition: width 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta-wrapper { display: flex; align-items: center; gap: 32px; }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border: none; padding: 10px 24px; border-radius: 50px;
  font-family: 'Quicksand'; font-weight: 700; font-size: 0.9rem;
  cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,53,0.4); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span {
  display: block; width: 28px; height: 3px; margin: 5px 0;
  background: var(--text-dark); border-radius: 3px; transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding-bottom: 70px; display: flex; align-items: center;
  padding-top: 72px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-warm) 50%, #FDE68A33 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; row-gap: 20px; column-gap: 48px; align-items: center; }
.hero-top-wrap {
  grid-column: 1 / -1; margin-top: 20px; margin-bottom: 0px;
}
.hero-top-title {
  text-align: center; color: #DC2626;
  font-family: 'Baloo 2', cursive; font-size: 2.2rem; font-weight: 800;
  line-height: 1.2; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px;
}
.hero-top-desc {
  text-align: center;
  font-size: 1.1rem; color: var(--text-muted); line-height: 1.7;
  max-width: 800px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,53,0.1); color: var(--primary);
  padding: 8px 20px; border-radius: 50px; font-weight: 700; font-size: 0.85rem;
  margin-bottom: 16px; animation: fadeInUp 0.6s ease;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
.hero h1 {
  font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.1rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 32px; animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.6s ease 0.3s both; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border: none; padding: 16px 36px; border-radius: 50px;
  font-family: 'Quicksand'; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(255,107,53,0.4); }
.btn-secondary {
  background: white; color: var(--text-dark); border: 2px solid #E2E8F0;
  padding: 14px 36px; border-radius: 50px;
  font-family: 'Quicksand'; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.hero-stats {
  display: flex; gap: 40px; margin-top: 10px;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-stat h3 { font-size: 1.8rem; color: var(--primary); }
.hero-stat p { font-size: 0.85rem; color: var(--text-muted); }
.hero-gallery {
  position: relative; animation: fadeInRight 0.8s ease 0.3s both;
}
.hero-img-main {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: block;
}
.hero-img-float {
  position: absolute; width: 180px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); object-fit: cover; aspect-ratio: 1;
  border: 4px solid white;
}
.hero-img-float:nth-child(2) { top: -20px; left: -30px; animation: float 4s ease-in-out infinite; }
.hero-img-float:nth-child(3) { bottom: -30px; right: -40px; animation: float 4s ease-in-out infinite 1s; }

/* ===== VOUCHER BANNER ===== */
.voucher-banner {
  padding: 0; position: relative; overflow: hidden;
}
.voucher-img {
  width: 100%; height: auto;
  display: block;
}
.voucher-content-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center; width: 85%; max-width: 650px;
  color: var(--text-dark);
}
.voucher-content-overlay h2 { font-size: 2rem; margin-bottom: 5px; }
.voucher-amount {
  font-family: 'Baloo 2'; font-size: 4rem; font-weight: 800;
  text-shadow: 0 4px 12px rgba(255,140,66,0.3);
  animation: pulse-scale 2s ease-in-out infinite; margin-bottom: 5px;
}
.voucher-action { margin: 15px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: bold; font-size: 1.1rem;}
.voucher-note { font-size: 0.9rem; opacity: 0.85; line-height: 1.4; color: #555; }

/* Responsive text for voucher overlay */
@media (max-width: 768px) {
  .voucher-content-overlay h2 { font-size: 1.2rem; }
  .voucher-amount { font-size: 2.2rem; }
  .voucher-action span { font-size: 0.9rem; }
  .voucher-action .btn-primary { padding: 10px 20px; font-size: 0.9rem; }
  .voucher-content-overlay p { font-size: 0.8rem; margin: 5px 0;}
  .voucher-note { font-size: 0.7rem; }
}

/* ===== PRODUCTS ===== */
.products { padding: 50px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; background: rgba(255,107,53,0.1);
  color: var(--primary); padding: 6px 20px; border-radius: 50px;
  font-weight: 700; font-size: 0.85rem; margin-bottom: 12px;
}
.section-header h2 { font-size: 2.4rem; margin-bottom: 12px; }
.title-dot {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: #FF3B30;
  border-radius: 50%;
  margin-left: 0.2em;
  vertical-align: -0.1em;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all 0.4s;
  border: 1px solid rgba(0,0,0,0.05);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card-img {
  position: relative; overflow: hidden; background: white;
  display: flex; align-items: center; justify-content: center; height: 260px;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.5s;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: white;
  padding: 6px 14px; border-radius: 50px;
  font-weight: 700; font-size: 0.8rem;
}
.product-card-body { padding: 24px; }
.product-card-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.product-card-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.product-price {
  display: flex; align-items: center; gap: 12px;
}
.product-price .current { font-family: 'Baloo 2'; font-size: 1.5rem; color: var(--primary); font-weight: 700; }
.product-price .original {
  font-size: 0.95rem; color: var(--text-light);
  text-decoration: line-through;
}

/* ===== GALLERY & VIDEO SHOWCASE ===== */
.gallery { padding: 30px 0 80px; background: var(--bg-warm); }
.video-showcase {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
  align-items: center;
}
.video-player-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-height: 560px;
}
.video-cover {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  cursor: pointer;
  z-index: 2;
  transition: all 0.4s;
}
.video-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.video-cover:hover img { transform: scale(1.05); }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 rgba(255,107,53,0.5);
  animation: pulsePlay 2s infinite;
  transition: all 0.3s;
}
.video-cover:hover .play-btn {
  background: var(--primary-dark);
  transform: translate(-50%, -50%) scale(1.1);
}
.play-icon {
  color: white;
  font-size: 1.6rem;
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 16px; right: 16px;
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.video-iframe-container {
  width: 100%; height: 100%;
}
.video-iframe-container video {
  width: 100%; height: 100%;
  border: none;
  object-fit: cover;
}
.video-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.video-info h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  line-height: 1.3;
}
.video-info p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.98rem;
}
.video-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 16px 0;
  margin: 8px 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.gallery-title-sub {
  margin-bottom: 24px;
}
.gallery-title-sub h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
}
/* Bố cục 1 ảnh lớn + 6 ảnh nhỏ */
.gallery-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.gallery-main-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: default;
}
.gallery-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-main-img .gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 1;
}
.gallery-main-img .gallery-overlay span {
  color: white; font-weight: 700; font-size: 1rem;
}
.gallery-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}
.gallery-thumb-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/2;
}
.gallery-thumb-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.gallery-thumb-item:hover img { transform: scale(1.08); }
.gallery-thumb-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.gallery-thumb-item:hover .gallery-thumb-overlay {
  background: rgba(0,0,0,0.35);
}
.gallery-thumb-overlay span {
  font-size: 1.8rem;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s;
}
.gallery-thumb-item:hover .gallery-thumb-overlay span {
  opacity: 1;
  transform: scale(1);
}

/* Giữ lại .gallery-overlay cho tương thích */
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-overlay span { color: white; font-weight: 700; font-size: 0.9rem; }

@keyframes pulsePlay {
  0% { box-shadow: 0 0 0 0 rgba(255,107,53,0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255,107,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}

@media (max-width: 992px) {
  .video-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
  }
  .video-player-wrapper {
    max-width: 300px;
    margin: 0 auto;
    max-height: none;
  }
}

/* ===== CHECKLIST SECTION ===== */
.checklist-section { padding: 30px 0; }
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.checklist-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: white;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all 0.4s;
  user-select: none;
}
.checklist-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(255,107,53,0.1);
  transform: translateY(-3px);
}
.checklist-card.checked {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255,107,53,0.04), rgba(255,159,67,0.06));
}
.checklist-checkbox {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  margin-top: 2px;
}
.checklist-card.checked .checklist-checkbox {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  animation: checkBounce 0.4s ease;
}
.check-icon {
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s;
}
.checklist-card.checked .check-icon {
  opacity: 1;
  transform: scale(1);
}
.checklist-content h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}
.checklist-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.checklist-conclusion {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: white;
  border-radius: var(--radius-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(0,0,0,0.05);
}
.conclusion-text {
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.8;
}
.conclusion-text strong {
  color: var(--primary);
}

@keyframes checkBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@media (max-width: 768px) {
  .checklist-grid { grid-template-columns: 1fr; }
}

/* ===== POLICIES ===== */
.policies { padding: 30px 0 100px; background: var(--bg-warm); }
.policies-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.policy-card {
  background: white; border-radius: var(--radius-lg); padding: 32px;
  display: flex; gap: 20px; align-items: flex-start;
  border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s;
}
.policy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.policy-icon {
  width: 56px; height: 56px; min-width: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}
.policy-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.policy-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; }
.testimonial-track { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.testimonial-track::-webkit-scrollbar { height: 6px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
.testimonial-card {
  min-width: 360px; background: white; border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid rgba(0,0,0,0.05);
  scroll-snap-align: start; flex-shrink: 0;
}
.testimonial-stars { color: var(--secondary); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-card blockquote {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.1rem;
}
.testimonial-author h4 { font-size: 0.95rem; }
.testimonial-author p { font-size: 0.8rem; color: var(--text-light); }

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--text-dark) 0%, #334155 100%);
  color: white; text-align: center;
}
.cta-section h2 { font-size: 2.4rem; margin-bottom: 16px; }
.cta-section p { color: #94A3B8; font-size: 1.1rem; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: 36px;}
.cta-section .btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  font-size: 1.1rem; padding: 18px 48px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: fadeInUp 0.3s ease;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.lightbox-close:hover { background: var(--primary); }

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark); color: #CBD5E1; padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: white; font-size: 1.6rem; margin-bottom: 12px; }
.footer-brand h3 span { color: var(--secondary); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: white; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #94A3B8; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid #334155; padding-top: 24px;
  text-align: center; font-size: 0.85rem; color: #64748B;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes pulse-scale { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9);
  z-index: 2000; display: none; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: 12px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: white; font-size: 2rem; cursor: pointer; background: none; border: none;
}

/* ===== NÚT XEM CHI TIẾT TRONG PRODUCT CARD ===== */
.product-card { cursor: pointer; }
.btn-detail {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 10px 24px; width: 100%; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border: none; border-radius: 50px;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 0.85rem;
  cursor: pointer; transition: all 0.3s;
}
.btn-detail:hover {
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,53,0.35);
}

/* ===== PRODUCT DETAIL MODAL ===== */
.product-modal {
  position: fixed; inset: 0; z-index: 1500;
  display: none; align-items: center; justify-content: center;
}
.product-modal.active { display: flex; }
.product-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px);
}
.product-modal-content {
  position: relative; background: white; border-radius: var(--radius-lg);
  max-width: 1100px; width: 95%; max-height: 92vh; overflow-y: auto;
  box-shadow: 0 32px 64px rgba(0,0,0,0.3);
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-modal-close {
  position: absolute; top: 16px; right: 20px; z-index: 10;
  background: rgba(0,0,0,0.05); border: none; width: 40px; height: 40px;
  border-radius: 50%; font-size: 1.5rem; cursor: pointer;
  transition: all 0.3s; display: flex; align-items: center; justify-content: center;
  color: var(--text-dark);
}
.product-modal-close:hover {
  background: rgba(255,107,53,0.1); color: var(--primary); transform: rotate(90deg);
}
.product-modal-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
}
/* Gallery bên trái */
.product-modal-gallery {
  padding: 32px; border-right: 1px solid rgba(0,0,0,0.06);
}
.product-modal-main-img {
  width: 100%; border-radius: var(--radius); position: relative;
  overflow: hidden; margin-bottom: 20px; cursor: zoom-in;
  background: #f5f5f5; display: flex; align-items: center; justify-content: center;
  min-height: 280px; max-height: 480px;
}
.pm-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.8); border: none; width: 40px; height: 40px;
  border-radius: 50%; font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s; color: var(--text-dark); z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.pm-arrow:hover { background: white; color: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.pm-prev { left: 16px; }
.pm-next { right: 16px; }
.product-modal-main-img img {
  width: 100%; max-height: 480px; object-fit: contain; transition: transform 0.4s ease;
}
.product-modal-main-img:hover img { transform: scale(1.03); }
/* Tabs phân loại ảnh */
.product-modal-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pm-tab {
  padding: 8px 16px; border: 2px solid #E2E8F0; border-radius: 50px;
  background: white; font-family: 'Quicksand', sans-serif; font-weight: 600;
  font-size: 0.82rem; cursor: pointer; transition: all 0.3s; color: var(--text-muted);
}
.pm-tab.active {
  border-color: var(--primary); background: rgba(255,107,53,0.08); color: var(--primary);
}
.pm-tab:hover:not(.active) { border-color: #CBD5E1; color: var(--text-dark); }
/* Thumbnail strip */
.product-modal-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px; max-height: 200px; overflow-y: auto;
}
.product-modal-thumbs::-webkit-scrollbar { width: 4px; }
.product-modal-thumbs::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
.pm-thumb {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 3px solid transparent; transition: all 0.3s; opacity: 0.7;
}
.pm-thumb.active {
  border-color: var(--primary); opacity: 1;
  box-shadow: 0 0 0 2px rgba(255,107,53,0.3);
}
.pm-thumb:hover { opacity: 1; transform: scale(1.05); }
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Info bên phải */
.product-modal-info {
  padding: 40px 32px; display: flex; flex-direction: column; justify-content: flex-start;
}
.pm-badge {
  display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white; padding: 6px 16px; border-radius: 50px;
  font-weight: 700; font-size: 0.8rem; margin-bottom: 16px; width: fit-content;
}
.product-modal-info h2 { font-size: 1.8rem; margin-bottom: 16px; line-height: 1.3; }
.pm-desc {
  color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; font-size: 0.95rem;
}
.pm-cta-wrapper { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.pm-cta-btn { padding: 14px 32px; font-size: 1.05rem; }
.pm-highlights { margin-bottom: 32px; }
.pm-highlights h4 { font-size: 1rem; margin-bottom: 12px; color: var(--text-dark); }
.pm-highlight-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.9rem; color: var(--text-muted);
}
.pm-highlight-item:last-child { border-bottom: none; }
.pm-highlight-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; background: rgba(255,107,53,0.08);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-gallery { max-width: 500px; margin: 0 auto; }
  .hero-img-float:nth-child(2) { left: 0; }
  .hero-img-float:nth-child(3) { right: 0; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-gallery { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta-wrapper { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: white; padding: 24px; gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .hero h1 { font-size: 2.2rem; }
  .voucher-amount { font-size: 3rem; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
  .features-grid { grid-template-columns: 1fr; }
  .policies-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-img-float { width: 120px; }
  .product-modal-content { width: 100%; max-height: 100vh; border-radius: 0; }
  .product-modal-gallery { padding: 20px; }
  .product-modal-info { padding: 24px 20px; }
  .product-modal-info h2 { font-size: 1.4rem; }
  .pm-price { font-size: 1.5rem; }
  .product-modal-thumbs { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
}

/* ===== CONSULT MODAL ===== */
.logo-img { height: 60px; width: auto; object-fit: contain; transform: translateY(3px); }
.consult-modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px);
  display: none; align-items: center; justify-content: center;
}
.consult-modal-overlay.active { display: flex; }
.consult-modal {
  background: white; border-radius: var(--radius-lg); padding: 40px;
  width: 90%; max-width: 480px; position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.consult-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,0,0,0.05); border: none; width: 36px; height: 36px;
  border-radius: 50%; font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; color: var(--text-dark);
}
.consult-modal-close:hover {
  background: rgba(255,107,53,0.1); color: var(--primary); transform: rotate(90deg);
}
.consult-modal h2 { font-size: 1.6rem; margin-bottom: 10px; color: var(--primary); text-align: center; }
.consult-zalo-note { 
  text-align: center; color: var(--text-dark); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.6; 
  background: rgba(255,107,53,0.05); padding: 12px; border-radius: 8px; border-left: 4px solid var(--primary);
}
.consult-zalo-note strong { color: var(--primary); }
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid #E2E8F0;
  border-radius: 8px; font-family: 'Quicksand', sans-serif; font-size: 1rem;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
}
