/* ============================================================
   RCGR Agro — shared stylesheet
   Palette: deep forest green / warm amber gold / warm off-white
   Type: Playfair Display (headings) + Inter (body)
   ============================================================ */

:root {
  --green: #1A3C2E;
  --green-soft: #24503D;
  --dark: #0D1F1A;
  --gold: #F5A623;
  --gold-deep: #D98E12;
  --cream: #F9F4EE;
  --white: #FFFFFF;
  --text: #2C2C2C;
  --muted: #6B7280;
  --line: rgba(26, 60, 46, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(13, 31, 26, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 31, 26, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 31, 26, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--green); text-wrap: balance; }

p { text-wrap: pretty; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- Eyebrow / section heading pattern ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }

.on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245, 166, 35, 0.35); background: #FFB73A; }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-ghost-green { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost-green:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
  background: rgba(13, 31, 26, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav.scrolled { background: rgba(13, 31, 26, 0.92); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.nav-inner {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo .wordmark { font-family: var(--serif); font-size: 19px; color: var(--white); letter-spacing: 0.02em; line-height: 1.1; }
.nav-logo .wordmark small { display: block; font-family: var(--sans); font-size: 9.5px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 11px 24px; font-size: 13.5px; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.3s var(--ease), opacity 0.2s; }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--white);
  padding: 12px 24px;
  transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }
.mobile-menu .btn { margin-top: 24px; font-family: var(--sans); font-size: 15px; }

body.menu-open { overflow: hidden; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--green) 0%, var(--dark) 100%);
  padding: 190px 0 96px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -180px; top: -180px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.18) 0%, transparent 65%);
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(38px, 5.4vw, 64px); margin-top: 16px; max-width: 14em; }
.page-hero p.lede { color: rgba(255, 255, 255, 0.72); font-size: 18px; max-width: 560px; margin-top: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.7); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer a { font-size: 14.5px; transition: color 0.2s; }
.footer a:hover { color: var(--gold); }
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 280px; line-height: 1.7; }
.footer-brand .tagline { font-family: var(--serif); font-style: italic; color: rgba(255, 255, 255, 0.85); margin-top: 14px; font-size: 15px; }
.footer-contact li { font-size: 14.5px; line-height: 1.7; display: flex; gap: 10px; }
.footer-contact svg { flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: 0.08s; }
  .reveal-d2 { transition-delay: 0.16s; }
  .reveal-d3 { transition-delay: 0.24s; }
}

/* ---------- Cards (products) ---------- */
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 30px 30px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(245, 166, 35, 0.18), var(--shadow-md);
  border-color: rgba(245, 166, 35, 0.55);
}
.product-card .badge {
  position: absolute;
  top: 22px; right: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(245, 166, 35, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
}
.product-card .bottle { display: block; margin-bottom: 16px; aspect-ratio: 1 / 1; background: var(--cream); border-radius: 12px; overflow: hidden; }
.product-card .ing-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-card h3 { font-size: 23px; }
.product-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--green); letter-spacing: 0.03em; }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 56px 0 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-hero { padding: 150px 0 64px; }
}
