/* ============================================================
   Miến Gà Phúc Vị — theme
   Bootstrap 5.3 (grid + utilities) là nền; file này chỉ chứa
   biến màu, kiểu chữ và các khối giao diện riêng của trang.
   ============================================================ */

:root {
  --crimson: #7A0C18;
  --crimson-dark: #58060F;
  --crimson-deep: #3D040A;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #AA8219;
  --cream: #FFFDF9;
  --cream-warm: #FAF5EB;
  --charcoal: #1F1A17;
  --shadow-card: 0 10px 30px rgba(31, 26, 23, .08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .35);
}

body {
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

/* ---------- nút ---------- */
.btn {
  --bs-btn-focus-box-shadow: 0 0 0 .2rem rgba(212, 175, 55, .35);
}

.btn-gold,
.btn-gold:focus {
  background: linear-gradient(135deg, #f6dc88 0%, #d4a63d 55%, #a97c1c 100%);
  color: #3D040A;
  border: 1px solid #fff3c4;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-gold:hover, .btn-gold:active {
  color: #3D040A;
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.btn-gold:disabled { opacity: .65; box-shadow: none; }

.btn-outline-gold {
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--crimson-dark); }

.btn-zalo {
  background: #0068FF;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  border: none;
}
.btn-zalo:hover { background: #0056d6; color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(88, 6, 15, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, .3);
}
.site-header .logo-img { height: 48px; width: auto; border-radius: 8px; }
.brand-name { color: var(--gold-light); font-size: 1rem; line-height: 1.1; }
.brand-sub { color: rgba(255, 255, 255, .75); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }

.nav-links { gap: 1.4rem; }
.nav-links a { color: rgba(255, 255, 255, .9); text-decoration: none; font-size: .875rem; font-weight: 500; }
.nav-links a:hover { color: var(--gold); }

.phone-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid rgba(212, 175, 55, .45);
  background: rgba(255, 255, 255, .07);
  color: var(--gold-light); border-radius: 999px;
  padding: .45rem .9rem; font-size: .8rem; font-weight: 700; text-decoration: none;
  white-space: nowrap;
}
.phone-pill:hover { color: #fff; border-color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(120% 120% at 15% 0%, #8C131D 0%, #6E0D15 40%, #3D040A 100%);
  color: #fff;
  padding: 2.2rem 0 3rem;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(212, 175, 55, .5);
  background: rgba(255, 255, 255, .08);
  color: var(--gold-light);
  padding: .35rem .8rem; border-radius: 999px; font-size: .78rem;
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.85rem); line-height: 1.12; margin: .9rem 0 .7rem; }
.hero h1 .gold { color: var(--gold-light); }
.hero-lead { color: rgba(255, 255, 255, .9); font-size: .98rem; max-width: 34rem; }

.trust-pill {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: .9rem;
  padding: .75rem .6rem;
  text-align: center;
  height: 100%;
}
.trust-pill i { color: var(--gold); font-size: 1.1rem; }
.trust-pill strong { display: block; font-size: .8rem; margin-top: .25rem; color: #fff; }
.trust-pill span { font-size: .68rem; color: rgba(255, 255, 255, .75); display: block; }

.hero-visual { display: flex; }
.hero-visual-grid { width: 100%; }

.media-card {
  border-radius: 1.1rem; overflow: hidden;
  border: 2px solid rgba(212, 175, 55, .55);
  box-shadow: var(--shadow-lg);
  background: var(--crimson-dark);
  height: 100%;
}
.media-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-card .caption {
  position: absolute; inset-inline: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .45) 55%, transparent);
  padding: .7rem .8rem;
}
.media-card .chip {
  display: inline-block; background: var(--gold); color: var(--crimson-dark);
  font-size: .64rem; font-weight: 800; text-transform: uppercase;
  padding: .15rem .5rem; border-radius: .35rem;
}
.media-card .chip-text { color: #fff; font-size: .78rem; font-weight: 600; margin: .25rem 0 0; }

.square-tag {
  position: absolute; inset-inline: 0; bottom: 0;
  background: linear-gradient(to top, rgba(61, 4, 10, .97), rgba(61, 4, 10, .9) 60%, transparent);
  padding: .55rem .6rem; text-align: center;
  border-top: 1px solid rgba(212, 175, 55, .3);
}
.square-tag .k { color: var(--gold); font-size: .6rem; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; }
.square-tag .v { color: #fff; font-size: .8rem; font-weight: 700; }

.quote-card {
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: 1rem;
  padding: 1rem;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
}
.quote-card i { color: var(--gold); font-size: 1.1rem; }
.quote-card p { color: rgba(243, 229, 171, .95); font-style: italic; font-size: .82rem; margin: 0; }
.quote-card span { color: #fff; font-weight: 700; font-size: .8rem; }

/* ---------- section chung ---------- */
.section { padding: 3rem 0; }
.section-cream { background: var(--cream-warm); }
.section-dark { background: radial-gradient(120% 120% at 80% 0%, #8C131D 0%, #6E0D15 45%, #3D040A 100%); color: #fff; }

.section-eyebrow {
  color: var(--crimson); font-weight: 800; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
}
.section-title { font-size: clamp(1.45rem, 3vw, 2.1rem); margin: .35rem 0 .5rem; }
.section-sub { color: #6b645f; font-size: .9rem; }
.section-rule { width: 72px; height: 4px; border-radius: 999px; background: var(--gold); margin: 1rem auto 0; }

/* ---------- thẻ giá trị ---------- */
.value-card {
  background: #fff; border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 1.1rem; box-shadow: var(--shadow-card);
  padding: 1.4rem; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(31, 26, 23, .12); }
.value-num {
  width: 3rem; height: 3rem; border-radius: .9rem;
  background: var(--crimson); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 800;
  margin-bottom: .9rem;
}
.value-card h3 { color: var(--crimson); font-size: 1.1rem; margin-bottom: .4rem; }
.value-card p { color: #4a443f; font-size: .86rem; margin: 0; }

.compare-card {
  border-radius: .9rem; padding: .9rem 1rem; height: 100%;
  background: #fff; border: 1px solid rgba(212, 175, 55, .3);
}
.compare-card.is-ours { background: var(--crimson); color: #fff; border-color: var(--gold); }
.compare-card.is-ours .compare-title { color: var(--gold-light); }
.compare-title { font-weight: 800; font-size: .82rem; color: var(--crimson); margin-bottom: .35rem; }
.compare-card p { font-size: .78rem; margin: 0; color: #5b544e; }
.compare-card.is-ours p { color: rgba(255, 255, 255, .85); }

/* ---------- video & bước ---------- */
.video-frame {
  border-radius: 1.2rem; overflow: hidden;
  border: 3px solid rgba(212, 175, 55, .6);
  box-shadow: var(--shadow-lg);
  background: #2a0306;
  aspect-ratio: 9 / 16;
  max-width: 320px; margin-inline: auto;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; color: #3b3531; margin-bottom: .55rem; }
.check-list i { color: var(--crimson); margin-top: .15rem; }

.steps-scroll {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1rem; overflow-x: auto; padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
}
.steps-scroll > * { scroll-snap-align: start; }
.step-card {
  background: #fff; border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 1rem; overflow: hidden; height: 100%;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.step-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--cream-warm); }
.step-body { padding: .85rem .95rem 1rem; }
.step-index {
  display: inline-block; background: var(--crimson); color: var(--gold-light);
  font-size: .66rem; font-weight: 800; padding: .15rem .5rem; border-radius: .35rem; margin-bottom: .4rem;
}
.step-body h3 { font-size: .95rem; margin-bottom: .3rem; }
.step-body p { font-size: .78rem; color: #5b544e; margin: 0; }

/* ---------- review ---------- */
.review-card {
  background: #fff; border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 1rem; padding: 1.1rem;
  box-shadow: var(--shadow-card); height: 100%;
  display: flex; flex-direction: column; gap: .7rem;
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
  filter: blur(1.6px); transform: scale(1.04);
}
.review-name { font-weight: 800; font-size: .86rem; }
.review-meta { font-size: .68rem; color: #0f7a43; font-weight: 600; }
.review-stars { color: var(--gold); font-size: .72rem; }
.review-text { font-size: .82rem; color: #4a443f; margin: 0; }
.review-photo { border-radius: .8rem; overflow: hidden; position: relative; margin-top: auto; }
.review-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.review-photo span {
  position: absolute; right: .5rem; bottom: .5rem;
  background: rgba(0, 0, 0, .65); color: #fff;
  font-size: .62rem; padding: .1rem .45rem; border-radius: .3rem;
}

/* ---------- đặt hàng ---------- */
.order-shell { background: #fff; border: 2px solid var(--gold); border-radius: 1.4rem; overflow: hidden; box-shadow: var(--shadow-lg); }
.order-pick { background: var(--cream-warm); padding: 1.2rem; }
.order-form-col { padding: 1.2rem; }

.combo-card {
  display: block; cursor: pointer; position: relative;
  background: #fff; border: 2px solid #e3ddd4; border-radius: 1rem;
  padding: .85rem .95rem; transition: border-color .2s ease, background .2s ease;
}
.combo-card:hover { border-color: var(--gold); }
.combo-card.is-active { border-color: var(--crimson); background: rgba(122, 12, 24, .035); }
.combo-card.is-advice { border-style: dashed; border-color: #c9c2b8; }
.combo-card .radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #c9c2b8; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; margin-top: .15rem;
}
.combo-card .radio span { width: 9px; height: 9px; border-radius: 50%; background: var(--crimson); display: none; }
.combo-card.is-active .radio { border-color: var(--crimson); }
.combo-card.is-active .radio span { display: block; }
.combo-title { font-weight: 800; font-size: .88rem; }
.combo-sub { font-size: .74rem; color: #7a736c; }
.combo-price { font-weight: 800; color: var(--crimson); font-size: .92rem; white-space: nowrap; }
.combo-save { font-size: .68rem; color: #0f7a43; font-weight: 700; }
.combo-tag {
  position: absolute; top: -.55rem; right: .8rem;
  background: var(--crimson); color: var(--gold-light);
  font-size: .58rem; font-weight: 800; letter-spacing: .06em;
  padding: .1rem .45rem; border-radius: 999px; text-transform: uppercase;
}

.summary-box { background: #fff; border: 1px solid rgba(212, 175, 55, .45); border-radius: 1rem; padding: .9rem 1rem; }
.summary-box .row-line { display: flex; justify-content: space-between; font-size: .85rem; color: #5b544e; }
.summary-box .total { border-top: 1px dashed #e3ddd4; margin-top: .5rem; padding-top: .5rem; font-weight: 800; color: var(--charcoal); }
.summary-box .total b { color: var(--crimson); font-size: 1.15rem; }

.form-label { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal); }
.form-control, .form-select {
  border-radius: .75rem; border-color: #d8d2c8; font-size: .88rem; padding: .7rem .9rem;
}
.form-control:focus, .form-select:focus { border-color: var(--crimson); box-shadow: 0 0 0 .2rem rgba(122, 12, 24, .12); }
.field-icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: #a8a29a; }
.has-icon .form-control { padding-left: 2.3rem; }
.has-icon textarea.form-control { padding-top: .55rem; }
.field-icon.icon-top { top: 1.15rem; transform: none; }

.notice {
  border-radius: .8rem; padding: .75rem .85rem; font-size: .76rem;
  display: flex; gap: .55rem; align-items: flex-start; line-height: 1.5;
}
.notice-call { background: #FFF7E6; border: 1px solid #E9C46A; color: #6b4a06; }
.notice-scam { background: #FDECEC; border: 2px solid rgba(180, 24, 24, .75); color: #7a1212; }
.notice i { margin-top: .1rem; }

@keyframes attentionGlow {
  0%   { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
  35%  { box-shadow: 0 0 0 7px rgba(212, 175, 55, .55); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.glow-once { animation: attentionGlow 1.5s ease-out 2; }

.alert-inline { color: #b41818; font-size: .8rem; font-weight: 600; }

/* ---------- kênh liên hệ ---------- */
.channel-card {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fff; border: 1px solid #e3ddd4; border-radius: 1rem;
  padding: 1rem; text-decoration: none; height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.channel-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31, 26, 23, .1); }
.channel-icon {
  width: 48px; height: 48px; border-radius: .8rem; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem;
}
.channel-eyebrow { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.channel-name { font-weight: 800; font-size: .92rem; color: var(--charcoal); }
.channel-desc { font-size: .74rem; color: #7a736c; }

/* ---------- footer ---------- */
.site-footer { background: var(--crimson-dark); color: rgba(255, 255, 255, .85); padding: 2.4rem 0 2rem; border-top: 1px solid rgba(212, 175, 55, .3); }
.site-footer a { color: #fff; }
.site-footer .company { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 1.6rem; padding-top: 1.1rem; font-size: .72rem; color: rgba(255, 255, 255, .7); }

/* ---------- sticky bar mobile ---------- */
.sticky-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 1035;
  background: rgba(88, 6, 15, .96); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212, 175, 55, .4);
  padding: .55rem .75rem;
}
@media (min-width: 768px) { .sticky-bar { display: none; } }

/* ---------- modal ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 1080;
  background: rgba(0, 0, 0, .7); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal-card {
  background: #fff; border-radius: 1.4rem; border: 2px solid var(--gold);
  width: 100%; max-width: 27rem; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  animation: popIn .25s ease;
}
@keyframes popIn { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { background: linear-gradient(135deg, #8C131D, #58060F); color: #fff; padding: 1.2rem 1rem; text-align: center; }
.modal-head .check {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold); color: var(--crimson-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  margin: 0 auto .5rem;
}
.modal-head h3 { color: var(--gold-light); font-size: 1.25rem; margin: 0; }
.modal-head p { font-size: .76rem; color: rgba(255, 255, 255, .85); margin: .25rem 0 0; }
.modal-body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .8rem; }
.modal-summary { background: var(--cream-warm); border: 1px solid rgba(212, 175, 55, .35); border-radius: .9rem; padding: .85rem .9rem; font-size: .82rem; }
.modal-summary .line { display: flex; justify-content: space-between; gap: .5rem; }
.modal-summary .line + .line { margin-top: .3rem; }
.modal-summary b.is-phone { color: var(--crimson); }

/* ---------- tiện ích ---------- */
.text-crimson { color: var(--crimson) !important; }
.text-gold { color: var(--gold) !important; }
.bg-cream { background: var(--cream) !important; }
.rounded-16 { border-radius: 1rem; }
.relative { position: relative; }
.max-34 { max-width: 34rem; }

@media (max-width: 575.98px) {
  .hero { padding-top: 1.4rem; }
  .section { padding: 2.2rem 0; }
  .video-frame { max-width: 260px; }
}
