/* ============================================
   Tillage Village Farm — Premium Design System
   ============================================ */

:root {
  /* Brand palette */
  --deep-green: #2a7a4f;
  --leaf-green: #4ea672;
  --leaf-green-light: #86d3a3;
  --gold: #f0b429;
  --gold-light: #f7d774;
  --red: #d64545;
  --red-light: #ef6b6b;
  --cream: #fdf9f0;
  --cream-soft: #f6eedb;
  --earth: #6b4a2b;
  --earth-soft: #a07a55;
  --white: #ffffff;
  --ink: #233029;
  --muted: #6b7a72;
  --border: rgba(42, 122, 79, 0.14);

  /* Gradients */
  --grad-hero: linear-gradient(135deg, rgba(20, 60, 35, 0.88) 0%, rgba(42, 122, 79, 0.75) 40%, rgba(120, 80, 20, 0.65) 70%, rgba(90, 30, 30, 0.60) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  --grad-green: linear-gradient(135deg, var(--deep-green) 0%, var(--leaf-green) 100%);
  --grad-warm: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);
  --grad-soft: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(42, 122, 79, 0.06);
  --shadow-md: 0 10px 30px rgba(42, 122, 79, 0.10);
  --shadow-lg: 0 25px 60px rgba(42, 122, 79, 0.18);
  --shadow-gold: 0 12px 30px rgba(240, 180, 41, 0.35);
  --shadow-red: 0 12px 30px rgba(214, 69, 69, 0.30);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Type */
  --font-serif: "Montserrat", Georgia, serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --header-h: 84px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--deep-green); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { color: var(--ink); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
section { padding: clamp(70px, 9vw, 130px) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.section-head p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .02em; transition: all .3s cubic-bezier(.4,0,.2,1); position: relative; overflow: hidden; white-space: pre-wrap; line-height: 1.2; }
.btn-primary { background: var(--grad-gold); color: var(--deep-green); box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(201, 162, 74, .5); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: var(--white); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.btn-dark { background: var(--deep-green); color: var(--cream); }
.btn-dark:hover { background: var(--leaf-green); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== Loading Screen ===== */
.loader { position: fixed; inset: 0; background: var(--deep-green); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .6s ease, visibility .6s ease; }
.loader.hide { opacity: 0; visibility: hidden; }
.loader-brand { text-align: center; color: var(--cream); }
.loader-mark { width: 64px; height: 64px; border: 2px solid rgba(201,162,74,.25); border-top-color: var(--gold); border-radius: 50%; margin: 0 auto 22px; animation: spin 1s linear infinite; }
.loader-name { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: .25em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Header ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 1000; transition: all .35s ease; background: transparent; }
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(18px); box-shadow: var(--shadow-sm); }
.site-header.solid { background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(18px); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-gold); display: grid; place-items: center; color: var(--deep-green); font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; box-shadow: var(--shadow-sm); }
.brand-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--deep-green); letter-spacing: .02em; }
.scrolled .brand-name, .solid .brand-name { color: var(--deep-green); }
.site-header:not(.scrolled):not(.solid) .brand-name { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,.3); }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { padding: 10px 16px; font-size: .92rem; font-weight: 500; color: var(--ink); position: relative; border-radius: 8px; }
.site-header:not(.scrolled):not(.solid) .nav-links a { color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.nav-links a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { padding: 11px 22px; border-radius: 999px; background: var(--grad-gold); color: var(--deep-green) !important; font-weight: 600; margin-left: 8px; box-shadow: var(--shadow-sm); }
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--ink); transition: all .3s ease; border-radius: 2px; }
.site-header:not(.scrolled):not(.solid) .menu-toggle span { background: var(--white); }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--ink); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--ink); }

@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .nav-links { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); padding: 24px; box-shadow: var(--shadow-lg); transform: translateY(-130%); transition: transform .4s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 14px 16px; color: var(--ink) !important; text-shadow: none !important; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 12px; text-align: center; justify-content: center; }
}

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--white); overflow: hidden; padding-top: var(--header-h); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-content { max-width: 820px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 28px; }
.hero h1 { color: var(--white); text-shadow: 0 4px 24px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.35); margin-bottom: 24px; }
.hero h1 .accent { color: var(--gold-light); font-style: italic; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero .lead { color: rgba(255,255,255,.96); font-size: 1.2rem; max-width: 580px; margin-bottom: 40px; text-shadow: 0 2px 16px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.3); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.retailers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 960px; margin: 0 auto; }
.retailer-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px 28px; min-height: 160px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.retailer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.retailer-card img { max-height: 80px; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.05)); }
@media (max-width: 720px) { .retailers { grid-template-columns: 1fr; } }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + 80px) 0 100px; color: var(--white); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: var(--grad-green); z-index: -1; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(201,162,74,.25), transparent 50%); z-index: -1; }
.page-hero .eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 16px; }
.page-hero h1 { color: var(--white); margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 620px; font-size: 1.1rem; margin: 0 auto; }

/* Page hero with background image */
.page-hero-img { min-height: 55vh; display: flex; align-items: center; }
.page-hero-img .page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-img .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.page-hero-img > .container { position: relative; z-index: 2; text-align: center; }
.page-hero-img h1 { font-size: clamp(3rem, 7.5vw, 6rem); letter-spacing: .05em; text-transform: uppercase; font-weight: 700; text-align: center; text-shadow: 0 4px 30px rgba(0,0,0,.35); }

/* ===== Cards / Grids ===== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease; border: 1px solid var(--border); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .icon { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--grad-green); display: grid; place-items: center; color: var(--gold-light); font-size: 1.4rem; margin-bottom: 22px; }
.card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.card p { color: var(--muted); font-size: .98rem;  }

/* Product card */
.product-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .4s cubic-bezier(.4,0,.2,1); cursor: pointer; border: 1px solid var(--border); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-image { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--cream-soft); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-tag { position: absolute; top: 16px; left: 16px; padding: 6px 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-radius: 999px; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--deep-green); font-weight: 600; }
.product-body { padding: 26px 28px 30px; }
.product-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.product-link { font-size: .85rem; font-weight: 600; color: var(--leaf-green); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.product-link::after { content: '→'; transition: transform .3s ease; }
.product-card:hover .product-link::after { transform: translateX(4px); }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .category-grid { grid-template-columns: 1fr; } }
.category-col { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); text-align: center; }
.category-col h3 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--deep-green); text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid var(--gold); padding-bottom: 12px; margin-bottom: 16px; }
.category-col ul { list-style: none; padding: 0; margin: 0; }
.category-col li { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--ink); font-weight: 500; }
.category-col li:last-child { border-bottom: none; }

/* ===== About preview / Split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 50px; } }
.split-image { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-image.landscape { aspect-ratio: 5 / 4; }
.split-content .eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.split-content h2 { margin-bottom: 24px; }
.split-content p { color: var(--muted); margin-bottom: 18px; }

/* ===== Why Us ===== */
.bg-soft { background: var(--grad-soft); }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--deep-green); color: var(--cream); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,.75); }
.bg-dark .section-head .eyebrow { color: var(--gold-light); }

.feature-card { padding: 40px 32px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); transition: all .4s ease; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold); font-weight: 600; opacity: .9; margin-bottom: 14px; line-height: 1; }

/* ===== Process Timeline ===== */
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.timeline::before { content: ''; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--gold) 0%, var(--leaf-green) 50%, var(--gold) 100%); z-index: 0; }
.tl-step { text-align: center; position: relative; z-index: 1; }
.tl-step .dot { width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); display: grid; place-items: center; font-family: var(--font-serif); font-weight: 600; color: var(--deep-green); font-size: 1.1rem; margin: 0 auto 18px; box-shadow: var(--shadow-sm); transition: all .3s ease; }
.tl-step:hover .dot { background: var(--grad-gold); transform: scale(1.08); }
.tl-step h4 { font-size: 1rem; margin-bottom: 6px; color: var(--deep-green); }
.tl-step p { font-size: .85rem; color: var(--muted); }
.bg-dark .tl-step .dot { background: var(--deep-green); border-color: var(--gold); color: var(--gold-light); }
.bg-dark .tl-step h4 { color: var(--white); }
.bg-dark .tl-step p { color: rgba(255,255,255,.9); }
.bg-dark .timeline::before { background: linear-gradient(90deg, rgba(201,162,74,.3), rgba(78,166,114,.5), rgba(201,162,74,.3)); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
}
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
.stat-num { font-family: var(--font-serif); font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--gold-light); font-weight: 600; line-height: 1; }
.stat-label { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 14px; }

/* ===== Testimonials ===== */
.testimonial-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 24px; scrollbar-width: thin; }
.testimonial-track::-webkit-scrollbar { height: 6px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
.testimonial { min-width: min(420px, 88vw); scroll-snap-align: start; padding: 38px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.testimonial .quote { font-family: var(--font-serif); font-size: 4rem; color: var(--gold); line-height: 0; display: block; margin-bottom: 18px; height: 24px; }
.testimonial p { color: var(--ink); font-size: 1.02rem; font-style: italic; margin-bottom: 24px; }
.testimonial .author { display: flex; align-items: center; gap: 14px; }
.testimonial .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-gold); display: grid; place-items: center; color: var(--deep-green); font-weight: 600; font-family: var(--font-serif); }
.testimonial .meta strong { display: block; color: var(--deep-green); font-size: .95rem; }
.testimonial .meta span { font-size: .82rem; color: var(--muted); }

/* ===== Certifications ===== */
.certs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; align-items: center; }
@media (max-width: 760px) { .certs { grid-template-columns: repeat(2, 1fr); } }
.cert-badge { aspect-ratio: 1; display: grid; place-items: center; border: 1px dashed var(--border); border-radius: 50%; padding: 24px; text-align: center; transition: all .3s ease; }
.cert-badge:hover { border-style: solid; border-color: var(--gold); background: var(--cream); }
.cert-badge strong { display: block; font-family: var(--font-serif); color: var(--deep-green); font-size: 1.1rem; }
.cert-badge span { font-size: .72rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; display: block; }

/* ===== CTA strip ===== */
.cta-strip { position: relative; padding: 90px 0; text-align: center; color: var(--white); overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; inset: 0; background: var(--grad-green); z-index: -1; }
.cta-strip::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(201,162,74,.3), transparent 60%); z-index: -1; }
.cta-strip h2 { color: var(--white); margin-bottom: 20px; }
.cta-strip p { color: rgba(255,255,255,.85); max-width: 580px; margin: 0 auto 36px; }

/* ===== Footer ===== */
.site-footer { background: #0a2a20; color: rgba(255,255,255,.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; margin-bottom: 60px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin-top: 18px; font-size: .95rem; line-height: 1.7; max-width: 320px; }
.footer h4 { color: var(--white); font-family: var(--font-sans); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; font-weight: 600; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .95rem; transition: color .25s ease; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p { font-size: .92rem; margin-bottom: 12px; line-height: 1.6; }
.footer-contact strong { color: var(--white); display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; font-weight: 500; color: var(--gold-light); }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: var(--cream); transition: all .3s ease; font-size: .9rem; }
.socials a:hover { background: var(--gold); color: var(--deep-green); border-color: var(--gold); transform: translateY(-3px); }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: .85rem; }
.footer-bottom a { margin-left: 22px; }

/* ===== Contact / Form ===== */
.contact-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.form { background: var(--white); padding: 50px; border-radius: var(--r-xl); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--deep-green); letter-spacing: .06em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); transition: all .25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--leaf-green); background: var(--white); box-shadow: 0 0 0 4px rgba(78,166,114,.15); }
.field textarea { resize: vertical; min-height: 130px; }
.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: var(--r-sm); font-size: .92rem; display: none; }
.form-msg.success { display: block; background: rgba(78,166,114,.12); color: var(--leaf-green); border: 1px solid rgba(78,166,114,.3); }
.form-msg.error { display: block; background: rgba(200,60,60,.1); color: #c43c3c; border: 1px solid rgba(200,60,60,.3); }

.contact-info { padding: 50px; background: var(--grad-green); color: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.contact-info h3 { color: var(--white); margin-bottom: 26px; }
.info-item { margin-bottom: 28px; }
.info-item strong { display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.info-item p { color: rgba(255,255,255,.9); font-size: .98rem; }

/* ===== Filter chips ===== */
.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 50px; }
.chip { padding: 10px 22px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-size: .88rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: all .25s ease; }
.chip:hover { border-color: var(--gold); color: var(--deep-green); }
.chip.active { background: var(--deep-green); color: var(--cream); border-color: var(--deep-green); }
.search-box { max-width: 460px; margin: 0 auto 30px; position: relative; }
.search-box input { width: 100%; padding: 16px 22px 16px 50px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); font-size: 1rem; box-shadow: var(--shadow-sm); }
.search-box input:focus { outline: none; border-color: var(--leaf-green); box-shadow: 0 0 0 4px rgba(78,166,114,.15); }
.search-box::before { content: '⌕'; position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.2rem; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; background: rgba(15,42,32,.85); backdrop-filter: blur(8px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; animation: fade-in .3s ease; }
.modal-card { background: var(--white); border-radius: var(--r-xl); max-width: 800px; width: 100%; max-height: 90vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg); animation: scale-in .3s ease; }
@media (max-width: 700px) { .modal-card { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; } }
.modal-img { aspect-ratio: 1; overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 40px; position: relative; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 1.4rem; color: var(--deep-green); }
.modal-tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--cream); color: var(--leaf-green); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.modal-body h3 { margin-bottom: 14px; font-size: 1.8rem; }
.modal-body p { color: var(--muted); margin-bottom: 14px; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scale-in { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

/* ===== Gallery (masonry) ===== */
.masonry { columns: 3 280px; column-gap: 18px; }
.masonry .tile { break-inside: avoid; margin-bottom: 18px; border-radius: var(--r-md); overflow: hidden; cursor: pointer; position: relative; box-shadow: var(--shadow-sm); }
.masonry .tile img { width: 100%; transition: transform .6s ease; display: block; }
.masonry .tile:hover img { transform: scale(1.05); }
.masonry .tile::after { content: '⤢'; position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--deep-green); opacity: 0; transition: opacity .3s ease; }
.masonry .tile:hover::after { opacity: 1; }

/* ===== Gallery (static grid) ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid .gallery-item { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--cream-soft); aspect-ratio: 4 / 3; }
.gallery-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid .gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; animation: fade-in .3s ease; }
.lightbox img { max-width: 95%; max-height: 90vh; object-fit: contain; border-radius: var(--r-md); }
.lightbox-close { position: absolute; top: 24px; right: 30px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); color: var(--white); display: grid; place-items: center; font-size: 1.6rem; backdrop-filter: blur(10px); }

/* ===== Partners logos ===== */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-tile { aspect-ratio: 16/9; display: grid; place-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); transition: all .3s ease; text-align: center; padding: 20px; }
.logo-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--gold); }
.logo-tile strong { font-family: var(--font-serif); color: var(--deep-green); font-size: 1.2rem; display: block; }
.logo-tile span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ===== Blog cards ===== */
.blog-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); transition: all .35s ease; cursor: pointer; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-image { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-soft); }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-image img { transform: scale(1.06); }
.blog-body { padding: 28px; }
.blog-meta { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 600; }
.blog-body h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.3; }
.blog-body p { color: var(--muted); font-size: .94rem; }

/* ===== FAQ ===== */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-serif); font-size: 1.2rem; color: var(--deep-green); font-weight: 600; }
.faq-q::after { content: '+'; font-size: 1.6rem; color: var(--gold); font-family: var(--font-sans); transition: transform .3s ease; line-height: 1; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; color: var(--muted); }
.faq-item.open .faq-a { max-height: 300px; padding-top: 14px; }

/* ===== Founder ===== */
.founder-statement { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-style: italic; color: var(--deep-green); line-height: 1.55; padding-left: 22px; border-left: 3px solid var(--gold); margin-bottom: 24px; }
.founder-split .split-image { aspect-ratio: 3/4; }
@media (max-width: 900px) { .founder-split .split-image { max-width: 360px; margin: 0 auto; } }

/* ===== Newsletter ===== */
.newsletter { display: flex; gap: 12px; max-width: 480px; margin: 30px auto 0; }
.newsletter input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: var(--white); font-family: inherit; font-size: .95rem; }
.newsletter input::placeholder { color: rgba(255,255,255,.6); }
.newsletter input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.18); }
.newsletter button { padding: 14px 26px; border-radius: 999px; background: var(--grad-gold); color: var(--deep-green); font-weight: 600; }
@media (max-width: 520px) { .newsletter { flex-direction: column; } }

/* ===== Back to top ===== */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--deep-green); color: var(--gold-light); display: grid; place-items: center; box-shadow: var(--shadow-md); z-index: 900; opacity: 0; transform: translateY(20px); transition: all .3s ease; font-size: 1.1rem; }
.to-top.show { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--leaf-green); transform: translateY(-3px); }

/* ===== Map ===== */
.map { width: 100%; height: 420px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 0; margin-top: 60px; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Font import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== Home rotating hero ===== */
.hero-rotating .hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-rotating .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-rotating .hero-slide.is-active { opacity: 1; }
.hero-rotating .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-text-stage { position: relative; }
.hero-copy { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; pointer-events: none; }
.hero-copy.is-active { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.hero-copy .hero-heading { font-family: var(--font-serif); font-size: clamp(2.4rem,5.5vw,4.6rem); font-weight: 600; line-height: 1.15; color: var(--white); text-shadow: 0 4px 24px rgba(0,0,0,.55); margin-bottom: 24px; }
.hero-copy .accent { color: var(--gold-light); font-style: italic; }

/* ===== Certifications image grid ===== */
.certs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; max-width: 800px; margin: 0 auto; }
.cert-image { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.cert-image:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cert-image img { max-height: 180px; width: auto; object-fit: contain; }
@media (max-width: 600px) { .certs-grid { grid-template-columns: 1fr; } }

/* ===== Products mosaic gallery ===== */
.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
.gallery-tile { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); cursor: pointer; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile.tall { grid-row: span 2; }
.gallery-tile.wide { grid-column: span 2; }
.gallery-tile.large { grid-column: span 2; grid-row: span 2; }
.gallery-tile figcaption { position: absolute; inset: auto 0 0 0; padding: 18px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.78)); color: #fff; display: flex; flex-direction: column; gap: 4px; opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
.gallery-tile:hover figcaption { opacity: 1; transform: none; }
.gallery-tile .g-tag { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.gallery-tile .g-cap { font-size: .98rem; font-weight: 500; }
@media (max-width: 900px) { .gallery-mosaic { grid-template-columns: repeat(2, 1fr); } .gallery-tile.large, .gallery-tile.wide { grid-column: span 2; } }
@media (max-width: 520px) { .gallery-mosaic { grid-template-columns: 1fr; } .gallery-tile, .gallery-tile.large, .gallery-tile.wide, .gallery-tile.tall { grid-column: auto; grid-row: auto; } }
