/* ============================================================
   FarmZego — styles
   Brand: Deep Green #0B3D2E | Leaf Green #67B346 | Charcoal #333
   ============================================================ */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat.woff2') format('woff2');
}

:root {
  --deep: #0B3D2E;
  --deep-2: #0E4A38;
  --leaf: #67B346;
  --leaf-bright: #7BC85A;
  --leaf-text: #3E7D28;
  --bg: #F5F7F0;
  --surface: #FFFFFF;
  --surface-tint: #EDF3E6;
  --ink: #2B332D;
  --ink-soft: #5C6A5F;
  --line: #DFE7D8;
  --on-deep: #F2F7EE;
  --on-deep-soft: #B9CDBB;
  --earth: #8B5E34;
  --earth-tint: #F3EADF;
  --shadow: 0 10px 30px rgba(11, 61, 46, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C1611;
    --surface: #12221A;
    --surface-tint: #16291F;
    --ink: #E7EFE6;
    --ink-soft: #9DB1A0;
    --line: #23382B;
    --leaf-text: #8BCB6B;
    --earth: #C89B6A;
    --earth-tint: #2A2118;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Coconut shell cursor (desktop only; touch devices have no pointer) */
html, body {
  cursor: url('../assets/images/cursor/coconut-arrow.svg') 4 4, auto;
}
a, button, select, label, .btn, summary {
  cursor: url('../assets/images/cursor/coconut-pointer.svg') 4 4, pointer;
}
input[type="text"], input[type="tel"], input[type="email"], textarea { cursor: text; }

body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }

h1, h2, h3 { text-wrap: balance; line-height: 1.15; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--leaf-text);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--leaf); border-radius: 2px; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin: 10px 0 14px; }
.lead { color: var(--ink-soft); max-width: 58ch; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 2px solid transparent; font-family: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.btn-leaf { background: var(--leaf); color: #06231A; box-shadow: 0 6px 18px rgba(103, 179, 70, 0.35); }
.btn-leaf:hover { background: var(--leaf-bright); }
.btn-ghost { border-color: rgba(242,247,238,0.35); color: var(--on-deep); }
.btn-ghost:hover { border-color: var(--leaf); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- NAV (transparent over the hero photo, solid once scrolled) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,26,19,0.55) 0%, transparent 100%);
  opacity: 1; transition: opacity 0.35s ease;
}
.site-header.nav-elevated { background: var(--surface); box-shadow: 0 4px 20px rgba(11, 61, 46, 0.10); }
.site-header.nav-elevated::before { opacity: 0; }
.site-header.nav-hidden { transform: translateY(-105%); }

.hero-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 84px; padding: 0 20px;
  max-width: 1240px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; flex-shrink: 0;
  padding: 6px 12px; border-radius: 14px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 10px rgba(11,61,46,0.12);
}
.logo-img { height: 64px; width: auto; display: block; }

.foot-logo {
  display: inline-flex; padding: 14px 22px; border-radius: 16px;
  background: rgba(242, 247, 238, 0.94);
}
.foot-logo .logo-img { height: 60px; }

/* Center glass pill — desktop only */
.hero-pill {
  display: none; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px; padding: 6px 6px 6px 22px;
  box-shadow: 0 4px 18px rgba(11,61,46,0.12);
}
.hero-pill a {
  font-size: 14px; font-weight: 600; color: var(--deep);
  padding: 10px 14px; border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.hero-pill a:hover { background: rgba(11,61,46,0.08); }
.hero-pill-cta {
  background: var(--deep) !important; color: #fff !important;
  margin-left: 4px;
}
.hero-pill-cta:hover { background: var(--deep-2) !important; }

.hero-nav-right { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.hero-nav-link {
  display: none; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  transition: opacity 0.2s ease;
}
.hero-nav-link:hover { opacity: 0.8; }
.hero-nav-link svg { width: 17px; height: 17px; }
.site-header.nav-elevated .hero-nav-link { color: var(--deep); text-shadow: none; }

.menu-btn {
  position: relative; width: 44px; height: 44px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%; color: #fff; flex-shrink: 0;
  display: grid; place-items: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.site-header.nav-elevated .menu-btn { background: var(--surface-tint); border-color: var(--line); color: var(--deep); }
.menu-btn svg { position: absolute; width: 20px; height: 20px; transition: opacity 0.3s ease, transform 0.3s ease; }
.menu-btn .ic-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.menu-btn .ic-menu { opacity: 1; transform: rotate(0) scale(1); }
.menu-btn[aria-expanded="true"] .ic-menu { opacity: 0; transform: rotate(90deg) scale(0.5); }
.menu-btn[aria-expanded="true"] .ic-close { opacity: 1; transform: rotate(0) scale(1); }

/* ---------- MOBILE DRAWER ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(6,26,19,0.5); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 220;
  width: min(84vw, 380px);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  backdrop-filter: blur(20px);
  box-shadow: -12px 0 40px rgba(11,61,46,0.2);
  display: flex; flex-direction: column; gap: 2px;
  padding: 110px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.drawer.open { transform: translateX(0); }
.drawer a {
  font-size: 21px; font-weight: 700; color: var(--deep);
  padding: 15px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.drawer.open a { opacity: 1; transform: translateX(0); }
.drawer-cta {
  margin-top: 22px; display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.drawer.open .drawer-cta { opacity: 1; transform: translateX(0); }
.drawer-cta .btn { justify-content: center; }
.drawer-tel { text-align: center; font-size: 15px; font-weight: 600; color: var(--ink-soft); }

/* ---------- HERO ---------- */
.hero {
  background: var(--deep);
  color: var(--on-deep);
  min-height: 100vh;
  min-height: 100svh;
  margin-top: -84px; /* pulls the bg photo up under the transparent nav */
  padding-top: 84px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,26,19,0.55) 0%, rgba(6,26,19,0.32) 35%, rgba(6,26,19,0.68) 100%);
}

.hero-copy-center {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 90px 24px 40px;
}
.hero-copy-center h1 {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.08;
  color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.65), 0 4px 30px rgba(0,0,0,0.5);
}
.hero-copy-center h1 span { color: var(--leaf-bright); }
.hero-copy-center p {
  margin-top: 18px; font-size: 16.5px; line-height: 1.6;
  color: rgba(255,255,255,0.95); text-shadow: 0 1px 4px rgba(0,0,0,0.6), 0 2px 16px rgba(0,0,0,0.4);
  max-width: 56ch; margin-inline: auto;
}

.hero-bl {
  position: relative; z-index: 1; margin-top: auto;
  max-width: 420px; padding: 28px 26px 96px;
}
.hero-bl-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--leaf-bright);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6), 0 2px 12px rgba(0,0,0,0.4);
}
.hero-bl-tag svg { width: 17px; height: 17px; }
.hero-bl p {
  margin-top: 12px; font-size: 13.5px; line-height: 1.6;
  color: rgba(255,255,255,0.92); text-shadow: 0 1px 4px rgba(0,0,0,0.6), 0 2px 12px rgba(0,0,0,0.4);
}
.hero-bl-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.hero-bl-link { font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.6), 0 2px 12px rgba(0,0,0,0.4); }
.hero-bl-link:hover { text-decoration: underline; }

.hero-br {
  display: none; position: absolute; z-index: 1;
  right: 40px; bottom: 40px;
  align-items: center; gap: 10px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero-br-play {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: background 0.2s ease, transform 0.2s ease;
}
.hero-br-play svg { width: 15px; height: 15px; margin-left: 2px; }
.hero-br:hover .hero-br-play { background: rgba(255,255,255,0.32); transform: scale(1.06); }
.hero-br-time { color: rgba(255,255,255,0.65); }

.video-modal {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center; padding: 24px;
  background: rgba(6, 26, 19, 0.88);
  backdrop-filter: blur(14px);
}
.video-modal[hidden] { display: none; }
.video-modal video { max-width: min(1000px, 92vw); max-height: 82vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }

.hero-stats {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(242,247,238,0.14);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--deep);
}
.hero-stat { padding: 22px 12px; text-align: center; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(242,247,238,0.14); }
.hero-stat b { display: block; font-size: 19px; font-weight: 800; color: #fff; }
.hero-stat small { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-deep-soft); }

/* ---------- VALUES ---------- */
.values { padding: 56px 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value {
  background: var(--surface-tint);
  background: color-mix(in srgb, var(--surface) 66%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line);
  border: 1px solid color-mix(in srgb, var(--surface) 50%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  border-radius: 20px; padding: 26px 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.2); }
.value .ico {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--surface-tint); color: var(--leaf-text);
  display: grid; place-items: center; margin-bottom: 14px;
}
.value .ico svg { width: 24px; height: 24px; }
.value h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.value p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- CATEGORIES ---------- */
.cats { background: var(--surface-tint); border-block: 1px solid var(--line); }
.cats, .contact, .values { position: relative; overflow: hidden; }
.cats > .wrap, .contact > .wrap, .values > .wrap { position: relative; z-index: 1; }
.cats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.cat {
  position: relative; overflow: hidden;
  border-radius: 26px; padding: 34px;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; box-shadow: var(--shadow);
}
.cat-dung { background: linear-gradient(150deg, #3E5B2E 0%, #26401E 55%, #1B3117 100%); }
.cat-coco { background: linear-gradient(150deg, #0E5A41 0%, var(--deep) 60%, #072A20 100%); }
.cat .cat-art { position: absolute; inset: 0; opacity: 0.9; pointer-events: none; }
.cat .cat-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cat::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(0deg, rgba(6,26,19,0.82) 0%, rgba(6,26,19,0.35) 55%, rgba(6,26,19,0.15) 100%);
}
.cat h3, .cat p, .cat a.btn { z-index: 1; }
.cat h3 { position: relative; font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.cat p { position: relative; font-size: 14.5px; color: rgba(255,255,255,0.82); max-width: 40ch; margin-bottom: 18px; }
.cat a { position: relative; align-self: flex-start; }
.cat .btn { padding: 11px 22px; font-size: 14px; }

/* ---------- PRODUCTS ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4 / 2.9; background: var(--surface-tint); display: grid; place-items: center; position: relative; }
.card-img svg { width: 100%; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--deep); color: var(--on-deep);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; z-index: 1;
}
.badge.earth { background: var(--earth); color: #fff; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 17px; font-weight: 700; }
.card-body p { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.price { font-size: 13px; font-weight: 600; color: var(--leaf-text); letter-spacing: 0.04em; }
.card-foot .btn { padding: 10px 18px; font-size: 13.5px; }

/* ---------- ABOUT ---------- */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.about-art { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--deep); }
.about-art svg, .about-art img { width: 100%; height: auto; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checks svg { width: 21px; height: 21px; color: var(--leaf-text); flex-shrink: 0; margin-top: 3px; }

/* ---------- LOCATIONS & GALLERY ---------- */
.gallery { position: relative; overflow: hidden; background: var(--surface-tint); border-block: 1px solid var(--line); }
.gallery > .wrap { position: relative; z-index: 1; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0 28px; }
.loc {
  background: var(--surface-tint);
  background: color-mix(in srgb, var(--surface) 66%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line);
  border: 1px solid color-mix(in srgb, var(--surface) 50%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  border-radius: 20px; padding: 24px 26px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.loc:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.2); }
.loc .ico {
  width: 48px; height: 48px; border-radius: 15px; flex-shrink: 0;
  background: var(--deep); color: var(--leaf-bright);
  display: grid; place-items: center;
}
.loc .ico svg { width: 24px; height: 24px; }
.loc h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.loc p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 10px; }
.loc a { font-size: 13px; font-weight: 600; color: var(--leaf-text); display: inline-flex; align-items: center; gap: 6px; }
.loc a svg { width: 15px; height: 15px; }
.loc a:hover { text-decoration: underline; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gtile {
  position: relative; overflow: hidden; border-radius: 18px;
  aspect-ratio: 4 / 3; margin: 0;
  background: linear-gradient(150deg, var(--deep-2), var(--deep));
  box-shadow: var(--shadow);
}
.gtile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.gtile:not(.missing) { cursor: url('../assets/images/cursor/coconut-pointer.svg') 4 4, pointer; }
.gtile:not(.missing):hover img { transform: scale(1.07); }
.gtile figcaption {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: #fff;
  background: rgba(11, 61, 46, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 13px; border-radius: 999px;
}
/* placeholder look — only shown if the photo file fails to load */
.gtile .gtile-ph {
  position: absolute; inset: 0; display: none; place-items: center; z-index: 1;
  color: rgba(242,247,238,0.5); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; text-align: center; padding: 12px;
}
.gtile .gtile-ph svg { width: 42px; height: 42px; margin: 0 auto 10px; opacity: 0.6; }
.gtile.missing img { display: none; }
.gtile.missing .gtile-ph { display: grid; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 24px;
  background: rgba(6, 26, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; font-size: 20px; font-family: inherit;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ---------- BULK ---------- */
.bulk {
  background:
    radial-gradient(700px 380px at 90% 120%, rgba(103,179,70,0.25), transparent 60%),
    var(--deep);
  color: var(--on-deep); border-radius: 30px;
  padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.bulk h2 { color: #fff; margin: 6px 0 10px; }
.bulk p { color: var(--on-deep-soft); max-width: 52ch; }
.bulk .eyebrow { color: var(--leaf); }

/* ---------- CONTACT ---------- */
.contact { background: var(--surface-tint); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 36px; }
.form {
  background: var(--surface-tint);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  border: 1px solid color-mix(in srgb, var(--surface) 50%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  border-radius: 24px; padding: 32px; display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 15px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(103,179,70,0.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hidden { display: none; }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.ccard {
  background: var(--surface-tint);
  background: color-mix(in srgb, var(--surface) 66%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line);
  border: 1px solid color-mix(in srgb, var(--surface) 50%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  border-radius: 18px; padding: 20px 22px;
  display: flex; gap: 16px; align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.2); }
.ccard .ico {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  background: var(--surface-tint); color: var(--leaf-text);
  display: grid; place-items: center;
}
.ccard .ico svg { width: 22px; height: 22px; }
.ccard b { display: block; font-size: 14.5px; }
.ccard span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- FOOTER ---------- */
footer { background: var(--deep); color: var(--on-deep-soft); padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.foot-grid h4 { color: #fff; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.foot-grid a:hover { color: var(--leaf-bright); }
.foot-tag { margin-top: 14px; font-size: 14px; max-width: 40ch; }
.foot-bar {
  border-top: 1px solid rgba(242,247,238,0.12);
  padding: 20px 0; font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.foot-bar em { font-style: normal; color: var(--leaf-bright); letter-spacing: 0.08em; }

/* ---------- THANKS PAGE ---------- */
.thanks-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.thanks-page .ico { width: 72px; height: 72px; border-radius: 50%; background: var(--surface-tint); color: var(--leaf-text); display: grid; place-items: center; margin: 0 auto 22px; }
.thanks-page .ico svg { width: 36px; height: 36px; }

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--leaf), var(--leaf-bright));
  z-index: 500; border-radius: 0 3px 3px 0;
}

/* ---------- MARQUEE TICKER ---------- */
.ticker {
  overflow: hidden; white-space: nowrap;
  background: var(--deep); color: var(--on-deep-soft);
  border-top: 1px solid rgba(242,247,238,0.1);
  padding: 13px 0;
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 26px;
  animation: ticker-scroll 34s linear infinite;
  will-change: transform;
}
.ticker-track span { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.ticker-track i { font-style: normal; color: var(--leaf); font-size: 13px; }
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- HOW TO ORDER ---------- */
.howto { background: var(--surface-tint); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.howto > .wrap { position: relative; z-index: 1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; counter-reset: step; }
.step {
  position: relative;
  background: var(--surface-tint);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--line);
  border: 1px solid color-mix(in srgb, var(--surface) 50%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  border-radius: 22px; padding: 30px 26px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.2); }
.step-num {
  position: absolute; top: 18px; right: 22px;
  font-size: 44px; font-weight: 800; line-height: 1;
  color: var(--line);
  color: color-mix(in srgb, var(--leaf) 25%, transparent);
}
.step-ico {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--deep); color: var(--leaf-bright);
  display: grid; place-items: center; margin-bottom: 16px;
}
.step-ico svg { width: 26px; height: 26px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.howto-cta { text-align: center; margin-top: 36px; }

/* ---------- FAQ ---------- */
.faq { position: relative; overflow: hidden; }
.faq > .wrap { position: relative; z-index: 1; }
.faq-list { margin-top: 32px; display: grid; gap: 14px; max-width: 760px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; font-size: 15.5px; font-weight: 700;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-tint); color: var(--leaf-text);
  display: grid; place-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-chev svg { width: 16px; height: 16px; }
.faq-item[open] .faq-chev { transform: rotate(180deg); background: var(--leaf); color: #06231A; }
.faq-item p { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; max-width: 65ch; }

/* ---------- MOBILE STICKY ACTION BAR ---------- */
.mobile-bar { display: none; }
@media (max-width: 620px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
    display: flex; gap: 1px;
    background: var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -6px 24px rgba(11, 61, 46, 0.18);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 10px; font-size: 14.5px; font-weight: 700;
  }
  .mobile-bar svg { width: 19px; height: 19px; }
  .mb-call { flex: 1; background: var(--surface); color: var(--deep); }
  .mb-wa { flex: 2; background: var(--leaf); color: #06231A; }
  .mb-wa:active, .mb-call:active { filter: brightness(0.95); }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px)); }
  .lightbox { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- MOTION LAYER ---------- */

/* Ambient gradient orbs (parallax layers) */
.orb-wrap { position: absolute; pointer-events: none; z-index: 0; }
.orb {
  position: absolute; inset: 0; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
  will-change: transform;
  animation: orb-drift 16s ease-in-out infinite alternate;
}
.orb-leaf { background: rgba(103, 179, 70, 0.35); }
.orb-mint { background: rgba(123, 200, 90, 0.22); }
.orb-gold { background: rgba(232, 197, 95, 0.18); }
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(30px, -40px, 0) scale(1.15); }
}

/* Hero entrance sequence */
.hero-copy-center > * { opacity: 0; transform: translateY(24px); animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-copy-center > *:nth-child(1) { animation-delay: 0.1s; }
.hero-copy-center > *:nth-child(2) { animation-delay: 0.25s; }
.hero-bl { animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Card image zoom on hover */
.card-img svg, .card-img img { transition: transform 0.4s ease; }
.card:hover .card-img svg, .card:hover .card-img img { transform: scale(1.06); }
.card:hover .badge { transform: translateY(-2px); }
.badge { transition: transform 0.3s ease; }
.btn:active { transform: scale(0.97); }

/* Button arrow nudge on hover */
.btn svg:last-child { transition: transform 0.25s ease; }
.btn:hover svg:last-child { transform: translateX(4px); }

/* Gallery caption lift on hover */
.gtile figcaption { transition: transform 0.3s ease, background 0.3s ease; }
.gtile:not(.missing):hover figcaption { transform: translateY(-4px); background: rgba(11, 61, 46, 0.75); }

/* Section heading accent: eyebrow line grows when section reveals */
.eyebrow::before { transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1); }

/* Parallax hooks (translated by js/main.js) */
[data-parallax] { will-change: transform; }

/* Background-image scroll drift: images tagged data-iparallax are scaled up
   slightly and translated by js/main.js as they cross the viewport. */
[data-iparallax] { will-change: transform; transform: scale(1.14); }

/* ---------- REVEAL (staggered via --d set in js) ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s ease var(--d, 0s), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-copy-center > *, .hero-bl { opacity: 1; transform: none; transition: none; animation: none; }
  .orb, .ticker-track { animation: none; }
  .btn, .card, .value, .ccard, .card-img svg, .card-img img, .site-header, .faq-chev { transition: none; }
  [data-iparallax] { transform: none; }
}

/* ---------- MOBILE PERFORMANCE ---------- */
@media (max-width: 620px) {
  /* Heavy blurred orbs cost GPU time on phones — skip them entirely */
  .orb-wrap { display: none; }
  /* Skip rendering below-fold sections until they approach the viewport */
  .gallery, .contact, .faq, footer { content-visibility: auto; contain-intrinsic-size: auto 700px; }
}

/* backdrop-filter (frosted glass) is one of the most GPU-expensive CSS
   features there is, and it's poorly/slowly supported on older and
   budget phones — some render it in software and stutter badly, others
   silently ignore it. Below ~768px we drop the blur entirely and use a
   plain solid surface instead: same layout, same colors, no blur cost,
   and it renders identically on every device including very old ones. */
@media (max-width: 767px) {
  .hero-pill, .drawer, .value, .loc, .form, .ccard, .step,
  .gtile figcaption, .lightbox, .video-modal, .lightbox-close,
  .menu-btn, .drawer-backdrop, .hero-br-play {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .drawer { background: var(--surface); }
  .value, .loc, .form, .ccard, .step { background: var(--surface-tint); }
  .lightbox, .video-modal { background: rgba(6, 26, 19, 0.95); }
  .drawer-backdrop { background: rgba(6, 26, 19, 0.6); }
  .gtile figcaption { background: rgba(11, 61, 46, 0.85); }
  /* Persistent GPU layers (will-change) cost memory old devices don't have */
  [data-parallax], [data-iparallax] { will-change: auto; }
}

/* ---------- RESPONSIVE ---------- */

/* Desktop-only nav bits switch on at 960px */
@media (min-width: 961px) {
  .hero-pill { display: flex; }
  .hero-nav-link { display: flex; }
  .hero-br { display: flex; }
  .menu-btn { display: none; }
}

@media (max-width: 960px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-nav { height: 76px; }
  .hero { margin-top: -76px; padding-top: 76px; }
  .logo-img { height: 50px; }
  .hero-copy-center { padding: 70px 20px 30px; }
}
@media (max-width: 620px) {
  section { padding: 56px 0; }
  .values-grid, .prod-grid, .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gtile figcaption { font-size: 10.5px; padding: 5px 10px; }
  .howto-cta .btn { width: 100%; justify-content: center; }
  .cats-grid { grid-template-columns: 1fr; }
  .bulk { padding: 36px 28px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-stat b { font-size: 15px; }
  .hero-stat small { font-size: 10.5px; }
  .hero-bl { padding: 24px 20px 100px; max-width: none; }
}
