/* ==========================================================================
   VŨ HIỀN FARM — 100% FULL-WIDTH & DESIGN-FAITHFUL STYLESHEET
   ========================================================================== */

:root {
  --green-900: #1D3B1F;
  --green-800: #264A28;
  --green-700: #355830;
  --green-600: #3E5E37;
  --green-500: #4E7345;
  --gold-600: #A66E24;
  --gold-500: #B87B20;
  --gold-400: #DDA544;
  --gold-300: #E8B85B;
  --cream-50: #FBF9F4;
  --cream-100: #F9F7F1;
  --cream-200: #F5F2E8;
  --cream-300: #EAE4D3;
  --text-dark: #22301F;
  --text-body: #3A4737;
  --text-muted: #5C6858;
  --white: #FFFFFF;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --shell-width: 100%;
}

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

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

/* Proportional desktop scaling (>= 1025px) so full-bleed illustrated scenes
   and typographic overlays stay locked in harmony at 1280px, 1440px, 1920px+ */
@media (min-width: 1025px) {
  html {
    font-size: calc(100vw / 80);
  }
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--cream-100);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ==========================================================================
   PAGE SHELL, BADGE ICONS & COMMON TYPOGRAPHY
   ========================================================================== */
.page-shell {
  width: 100%;
  max-width: var(--shell-width);
  margin: 0 auto;
  position: relative;
  background-color: var(--cream-100);
}

.page-main {
  width: 100%;
  max-width: var(--shell-width);
  margin: 0 auto;
  background-color: var(--cream-100);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-600);
  margin-bottom: 0.38rem;
}

.eyebrow--light {
  color: rgba(235, 243, 230, 0.88);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.94rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--green-900);
  margin-bottom: 0.72rem;
  text-wrap: balance;
}

.section-title--light {
  color: var(--white);
}

.section-title--gold-sub {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gold-600);
  margin-top: 0.18rem;
}

.section-desc {
  font-size: 0.87rem;
  line-height: 1.62;
  color: var(--text-body);
  margin-bottom: 1.12rem;
}

/* Unified crisp vector circular medallion badges */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFDF8 0%, #F5EEE0 100%);
  border: 1.5px solid rgba(43, 76, 40, 0.32);
  color: var(--green-800);
  box-shadow:
    0 0.2rem 0.65rem rgba(29, 59, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  flex-shrink: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.58rem 1.28rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn--green {
  background-color: var(--green-600);
  color: var(--white);
  box-shadow: 0 0.25rem 0.75rem rgba(48, 79, 42, 0.22);
}

.btn--green:hover {
  background-color: var(--green-800);
}

.btn--gold {
  background: linear-gradient(180deg, #E8BE5B 0%, #D9A53E 100%);
  color: #2B2512;
  font-weight: 700;
  box-shadow: 0 0.25rem 0.85rem rgba(0, 0, 0, 0.18);
}

.btn--gold:hover {
  background: linear-gradient(180deg, #F0C96A 0%, #E2AF47 100%);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
}

/* ==========================================================================
   HEADER / NAVBAR (FLOATING GLASS CAPSULE)
   Clears sunrise leaves on top-left AND "Tinh hoa đồng quê Việt" on top-right
   ========================================================================== */
section[id],
footer[id] {
  scroll-margin-top: 4.6rem;
}

#trang-chu {
  scroll-margin-top: 0;
}

#lien-he {
  scroll-margin-top: -0.5rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  padding: 0.65rem 24px 0;
  display: flex;
  justify-content: center;
  background: transparent;
  pointer-events: none;
  transition: padding 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
}

.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 1240px;
  padding: 0.38rem 0.75rem 0.38rem 1.15rem;
  border-radius: 999px;
  position: relative;
  box-sizing: border-box;
}

.header-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.64) 0%,
    rgba(251, 249, 243, 0.52) 100%
  );
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow:
    0 0.35rem 1.35rem rgba(29, 59, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.site-header.scrolled {
  padding: 0.45rem 24px 0;
}

.site-header.scrolled .header-inner::before {
  background: rgba(251, 249, 244, 0.9);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0.45rem 1.65rem rgba(29, 59, 31, 0.13);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.brand-logo__icon {
  width: 2.55rem;
  height: 2.55rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(29, 59, 31, 0.1));
}

.footer-logo-icon {
  width: 3.5rem;
  height: 3.5rem;
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
}

.brand-logo__name {
  font-family: var(--font-sans);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--green-900);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.65);
}

.brand-logo__tagline {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: 0.07em;
  margin-top: 0.12rem;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  position: relative;
  z-index: 2;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-900);
  padding: 0.25rem 0;
  position: relative;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background-color: var(--green-700);
  border-radius: 2px;
  transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-800);
  font-weight: 700;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.search-btn {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.search-btn svg {
  width: 1.12rem;
  height: 1.12rem;
}

.search-btn:hover {
  background-color: rgba(62, 94, 55, 0.1);
  color: var(--green-800);
}

.btn--connect {
  padding: 0.44rem 1.05rem;
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
}

/* ==========================================================================
   SECTION 1: HERO BANNER (CINEMATIC KEN-BURNS SLIDER + OVERLAYS)
   ========================================================================== */
.hero-section {
  position: relative;
}

.hero-scene-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  --hero-slide-duration: 6000ms;
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1821 / 864;
  overflow: hidden;
  background-color: #FAF8F0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #FAF8F0;
  will-change: opacity;
}

/* Previous slide stays at opacity 1 underneath incoming slide -> zero washout flash */
.hero-slide.is-leaving {
  opacity: 1;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  transition: opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-scene-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform-origin: 78% 72%;
  transform: scale(1.024);
  will-change: transform;
}

.hero-scene-bg--1 {
  object-position: center center;
}

.hero-scene-bg--2 {
  object-position: center 22%;
}

.hero-scene-bg--3 {
  object-position: center center;
}

.hero-slide.is-active .hero-scene-bg,
.hero-slide.is-leaving .hero-scene-bg {
  animation: heroKenBurns 7.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-scene-box.is-paused .hero-slide.is-active .hero-scene-bg,
.hero-scene-box.is-paused .hero-dot.is-active .hero-dot__fill {
  animation-play-state: paused;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.055);
  }
  100% {
    transform: scale(1.022);
  }
}

/* Glassmorphism Prev / Next Slider Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.42);
  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--green-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.25rem 0.95rem rgba(20, 42, 18, 0.14);
  opacity: 0.82;
  z-index: 5;
  transition:
    opacity 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-slider-arrow svg {
  width: 1.18rem;
  height: 1.18rem;
}

.hero-scene-box:hover .hero-slider-arrow {
  opacity: 1;
}

.hero-slider-arrow:hover {
  background: rgba(255, 253, 248, 0.92);
  transform: translateY(-50%) scale(1.07);
  box-shadow: 0 0.35rem 1.2rem rgba(20, 42, 18, 0.22);
}

.hero-slider-arrow--prev {
  left: 1.6%;
}

.hero-slider-arrow--next {
  right: 1.6%;
}

/* Animated Progress Pill Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 14.2%;
  left: 47.4%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.28rem 0.54rem;
  border-radius: 999px;
  background: rgba(24, 44, 22, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  z-index: 5;
}

.hero-dot {
  position: relative;
  width: 0.46rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dot.is-active {
  width: 2.05rem;
  background: rgba(255, 255, 255, 0.34);
}

.hero-dot__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #FAF5E5 0%, #E8BE5B 100%);
  transform-origin: left center;
  transform: scaleX(0);
}

.hero-dot.is-active .hero-dot__fill {
  animation: heroDotProgress var(--hero-slide-duration) linear forwards;
}

@keyframes heroDotProgress {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

/* Center sky overlay positioned cleanly below floating header */
.hero-overlay-content {
  position: absolute;
  top: 14%;
  left: 47.4%;
  transform: translateX(-50%);
  width: 46%;
  text-align: center;
  z-index: 4;
}

/* Soft warm morning-mist halo behind hero copy for crisp legibility on all slides */
.hero-overlay-content::before {
  content: '';
  position: absolute;
  inset: -1.35rem -2.6rem -1.5rem;
  background: radial-gradient(
    ellipse 70% 68% at 50% 48%,
    rgba(255, 253, 246, 0.9) 0%,
    rgba(255, 251, 242, 0.72) 50%,
    rgba(255, 250, 238, 0.22) 76%,
    rgba(255, 249, 235, 0) 100%
  );
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

/* Individual Overlay per Banner Slide */
.hero-overlay-item {
  display: none;
  opacity: 0;
}

.hero-overlay-item.is-active {
  display: block;
  animation: heroOverlayFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroOverlayFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.18;
  color: #1B411F;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.34rem;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
}

.hero-title__gold {
  display: block;
  color: #B4741B;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #234625;
  margin-bottom: 0.34rem;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.88);
}

.hero-desc {
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.54;
  color: #243321;
  max-width: 26.2rem;
  margin: 0 auto 0.85rem;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.92);
}

.hero-desc strong {
  color: #183217;
  font-weight: 700;
}

.hero-cta-btn {
  padding: 0.58rem 1.35rem;
  font-size: 0.85rem;
}

/* Unified cream curved highlights dock across all 3 hero slides
   (matches baked #FAF8F0 dock tone and clears bottom-right painted leaves) */
.hero-highlights-bar {
  position: absolute;
  bottom: 0;
  left: 14.5%;
  width: 65.8%;
  height: 12.2%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 0.75rem;
  background: linear-gradient(
    180deg,
    rgba(251, 249, 242, 0.97) 0%,
    #FAF8F0 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1.5rem 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 -0.15rem 0.6rem rgba(24, 42, 20, 0.04);
  z-index: 4;
}

.highlight-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.56rem;
  padding: 0 0.4rem;
  position: relative;
}

.highlight-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.55rem;
  background-color: rgba(62, 94, 55, 0.16);
}

.highlight-icon-badge {
  width: 2.2rem;
  height: 2.2rem;
}

.highlight-icon-badge svg {
  width: 1.2rem;
  height: 1.2rem;
}

.highlight-text {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  color: #233520;
}

/* ==========================================================================
   SECTION 2: NÔNG TRẠI VŨ HIỀN FARM ("Thiên nhiên là nguồn cảm hứng")
   Grid clears pond arch at <=44.5% X and centers 4 badges on 79.35% X spine
   ========================================================================== */
.farm-section {
  position: relative;
}

.farm-scene-box {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.farm-scene-bg {
  width: 100%;
  height: auto;
  display: block;
}

.farm-overlay-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 46% 32.18% 21.82%;
  align-items: center;
  z-index: 2;
}

.farm-center-col {
  padding: 0 1.75rem 0 0;
}

.farm-right-col {
  display: flex;
  flex-direction: column;
  gap: 0.86rem;
  padding: 0 1.15rem 0 0;
}

.farm-feature-row {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.farm-feature-badge {
  width: 2.45rem;
  height: 2.45rem;
  background: #FAF5E7;
}

.farm-feature-badge svg {
  width: 1.35rem;
  height: 1.35rem;
}

.farm-feature-label {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.32;
  color: #263623;
}

/* ==========================================================================
   SECTION 3: HÀNH TRÌNH CỦA MỘT QUẢ TRỨNG ("Từ nông trại đến tay bạn")
   ========================================================================== */
.journey-section {
  position: relative;
}

.journey-inner {
  background-color: var(--cream-50);
  padding: 2.35rem 5.2% 2.35rem;
}

.journey-header {
  margin-bottom: 1.25rem;
}

.journey-header .section-title {
  margin-bottom: 0;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.85rem;
}

.journey-step {
  position: relative;
}

/* Dashed arrow connector centered cleanly between step cards */
.journey-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 3.35rem;
  right: -1.52rem;
  width: 1.2rem;
  height: 0.78rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none'%3E%3Ccircle cx='2.5' cy='6' r='2' fill='%233E5E37'/%3E%3Cline x1='6' y1='6' x2='18' y2='6' stroke='%233E5E37' stroke-width='1.6' stroke-dasharray='2.5 2.5'/%3E%3Cpolyline points='16 2.5 20.5 6 16 9.5' stroke='%233E5E37' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 3;
}

.journey-step__img-wrap {
  border-radius: 0.8rem;
  overflow: hidden;
  aspect-ratio: 222 / 108;
  margin-bottom: 0.75rem;
  background-color: #E8E2D0;
  box-shadow: 0 0.28rem 0.9rem rgba(34, 56, 30, 0.09);
}

.journey-step__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Slight default zoom trims baked 2px white borders on step_01 & step_02 */
  transform: scale(1.038);
  transition: transform 0.35s ease;
}

.journey-step:hover .journey-step__img {
  transform: scale(1.078);
}

.journey-step__head {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  margin-bottom: 0.28rem;
}

.journey-step__num {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background-color: var(--green-600);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
}

.journey-step__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-900);
}

.journey-step__desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-body);
  padding-left: 2.07rem;
}

/* ==========================================================================
   SECTION 4: CHẤT LƯỢNG & NIỀM TIN ("Những điều chúng tôi cam kết")
   Right-half editorial panel (50%–95.2% X) leaves left eggs & blossoms 100% clear
   ========================================================================== */
.commitment-section {
  position: relative;
}

.commitment-box {
  background-color: var(--cream-200);
  position: relative;
  width: 100%;
  overflow: hidden;
}

.commitment-full-bg {
  width: 100%;
  height: auto;
  display: block;
}

.commitment-overlay-grid {
  position: absolute;
  top: 50%;
  left: 50.2%;
  right: 4.8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  z-index: 2;
  pointer-events: auto;
}

.commitment-title-area {
  position: static;
}

.commitment-title-area .section-title {
  font-size: 1.88rem;
  margin-bottom: 0;
}

.commitment-items-row {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.88rem;
  align-items: stretch;
}

.commitment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0.9rem;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(55, 82, 48, 0.13);
  border-radius: 0.85rem;
  box-shadow: 0 0.28rem 0.95rem rgba(34, 56, 30, 0.06);
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.commitment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.45rem 1.2rem rgba(34, 56, 30, 0.1);
}

.commitment-icon-svg {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFDF8 0%, #F5EEE0 100%);
  border: 1.5px solid rgba(43, 76, 40, 0.26);
  color: var(--green-700);
  padding: 0.48rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commitment-icon-svg svg {
  width: 100%;
  height: 100%;
}

.commitment-item__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 0.24rem;
}

.commitment-item__desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-body);
  max-width: 14.5rem;
  text-wrap: balance;
}

/* ==========================================================================
   SECTION 5: CÂU CHUYỆN THƯƠNG HIỆU ("Từ đồng quê, bằng sự chân thành")
   ========================================================================== */
.story-section {
  position: relative;
}

.story-scene-box {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.story-scene-bg {
  width: 100%;
  height: auto;
  display: block;
}

.story-overlay-content {
  position: absolute;
  top: 50%;
  left: 5.2%;
  width: 37.2%;
  transform: translateY(-50%);
  z-index: 2;
}

/* ==========================================================================
   SECTION 6: SẢN PHẨM CỦA VŨ HIỀN FARM ("Trứng vịt tươi - Tự nhiên, tròn vị quê hương")
   Left copy constrained to <=37% X; bottom SVG badges framed cleanly in 13.5%–68.5% X
   ========================================================================== */
.product-section {
  position: relative;
}

.product-scene-box {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-scene-bg {
  width: 100%;
  height: auto;
  display: block;
}

.product-overlay-top {
  position: absolute;
  top: 10.5%;
  left: 5.2%;
  width: 31.8%;
  z-index: 2;
}

.product-overlay-badges {
  position: absolute;
  bottom: 6.8%;
  left: 13.5%;
  width: 54.5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  z-index: 2;
}

.product-badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  position: relative;
}

.product-badge-icon {
  width: 3.05rem;
  height: 3.05rem;
  border: 1.5px solid rgba(43, 76, 40, 0.36);
  box-shadow:
    0 0.3rem 0.85rem rgba(29, 59, 31, 0.1),
    0 0 0 3px rgba(255, 253, 247, 0.72);
}

.product-badge-icon svg {
  width: 1.62rem;
  height: 1.62rem;
}

.product-badge-text {
  font-size: 0.81rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--green-900);
}

/* ==========================================================================
   SECTION 7: TỪ NÔNG TRẠI ĐẾN BỮA CƠM VIỆT ("Những món ngon từ trứng vịt")
   ========================================================================== */
.dishes-section {
  position: relative;
  z-index: 3;
}

.dishes-inner {
  background: linear-gradient(
    180deg,
    #385234 0%,
    #354F32 84%,
    rgba(53, 79, 50, 0) 100%
  );
  background-color: transparent;
  padding: 2.6rem 5.2% 1.6rem;
  color: var(--white);
}

.dishes-eyebrow {
  color: #E2BE70;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.dishes-header-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.2rem;
  margin-bottom: 1.75rem;
}

.dishes-header-left {
  flex: 0 0 auto;
  max-width: 40%;
}

.dishes-header-left .section-title {
  font-size: 2.02rem;
  font-weight: 700;
  margin-bottom: 0;
}

.dishes-header-right {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1.5rem;
  position: relative;
}

.dishes-header-desc {
  font-size: 0.85rem;
  line-height: 1.58;
  color: rgba(244, 247, 240, 0.92);
  max-width: 28rem;
}

.dishes-more-btn {
  padding: 0.56rem 1.25rem;
  font-size: 0.82rem;
  margin-top: 0;
  flex-shrink: 0;
}

.dishes-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-chevron {
  position: absolute;
  top: 43%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 4;
}

.carousel-chevron svg {
  width: 1.45rem;
  height: 1.45rem;
}

.carousel-chevron:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%) scale(1.08);
}

#prevDishBtn {
  left: -2.6rem;
}

#nextDishBtn {
  right: -2.6rem;
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  width: 100%;
}

.dish-card {
  background: linear-gradient(180deg, #FAF7EC 0%, #EFE7D2 100%);
  border-radius: 0.95rem;
  padding: 0;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid rgba(246, 241, 227, 0.85);
  box-shadow: 0 0.65rem 1.55rem rgba(10, 24, 9, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.85rem 1.8rem rgba(10, 24, 9, 0.36);
}

.dish-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1.01;
  overflow: hidden;
}

.dish-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dish-card:hover .dish-card__img {
  transform: scale(1.05);
}

.dish-card__body {
  padding: 0.72rem 0.5rem 0.78rem;
  background: linear-gradient(180deg, #FAF6EA 0%, #EFE7D3 100%);
}

.dish-card__title {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: #263623;
}

/* ==========================================================================
   SECTION 8: CTA BANNER ("Cùng Vũ Hiền Farm tạo nên những bữa cơm ấm áp")
   Balanced vertical overlap so dish cards breathe cleanly above the brand seal
   ========================================================================== */
.cta-banner-section {
  position: relative;
  z-index: 1;
  margin-top: -8.6rem;
}

.cta-scene-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #243C20;
}

.cta-scene-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(
    180deg,
    #354F32 0%,
    #354F32 26%,
    rgba(53, 79, 50, 0.94) 44%,
    rgba(48, 73, 45, 0.64) 68%,
    rgba(40, 63, 37, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.cta-scene-bg {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -5.5%;
}

.cta-overlay-content {
  position: absolute;
  top: 45%;
  left: 55.6%;
  width: 38.5%;
  z-index: 3;
}

.cta-heading-top {
  font-size: 0.8rem;
  font-weight: 700;
  color: #EBC369;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.cta-heading-main {
  font-family: var(--font-serif);
  font-size: 1.58rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.28;
  margin-bottom: 0.65rem;
  text-wrap: balance;
}

.cta-desc {
  font-size: 0.86rem;
  line-height: 1.58;
  color: rgba(244, 247, 240, 0.93);
  margin-bottom: 1.15rem;
  max-width: 28rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cta-btn-primary {
  padding: 0.62rem 1.45rem;
  font-size: 0.85rem;
}

.cta-btn-zalo {
  min-width: 9rem;
  padding: 0.6rem 1.45rem;
  font-size: 0.85rem;
  background: rgba(18, 38, 19, 0.44);
  border: 1.25px solid rgba(235, 241, 228, 0.8);
}

.cta-btn-zalo:hover {
  background: rgba(26, 54, 28, 0.65);
  border-color: var(--white);
}

/* ==========================================================================
   SECTION 9: FOOTER
   ========================================================================== */
.site-footer {
  width: 100%;
}

.footer-inner {
  background-color: #FAF6ED;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.68fr 1.28fr 2.37fr;
  gap: 0;
  align-items: stretch;
  padding: 1.65rem 0 0 5.2%;
}

.footer-brand-col {
  display: flex;
  align-items: center;
  padding: 0.25rem 1.4rem 1.45rem 0;
}

.footer-menu-col,
.footer-contact-col {
  border-left: 1px solid rgba(55, 78, 48, 0.11);
  padding: 0.15rem 1.35rem 1.45rem 1.45rem;
}

.footer-heading {
  font-size: 0.86rem;
  font-weight: 700;
  color: #263624;
  margin-bottom: 0.58rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-body);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--green-800);
  font-weight: 600;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  font-size: 0.8rem;
  color: var(--text-body);
}

.footer-contact-item svg {
  width: 0.96rem;
  height: 0.96rem;
  color: var(--green-600);
  flex-shrink: 0;
}

.footer-social-col {
  position: relative;
  border-left: 1px solid rgba(55, 78, 48, 0.11);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.25rem 0 0.2rem 0.35rem;
  overflow: hidden;
}

.footer-social-left {
  position: absolute;
  top: 0.18rem;
  left: 1.5rem;
  z-index: 2;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  margin-top: 0.52rem;
}

.social-icon-link {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background-color: #203220;
  color: #FAF6ED;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-icon-link svg {
  width: 0.88rem;
  height: 0.88rem;
}

.social-icon-link:hover {
  transform: translateY(-2px);
  background-color: var(--green-600);
}

.footer-hills-img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  clip-path: inset(3px 2px 2px 3px);
  mix-blend-mode: multiply;
  filter: brightness(1.03) contrast(1.04);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%),
    linear-gradient(to right, transparent 0%, black 6%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%),
    linear-gradient(to right, transparent 0%, black 6%);
  mask-composite: intersect;
}

.footer-bottom {
  border-top: 1px solid rgba(55, 78, 48, 0.12);
  padding: 0.78rem 5.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-bottom-links a:hover {
  color: var(--green-800);
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 34, 18, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--cream-50);
  border-radius: 1.25rem;
  max-width: 35rem;
  width: 100%;
  max-height: calc(100vh - 2.5rem);
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.6rem 1.5rem;
  position: relative;
  box-shadow: 0 1.25rem 3.12rem rgba(0, 0, 0, 0.28);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  box-sizing: border-box;
  overflow: hidden;
}

.modal-backdrop.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green-900);
  background: rgba(251, 249, 244, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(43, 76, 40, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background-color: var(--green-800);
  color: var(--white);
  transform: rotate(90deg);
}

#modalBodyContent {
  overflow-y: auto;
  max-height: calc(100vh - 5.5rem);
  padding-right: 6px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

/* Custom aesthetic scrollbar for modal content */
#modalBodyContent::-webkit-scrollbar {
  width: 6px;
}

#modalBodyContent::-webkit-scrollbar-track {
  background: rgba(43, 76, 40, 0.06);
  border-radius: 999px;
}

#modalBodyContent::-webkit-scrollbar-thumb {
  background: rgba(62, 94, 55, 0.35);
  border-radius: 999px;
}

#modalBodyContent::-webkit-scrollbar-thumb:hover {
  background: rgba(62, 94, 55, 0.6);
}

/* ==========================================================================
   SMOOTH SCROLL REVEAL ANIMATION
   ========================================================================== */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.reveal-hidden {
  opacity: 0;
  transform: translateY(20px);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINT 1: TABLET & SMALL LAPTOP (<= 1024px)
   Readable 16px root typography, art-directed banner crops & clean grids
   ========================================================================== */
@media (max-width: 1024px) {
  section[id],
  footer[id],
  #lien-he {
    scroll-margin-top: 78px;
  }

  .site-header,
  .site-header.scrolled {
    padding: 10px 16px 0;
  }

  .header-inner {
    padding: 8px 12px 8px 16px;
  }

  .header-inner::before {
    background: rgba(251, 249, 244, 0.88);
    backdrop-filter: blur(14px) saturate(145%);
    -webkit-backdrop-filter: blur(14px) saturate(145%);
    border-color: rgba(255, 255, 255, 0.86);
  }

  .brand-logo__icon {
    width: 38px;
    height: 38px;
  }

  .brand-logo__name {
    font-size: 0.98rem;
  }

  .brand-logo__tagline {
    font-size: 0.48rem;
    letter-spacing: 0.05em;
  }

  .nav-menu {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.88rem;
  }

  .btn--connect {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  /* Hero section */
  .hero-slider {
    aspect-ratio: 16 / 8.2;
  }

  /* Crop out baked bottom dock & right-edge calligraphy when text stacks below */
  .hero-scene-bg--1 {
    height: 116%;
    object-position: left top;
  }

  .hero-scene-bg--3 {
    height: 119%;
    margin-top: -2.2%;
    object-position: left top;
  }

  .hero-slider-arrow {
    width: 38px;
    height: 38px;
  }

  .hero-slider-dots {
    bottom: 14px;
    left: 50%;
  }

  .hero-overlay-content::before {
    display: none;
  }

  .hero-overlay-content,
  .hero-highlights-bar,
  .farm-overlay-grid,
  .commitment-overlay-grid,
  .commitment-title-area,
  .commitment-items-row,
  .story-overlay-content,
  .product-overlay-top,
  .product-overlay-badges,
  .cta-overlay-content {
    position: static;
    transform: none;
    width: 100%;
  }

  .hero-overlay-content {
    padding: 32px 28px 28px;
    background: var(--cream-50);
  }

  .hero-title {
    font-size: 1.95rem;
    text-shadow: none;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    text-shadow: none;
  }

  .hero-desc {
    font-size: 0.94rem;
    max-width: 36rem;
    text-shadow: none;
  }

  .hero-highlights-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 18px 24px;
    background: #F6F1E2;
    border-radius: 0;
    border-top: 1px solid rgba(62, 94, 55, 0.12);
    border-bottom: 1px solid rgba(62, 94, 55, 0.1);
    box-shadow: none;
    height: auto;
  }

  /* Art-directed cropped banners so composite backgrounds never show blank halves */
  .farm-scene-bg {
    width: 155%;
    max-width: none;
    margin-left: 0;
  }

  .farm-overlay-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    padding: 32px 28px;
    background: var(--cream-100);
  }

  .farm-arch-spacer {
    display: none;
  }

  .farm-center-col {
    padding: 0;
  }

  .farm-right-col {
    padding: 0;
    gap: 14px;
  }

  /* Journey section */
  .journey-inner {
    padding: 36px 28px;
  }

  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }

  .journey-step::after {
    display: none;
  }

  /* Commitment section */
  .commitment-box {
    padding: 0;
    background-color: var(--cream-100);
  }

  .commitment-full-bg {
    width: 158%;
    max-width: none;
    margin-left: 0;
    margin-top: -8%;
  }

  .commitment-overlay-grid {
    padding: 32px 28px 36px;
    gap: 20px;
  }

  .commitment-items-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Story section */
  .story-scene-bg {
    width: 162%;
    max-width: none;
    margin-left: -62%;
  }

  .story-overlay-content {
    padding: 32px 28px 36px;
    background: var(--cream-50);
  }

  /* Product section */
  .product-scene-bg {
    width: 152%;
    max-width: none;
    margin-left: -52%;
    margin-bottom: -15%;
  }

  .product-overlay-top {
    position: relative;
    inset: auto;
    z-index: 2;
    background-color: var(--cream-100);
    padding: 30px 28px 20px;
  }

  .product-overlay-badges {
    position: relative;
    inset: auto;
    z-index: 2;
    background-color: var(--cream-100);
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 8px 28px 36px;
  }

  /* Dishes section */
  .dishes-inner {
    background: linear-gradient(180deg, #385234 0%, #2C4429 100%);
    padding: 36px 28px;
  }

  .dishes-header-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }

  .dishes-header-left {
    max-width: 100%;
  }

  .dishes-header-right {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .dishes-header-desc {
    max-width: 34rem;
    font-size: 0.92rem;
  }

  .dishes-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }

  #prevDishBtn,
  #nextDishBtn {
    display: none;
  }

  /* CTA section */
  .cta-banner-section {
    margin-top: 0;
  }

  .cta-scene-box::before {
    display: none;
  }

  .cta-scene-bg {
    width: 148%;
    max-width: none;
    margin-left: -2%;
    margin-top: -6%;
    margin-bottom: 0;
  }

  .cta-overlay-content {
    padding: 32px 28px 36px;
    background: linear-gradient(180deg, #274826 0%, #1F3B1F 100%);
  }

  .cta-heading-main {
    font-size: 1.55rem;
  }

  .cta-desc {
    font-size: 0.94rem;
    max-width: 36rem;
  }

  /* Footer */
  .footer-main-grid {
    grid-template-columns: 1.15fr 0.78fr 1.32fr;
    gap: 24px;
    padding: 32px 28px 20px;
  }

  .footer-brand-col {
    align-items: flex-start;
  }

  .footer-brand-col,
  .footer-menu-col,
  .footer-contact-col {
    border-left: none;
    padding: 0;
  }

  .footer-social-col {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid rgba(55, 78, 48, 0.1);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 0;
  }

  .footer-social-left {
    position: static;
    flex-shrink: 0;
  }

  .footer-hills-img {
    width: 58%;
  }

  .footer-bottom {
    padding: 16px 28px;
  }
}

/* ==========================================================================
   NAVIGATION RESPONSIVE RULES (DESKTOP >= 992px vs TABLET/MOBILE <= 991px)
   ========================================================================== */
@media (min-width: 992px) {
  .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    gap: 1.35rem;
    box-shadow: none;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .site-header {
    padding: 0.5rem 16px 0;
  }
  .header-inner {
    gap: 0.65rem;
    padding: 0.35rem 0.55rem 0.35rem 0.85rem;
  }
  .brand-logo {
    gap: 0.45rem;
  }
  .brand-logo__icon {
    width: 2.2rem;
    height: 2.2rem;
  }
  .brand-logo__name {
    font-size: 0.95rem;
  }
  .brand-logo__tagline {
    font-size: 0.46rem;
  }
  .nav-menu {
    gap: 0.85rem !important;
  }
  .nav-link {
    font-size: 0.8rem;
  }
  .btn--connect {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--green-900);
    border-radius: 50%;
    transition: background-color 0.2s ease;
  }
  .mobile-menu-toggle:hover {
    background-color: rgba(62, 94, 55, 0.1);
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 8px;
    right: 8px;
    border-radius: 18px;
    background: rgba(251, 249, 244, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.92);
    flex-direction: column;
    padding: 14px 16px;
    gap: 6px;
    box-shadow: 0 16px 36px rgba(29, 59, 31, 0.18);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease;
    z-index: 100;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    width: 100%;
    color: var(--green-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-shadow: none;
    transition: background 0.16s ease, color 0.16s ease;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(43, 76, 40, 0.08);
    color: var(--green-800);
    font-weight: 700;
  }

  .nav-menu .nav-link::after {
    display: none;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINT 2: MOBILE PHONES (<= 767px)
   Compact single-line header, zero orphan line-breaks & bento 2+2+1 dish grid
   ========================================================================== */
@media (max-width: 767px) {
  .site-header,
  .site-header.scrolled {
    padding: 8px 12px 0;
  }

  .header-inner {
    padding: 7px 10px 7px 12px;
    gap: 8px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-logo__icon {
    width: 34px;
    height: 34px;
  }

  .brand-logo__name {
    font-size: 0.92rem;
  }

  .brand-logo__tagline {
    font-size: 0.44rem;
    letter-spacing: 0.03em;
  }

  .header-actions {
    gap: 4px;
  }

  .search-btn {
    width: 34px;
    height: 34px;
  }

  .btn--connect {
    padding: 6px 11px;
    font-size: 0.76rem;
    gap: 4px;
  }

  .nav-menu {
    left: 4px;
    right: 4px;
    padding: 12px 14px;
  }

  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
  }

  /* Balanced mobile typography — prevents awkward single-word orphans */
  .section-title {
    font-size: clamp(1.46rem, 6vw, 1.68rem);
    line-height: 1.25;
  }

  .section-title--gold-sub {
    font-size: clamp(1.2rem, 5vw, 1.38rem);
    margin-top: 4px;
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  /* Hero mobile */
  .hero-slider {
    aspect-ratio: 16 / 10;
  }

  .hero-slider-arrow {
    width: 32px;
    height: 32px;
  }

  .hero-overlay-content {
    padding: 24px 20px 22px;
  }

  .hero-title {
    font-size: clamp(1.42rem, 6.1vw, 1.72rem);
    line-height: 1.24;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-desc {
    font-size: 0.9rem;
    max-width: 20.5rem;
    text-wrap: pretty;
  }

  .hero-highlights-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
    padding: 16px 18px;
  }

  .highlight-item {
    justify-content: flex-start;
    padding: 0 4px;
  }

  /* Only show vertical divider between Col 1 and Col 2, never on right screen edge */
  .highlight-item::after {
    display: none;
  }

  .highlight-item:nth-child(odd)::after {
    display: block;
    right: -6px;
  }

  /* Farm mobile */
  .farm-scene-bg {
    width: 186%;
  }

  .farm-overlay-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 20px 28px;
  }

  .farm-right-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }

  /* Journey mobile */
  .journey-inner {
    padding: 28px 20px;
  }

  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }

  .journey-step__head {
    gap: 0.42rem;
  }

  .journey-step__title {
    font-size: 0.79rem;
    letter-spacing: -0.015em;
  }

  .journey-step__desc {
    padding-left: 0;
    margin-top: 4px;
    font-size: 0.82rem;
  }

  /* Commitment mobile */
  .commitment-full-bg {
    width: 178%;
  }

  .commitment-overlay-grid {
    padding: 24px 20px 28px;
    gap: 16px;
  }

  .commitment-title-area .section-title {
    font-size: clamp(1.46rem, 6vw, 1.68rem);
  }

  .commitment-items-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .commitment-item {
    padding: 16px 12px;
  }

  .commitment-item__desc {
    max-width: none;
  }

  /* Story mobile */
  .story-scene-bg {
    width: 175%;
    margin-left: -75%;
  }

  .story-overlay-content {
    padding: 24px 20px 28px;
  }

  /* Product mobile */
  .product-scene-bg {
    width: 162%;
    margin-left: -62%;
    margin-bottom: -8%;
  }

  .product-overlay-top {
    padding: 24px 20px 16px;
  }

  .product-overlay-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
    padding: 8px 20px 28px;
  }

  /* Dishes mobile — gap-free 2 + 2 + 1 bento layout */
  .dishes-inner {
    padding: 28px 20px 32px;
  }

  .dishes-header-left .section-title {
    font-size: clamp(1.48rem, 6.2vw, 1.72rem);
  }

  .dishes-header-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .dishes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .dish-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .dish-card:last-child:nth-child(odd) .dish-card__img-wrap {
    aspect-ratio: 2.15 / 1;
  }

  /* CTA mobile */
  .cta-scene-bg {
    width: 170%;
    margin-left: -2%;
  }

  .cta-overlay-content {
    padding: 26px 20px 30px;
  }

  .cta-heading-main {
    font-size: clamp(1.32rem, 5.6vw, 1.5rem);
  }

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

  .cta-btn-primary,
  .cta-btn-zalo {
    flex: 1 1 140px;
  }

  /* Footer mobile */
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 20px 14px;
  }

  .footer-social-col {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 16px;
  }

  .footer-hills-img {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px;
    text-align: center;
  }
}

@media (max-width: 374px) {
  .btn--connect span {
    display: none;
  }

  .btn--connect {
    padding: 7px 9px;
  }
}


/* ==========================================================================
   SUBPAGES DESIGN SYSTEM (PRODUCTS, NEWS, GALLERY & DETAIL PAGES)
   Faithfully matching Vu Hien Farm brand typography, colors, and rhythm
   ========================================================================== */

.subpage-wrapper {
  padding-top: 4.6rem;
  background-color: var(--cream-100);
  min-height: 85vh;
}

/* Subpage Containers Transparency Override */
.subpage-wrapper .page-shell,
.subpage-hero .page-shell,
.subpage-nav-bar .page-shell,
.subpage-body .page-shell {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Subpage Hero Header */
.subpage-hero {
  background: linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 100%);
  color: var(--white);
  padding: 3.2rem 5.2% 2.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(221, 165, 68, 0.25);
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(221, 165, 68, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.subpage-hero .page-shell {
  position: relative;
  z-index: 2;
}

.subpage-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #D2DBC9;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 2;
}

.subpage-breadcrumb a {
  color: #D2DBC9;
  transition: color 0.2s ease;
}

.subpage-breadcrumb a:hover {
  color: var(--gold-300);
}

.subpage-breadcrumb__sep {
  opacity: 0.6;
}

.subpage-breadcrumb__current {
  color: var(--gold-300);
  font-weight: 600;
}

.subpage-hero .eyebrow {
  color: var(--gold-300) !important;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.subpage-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 0.65rem;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.subpage-desc {
  max-width: 44rem;
  margin: 0 auto;
  font-size: 0.94rem;
  color: #E2EADF !important;
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb Sub-bar for detail pages */
.subpage-nav-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(43, 76, 40, 0.1);
  padding: 0.85rem 5.2%;
}

.subpage-nav-bar .subpage-breadcrumb {
  margin-bottom: 0;
  color: var(--text-muted);
}

.subpage-nav-bar .subpage-breadcrumb a {
  color: var(--text-muted);
}

.subpage-nav-bar .subpage-breadcrumb a:hover {
  color: var(--green-900);
}

.subpage-nav-bar .subpage-breadcrumb__current {
  color: var(--green-900);
}

/* Subpage Main Content Shell */
.subpage-body {
  padding: 2.5rem 5.2% 4.5rem;
}

/* Filter Toolbar */
.filter-toolbar {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 0.35rem 1.2rem rgba(29, 59, 31, 0.05);
  border: 1px solid rgba(43, 76, 40, 0.08);
  margin-bottom: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.filter-toolbar__count {
  font-size: 0.92rem;
  color: var(--text-body);
  font-weight: 500;
}

.filter-toolbar__count strong {
  color: var(--green-900);
  font-weight: 700;
}

.filter-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.filter-input {
  padding: 0.52rem 0.95rem;
  border: 1.5px solid rgba(43, 76, 40, 0.16);
  border-radius: 0.55rem;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  min-width: 14rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(62, 94, 55, 0.15);
}

.filter-select {
  padding: 0.52rem 0.95rem;
  border: 1.5px solid rgba(43, 76, 40, 0.16);
  border-radius: 0.55rem;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s;
}

.filter-select:focus {
  outline: none;
  border-color: var(--green-600);
}

/* Category Filter Tabs (Pills) */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  background: var(--white);
  color: var(--text-body);
  border: 1.5px solid rgba(43, 76, 40, 0.14);
}

.category-pill:hover {
  border-color: var(--green-700);
  color: var(--green-900);
}

.category-pill.is-active {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
  box-shadow: 0 0.25rem 0.75rem rgba(29, 59, 31, 0.22);
}

/* Products Grid & Card */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: var(--white);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(43, 76, 40, 0.1);
  box-shadow: 0 0.4rem 1.4rem rgba(29, 59, 31, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 2rem rgba(29, 59, 31, 0.12);
  border-color: rgba(43, 76, 40, 0.24);
}

.product-card__thumb-wrap {
  position: relative;
  height: 14rem;
  background: var(--cream-200);
  overflow: hidden;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-card__badge-featured {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: #E65100;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.18);
}

.product-card__badge-nature {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  background: rgba(29, 59, 31, 0.86);
  color: var(--cream-50);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.product-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__title {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.38;
  margin-bottom: 0.35rem;
}

.product-card__title a {
  color: inherit;
  transition: color 0.2s;
}

.product-card__title a:hover {
  color: var(--gold-600);
}

.product-card__tagline {
  font-size: 0.82rem;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.product-card__desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.product-card__price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(43, 76, 40, 0.16);
  margin-bottom: 1rem;
}

.product-card__price {
  font-size: 1.28rem;
  font-weight: 800;
  color: #C62828;
}

.product-card__unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: normal;
}

.product-card__pack-tag {
  font-size: 0.76rem;
  background: var(--cream-200);
  color: var(--green-800);
  padding: 0.18rem 0.55rem;
  border-radius: 0.4rem;
  font-weight: 600;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.btn--outline-green {
  border: 1.5px solid var(--green-700);
  color: var(--green-800);
  background: transparent;
  font-weight: 600;
}

.btn--outline-green:hover {
  background: var(--green-800);
  color: var(--white);
}

/* Product Detail Page View */
.product-detail-card {
  background: var(--white);
  border-radius: 1.35rem;
  border: 1px solid rgba(43, 76, 40, 0.1);
  box-shadow: 0 0.5rem 1.8rem rgba(29, 59, 31, 0.06);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 2.75rem;
  align-items: start;
}

.product-detail__main-img-box {
  position: relative;
  height: 23rem;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--cream-200);
}

.product-detail__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.95rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.product-detail__thumb-item {
  width: 4.8rem;
  height: 4.8rem;
  object-fit: cover;
  border-radius: 0.65rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.product-detail__thumb-item:hover {
  border-color: var(--green-800);
  transform: translateY(-2px);
}

.product-detail__price-box {
  background: var(--cream-50);
  border-radius: 0.85rem;
  padding: 1.15rem 1.45rem;
  margin-bottom: 1.45rem;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  border: 1px solid rgba(43, 76, 40, 0.08);
}

.product-detail__price {
  font-size: 2.1rem;
  font-weight: 800;
  color: #C62828;
}

.product-detail__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  padding: 1.15rem;
  background: var(--cream-200);
  border-radius: 0.85rem;
  font-size: 0.86rem;
  color: var(--text-dark);
}

.product-detail__check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-detail__check-icon {
  color: var(--green-700);
  font-weight: 700;
}

/* News Listing Grid & Cards */
.news-featured-card {
  background: var(--white);
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(43, 76, 40, 0.1);
  box-shadow: 0 0.5rem 1.8rem rgba(29, 59, 31, 0.06);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  margin-bottom: 3rem;
}

.news-featured__img-box {
  height: 23rem;
  overflow: hidden;
  background: var(--cream-200);
}

.news-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-featured-card:hover .news-featured__img {
  transform: scale(1.03);
}

.news-featured__body {
  padding: 2.4rem 2.8rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1.85rem;
}

.news-card {
  background: var(--white);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(43, 76, 40, 0.1);
  box-shadow: 0 0.35rem 1.35rem rgba(29, 59, 31, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 2rem rgba(29, 59, 31, 0.12);
}

.news-card__thumb-box {
  position: relative;
  height: 12.5rem;
  overflow: hidden;
  background: var(--cream-200);
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card__img {
  transform: scale(1.05);
}

.news-card__badge-cat {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(29, 59, 31, 0.88);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.news-card__body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.news-card__title {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.news-card__title a {
  color: inherit;
  transition: color 0.2s;
}

.news-card__title a:hover {
  color: var(--gold-600);
}

.news-card__desc {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  flex: 1;
}

.news-card__footer {
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(43, 76, 40, 0.15);
}

.news-card__more-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.2s ease;
}

.news-card__more-link:hover {
  transform: translateX(3px);
  color: var(--gold-500);
}

/* Article Detail View */
.article-detail-card {
  background: var(--white);
  border-radius: 1.35rem;
  border: 1px solid rgba(43, 76, 40, 0.1);
  box-shadow: 0 0.5rem 1.8rem rgba(29, 59, 31, 0.06);
  padding: 2.8rem 3.2rem;
}

.article-content-body {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.85;
}

.article-content-body p {
  margin-bottom: 1.25rem;
}

.article-content-body h2,
.article-content-body h3 {
  font-family: var(--font-serif);
  color: var(--green-900);
  margin-top: 1.8rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.article-content-body h2 {
  font-size: 1.55rem;
}

.article-content-body h3 {
  font-size: 1.3rem;
}

.article-content-body ul,
.article-content-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.4rem;
}

.article-content-body li {
  margin-bottom: 0.45rem;
}

.article-content-body ol {
  list-style: decimal;
}

.article-content-body ul {
  list-style: disc;
}

.article-content-body blockquote {
  background: var(--cream-50);
  border-left: 4px solid var(--green-700);
  padding: 1.1rem 1.4rem;
  margin: 1.4rem 0;
  border-radius: 0 0.65rem 0.65rem 0;
  font-style: italic;
  color: var(--green-900);
}

/* Gallery Grid & Lightbox Cards */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: var(--white);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(43, 76, 40, 0.1);
  box-shadow: 0 0.35rem 1.2rem rgba(29, 59, 31, 0.05);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.8rem 2.2rem rgba(29, 59, 31, 0.13);
}

.gallery-card__thumb-box {
  position: relative;
  height: 14rem;
  overflow: hidden;
  background: var(--cream-200);
}

.gallery-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover .gallery-card__img {
  transform: scale(1.07);
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 59, 31, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-card__zoom-btn {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,0.22);
}

.gallery-card__badge-cat {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 0.65rem;
  backdrop-filter: blur(4px);
}

.gallery-card__body {
  padding: 1.1rem 1.25rem;
}

.gallery-card__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.gallery-card__caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Pagination component */
.pagination-wrap {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.pagination-wrap .pagination {
  display: flex;
  gap: 0.4rem;
  list-style: none;
}

.pagination-wrap .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.75rem;
  border-radius: 0.55rem;
  background: var(--white);
  border: 1.5px solid rgba(43, 76, 40, 0.16);
  color: var(--text-dark);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination-wrap .page-item .page-link:hover {
  background: var(--cream-200);
  border-color: var(--green-700);
}

.pagination-wrap .page-item.active .page-link {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
  box-shadow: 0 0.2rem 0.6rem rgba(29, 59, 31, 0.2);
}

.pagination-wrap .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR SUBPAGES
   ========================================================================== */
@media (max-width: 1024px) {
  .subpage-wrapper {
    padding-top: 75px;
  }

  .subpage-hero {
    padding: 2.4rem 28px 2rem;
  }

  .subpage-body {
    padding: 2rem 28px 3.5rem;
  }

  .subpage-title {
    font-size: 1.95rem;
  }

  .news-featured-card {
    grid-template-columns: 1fr;
  }

  .news-featured__img-box {
    height: 18rem;
  }

  .news-featured__body {
    padding: 1.8rem 2rem;
  }

  .product-detail-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.8rem;
  }

  .product-detail__main-img-box {
    height: 20rem;
  }

  .article-detail-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .subpage-wrapper {
    padding-top: 68px;
  }

  .subpage-hero {
    padding: 2rem 20px 1.6rem;
  }

  .subpage-body {
    padding: 1.5rem 20px 3rem;
  }

  .subpage-title {
    font-size: 1.65rem;
  }

  .filter-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.8rem;
  }

  .filter-toolbar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-input {
    min-width: 100%;
    width: 100%;
  }

  .filter-select {
    width: 100%;
  }

  .products-grid,
  .gallery-grid,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .product-detail-card {
    padding: 1.25rem;
  }

  .product-detail__main-img-box {
    height: 15rem;
  }

  .product-detail__checklist {
    grid-template-columns: 1fr;
  }

  .article-detail-card {
    padding: 1.35rem;
  }

  .article-content-body {
    font-size: 0.95rem;
  }
}
