/* ===================================================
   TEXAS ORGANIC SOIL — REDESIGN PROTOTYPE
   Art Direction: Organic / Wellness / Nature
   Palette: Deep forest green + warm cream + earth brown
   Fonts: Zodiak (display) + Work Sans (body)
=================================================== */

/* ------- DESIGN TOKENS ------- */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Border radius */
  --radius-sm: 0.375rem; --radius-md: 0.625rem; --radius-lg: 1rem;
  --radius-xl: 1.5rem; --radius-full: 9999px;

  /* Transitions */
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  /* ---- ORGANIC NATURE PALETTE (Light) ---- */
  --color-bg:              #f5f2ec;
  --color-surface:         #faf8f4;
  --color-surface-rgb:     250, 248, 244;
  --color-surface-2:       #ffffff;
  --color-surface-offset:  #ede9e1;
  --color-divider:         #ddd8cf;
  --color-border:          #ccc6bb;

  --color-text:            #1e1c17;
  --color-text-muted:      #6b6659;
  --color-text-faint:      #b0a99c;
  --color-text-inverse:    #f5f2ec;

  /* Primary: Deep Forest Green */
  --color-primary-rgb:     45, 90, 39;
  --color-primary:         #2d5a27;
  --color-primary-hover:   #234820;
  --color-primary-active:  #1a3618;
  --color-primary-light:   #e8f0e6;
  --color-primary-mid:     #4a7a43;

  /* Accent: Warm Earth/Amber */
  --color-accent:          #8b5e2a;
  --color-accent-hover:    #6e4a21;
  --color-accent-light:    #f2e8d8;

  /* Success green */
  --color-success:         #3a7028;

  --shadow-sm: 0 1px 3px rgba(30, 28, 23, 0.06);
  --shadow-md: 0 4px 16px rgba(30, 28, 23, 0.10);
  --shadow-lg: 0 16px 40px rgba(30, 28, 23, 0.14);
}

/* Dark Mode */
[data-theme="dark"] {
  --color-bg:              #141210;
  --color-surface:         #1a1815;
  --color-surface-rgb:     26, 24, 21;
  --color-surface-2:       #201d1a;
  --color-surface-offset:  #181613;
  --color-divider:         #2a2723;
  --color-border:          #3a3730;

  --color-text:            #e8e4dc;
  --color-text-muted:      #8a8478;
  --color-text-faint:      #5a5650;
  --color-text-inverse:    #1a1815;

  --color-primary:         #5a9952;
  --color-primary-hover:   #4d8446;
  --color-primary-active:  #3d6b38;
  --color-primary-light:   #1e2e1c;
  --color-primary-mid:     #6aad62;

  --color-accent:          #c4884a;
  --color-accent-hover:    #b07540;
  --color-accent-light:    #2a201a;

  --color-success:         #5a9952;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #141210; --color-surface: #1a1815; --color-surface-rgb: 26, 24, 21; --color-surface-2: #201d1a;
    --color-surface-offset: #181613; --color-divider: #2a2723; --color-border: #3a3730;
    --color-text: #e8e4dc; --color-text-muted: #8a8478; --color-text-faint: #5a5650;
    --color-text-inverse: #1a1815;
    --color-primary: #5a9952; --color-primary-hover: #4d8446;
    --color-primary-active: #3d6b38; --color-primary-light: #1e2e1c; --color-primary-mid: #6aad62;
    --color-accent: #c4884a; --color-accent-hover: #b07540; --color-accent-light: #2a201a;
    --color-success: #5a9952;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.25); --shadow-md: 0 4px 16px rgba(0,0,0,.35); --shadow-lg: 0 16px 40px rgba(0,0,0,.5);
  }
}

/* ------- SMOOTH SCROLLING ------- */
html {
  scroll-behavior: smooth;
}

/* Ensure smooth scrolling works with parallax */
body {
  overflow-x: hidden;
}

/* Enhanced smooth scrolling class */
body.smooth-scrolling {
  scroll-behavior: smooth;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li { text-wrap: pretty; }
address { font-style: normal; }

::selection { background: rgba(45, 90, 39, 0.18); color: var(--color-text); }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Adjust scroll padding for sticky header that shrinks on scroll */
html {
  scroll-padding-top: 80px;
}

* {
  scroll-margin-top: 80px;
}

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

/* ------- UTILITIES ------- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-mid);
  margin-bottom: var(--space-3);
}

[data-theme="dark"] .section-label {
  color: var(--color-primary);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  line-height: 1.1;
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ------- BUTTONS ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75em 1.75em;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 6px 20px rgba(45, 90, 39, 0.3);
}

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

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
}

.btn-full { width: 100%; justify-content: center; }

/* ------- SITE HEADER WRAPPER ------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(var(--color-surface-rgb), 0.86);
}

/* ------- ANNOUNCEMENT BAR ------- */
.announcement-bar {
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  flex-wrap: wrap;
  max-height: 100px;
  overflow: hidden;
  transition: max-height 400ms ease, padding 400ms ease, opacity 300ms ease;
}

#site-header.scrolled .announcement-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.announcement-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.announcement-icon { display: none; }

.announcement-phone {
  margin-left: auto;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.announcement-phone a { text-decoration: none; }
.announcement-phone a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .announcement-phone { margin-left: 0; }
}

/* ------- HEADER / NAV ------- */
.header {
  position: relative;
  background: rgba(var(--color-surface-rgb), 1);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), padding var(--transition);
}

/* Ensure header always covers content behind it when sticky */
#site-header.scrolled .header {
  box-shadow: var(--shadow-md);
}

#site-header.scrolled .header-inner {
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  transition: padding 400ms ease;
}

#site-header.scrolled .logo-img {
  height: 60px !important;
  margin-top: -3px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-4) clamp(var(--space-6), 5vw, var(--space-16)) var(--space-1);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.logo-img {
  height: 90px !important;
  width: auto !important;
  margin-top: -8px;
}

.logo-img--footer {
  height: 50px !important;
  width: auto !important;
  margin-top: 0 !important;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--color-primary);
}

.logo-sub {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}

.nav-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.nav-cta {
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  text-decoration: none;
  padding: 0.55em 1.25em;
  border-radius: var(--radius-full);
  margin-left: var(--space-3);
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-4) clamp(var(--space-6), 5vw, var(--space-16));
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
}

.mobile-menu.open { display: flex; }

.mobile-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--transition);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--color-primary); }

.mobile-cta {
  margin-top: var(--space-3);
  color: var(--color-primary);
  font-weight: 700;
  border-bottom: none !important;
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav-hamburger { display: flex; }
  .theme-toggle { display: none; }
}

/* ------- MEGA MENU ------- */
.nav-item { position: relative; }

.nav-link--has-mega {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mega-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.nav-item.is-open .mega-chevron {
  transform: rotate(180deg);
}

/* Invisible bridge fills the gap between trigger and panel */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -24px;
  right: -24px;
  height: 20px;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 680px;
  z-index: 9999;
  background: linear-gradient(145deg, #253d23 0%, #2a4528 40%, #2f4f2d 100%);
  border: 1px solid rgba(74,122,67,0.6);
  border-radius: 18px;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.2),
    0 8px 16px rgba(0,0,0,0.15),
    0 16px 32px rgba(0,0,0,0.1),
    0 32px 64px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Delay hiding so cursor has time to cross the gap */
  transition: opacity 0.2s ease 0.18s, transform 0.2s ease 0.18s, visibility 0s 0.38s;
}

.nav-item:hover .mega-menu,
.nav-item.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  /* No delay when showing */
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #233a21;
  border-left: 1px solid rgba(74,122,67,0.5);
  border-top: 1px solid rgba(74,122,67,0.5);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px 0 0 0;
  z-index: 5;
}

.mega-vine {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.mega-vine--tl { top: 0; left: 0; width: 140px; height: 190px; opacity: 0.18; transition: opacity 0.3s ease; }
.mega-vine--br { bottom: 0; right: 0; width: 115px; height: 155px; opacity: 0.24; transform: rotate(180deg); transition: opacity 0.3s ease; }

.nav-item:hover .mega-vine--tl,
.nav-item.is-open .mega-vine--tl {
  opacity: 0.28;
}

.nav-item:hover .mega-vine--br,
.nav-item.is-open .mega-vine--br {
  opacity: 0.22;
}

.mega-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 185px;
}

.mega-col { padding: 22px 18px; }
.mega-col + .mega-col { border-left: 1px solid rgba(255,255,255,0.07); }

.mega-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(168,196,154,0.75);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mega-label--gap { margin-top: 14px; }

.mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 1px;
  transition: background 0.15s ease;
}
.mega-link:hover { background: rgba(74,122,67,0.18); }

.mega-link-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(74,122,67,0.2);
  border: 1px solid rgba(74,122,67,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8dc882;
  transition: background 0.15s ease;
}
.mega-link:hover .mega-link-icon { background: rgba(74,122,67,0.38); }

.mega-link-text { display: flex; flex-direction: column; min-width: 0; }

.mega-link-title {
  font-size: 16px;
  font-weight: 600;
  color: #ddecd7;
  line-height: 1.2;
  transition: color 0.15s ease;
}
.mega-link:hover .mega-link-title { color: #b5d8a8; }

.mega-link-desc {
  font-size: 13px;
  color: rgba(168,196,154,0.7);
  line-height: 1.3;
  margin-top: 1px;
}

.mega-featured {
  padding: 18px 14px;
  border-left: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0,0,0,0.14);
}

.mega-card {
  background: rgba(74,122,67,0.13);
  border: 1px solid rgba(74,122,67,0.24);
  border-radius: 12px;
  padding: 13px 12px;
  text-decoration: none;
  display: block;
  transition: background 0.15s ease, border-color 0.15s ease;
  position: relative;
  overflow: hidden;
}
.mega-card:hover { background: rgba(74,122,67,0.22); border-color: rgba(74,122,67,0.4); }

/* Card vine SVG placement */
.card-vine {
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 90px;
  height: 90px;
  pointer-events: none;
  opacity: 0.6;
}

/* Stem animation */
.card-vine .vine-stem {
  fill: none;
  stroke: rgba(150, 210, 140, 0.18);
  stroke-width: 1.4;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 0.6s ease, stroke 0.3s ease;
}

/* Leaves initial state */
.card-vine .leaf {
  fill: rgba(150, 210, 140, 0.18);
  opacity: 0;
  transform: scale(0.5) rotate(-12deg);
  transform-origin: center;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Stagger leaf timing */
.card-vine .leaf-1 { transition-delay: 0.08s; }
.card-vine .leaf-2 { transition-delay: 0.18s; }

/* HOVER TRIGGER for card vines */
.mega-card:hover .vine-stem {
  stroke-dashoffset: 0;
  stroke: rgba(170, 230, 150, 0.35);
}

.mega-card:hover .leaf {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.mega-card-icon { color: #8dc882; margin-bottom: 7px; }

.mega-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ddecd7;
  margin-bottom: 3px;
  line-height: 1.2;
}

.mega-card-desc {
  font-size: 12px;
  color: rgba(168,196,154,0.6);
  line-height: 1.4;
  margin-bottom: 9px;
}

.mega-card-arrow {
  font-size: 12px;
  font-weight: 700;
  color: #6bcf7f;
}

.mega-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}

.mega-footer-info {
  font-size: 12px;
  color: rgba(168,196,154,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-footer-info svg { color: #6bcf7f; flex-shrink: 0; }

.mega-footer-cta {
  font-size: 13px;
  font-weight: 700;
  color: #6bcf7f;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.mega-footer-cta:hover { color: #a8c49a; }

/* Mobile accordion for products */
.mobile-accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
  font-family: inherit;
  transition: color var(--transition);
}
.mobile-accordion-trigger:hover { color: var(--color-primary); }
.mobile-accordion-trigger.is-open { color: var(--color-primary); }

.mobile-chevron-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.mobile-accordion-trigger.is-open .mobile-chevron-icon {
  transform: rotate(180deg);
}

.mobile-accordion-content {
  display: none;
  flex-direction: column;
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface-offset);
  margin: 0 calc(-1 * clamp(var(--space-6), 5vw, var(--space-16)));
  padding-left: calc(clamp(var(--space-6), 5vw, var(--space-16)) + var(--space-4));
  padding-right: clamp(var(--space-6), 5vw, var(--space-16));
}
.mobile-accordion-content.is-open { display: flex; }

.mobile-sub-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(74,122,67,0.8);
  padding: var(--space-2) 0 var(--space-1);
}

.mobile-sub-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) 0;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--transition);
}
.mobile-sub-link:last-child { border-bottom: none; }
.mobile-sub-link:hover { color: var(--color-primary); }

@media (max-width: 768px) {
  .mega-menu { display: none !important; }
}

/* ------- HERO ------- */
.hero {
  position: relative;
  min-height: 72vh;
  max-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 24, 8, 0.72) 0%,
    rgba(10, 24, 8, 0.45) 50%,
    rgba(10, 24, 8, 0.20) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: clamp(var(--space-12), 6vw, var(--space-20)) clamp(var(--space-6), 5vw, var(--space-16));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4em 1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-size: clamp(3.5rem, 2rem + 6vw, 7rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.0;
  margin-bottom: var(--space-5);
  max-width: 20ch;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.82);
  max-width: 54ch;
  line-height: 1.65;
  margin-bottom: var(--space-8);
  font-weight: 400;
}

.typed-title {
  color: #8dc882; /* Vibrant Spring Green for high visibility */
  display: inline-block;
  white-space: nowrap; /* Prevent wrapping on longer words */
  min-width: 300px; /* Increased to accommodate longer phrases like 'Environments' */
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.typed-cursor {
  color: #8dc882;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ------- TRUST BAR ------- */
.trust-bar {
  background: var(--color-primary);
  color: #fff;
  padding-block: var(--space-4);
}

.trust-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
  display: flex;
  justify-content: center;
  gap: clamp(var(--space-4), 3vw, var(--space-8));
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: 400;
  white-space: nowrap;
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
}

@media (max-width: 600px) {
  .trust-divider { display: none; }
  .trust-inner { gap: var(--space-6); }
  .trust-item {
    font-size: var(--text-sm);
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .trust-inner {
    gap: var(--space-4);
    padding-inline: var(--space-4);
  }
  .trust-item {
    font-size: var(--text-xs);
    flex-direction: column;
    gap: var(--space-1);
  }
}

/* ------- ABOUT ------- */
.about { background: var(--color-surface); }

.about-cta {
  margin-top: var(--space-6);
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: center;
}

.about-lead {
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.about-body {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-10);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--color-primary-light);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-10);
}

[data-theme="dark"] .about-stats {
  background: var(--color-surface-offset);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: var(--space-1);
  word-wrap: break-word;
  hyphens: auto;
  text-align: center;
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.about-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-frame:hover img { transform: scale(1.03); }

.about-badge-float {
  position: absolute;
  bottom: -var(--space-6);
  left: -var(--space-6);
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-img-frame { aspect-ratio: 16/9; }
  .about-stats { 
    grid-template-columns: 1fr; 
    gap: var(--space-4);
    padding: var(--space-6);
  }
  .stat-number { font-size: var(--text-xl); }
  .about-badge-float { bottom: var(--space-4); left: var(--space-4); }
}

/* ------- PRODUCTS ------- */
.products { background: var(--color-bg); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-divider);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
}

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

.product-card--featured {
  grid-column: span 2;
  flex-direction: row;
}

.product-card--featured .product-img-wrap {
  flex: 0 0 48%;
  aspect-ratio: unset;
}

.product-card--coming-soon {
  opacity: 0.7;
}

.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.product-card-body,
.product-card-content {
  padding: var(--space-4) var(--space-5);
  flex: 1;
}

.product-card-cat {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.product-card-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.3;
}

.product-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--color-surface-offset);
}

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

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 50%);
}

/* Full image display for cards with text that needs to be fully visible */
.product-card--full-image .product-img-wrap img {
  object-fit: contain;
}

.coming-soon-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-faint);
  background: var(--color-surface-offset);
}

.product-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.2em 0.7em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  align-self: flex-start;
}

.product-tag--soon {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.product-name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.product-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-5);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}

.product-link:hover {
  gap: var(--space-3);
  color: var(--color-primary-hover);
}

.product-link--muted {
  color: var(--color-text-faint);
  cursor: default;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .product-card--featured { grid-column: span 2; }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card--featured { grid-column: span 1; flex-direction: column; }
  .product-card--featured .product-img-wrap { flex: unset; aspect-ratio: 4/3; }
}

/* ------- QUOTE BANNER ------- */
.quote-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quote-banner-bg {
  position: absolute;
  inset: 0;
}

.quote-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.quote-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 35, 8, 0.72);
}

.quote-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-16) clamp(var(--space-8), 8vw, var(--space-32));
  max-width: 860px;
}

.quote-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  line-height: 1.45;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
}

.quote-attr {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.quote-attr.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------- CALCULATOR ------- */
.calculator { 
  background: var(--color-surface);
  padding-block: clamp(var(--space-10), 5vw, var(--space-20));
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: start;
}

.calculator-body {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

.calc-tips {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.calc-tip {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.calc-tip-icon {
  font-size: 1.4em;
  flex-shrink: 0;
  margin-top: 2px;
}

.calc-tip strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.calc-tip p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.calculator-card {
  background: var(--color-surface-2);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-divider);
}

.calc-form-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-8);
  color: var(--color-text);
}

.calc-step {
  margin-bottom: var(--space-8);
}

.calc-step-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.calc-field label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.calc-field input,
.calc-field select {
  padding: 0.65em 0.9em;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.12);
}

.calc-result-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-primary-light);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

[data-theme="dark"] .calc-result-inline {
  background: var(--color-surface-offset);
}

.calc-result-inline strong {
  color: var(--color-primary);
  font-weight: 700;
}

.calc-output {
  margin-top: var(--space-4);
  text-align: center;
  padding: var(--space-3) var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-primary);
  opacity: 0.5;
  transition: opacity var(--transition);
}

[data-theme="dark"] .calc-output {
  background: var(--color-surface-offset);
}

.calc-output.has-result { opacity: 1; }

.calc-output-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.calc-output-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-output-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.calc-output-note a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Calculator Responsive Improvements */
@media (max-width: 1024px) and (min-width: 769px) {
  .calculator-grid {
    gap: var(--space-12);
  }
  
  .calculator-card {
    padding: var(--space-6);
  }
}

@media (max-width: 768px) {
  .calculator-grid { 
    grid-template-columns: 1fr; 
    gap: var(--space-8);
  }
  
  .calc-tips {
    gap: var(--space-4);
  }
  
  .calc-tip {
    gap: var(--space-3);
  }
  
  .calculator-card {
    padding: var(--space-6);
  }
}

@media (max-width: 600px) {
  .calc-row {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .calc-step {
    margin-bottom: var(--space-6);
  }
  
  .calc-output {
    padding: var(--space-4);
  }
  
  .calc-output-number {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 420px) {
  .calculator-info {
    text-align: center;
  }
  
  .calc-tips {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .calc-form-title {
    text-align: center;
    font-size: var(--text-base);
  }
  
  .calc-step-label {
    font-size: 10px;
  }
  
  .calc-field input,
  .calc-field select {
    padding: 0.75em;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .calc-result-inline {
    padding: var(--space-3);
    font-size: var(--text-sm);
  }
  
  .calculator-card {
    padding: var(--space-4);
  }
  
  .calc-output-number {
    font-size: var(--text-xl);
  }
  
  .calc-output-label {
    font-size: var(--text-xs);
  }
}

@media (max-width: 360px) {
  .calc-tip-icon {
    font-size: 1.2em;
  }
  
  .calc-output {
    margin-top: var(--space-4);
  }
}

/* ------- DELIVERY ------- */
.delivery { background: var(--color-bg); }

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: center;
}

.delivery-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
}

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

.delivery-body {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

.delivery-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.delivery-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.delivery-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  flex-shrink: 0;
}

[data-theme="dark"] .delivery-feature-icon {
  background: var(--color-surface-offset);
}

.delivery-feature strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.delivery-feature p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .delivery-grid { grid-template-columns: 1fr; }
}

/* ------- AFFILIATIONS ------- */
.affiliations { background: var(--color-surface); }

.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.affiliation-item {
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  transition: all 0.2s ease;
  min-height: 100px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.affiliation-logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(0.3);
  transition: all 0.2s ease;
}

.affiliation-item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.affiliation-item:hover .affiliation-logo {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .affiliations-grid { 
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
  .affiliation-item {
    padding: var(--space-3);
    font-size: var(--text-xs);
  }
}

@media (max-width: 600px) {
  .affiliations-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  .affiliation-item {
    padding: var(--space-3);
    min-height: 80px;
  }
}

@media (max-width: 420px) {
  .affiliations-grid { 
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .affiliation-item {
    min-height: auto;
    padding: var(--space-3);
  }
}

/* ------- CONTACT ------- */
.contact { background: var(--color-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: start;
}

.contact-body {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-10);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  text-decoration: none;
  color: var(--color-text);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition);
}

a.contact-detail:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

[data-theme="dark"] a.contact-detail:hover {
  background: var(--color-surface-offset);
}

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

[data-theme="dark"] .contact-detail-icon {
  background: var(--color-surface-offset);
}

.contact-detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}

.contact-detail-value {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-form-wrap {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-divider);
}

.contact-form-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-8);
  color: var(--color-text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-field label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.7em 1em;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-text-faint);
}

.form-success {
  display: none;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: rgba(45, 90, 39, 0.1);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
}

.form-success.visible { display: flex; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ------- CHATBOT ------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Nunito:wght@400;500;600&display=swap');

.txorg-root {
  font-family: 'Nunito', sans-serif;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  /* Ensure chatbot stays visible during smooth scrolling */
  transform: translateZ(0);
  will-change: transform;
}

.txorg-fab {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #253d23, #2d5a27);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.3),
    0 8px 16px rgba(45, 90, 39, .3),
    0 16px 32px rgba(45, 90, 39, .2),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}

.txorg-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(45, 90, 39, .5);
}

.txorg-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #8b5e2a;
  border: 2px solid white;
  animation: txpulse 2s infinite;
}

.txorg-win {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 560px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #253d23 0%, #2a4528 50%, #2f4f2d 100%);
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.3),
    0 12px 24px rgba(0,0,0,0.2),
    0 24px 48px rgba(0,0,0,0.15),
    0 48px 96px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -2px 0 rgba(0,0,0,0.25);
  animation: txslide .3s cubic-bezier(.34,1.56,.64,1);
}

.txorg-hdr {
  padding: 14px 16px 12px;
  background: linear-gradient(135deg, rgba(74, 122, 67, .4), rgba(45, 90, 39, .3));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.txorg-hdr-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a7a43, #2d5a27);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(45, 90, 39, .4);
}

.txorg-hdr-info {
  flex: 1;
}

.txorg-hdr-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: #e8f0e4;
}

.txorg-hdr-status {
  font-size: 11px;
  color: #a8c49a;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.txorg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6bcf7f;
  animation: txpulse 2s infinite;
}

.txorg-hdr-btns {
  display: flex;
  gap: 6px;
}

.txorg-hdr-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  transition: all .15s;
}

.txorg-hdr-btn:hover {
  background: rgba(255, 255, 255, .15);
  color: white;
}

.txorg-cbar {
  padding: 7px 14px;
  background: rgba(74, 122, 67, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #a8c49a;
}

.txorg-cbar a {
  color: #c4ddb8;
  text-decoration: none;
  font-weight: 600;
}

.txorg-cbar a:hover {
  color: #e8f0e4;
}

.txorg-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .1) transparent;
}

.txorg-msgs::-webkit-scrollbar {
  width: 4px;
}

.txorg-msgs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .1);
  border-radius: 2px;
}

.txorg-msg {
  display: flex;
  margin-bottom: 12px;
  animation: txfade .25s ease-out;
}

.txorg-msg.user {
  justify-content: flex-end;
}

.txorg-msg-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a7a43, #2d5a27);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 8px;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(45, 90, 39, .3);
}

.txorg-bubble {
  max-width: 78%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
  color: #f0ede8;
}

.txorg-bubble.bot {
  border-radius: 18px 18px 18px 4px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .1);
}

.txorg-bubble.user {
  border-radius: 18px 18px 4px 18px;
  background: linear-gradient(135deg, #4a7a43, #2d5a27);
  box-shadow: 0 3px 12px rgba(45, 90, 39, .3);
}

.txorg-typing {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .08);
  border-radius: 16px 16px 16px 4px;
  width: fit-content;
}

.txorg-dot2 {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8c49a;
  animation: txbounce 1.2s infinite;
}

.txorg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 14px 12px;
}

.txorg-chip {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(168, 196, 154, .35);
  background: rgba(168, 196, 154, .08);
  color: #c4ddb8;
  font-size: 12px;
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}

.txorg-chip:hover {
  background: rgba(168, 196, 154, .18);
  border-color: rgba(168, 196, 154, .6);
  color: #e8f0e4;
}

.txorg-inp-area {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: rgba(0, 0, 0, .15);
}

.txorg-inp-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 8px 8px 8px 14px;
  transition: border-color .15s;
}

.txorg-inp-row:focus-within {
  border-color: rgba(168, 196, 154, .5);
}

.txorg-ta {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #f0ede8;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  resize: none;
  max-height: 100px;
  min-height: 22px;
}

.txorg-ta::placeholder {
  color: rgba(255, 255, 255, .3);
}

.txorg-send {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #4a7a43, #2d5a27);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .15s;
  box-shadow: 0 2px 8px rgba(45, 90, 39, .3);
}

.txorg-send:hover:not(:disabled) {
  transform: scale(1.05);
}

.txorg-send:disabled {
  opacity: .4;
  cursor: default;
}

.txorg-footnote {
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, .2);
  margin-top: 6px;
}

.txorg-footnote a {
  color: rgba(168, 196, 154, .5);
  text-decoration: none;
}

/* Chatbot Animations */
@keyframes txslide {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes txfade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes txpulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .4;
  }
}

@keyframes txbounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
}

/* Chatbot Responsive Styles */
/* Mobile Large (421-480px) */
@media (max-width: 480px) and (min-width: 421px) {
  .txorg-win {
    width: 340px;
    height: 520px;
  }
  
  .txorg-root {
    bottom: 20px;
    right: 20px;
  }
}

/* Mobile (≤420px) */
@media (max-width: 420px) {
  .txorg-win {
    width: calc(100vw - 32px);
    right: 0;
    height: calc(100vh - 120px);
    max-height: 600px;
    bottom: 80px;
  }
  
  .txorg-root {
    bottom: 16px;
    right: 16px;
  }
  
  .txorg-fab {
    width: 56px;
    height: 56px;
  }
  
  .txorg-hdr-btn {
    width: 36px;
    height: 36px;
  }
  
  .txorg-hdr-name {
    font-size: 15px;
  }
  
  .txorg-bubble {
    font-size: 13px;
  }
  
  .txorg-ta {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* Small Mobile (≤360px) */
@media (max-width: 360px) {
  .txorg-win {
    width: calc(100vw - 20px);
    right: 0;
  }
  
  .txorg-root {
    bottom: 12px;
    right: 12px;
  }
  
  .txorg-fab {
    width: 52px;
    height: 52px;
  }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
  .txorg-win {
    height: calc(100vh - 100px) !important;
    max-height: 400px !important;
  }
  
  .txorg-root {
    bottom: 12px;
  }
}

/* ------- FOOTER ------- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.75);
  padding-block: var(--space-16) var(--space-8);
}

[data-theme="dark"] .footer {
  background: var(--color-surface);
  color: var(--color-text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-8);
}

[data-theme="dark"] .footer-grid {
  border-bottom-color: var(--color-divider);
}

.footer-brand .logo--footer .logo-name {
  color: #fff;
}

[data-theme="dark"] .footer-brand .logo--footer .logo-name {
  color: var(--color-primary);
}

.footer-brand .logo--footer .logo-sub {
  color: rgba(255,255,255,0.5);
}

.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
  color: rgba(255,255,255,0.55);
}

[data-theme="dark"] .footer-tagline {
  color: var(--color-text-faint);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-contact-info a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-contact-info a:hover { color: #fff; }

[data-theme="dark"] .footer-contact-info a {
  color: var(--color-text-muted);
}

[data-theme="dark"] .footer-contact-info a:hover {
  color: var(--color-text);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: var(--space-5);
}

[data-theme="dark"] .footer-col-title {
  color: var(--color-text);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

[data-theme="dark"] .footer-links a {
  color: var(--color-text-muted);
}

[data-theme="dark"] .footer-links a:hover {
  color: var(--color-text);
}

.footer-address {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

.footer-address strong {
  color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .footer-address {
  color: var(--color-text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-copy a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.footer-copy a:hover { color: rgba(255,255,255,0.8); }

.footer-pplx {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-pplx:hover { color: rgba(255,255,255,0.65); }

[data-theme="dark"] .footer-copy,
[data-theme="dark"] .footer-pplx {
  color: var(--color-text-faint);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ------- SCROLL ANIMATIONS ------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal-fade-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-fade-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-fade.visible {
  opacity: 1;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Ripple effect for product cards */
.product-card {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced hover transitions */
.product-card {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary,
.btn-outline {
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Parallax performance optimizations */
.hero-overlay {
  will-change: transform;
}
/* .hero-img will-change is set in the primary block above */

/* ------- INTERIOR PAGE HERO ------- */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
  color: #fff;
  border-bottom-left-radius: 50% 8%;
  border-bottom-right-radius: 50% 8%;
}

.page-hero--product {
  min-height: 35vh;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(45, 90, 39, 0.85) 0%,
    rgba(45, 90, 39, 0.65) 50%,
    rgba(45, 90, 39, 0.45) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 3;
}

.page-hero-content {
  max-width: 800px;
}

.page-hero-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0.4em 1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 4;
}

.page-hero-title {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-3);
  max-width: 22ch;
  position: relative;
  z-index: 4;
}

.page-hero-subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  max-width: 50ch;
  line-height: 1.6;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 4;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 30vh;
    border-bottom-left-radius: 50% 5%;
    border-bottom-right-radius: 50% 5%;
  }

  .page-hero--product {
    min-height: 28vh;
  }

  .page-hero-title {
    font-size: var(--text-xl);
    max-width: 18ch;
  }

  .page-hero-subtitle {
    font-size: var(--text-sm);
  }

  .logo-img {
    height: 60px !important;
    width: auto !important;
    margin-top: -5px;
    margin-bottom: -5px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .announcement-bar {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-6);
  }
}

/* ------- BREADCRUMB ------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--color-primary); }

.breadcrumb-sep { color: var(--color-text-faint); }

/* ------- PRODUCT DETAIL PAGE ------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--space-20) + 1rem);
}

.product-gallery-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: var(--space-4);
  background: var(--color-surface-offset);
}

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

.product-gallery-thumbs {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-divider);
  cursor: pointer;
  transition: border-color var(--transition);
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--color-primary);
}

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

.product-detail-content .section-label {
  margin-bottom: var(--space-2);
}

.product-detail-title {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.product-pricing-table {
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

[data-theme="dark"] .product-pricing-table {
  background: var(--color-surface-offset);
}

.pricing-item-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.pricing-item-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
}

.pricing-note {
  grid-column: span 2;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-divider);
}

.product-detail-desc {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.product-detail-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.product-bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.product-bullet::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.45em;
}

.product-detail-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .product-pricing-table { grid-template-columns: 1fr 1fr; }
}

/* ------- ABOUT PAGE HERO ------- */

.about-hero {
  position: relative;
  min-height: clamp(500px, 82vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
  padding-bottom: 0;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 18, 10, 0.78) 0%,
    rgba(10, 18, 10, 0.45) 50%,
    rgba(10, 18, 10, 0.10) 100%
  );
}

.about-hero__glow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  z-index: 1;
  background: radial-gradient(
    ellipse 70% 80% at 75% 55%,
    rgba(210, 150, 60, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.about-hero__curve-wrap {
  position: absolute;
  bottom: clamp(80px, 12%, 160px);
  left: 0;
  right: 0;
  z-index: 2;
  height: clamp(100px, 14vw, 200px);
  pointer-events: none;
}

.about-hero__curve-svg {
  width: 100%;
  height: 100%;
}

.about-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex: 1;
}

.about-hero__content {
  flex: 1 1 50%;
  min-width: 0;
}

.about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 0.8rem + 2.5vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: var(--space-5);
}

.about-hero__body {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.175rem);
  line-height: 1.75;
  color: rgba(238, 234, 224, 0.88);
  max-width: 44ch;
  margin-bottom: var(--space-8);
}

.about-hero__cta {
  background: #4a9c3f;
  border-color: #4a9c3f;
}

.about-hero__cta:hover {
  background: #3d8534;
  border-color: #3d8534;
  box-shadow: 0 6px 24px rgba(74, 156, 63, 0.35);
}

.about-hero__circles {
  flex: 1 1 50%;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: flex-end;
}

.about-hero__rings-img {
  display: block;
  width: clamp(280px, 30vw, 420px);
  height: auto;
  margin-bottom: -20px;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55))
          drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.about-hero__features {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: clamp(var(--space-4), 2vw, var(--space-6)) clamp(var(--space-6), 5vw, var(--space-16));
  list-style: none;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.about-hero__feature {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-inline: clamp(var(--space-2), 1.5vw, var(--space-4));
}

.about-hero__feature-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.about-hero__feature-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.about-hero__feature-sub {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.4;
  margin-top: 2px;
}

@media (max-width: 880px) {
  .about-hero {
    padding-block: clamp(var(--space-16), 8vw, var(--space-24));
    padding-bottom: 0;
  }
  .about-hero__inner {
    flex-wrap: wrap;
  }
  .about-hero__content {
    flex: 1 1 100%;
  }
  .about-hero__circles {
    flex: 1 1 100%;
    justify-content: center;
  }
  .about-hero__rings-img {
    width: clamp(240px, 45vw, 300px);
  }
  .about-hero__body {
    max-width: 58ch;
  }
  .about-hero__features {
    flex-wrap: wrap;
  }
  .about-hero__feature {
    flex: 1 1 45%;
    padding-block: var(--space-2);
  }
}

@media (max-width: 639px) {
  .about-hero {
    min-height: 0;
    padding-block: clamp(var(--space-14), 6vw, var(--space-20));
    padding-bottom: 0;
  }
  .about-hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-8);
  }
  .about-hero__circles {
    justify-content: center;
    align-self: center;
  }
  .about-hero__rings-img {
    width: min(90vw, 320px);
  }
  .about-hero__cta {
    width: 100%;
    justify-content: center;
  }
  .about-hero__features {
    flex-wrap: wrap;
    padding: var(--space-4) var(--space-4);
  }
  .about-hero__feature {
    flex: 1 1 45%;
    padding: var(--space-2);
  }
}

/* ===== COMPREHENSIVE RESPONSIVE IMPROVEMENTS ===== */

/* Large Tablets (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .container {
    padding: 0 var(--space-6);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
  
  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
  }
}

/* Small Tablets (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
  .header-inner {
    padding: var(--space-3) var(--space-4);
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  .product-card {
    padding: var(--space-4);
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .calc-form {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .calc-input-group {
    flex: 1;
    width: 100%;
  }
}

/* Large Mobile (421px - 480px) */
@media (max-width: 480px) and (min-width: 421px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .product-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
  }
  
  .product-img-wrap {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
  }
  
  .product-body {
    flex: 1;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: var(--space-8);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
  }
}

/* Small Mobile (≤420px) */
@media (max-width: 420px) {
  :root {
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-8: 3rem;
    --space-12: 4rem;
    --space-16: 5rem;
  }
  
  .container {
    padding: 0 var(--space-3);
  }
  
  .hero {
    min-height: 50vh;
    padding: var(--space-12) 0;
  }
  
  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 2rem);
    line-height: 1.2;
  }
  
  .btn {
    padding: var(--space-3) var(--space-5);
    font-size: 0.9rem;
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 6vw, 1.75rem);
  }
  
  .product-card {
    flex-direction: column;
    text-align: center;
  }
  
  .product-img-wrap {
    width: 100%;
    height: 200px;
  }
  
  .calc-form {
    background: var(--color-surface);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
  }
  
  .contact-detail {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }
  
  .trust-inner {
    padding: var(--space-6) var(--space-4);
  }
  
  /* Footer improvements for mobile */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    text-align: center;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
  }
}

/* Ultra Small Mobile (≤360px) */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .product-card {
    padding: var(--space-3);
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .calc-output {
    font-size: 1.25rem;
  }
}

/* Landscape Orientation Fixes */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
  }
  
  .section {
    padding: var(--space-6) 0;
  }
  
  .hero h1 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }
}

/* Hero Video Responsive Enhancements */
@media (max-width: 768px) {
  .hero-img {
    height: 100vh;
    object-position: center 30%;
  }
}

@media (max-width: 600px) {
  .hero-img {
    height: 100vh;
    min-height: 600px;
    object-position: center 25%;
  }
}

@media (max-width: 420px) {
  .hero-img {
    height: 100vh;
    min-height: 500px;
    object-position: center 20%;
  }
  
  /* Ensure video covers screen on small devices */
  .hero-media {
    height: 100vh;
    min-height: 500px;
  }
}

/* Video loading optimization for mobile */
@media (max-width: 768px) {
  .hero-img {
    /* Reduce data usage on mobile */
    will-change: auto;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

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