/* ==========================================================================
   HỒNG THÁI SA ĐÉC — BỘ MÀU SỐ 1: "LÀNG BỘT SA ĐÉC"
   Primary: #1B6B3A (Xanh Lá Di Sản)
   Canvas:  #FCFBF7 (Trắng Bột Gạo)
   Warm BG: #F3EFE6 (Kem Gạo Nếp)
   Accent:  #D9252A (Đỏ Cánh Hồng — tiết chế) & #D4A017 (Vàng Lúa)
   Text:    #1C2B22 (Xanh Than Trầm)
   ========================================================================== */

:root {
  --primary: #1B6B3A;
  --primary-dark: #13502B;
  --primary-light: #24884B;
  --primary-soft: #E9F3EC;

  --bg-canvas: #FCFBF7;
  --bg-warm: #F3EFE6;
  --bg-white: #FFFFFF;

  --accent-rose: #D9252A;
  --accent-rose-dark: #B51B20;
  --accent-rose-soft: #FDECEC;
  --accent-gold: #D4A017;
  --accent-gold-soft: #FBF4DC;

  --text-main: #1C2B22;
  --text-muted: #4E6055;
  --text-light: #728378;

  --border: #E4DDD0;
  --shadow-sm: 0 2px 8px rgba(27, 107, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 43, 34, 0.08);
  --shadow-lg: 0 16px 40px rgba(28, 43, 34, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --font-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --header-h: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography Helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent-rose);
  border-radius: 2px;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-header.left {
  margin-left: 0;
  text-align: left;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--text-main);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.section {
  padding: 76px 0;
}

.section-warm {
  background-color: var(--bg-warm);
}

.section-white {
  background-color: var(--bg-white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(27, 107, 58, 0.24);
}

.btn-rose {
  background: var(--accent-rose);
  color: #FFFFFF;
}

.btn-rose:hover {
  background: var(--accent-rose-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 37, 42, 0.24);
}

.btn-zalo {
  background: #0068FF;
  color: #FFFFFF;
}

.btn-zalo:hover {
  background: #0054CC;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 104, 255, 0.24);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
}

.btn-light:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.65);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(252, 251, 247, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(28, 43, 34, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 11px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
  z-index: 950;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.hotline-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent-rose);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(217, 37, 42, 0.22);
  transition: background 0.18s ease, transform 0.18s ease;
}

.hotline-pill:hover {
  background: var(--accent-rose-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border);
  padding: 16px 20px 24px;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-main);
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.mobile-nav-sub {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

.mobile-nav-sub a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 7px 12px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: #163322;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(16, 46, 28, 0.9) 0%,
    rgba(22, 66, 39, 0.72) 48%,
    rgba(22, 66, 39, 0.28) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 88px 0 96px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.18;
  margin: 0 0 18px;
  color: #FFFFFF;
}

.hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Trust Strip ---------- */
.trust-strip-wrap {
  position: relative;
  z-index: 5;
  margin-top: -46px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: none;
  padding-right: 0;
}

.trust-value {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Two-column About Split ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--bg-white);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--bg-warm);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-caption-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(252, 251, 247, 0.95);
  color: var(--primary-dark);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent-rose);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-main);
  font-weight: 500;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Filter Pills & Product Cards ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-pill {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.18s ease;
}

.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 107, 58, 0.35);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-warm);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(252, 251, 247, 0.94);
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(27, 107, 58, 0.2);
}

.product-badge.rose {
  background: var(--accent-rose);
  color: #FFFFFF;
  border-color: transparent;
}

.product-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 16px;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.product-price-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-rose);
}

.product-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Awards & Export Band ---------- */
.award-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.award-year {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-gold-soft);
  color: #8A6405;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.award-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--primary-dark);
}

.award-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.market-banner {
  margin-top: 32px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.86rem;
  font-weight: 600;
}

/* ---------- Articles / Góc bếp & Tin tức ---------- */
.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-warm);
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 10px;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 16px;
  flex: 1;
}

/* ---------- Page Banner (Subpages) ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #FFFFFF;
  padding: 54px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  margin: 0 0 10px;
  line-height: 1.22;
}

.page-banner p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
}

/* ---------- Product Detail Page ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 44px;
  align-items: start;
}

.detail-image-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.detail-image-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-specs {
  margin: 22px 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 700;
  color: var(--primary-dark);
}

.detail-cta-box {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 22px;
}

.detail-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* ---------- Distributor Cards ---------- */
.distributor-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.distributor-area {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.distributor-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.distributor-phone {
  margin-top: 6px;
  font-weight: 700;
  color: var(--accent-rose);
  font-size: 0.92rem;
}

/* ---------- Contact Form & Map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-canvas);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 107, 58, 0.14);
  background: var(--bg-white);
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid rgba(27, 107, 58, 0.3);
}

.map-frame {
  margin-top: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 360px;
  background: var(--bg-warm);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Modal (Search & Article Reader) ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 34, 26, 0.62);
  backdrop-filter: blur(4px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 720px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--bg-canvas);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.modal-header-safe {
  padding-right: 48px;
}

.search-results {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid var(--border);
}

.search-result-item:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.search-result-item img {
  width: 60px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg-warm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 60px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-canvas);
  padding: 8px 16px 8px 10px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.footer-brand-box img {
  height: 52px;
  width: auto;
}

.footer-brand-box span {
  color: var(--primary-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
}

.site-footer h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Floating Action Buttons (Hotline + Zalo + Top) ---------- */
.floating-stack {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}

.float-btn:hover {
  transform: scale(1.07);
}

.float-hotline {
  background: var(--accent-rose);
}

.float-zalo {
  background: #0068FF;
}

.float-top {
  background: var(--primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.18s ease;
}

.float-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.float-label {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 1024px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-image-box {
    position: static;
  }
  .split-grid,
  .detail-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }
  .container {
    padding: 0 14px;
  }
  .header-inner {
    gap: 8px;
  }
  .brand-link {
    gap: 8px;
    min-width: 0;
  }
  .brand-logo {
    height: 42px;
  }
  .brand-title {
    font-size: 0.98rem;
    white-space: nowrap;
  }
  .brand-sub {
    display: none;
  }
  .header-actions {
    gap: 6px;
  }
  .icon-btn {
    width: 38px;
    height: 38px;
  }
  .hotline-pill span {
    display: none;
  }
  .hotline-pill {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
  }
  .hero {
    min-height: 460px;
  }
  .hero-content {
    padding: 58px 0 76px;
  }
  .trust-strip {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 12px;
  }
  .trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .section {
    padding: 50px 0;
  }
  .filter-pill {
    min-height: 42px;
    padding: 9px 15px;
  }
  .card-grid-2,
  .card-grid,
  .card-grid-4,
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .modal-dialog {
    padding: 20px 18px;
  }
  /* Mobile Bottom Action Bar — không che chữ hay số điện thoại */
  .site-footer {
    padding-bottom: 84px;
  }
  .floating-stack {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(252, 251, 247, 0.97);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(28, 43, 34, 0.08);
    backdrop-filter: blur(8px);
  }
  .float-btn {
    height: 42px;
    border-radius: var(--radius-pill);
    box-shadow: none;
    font-size: 0.88rem;
    gap: 6px;
  }
  .float-hotline,
  .float-zalo {
    flex: 1;
    width: auto;
    padding: 0 14px;
  }
  .float-label {
    display: inline;
  }
  .float-zalo-short {
    display: none;
  }
  .float-top {
    width: 42px;
    flex-shrink: 0;
    border-radius: 50%;
  }
}
