/* =====================================================
   KJ-917 Landing Page — Công Bình Medical
   Responsive 5 breakpoints: 320 / 480 / 768 / 1024 / 1280+
   ===================================================== */

:root {
  --navy: #0A2540;
  --navy-light: #1B3A5C;
  --navy-dark: #051527;
  --gold: #F4B400;
  --gold-light: #FFD24A;
  --gold-dark: #C68F00;
  --orange: #FF8A00;
  --cream: #FAFAFA;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --text: #111827;
  --red: #DC2626;
  --green: #10B981;
  --shadow-sm: 0 2px 8px rgba(10,37,64,.08);
  --shadow-md: 0 6px 24px rgba(10,37,64,.12);
  --shadow-lg: 0 16px 48px rgba(10,37,64,.18);
  --shadow-gold: 0 8px 24px rgba(244,180,0,.35);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
}

/* ============================ RESET ============================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================ TYPOGRAPHY ============================ */
.section-title {
  font-size: clamp(24px, 5vw, 44px);
  font-weight: 900;
  text-align: center;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-sub {
  text-align: center;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--gray-600);
  margin-bottom: 32px;
}

/* ============================ BUTTONS ============================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
  transition: all .25s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(244,180,0,.5); }
.btn-primary:active { transform: translateY(0); }
.btn-xl { padding: 18px 36px; font-size: 17px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  transition: all .25s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--gold); color: var(--gold); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(244,180,0,.35); }
  50% { box-shadow: 0 8px 24px rgba(244,180,0,.7), 0 0 0 8px rgba(244,180,0,.15); }
}
.btn-pulse { animation: pulse 2s ease-in-out infinite; }

/* ============================ HEADER ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px;
  border-radius: 10px;
  letter-spacing: -0.05em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 14px; color: var(--navy); font-weight: 800; }
.brand-text span { font-size: 11px; color: var(--gray-600); }

.nav-desktop { display: none; margin-left: auto; gap: 24px; }
.nav-desktop a {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-800);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.nav-desktop a:hover { color: var(--navy); border-bottom-color: var(--gold); }

.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
  margin-left: auto;
}
.header-phone .phone-icon { font-size: 18px; }
.header-phone .phone-num { font-size: 15px; }

.header-cta { padding: 10px 20px; font-size: 13px; margin-left: auto; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: #fff;
  overflow: hidden;
  padding: 32px 0 48px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(244,180,0,.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(244,180,0,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.ribbon-corner {
  position: absolute;
  top: 24px; left: -50px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: var(--navy-dark);
  font-weight: 900;
  padding: 10px 70px;
  transform: rotate(-35deg);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(244,180,0,.1);
  border: 1px solid rgba(244,180,0,.3);
  border-radius: 999px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,180,0,.7); }
  50% { box-shadow: 0 0 0 6px rgba(244,180,0,0); }
}

.hero-title {
  font-size: clamp(32px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title-big {
  display: block;
  font-size: clamp(48px, 12vw, 110px);
  color: #FFCF40;            /* vàng ấm đặc — LUÔN hiện rõ, không còn tàng hình */
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 14px rgba(0,0,0,.45), 0 0 28px rgba(255,180,40,.25);
}

.hero-highlights {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.hl {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(244,180,0,.3);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.hl b { color: var(--gold); font-size: 18px; }

.hero-sub {
  font-size: clamp(14px, 2vw, 17px);
  margin-bottom: 28px;
  color: rgba(255,255,255,.85);
}
.hero-sub b { color: var(--gold); }

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}

.countdown {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: 16px;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.cd-label { display: block; font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.cd-numbers { display: flex; gap: 8px; }
.cd-box {
  flex: 1;
  background: rgba(0,0,0,.3);
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(244,180,0,.2);
}
.cd-box b { display: block; font-size: 22px; font-weight: 900; color: var(--gold); }
.cd-box span { font-size: 10px; color: rgba(255,255,255,.7); }

.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  border: 4px solid rgba(244,180,0,.3);
}
.hero-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.badge-pulse {
  position: absolute;
  bottom: 20px; right: 20px;
  width: 110px; height: 110px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-weight: 900;
  font-size: 12px;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 12px 32px rgba(244,180,0,.5);
  animation: badge-rotate 8s linear infinite, pulse 2s ease-in-out infinite;
}
.badge-pulse b { font-size: 16px; }
@keyframes badge-rotate {
  0% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
  100% { transform: rotate(-8deg); }
}

.scroll-hint {
  text-align: center;
  margin-top: 24px;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================ SECTION COMMON ============================ */
section { padding: 56px 0; }

/* ============================ TRUST ============================ */
.trust { background: #fff; }
.trust-docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}
.doc-card {
  display: block;
  padding: 20px 14px;
  background: var(--cream);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
  transition: all .25s;
}
.doc-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.doc-icon { font-size: 36px; margin-bottom: 8px; }
.doc-title { font-weight: 700; color: var(--navy); font-size: 14px; margin-bottom: 4px; }
.doc-sub { font-size: 12px; color: var(--gray-600); }

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 32px 20px;
  border-radius: var(--radius-lg);
}
.stat { text-align: center; color: #fff; }
.stat b {
  display: block;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat span { font-size: 13px; color: rgba(255,255,255,.85); }

/* ============================ PAIN ============================ */
.pain { background: var(--cream); }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.pain-card {
  background: #fff;
  padding: 24px 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
  transition: transform .25s;
}
.pain-card:hover { transform: translateX(4px); }
.pain-icon { font-size: 40px; margin-bottom: 12px; }
.pain-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; font-weight: 800; }
.pain-card p { color: var(--gray-600); font-size: 14px; }
.pain-card p b { background: linear-gradient(transparent 60%, var(--gold-light) 60%); padding: 0 2px; font-weight: 700; color: var(--text); }
.pain-cta { text-align: center; }

/* ============================ PRODUCT GALLERY ============================ */
.product { background: #fff; }
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--gray-100);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 14px 12px;
  background: linear-gradient(to top, rgba(10,37,64,.95), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

/* ============================ HOTSPOT ============================ */
.hotspot-section { background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%); color: #fff; }
.hotspot-section .section-title { color: #fff; }
.hotspot-section .section-sub { color: rgba(255,255,255,.7); }
.hotspot-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(244,180,0,.3);
}
.hotspot-img { width: 100%; display: block; }
.hotspot-pin {
  position: absolute;
  width: 32px; height: 32px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  font-weight: 900;
  font-size: 14px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(244,180,0,.3), 0 4px 12px rgba(0,0,0,.4);
  animation: ping 2s ease-out infinite;
  transition: transform .2s;
}
.hotspot-pin:hover { transform: translate(-50%, -50%) scale(1.3); }
@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,180,0,.6), 0 4px 12px rgba(0,0,0,.4); }
  50% { box-shadow: 0 0 0 12px rgba(244,180,0,0), 0 4px 12px rgba(0,0,0,.4); }
}
.hotspot-tooltip {
  position: fixed;
  background: #fff;
  color: var(--text);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-width: 280px;
  z-index: 50;
  pointer-events: none;
  border: 2px solid var(--gold);
}
.hotspot-tooltip h4 { color: var(--navy); font-size: 15px; margin-bottom: 4px; }
.hotspot-tooltip p { font-size: 13px; color: var(--gray-600); }

/* ============================ SPEC ============================ */
.spec { background: var(--cream); }
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
  gap: 12px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row:nth-child(odd) { background: var(--cream); }
.spec-label { font-weight: 600; color: var(--gray-600); font-size: 14px; }
.spec-value { font-size: 14px; }
.spec-value b { color: var(--navy); background: linear-gradient(transparent 60%, var(--gold-light) 60%); padding: 0 4px; }
.spec-note { text-align: center; margin-top: 20px; color: var(--gray-600); }
.spec-note a { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--gold); }

/* ============================ USP ============================ */
.usp { background: #fff; }
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.usp-card {
  position: relative;
  padding: 24px 20px 20px;
  background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all .25s;
  overflow: hidden;
}
.usp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--orange) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.usp-card:hover::before { transform: scaleX(1); }
.usp-num {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 48px;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
}
.usp-icon { font-size: 40px; margin-bottom: 12px; }
.usp-card h3 { color: var(--navy); font-size: 16px; margin-bottom: 6px; font-weight: 800; }
.usp-card p { color: var(--gray-600); font-size: 13.5px; }

/* ============================ VIDEO ============================ */
.video-section { background: var(--navy-dark); color: #fff; }
.video-section .section-title { color: #fff; }
.video-section .section-sub { color: rgba(255,255,255,.7); }
.video-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  border: 3px solid rgba(244,180,0,.3);
}
.video-wrap video { width: 100%; display: block; background: #000; }

/* ============================ COLORS ============================ */
.colors { background: var(--cream); }
.colors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.color-card {
  background: #fff;
  padding: 0 0 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.color-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.color-card-featured { border: 3px solid var(--gold); box-shadow: var(--shadow-gold); }
.color-img { aspect-ratio: 4/3; overflow: hidden; background: var(--gray-100); }
.color-img img { width: 100%; height: 100%; object-fit: cover; }
.color-swatch {
  width: 60px; height: 60px;
  margin: -30px auto 12px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}
.color-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; font-weight: 800; }
.color-card p { font-size: 14px; color: var(--gray-600); padding: 0 16px; }

/* ============================ OFFER ============================ */
.offer { background: linear-gradient(135deg, #FFF9E6 0%, var(--cream) 100%); }
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
}
.offer-card {
  background: #fff;
  padding: 24px 20px;
  border-radius: var(--radius);
  text-align: center;
  border-bottom: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: transform .25s;
}
.offer-card:hover { transform: translateY(-6px) scale(1.02); }
.offer-card-featured {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: var(--navy-dark);
  border-bottom-color: var(--navy);
  transform: scale(1.03);
}
.offer-icon { font-size: 44px; margin-bottom: 12px; }
.offer-card h3 { font-size: 17px; margin-bottom: 6px; font-weight: 800; color: var(--navy); }
.offer-card-featured h3 { color: var(--navy-dark); }
.offer-card h3 b { color: var(--gold); font-size: 20px; }
.offer-card-featured h3 b { color: var(--navy-dark); }
.offer-card p { font-size: 13px; color: var(--gray-600); }
.offer-card-featured p { color: var(--navy); }
.offer-cta { text-align: center; }

/* ============================ COMPARE ============================ */
.compare { background: #fff; }
.compare-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 540px; }
.compare-table thead th {
  padding: 16px 12px;
  font-weight: 800;
  font-size: 14px;
  background: var(--navy);
  color: #fff;
  text-align: left;
}
.compare-table thead .th-us { background: linear-gradient(135deg, var(--green) 0%, #059669 100%); text-align: center; }
.compare-table thead .th-them { background: var(--gray-400); text-align: center; }
.compare-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}
.compare-table tbody td:first-child { font-weight: 600; color: var(--navy); }
.compare-table .td-yes { color: var(--green); font-weight: 700; text-align: center; background: rgba(16,185,129,.05); }
.compare-table .td-no { color: var(--red); text-align: center; background: rgba(220,38,38,.03); }
.compare-table tbody tr:hover { background: var(--cream); }

/* ============================ TESTIMONIAL ============================ */
.testimonial { background: var(--cream); }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testi-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--gold);
  transition: transform .25s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-stars { font-size: 18px; margin-bottom: 12px; }
.testi-card blockquote {
  font-size: 15px;
  color: var(--gray-800);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  padding-left: 24px;
}
.testi-card blockquote::before {
  content: '"';
  position: absolute;
  left: 0; top: -10px;
  font-size: 50px;
  color: var(--gold);
  font-family: Georgia, serif;
  line-height: 1;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-author b { display: block; color: var(--navy); font-size: 14px; }
.testi-author span { font-size: 12px; color: var(--gray-600); }

/* ============================ FAQ ============================ */
.faq { background: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--cream);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all .25s;
}
.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  padding: 18px 56px 18px 20px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  position: relative;
  list-style: none;
  font-size: 15px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
  transition: transform .3s;
}
.faq-item[open] summary::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
.faq-item p { padding: 0 20px 20px; color: var(--gray-600); font-size: 14px; line-height: 1.6; }
.faq-item p a { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--gold); }

/* ============================ FORM ============================ */
.form-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; padding: 64px 0; }
.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  max-width: 1100px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}
.form-left h2 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
}
.form-benefits { margin-bottom: 24px; }
.form-benefits li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,.15);
  font-size: 15px;
}
.form-benefits b { color: var(--gold); }
.form-hotlines { padding-top: 16px; }
.form-hotlines p { font-size: 13px; margin-bottom: 10px; color: rgba(255,255,255,.7); }
.form-hotlines a {
  display: block;
  padding: 10px 16px;
  margin-bottom: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  font-size: 14px;
  transition: all .2s;
}
.form-hotlines a:hover { background: rgba(244,180,0,.15); transform: translateX(4px); }
.form-hotlines b { color: var(--gold); }

.form-right {
  background: #fff;
  color: var(--text);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  padding: 14px 14px;
  font-size: 15px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  background: var(--cream);
  font-family: inherit;
  transition: all .2s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(244,180,0,.15);
}
.field input.error, .field select.error {
  border-color: var(--red);
  background: rgba(220,38,38,.04);
}
.field .err {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: 12px;
  min-height: 14px;
}
.field .hint {
  display: block;
  margin-top: 6px;
  color: var(--gray-600);
  font-size: 12px;
}
.field .hint b { color: var(--green); }
.btn-submit { width: 100%; margin-top: 8px; }
.form-guarantee {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-600);
}

/* ============================ FOOTER ============================ */
.footer { background: var(--navy-dark); color: #fff; padding: 48px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
}
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text span { color: rgba(255,255,255,.6); }
.footer-col p { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.footer-col h4 { font-size: 14px; color: var(--gold); margin-bottom: 12px; font-weight: 800; letter-spacing: 0.05em; }
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* ============================ STICKY MOBILE ============================ */
.sticky-mobile {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--navy-dark);
  border-top: 2px solid var(--gold);
  z-index: 90;
  box-shadow: 0 -8px 24px rgba(0,0,0,.3);
}
.sm-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  color: #fff;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .2s;
}
.sm-btn:last-child { border-right: none; }
.sm-btn:active { background: var(--navy-light); }
.sm-btn span { font-size: 22px; line-height: 1; margin-bottom: 4px; }
.sm-btn small { font-size: 11px; }
.sm-form { background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%); color: var(--navy-dark); }
.sm-form small { font-weight: 800; }

@keyframes shake-x {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
.sticky-mobile.shake { animation: shake-x .6s ease-in-out 3; }

/* Add spacing at bottom of body when sticky mobile is visible */
body { padding-bottom: 70px; }

/* ============================ EDIT PANEL ============================ */
.edit-panel {
  position: fixed;
  top: 90px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 80;
}
.edit-panel button {
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: all .2s;
  white-space: nowrap;
}
.edit-panel button:hover { background: var(--gold); color: var(--navy-dark); }
.edit-panel button#editToggle.active { background: var(--gold); color: var(--navy-dark); }

body.edit-mode [contenteditable="true"] {
  outline: 2px dashed var(--gold);
  outline-offset: 2px;
  background: rgba(244,180,0,.08);
  cursor: text;
  border-radius: 4px;
}
body.edit-mode [contenteditable="true"]:focus {
  outline: 2px solid var(--gold);
  background: rgba(244,180,0,.15);
}

/* ============================ POPUP ============================ */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(10,37,64,.85);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .3s ease;
}
.popup-overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.popup {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  animation: popIn .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.popup-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-600);
}
.popup-close:hover { background: var(--gray-200); }
.popup-icon { font-size: 56px; margin-bottom: 12px; }
.popup h2 { font-size: 22px; color: var(--navy); margin-bottom: 16px; font-weight: 900; }
.popup p { font-size: 14px; color: var(--gray-600); margin-bottom: 10px; }
.popup p b { color: var(--navy); }
.popup-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.popup-actions .btn-ghost {
  border-color: var(--gray-300);
  color: var(--gray-600);
}
.popup-actions .btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.popup-exit h2 { color: var(--red); }

/* ============================ SCROLL REVEAL ============================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   ============== RESPONSIVE BREAKPOINTS ===============
   ===================================================== */

/* ========== 480px+ : Small mobile up ========== */
@media (min-width: 480px) {
  .container { padding: 0 20px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .colors-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ========== 768px+ : Tablet ========== */
@media (min-width: 768px) {
  section { padding: 80px 0; }
  .hero { padding: 56px 0 72px; }
  .header-phone { display: flex; }
  .header-cta { display: inline-flex; margin-left: 0; }
  .header-inner { gap: 24px; padding: 14px 20px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .hero-img { aspect-ratio: 4/5; }
  .badge-pulse { width: 130px; height: 130px; font-size: 13px; }
  .badge-pulse b { font-size: 18px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery-large { grid-column: span 3; }
  .gallery-large img { aspect-ratio: 16/7; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .offer-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .offer-card-featured { grid-row: span 2; }
  .colors-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .form-wrap { grid-template-columns: 1fr 1fr; padding: 48px 40px; gap: 48px; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid > .spec-row:nth-last-child(-n+2) { border-bottom: none; }
  .sticky-mobile { display: none; }
  body { padding-bottom: 0; }
  .edit-panel { flex-direction: row; top: 80px; right: 20px; }
}

/* ========== 1024px+ : Laptop ========== */
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery-large { grid-column: span 2; grid-row: span 2; }
  .gallery-large img { aspect-ratio: 1/1; }
  .usp-grid { grid-template-columns: repeat(4, 1fr); }
  .offer-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .offer-card-featured { grid-column: 4; grid-row: 1 / span 2; }
  .pain-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== 1280px+ : Desktop ========== */
@media (min-width: 1280px) {
  .container { padding: 0 24px; }
  .hero { padding: 80px 0 100px; }
  .hero-title { font-size: 72px; }
  .hero-title-big { font-size: 130px; }
  .section-title { font-size: 48px; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .offer-grid { gap: 20px; }
}

/* ========== Hover only on devices that support it ========== */
@media (hover: hover) {
  .gallery-item:hover { box-shadow: var(--shadow-lg); }
}

/* ========== Reduce motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== Print ========== */
@media print {
  .header, .sticky-mobile, .edit-panel, .popup-overlay, .scroll-hint, .countdown { display: none !important; }
  section { padding: 20px 0; page-break-inside: avoid; }
  .hero { background: #fff; color: #000; }
  .hero-title, .section-title { color: #000; }
}

/* An thanh edit-panel goc (chi dung admin ?admin) */
.edit-panel{display:none !important;}
