/* ============================================================
   Trại Dúi Kim Sơn — Green commercial theme
   Single source of truth for all front-end styles.
   ============================================================ */

:root {
  --green:        #1c7c3a;
  --green-dark:   #115a28;
  --green-deep:   #0c3f1d;
  --green-soft:   #eaf5ec;
  --green-tint:   #f3f9f4;
  --orange:       #f5871f;
  --orange-dark:  #db7409;
  --ink:          #1d2a22;
  --text:         #475a4e;
  --muted:        #7a8a80;
  --line:         #e4ece6;
  --white:        #ffffff;
  --bg:           #ffffff;
  --star:         #ffb400;
  --shadow-sm:    0 2px 10px rgba(17, 58, 30, .06);
  --shadow:       0 10px 30px rgba(17, 58, 30, .10);
  --shadow-lg:    0 20px 50px rgba(17, 58, 30, .16);
  --radius:       14px;
  --radius-lg:    20px;
  --max-w:        1200px;
  --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #fff; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Section scaffolding ========== */
.section { padding: 72px 0; }
.section--tint { background: var(--green-tint); }
.section--soft { background: var(--green-soft); }

.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.section-head h2 span { color: var(--orange); }
.section-head.center .head-rule {
  width: 64px; height: 4px; border-radius: 4px;
  background: var(--orange);
  margin: 16px auto 18px;
}
.section-head h2 + p { margin-top: 14px; color: var(--text); font-size: 16px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(28,124,58,.3); }
.btn-primary:hover { background: var(--green-dark); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(245,135,31,.32); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: #fff; color: var(--green-dark); border-color: #fff; }

/* ========== Top bar ========== */
.topbar {
  background: var(--green-deep);
  color: #cfe6d4;
  font-size: 13px;
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar-welcome { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-right { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.topbar-right span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-right svg { width: 14px; height: 14px; color: var(--orange); }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand--logo .custom-logo-link { display: inline-flex; align-items: center; }
.brand--logo .custom-logo { max-height: 58px; width: auto; height: auto; display: block; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(28,124,58,.25);
}
.brand-mark svg { width: 64%; height: 64%; }
.brand-text { line-height: 1.15; }
.brand-text .name {
  font-weight: 800;
  font-size: 17px;
  color: var(--green-dark);
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-text .tag {
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
}

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block;
  padding: 8px 9px;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav li.is-active > a { color: var(--green); }
.nav-mobile-cta { display: none; }
.nav-drawer-head, .nav-drawer-foot, .nav-close { display: none; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 10px;
  background: var(--green-soft);
  border-radius: 999px;
  flex-shrink: 0;
}
.header-phone .ph-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  color: #fff;
}
.header-phone .ph-icon svg { width: 18px; height: 18px; }
.header-phone .ph-label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.header-phone .ph-num { font-weight: 800; font-size: 16px; color: var(--green-dark); line-height: 1.1; white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: var(--green-soft);
  border: none; border-radius: 10px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: .25s; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero (image-based, light) ========== */
.hero {
  position: relative;
  background: linear-gradient(160deg, #eef6e8 0%, #e6f2de 45%, #def0d4 100%);
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 1;
  /* Subject size knob: lower % = smaller dúi. */
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}
/* Green wash that sits over the photo's left edge so the two zones merge
   with no hard seam. */
.hero-image::before {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg,
    #e9f4e2 0%,
    #e9f4e2 40%,
    rgba(233,244,226,.72) 51%,
    rgba(233,244,226,.3) 60%,
    rgba(233,244,226,0) 74%);
}
.hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 520px;
  padding: 48px 24px;
}
.hero-content { grid-column: 1; max-width: 560px; }
.hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.22;
  text-transform: uppercase;
  color: var(--green-dark);
}
.hero h1 .hl { color: var(--green); }
.hero-sub {
  margin-top: 8px;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
}
.hero-points {
  list-style: none;
  margin: 24px 0 30px;
  display: grid;
  gap: 13px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.hero-points .tick {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
}
.hero-points .tick svg { width: 13px; height: 13px; color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-outline { background: rgba(255,255,255,.7); }

/* ========== Features strip (flat band) ========== */
.features { background: #f4f8f1; border-bottom: 1px solid var(--line); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: none; }
.feature-icon {
  width: 42px; height: 42px;
  color: var(--green);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature h4 { font-size: 13.5px; font-weight: 800; color: var(--green-dark); line-height: 1.3; text-transform: uppercase; letter-spacing: 0; white-space: nowrap; }
.feature p { font-size: 12.5px; color: var(--muted); margin-top: 4px; white-space: nowrap; }

/* ========== Farm intro ========== */
.farm-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 44px;
  align-items: stretch;
}
.farm-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--green-dark);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.farm-title span { color: var(--orange); }
.farm-text p { color: var(--text); margin-bottom: 16px; }
.farm-bullets { list-style: none; display: grid; gap: 12px; margin-bottom: 18px; }
.farm-bullets li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--text); }
.farm-bullets b { color: var(--green-dark); }
.farm-bullets .tick {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; margin-top: 1px;
}
.farm-bullets .tick svg { width: 13px; height: 13px; }
.farm-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.farm-photo { margin: 0; display: flex; flex-direction: column; min-height: 0; }
.farm-photo-img {
  position: relative;
  flex: 1; min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.farm-photo-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease;
}
.farm-photo:hover .farm-photo-img img { transform: scale(1.04); }
.farm-photo figcaption { text-align: center; font-size: 13px; font-weight: 600; color: var(--text); margin-top: 10px; }

/* ========== Process (6 steps, number below icon) ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: 8%; right: 8%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.proc-step { position: relative; z-index: 1; text-align: center; padding: 0 4px; }
.proc-icon {
  width: 72px; height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green-soft);
  color: var(--green);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.proc-icon svg { width: 32px; height: 32px; }
.proc-num { font-weight: 800; font-size: 15px; color: var(--green); margin-bottom: 8px; }
.proc-step h4 { font-size: 15px; font-weight: 700; color: var(--ink); }
.proc-step p { font-size: 13px; color: var(--text); margin-top: 6px; }

/* ========== Split: pricing + barn ========== */
.price-panel {
  background: #f4f8f1;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.block-title {
  font-size: 22px; font-weight: 800; color: var(--green-dark);
  text-transform: uppercase; line-height: 1.2; margin-bottom: 20px;
}
.block-title.center { text-align: center; }
.block-action { margin-top: 16px; }
.price-block .block-action { text-align: center; }
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}
.barn-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 26px;
  align-items: stretch;
}
.barn-left { display: flex; flex-direction: column; }
.barn-left .check-list { margin: 4px 0 0; }
.barn-left .block-action { margin-top: auto; padding-top: 22px; text-align: left; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.price-table thead th {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
}
.price-table tbody td { padding: 12px 14px; font-size: 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.price-table tbody tr:nth-child(even) { background: var(--green-tint); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .pname { font-weight: 700; color: var(--ink); }
.price-table .pprice { font-weight: 800; color: #e23b2e; white-space: nowrap; }
.price-table tbody tr { background: #fff; }
.price-table tbody tr:nth-child(even) { background: #fbfcfa; }
.price-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex; gap: 8px; align-items: flex-start;
}
.price-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--orange); margin-top: 2px; }

.check-list { list-style: none; display: grid; gap: 13px; margin: 4px 0 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--text); }
.check-list .tick {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; margin-top: 1px;
}
.check-list .tick svg { width: 13px; height: 13px; }
.barn-img { width: 100%; height: 100%; min-height: 240px; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }

/* ========== Commitments (6 compact cards) ========== */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.commit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.commit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.commit-icon {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  display: grid; place-items: center;
}
.commit-icon svg { width: 30px; height: 30px; }
.commit-card h4 { font-size: 15px; font-weight: 700; color: var(--green-dark); line-height: 1.3; }
.commit-card p { font-size: 13px; color: var(--text); margin-top: 6px; }

/* ========== Gallery ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid a, .gallery-grid figure { overflow: hidden; border-radius: var(--radius); }
.gallery-grid img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  transition: transform .35s ease;
}
.gallery-grid a:hover img, .gallery-grid figure:hover img { transform: scale(1.06); }

/* ========== Video ========== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,63,29,0) 40%, rgba(12,63,29,.55) 100%);
}
.video-play {
  position: absolute;
  inset: 0; margin: auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: grid; place-items: center;
  z-index: 2;
  transition: transform .2s ease, background .2s ease;
}
.video-card:hover .video-play { transform: scale(1.1); background: #fff; }
.video-play svg { width: 26px; height: 26px; color: var(--green); margin-left: 3px; }
.video-title {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: #fff; font-weight: 700; font-size: 15px;
}

/* ========== Testimonials (left heading + 3 cards) ========== */
.testi-layout {
  display: grid;
  grid-template-columns: 0.9fr 2.5fr;
  gap: 36px;
  align-items: start;
}
.testi-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800; line-height: 1.2;
  color: var(--green-dark); text-transform: uppercase;
}
.testi-head h2 span { color: var(--orange); }
.testi-head > .testi-stars { margin: 16px 0 14px; }
.testi-head p { font-size: 14px; color: var(--text); }
.testi-nav { display: flex; gap: 10px; margin-top: 20px; }
.testi-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center;
  font-size: 22px; color: var(--green); line-height: 1;
}
.testi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.testi-stars { display: flex; gap: 3px; color: var(--star); }
.testi-stars svg { width: 17px; height: 17px; }
.testi-card .testi-stars { margin: 14px 0 12px; }
.testi-quote { font-size: 14.5px; color: var(--text); line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; flex-shrink: 0;
  font-weight: 800; font-size: 19px; overflow: hidden;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-author strong { display: block; font-size: 15px; color: var(--ink); }
.testi-author span { font-size: 13px; color: var(--muted); }

/* ========== FAQ (2-column grid) ========== */
.faq-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item.open { border-color: var(--green); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink);
  text-align: left;
}
.faq-q .icon {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 700; line-height: 1;
  transition: transform .25s, background .2s, color .2s;
}
.faq-item.open .faq-q .icon { background: var(--green); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 22px 20px; color: var(--text); font-size: 15px; line-height: 1.7; }

/* ========== CTA banner ========== */
.cta-banner {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(12,63,29,.92), rgba(28,124,58,.86));
}
.cta-banner .cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.cta-inner { padding: 80px 24px; position: relative; z-index: 2; }
.cta-inner h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  max-width: 800px; margin: 0 auto;
}
.cta-inner p { margin: 16px auto 30px; max-width: 620px; font-size: 17px; color: #e7f3ea; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== Footer ========== */
.site-footer {
  background: var(--green-deep);
  color: #bcd4c2;
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-brand .brand-text .name { color: #fff; }
.footer-brand .brand-text .tag { color: #8fb499; }
.footer-brand > p { margin-top: 16px; font-size: 14px; line-height: 1.7; color: #a8c6af; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.footer-social a:hover { transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }
.footer-social a img { width: 20px; height: 20px; object-fit: contain; display: block; }
.footer-social .s-zalo { background: #0068ff; }
.footer-social .s-fb { background: #1877f2; }
.footer-social .s-yt { background: #ff0000; }
.footer-social .s-tt { background: #000; }
.footer-links li { position: relative; padding-left: 16px; }
.footer-links li::before { content: '›'; position: absolute; left: 0; color: var(--orange); }
.footer-col h5 {
  color: #fff; font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 18px;
  position: relative; padding-bottom: 12px;
}
.footer-col h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--orange); border-radius: 3px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col ul a, .footer-col ul li { font-size: 14px; color: #a8c6af; transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--orange); }
.footer-news p { font-size: 14px; color: #a8c6af; margin-bottom: 14px; }
.news-form { display: flex; gap: 8px; }
.news-form input {
  flex: 1; min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  border-radius: 10px; color: #fff; font-family: inherit; font-size: 14px;
}
.news-form input::placeholder { color: #7fa088; }
.news-form button {
  padding: 12px 16px; border: none; border-radius: 10px;
  background: var(--orange); color: #fff; font-weight: 700; cursor: pointer;
  display: grid; place-items: center;
}
.news-form button:hover { background: var(--orange-dark); }
.news-form button svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #8fb499;
}
.footer-bottom.center { justify-content: center; text-align: center; }

/* ========== Section action (centered button under a grid) ========== */
.section-action { text-align: center; margin-top: 34px; }

/* ========== Floating contact widget ========== */
.contact-fab {
  position: fixed; right: 20px; bottom: 22px; z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
/* Expanding items */
.contact-fab-items {
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(.96); transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  pointer-events: none;
}
.contact-fab.is-open .contact-fab-items { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.cfab-item { display: flex; align-items: center; gap: 10px; }
.cfab-label {
  background: #fff; color: var(--ink);
  padding: 9px 15px; border-radius: 999px;
  font-weight: 700; font-size: 14px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(17,58,30,.16);
}
.cfab-ic {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(17,58,30,.2);
}
.cfab-ic svg { width: 24px; height: 24px; color: #fff; }
.cfab-ic img { width: 28px; height: 28px; object-fit: contain; }
.cfab-call .cfab-ic { background: var(--green); }
.cfab-zalo .cfab-ic { background: #0068ff; }
.cfab-item:hover .cfab-ic { transform: scale(1.06); }
.cfab-ic { transition: transform .2s ease; }

/* Main toggle button + ring pulse */
.cfab-toggle {
  position: relative;
  width: 62px; height: 62px; border-radius: 50%;
  border: none; cursor: pointer;
  background: #d9a441;
  color: #233a66;
  box-shadow: 0 10px 26px rgba(180,130,40,.4);
  display: grid; place-items: center;
  transition: transform .2s ease;
}
.cfab-toggle:hover { transform: scale(1.05); }
.cfab-toggle::before, .cfab-toggle::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #d9a441; z-index: -1;
  animation: cfab-ring 2.2s ease-out infinite;
}
.cfab-toggle::after { animation-delay: 1.1s; }
@keyframes cfab-ring {
  0%   { transform: scale(1);   opacity: .5; }
  70%  { opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
.contact-fab.is-open .cfab-toggle::before,
.contact-fab.is-open .cfab-toggle::after { animation: none; opacity: 0; }
.cfab-icon { position: absolute; display: grid; place-items: center; transition: opacity .2s ease, transform .25s ease; }
.cfab-icon svg { width: 28px; height: 28px; }
.cfab-icon-close { opacity: 0; transform: rotate(-45deg); }
.contact-fab.is-open .cfab-icon-main { opacity: 0; transform: rotate(45deg); }
.contact-fab.is-open .cfab-icon-close { opacity: 1; transform: none; }

/* Hide the widget while the mobile menu drawer is open */
body.nav-open .contact-fab { opacity: 0; visibility: hidden; pointer-events: none; }

@media (max-width: 600px) {
  .contact-fab { right: 16px; bottom: 16px; }
  .cfab-toggle { width: 56px; height: 56px; }
}

/* ========== Reveal ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   INNER PAGES, REUSABLE PARTS & ARTICLE SYSTEM (green design language)
   Classes here are distinct from the homepage and power the Sản phẩm,
   Hình ảnh, Bảng giá, Cẩm nang and markdown article templates.
   ===================================================================== */

/* ---- Shared section heading helpers (used by parts) ---- */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.section-eyebrow .num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: 12px;
}
.section-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800; line-height: 1.2;
  color: var(--green-dark); text-transform: uppercase; letter-spacing: .01em;
}
.section-title .italic, .italic { color: var(--orange); font-style: normal; }
.section-lead { margin-top: 14px; color: var(--text); font-size: 16px; max-width: 720px; }

/* ---- Page hero (inner page header band) ---- */
.page-main { display: block; }
.page-hero {
  background: linear-gradient(120deg, #0c3f1d 0%, #1c7c3a 100%);
  color: #fff; padding: 56px 0;
}
.page-hero .breadcrumb { font-size: 14px; color: #cdeacf; margin-bottom: 14px; }
.page-hero .breadcrumb a { color: #cdeacf; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; text-transform: uppercase; line-height: 1.12; }
.page-hero-lead { margin-top: 14px; font-size: 17px; color: #e7f3ea; max-width: 720px; }

/* ---- Giới thiệu (About landing page) ---- */
.about-story { grid-template-columns: 1.1fr 1fr; align-items: center; }
.about-img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.about-stat .num { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--green); line-height: 1; }
.about-stat .lbl { margin-top: 8px; font-size: 14px; color: var(--text); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.vm-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.vm-icon svg { width: 30px; height: 30px; }
.vm-card h3 { font-size: 20px; font-weight: 800; color: var(--green-dark); text-transform: uppercase; margin-bottom: 10px; }
.vm-card p { color: var(--text); }
.about-values { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .about-stats { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .vm-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .about-values { grid-template-columns: 1fr; }
}

/* ---- Tin tức (news list) ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.news-meta svg { width: 15px; height: 15px; }
.news-title { font-size: 18px; font-weight: 800; line-height: 1.32; color: var(--green-dark); margin-bottom: 10px; }
.news-title a:hover { color: var(--green); }
.news-excerpt { font-size: 14.5px; color: var(--text); line-height: 1.6; flex: 1; }
.news-more { margin-top: 16px; font-weight: 700; color: var(--green); align-self: flex-start; }
.news-more:hover { color: var(--orange); }
.news-more span { display: inline-block; transition: transform .2s; }
.news-card:hover .news-more span { transform: translateX(4px); }
.news-empty { text-align: center; padding: 50px 0; }
.news-empty p { color: var(--muted); margin-bottom: 20px; font-size: 16px; }
.news-pagination { margin-top: 44px; }
.news-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; }
.news-pagination a, .news-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--ink); background: #fff; }
.news-pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.news-pagination a:hover { border-color: var(--green); color: var(--green); }

/* ---- Liên hệ (contact) ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-list { list-style: none; display: grid; gap: 16px; margin: 24px 0 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.contact-list .ci-icon svg { width: 22px; height: 22px; }
.contact-list .ci-label { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.contact-list .ci-val { font-weight: 700; color: var(--ink); font-size: 16px; }
.contact-list a.ci-val:hover { color: var(--green); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 400px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

@media (max-width: 880px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map, .contact-map iframe { min-height: 320px; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ---- Products / offerings ---- */
.offerings { padding: 72px 0; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.offer-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer-card-img { aspect-ratio: 16/10; overflow: hidden; }
.offer-card-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-card-body { padding: 28px; }
.offer-no { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.offer-card-body h3 { font-size: 26px; font-weight: 800; color: var(--green-dark); margin: 6px 0 12px; text-transform: uppercase; }
.offer-card-body > p { color: var(--text); margin-bottom: 18px; }
.offer-points { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.offer-points li { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.offer-points li span { color: var(--muted); }
.offer-points li strong { color: var(--ink); }
.offer-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); }
.offer-cta:hover { color: var(--orange); }

/* ---- Breeds ---- */
#breeds { padding: 72px 0; background: var(--green-tint); }
.breeds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.breed-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.breed-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.breed-img img { width: 100%; height: 100%; object-fit: cover; }
.breed-tag { position: absolute; top: 14px; left: 14px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 999px; }
.breed-card.dao .breed-tag { background: var(--orange); }
.breed-info { padding: 28px; }
.breed-info h3 { font-size: 24px; font-weight: 800; color: var(--green-dark); text-transform: uppercase; }
.breed-info h3 .latin { display: block; font-size: 13px; font-weight: 400; font-style: italic; text-transform: none; color: var(--muted); margin-top: 4px; }
.breed-info > p { color: var(--text); margin: 12px 0 18px; }
.breed-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.breed-spec { background: var(--green-tint); border-radius: 10px; padding: 12px 14px; }
.breed-spec dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.breed-spec dd { font-size: 17px; font-weight: 800; color: var(--green-dark); margin-top: 2px; }
.breed-features { list-style: none; display: grid; gap: 10px; }
.breed-features li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text); }
.breed-features li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: var(--green-soft); color: var(--green); border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }

/* ---- Moments (gallery on Hình ảnh page) ---- */
.moments { padding: 72px 0; }
.moments-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin-top: 40px; }
.moments-grid.equal { grid-template-columns: 1fr 1fr; }
.moment-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.moment-item.large { grid-row: span 2; aspect-ratio: auto; }
.moment-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.moment-item:hover img { transform: scale(1.05); }
.moment-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; background: linear-gradient(180deg, transparent, rgba(12,63,29,.8)); }
.moment-caption .label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffd9a8; }
.moment-caption .text { font-size: 14px; margin-top: 4px; }

/* ---- Cẩm nang hub + related articles ---- */
.cam-nang-grid { padding: 56px 0; }
.cam-nang-cat { margin-bottom: 48px; }
.cam-nang-cat h2 { font-size: 24px; font-weight: 800; color: var(--green-dark); text-transform: uppercase; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--green-soft); }
.cam-nang-cat h2 .cat-count { color: var(--muted); font-weight: 600; font-size: 16px; }
.cam-nang-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cam-nang-list li a { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cam-nang-list li a:hover { border-color: var(--green); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.art-thumb { flex-shrink: 0; width: 240px; aspect-ratio: 1731 / 909; border-radius: 10px; overflow: hidden; }
.art-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-meta { display: flex; flex-direction: column; gap: 4px; }
.art-title { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.35; }
.art-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.related-articles { padding: 56px 0; background: var(--green-tint); }
.related-title { font-size: 26px; font-weight: 800; color: var(--green-dark); text-transform: uppercase; margin-bottom: 24px; }
.related-back { margin-top: 24px; }
.related-back a { color: var(--green); font-weight: 700; }
.related-back a:hover { color: var(--orange); }

/* ---- Markdown article body ---- */
.article-body { padding: 48px 0 64px; }
.article-container { max-width: 920px; }
.article-container h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; color: var(--green-dark); line-height: 1.2; margin-bottom: 20px; }
.article-container h2 { font-size: 26px; font-weight: 800; color: var(--green-dark); margin: 36px 0 14px; padding-top: 8px; }
.article-container h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 28px 0 12px; }
.article-container p { margin-bottom: 18px; line-height: 1.8; }
.article-container ul, .article-container ol { margin: 0 0 18px 24px; }
.article-container li { margin-bottom: 8px; line-height: 1.75; }
.article-container a { color: var(--green); text-decoration: underline; }
.article-container a:hover { color: var(--orange); }
.article-container img { border-radius: var(--radius); margin: 22px 0; width: 100%; }
.article-container blockquote { border-left: 4px solid var(--green); background: var(--green-tint); padding: 16px 22px; border-radius: 0 10px 10px 0; margin: 0 0 20px; color: var(--ink); }
.article-container strong { color: var(--ink); }
.article-container table { width: 100%; border-collapse: collapse; margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-container th { background: var(--green); color: #fff; padding: 12px 14px; text-align: left; font-size: 14px; }
.article-container td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.article-container tr:nth-child(even) td { background: var(--green-tint); }

@media (max-width: 880px) {
  .offer-grid, .breeds-grid { grid-template-columns: 1fr; }
  .moments-grid, .moments-grid.equal { grid-template-columns: 1fr 1fr; }
  .moment-item.large { grid-row: auto; }
  .cam-nang-list { grid-template-columns: 1fr; }
  .art-thumb { width: 180px; height: auto; }
  /* Trim text so the card height stays balanced with the thumbnail */
  .art-title { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .art-desc { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 600px) {
  .breed-specs { grid-template-columns: 1fr 1fr; }
  .moments-grid, .moments-grid.equal { grid-template-columns: 1fr; }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: none; }
  .farm-grid { grid-template-columns: 1fr; gap: 28px; }
  .farm-photos { grid-template-rows: auto; }
  .farm-photo-img { flex: none; height: 200px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
  .process-grid::before { display: none; }
  .commit-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-layout { grid-template-columns: 1fr; gap: 24px; }
  .testi-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1199px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    background: var(--green-tint);
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Closed: hidden in-place (never pushed off-screen, so no horizontal overflow). */
    visibility: hidden;
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
    box-shadow: -14px 0 50px rgba(12,63,29,.18);
    margin-left: 0;
    z-index: 120;
    overflow-y: auto;
  }
  .site-header.is-open .main-nav { visibility: visible; opacity: 1; transform: none; }

  /* Drawer header */
  .nav-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(120deg, #0c3f1d, #1c7c3a);
    color: #fff;
    position: sticky; top: 0; z-index: 2;
  }
  .nav-drawer-title { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
  .nav-close {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.15); border: none; cursor: pointer;
    color: #fff; display: grid; place-items: center; flex-shrink: 0;
  }
  .nav-close svg { width: 20px; height: 20px; }
  .nav-close:hover { background: rgba(255,255,255,.28); }

  /* Links */
  .main-nav .nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 14px; }
  .main-nav .nav-links li { border-bottom: 1px solid #e1ece1; }
  .main-nav .nav-links li:last-child { border-bottom: none; }
  .main-nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 12px; border-radius: 10px;
    font-size: 15.5px; font-weight: 600; letter-spacing: .01em;
    color: var(--ink); text-transform: none;
  }
  .main-nav a::after { content: '›'; font-size: 20px; color: var(--green); opacity: .5; }
  .main-nav a:hover, .main-nav .current-menu-item > a, .main-nav li.is-active > a {
    background: #fff; color: var(--green);
  }
  .main-nav li.is-active > a::after { opacity: 1; }

  /* Drawer footer CTAs */
  .nav-drawer-foot {
    display: grid; gap: 10px;
    margin-top: auto;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid #dbe8db;
    background: #fff;
  }
  .nav-foot-call, .nav-foot-zalo {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 16px; border-radius: 12px; font-weight: 700; font-size: 15px;
  }
  .nav-foot-call { background: var(--green); color: #fff; }
  .nav-foot-call svg { width: 18px; height: 18px; }
  .nav-foot-zalo { background: #0068ff; color: #fff; }
  .nav-foot-zalo img { width: 20px; height: 20px; object-fit: contain; }

  .nav-toggle { display: flex; }
  .header-phone .ph-text { display: none; }
  .header-phone { padding: 6px; background: transparent; margin-left: auto; }
  .header-inner { gap: 12px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text .name { font-size: 16px; }
  .brand--logo .custom-logo { max-height: 46px; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 110; }
  /* Lift the header (and its drawer) above the backdrop so menu items stay tappable */
  body.nav-open .site-header { z-index: 130; }

  /* Hero: stack image above text (taller on tablet, scales with width) */
  .hero-image { position: static; width: 100%; height: clamp(230px, 46vw, 440px); background-size: cover; background-position: center; -webkit-mask-image: none; mask-image: none; }
  .hero-image::before { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 36px 24px 44px; }
  .hero-content { grid-column: 1; max-width: none; }

  .split-2 { grid-template-columns: 1fr; gap: 32px; }
  .testi-cards { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .topbar-right { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: none; }
  .feature h4, .feature p { white-space: normal; }
  .farm-photos { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .commit-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .barn-inner { grid-template-columns: 1fr; }

  /* Pricing table: let it wrap & shrink so it never overflows the screen */
  .price-panel { padding: 22px 16px; }
  .price-table thead th { white-space: normal; padding: 11px 9px; font-size: 11.5px; letter-spacing: 0; }
  .price-table tbody td { white-space: normal; padding: 11px 9px; font-size: 13px; }
  .price-table .pprice { white-space: normal; }
  .block-title { font-size: 19px; }

  /* Long buttons (e.g. "Xem thêm video…") may wrap instead of overflowing */
  .section-action .btn { white-space: normal; }
}

/* Very small phones: tighten the header so it never overflows */
@media (max-width: 380px) {
  .header-inner { padding: 12px 16px; gap: 10px; }
  .brand--logo .custom-logo { max-height: 40px; }
  .brand-mark { width: 38px; height: 38px; }
  .header-phone .ph-icon { width: 32px; height: 32px; }
  .nav-toggle { width: 38px; height: 38px; }
}
