/* G5 Agri — Variation 1: Brand-aligned, practical, warm */
:root{
  --red: #8B1E2D;
  --red-bright: #B42433;
  --navy: #1B3A5F;
  --navy-deep: #12294A;
  --bg: #F5F2EC;
  --bg-2: #EBE6DB;
  --card: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #4A4A4A;
  --ink-3: #8A8A8A;
  --line: #D9D3C7;
  --ok: #2F7D4F;
  --warn: #C87B2B;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.display, h1, h2, h3{
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}
.display{ text-transform: uppercase; }

.wrap{ max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-wide{ max-width: 1440px; margin: 0 auto; padding: 0 40px; }

/* ============ NAV ============ */
.nav{
  position: sticky; top:0; z-index:50;
  background: rgba(245,242,236,0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 32px; max-width: 1440px; margin: 0 auto;
}
.nav-logo{ display:flex; align-items:center; gap: 10px; }
.nav-logo img{ height: 38px; width:auto }
.nav-links{ display:flex; gap: 28px; align-items:center }
.nav-link{
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-link:hover{ color: var(--red); }
.nav-link.active{ color: var(--navy); border-color: var(--red); }
.nav-cta{
  background: var(--red); color: #fff !important;
  padding: 10px 18px; border-radius: 4px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.nav-cta:hover{ background: var(--red-bright); }
.nav-cta.on-dark{ background:#fff; color: var(--navy) !important; }

/* ============ HERO ============ */
.hero{
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: 80px 0 120px;
}
.hero-kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.hero-kicker::before{
  content:''; width:40px; height:2px; background: var(--red);
}
.hero-title{
  font-size: clamp(64px, 11vw, 180px);
  color: var(--navy-deep);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero-title .accent{ color: var(--red); }
.hero-sub{
  max-width: 620px;
  font-size: 20px; color: var(--ink-2);
  line-height: 1.45;
  margin-bottom: 36px;
}
.hero-sub em{ color: var(--navy); font-style: normal; font-weight: 600; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 14px 24px; border-radius: 4px;
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: all .15s;
}
.btn-primary{ background: var(--red); color: #fff; }
.btn-primary:hover{ background: var(--red-bright); transform: translateY(-1px); }
.btn-ghost{ background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover{ background: var(--navy); color: #fff; }
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-deep); }

/* Dial motif (measuring marks echo the flyer) */
.dial{
  position:absolute;
  pointer-events:none;
  color: var(--navy);
  opacity: .22;
}
.dial-hero{
  left: -80px; top: 40px;
  width: 420px; height: 420px;
}

/* Hero split layout */
.hero-grid{
  display:grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.hero-visual{
  position:relative; aspect-ratio: 1/1; max-width: 560px; justify-self:end;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(18,41,74,0.25);
}

/* ============ SECTIONS ============ */
section{ padding: 96px 0; position: relative; }
.section-kicker{
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
  display:flex; align-items:center; gap:10px;
}
.section-kicker::before{ content:''; width:32px; height:2px; background: var(--red); }
.section-title{
  font-size: clamp(40px, 5vw, 72px);
  color: var(--navy-deep);
  margin-bottom: 20px;
  max-width: 900px;
}
.section-lede{
  font-size: 18px; color: var(--ink-2); max-width: 680px; line-height: 1.55;
  margin-bottom: 56px;
}

.section-dark{ background: var(--navy-deep); color: #fff; }
.section-dark .section-title{ color: #fff; }
.section-dark .section-kicker{ color: #fff; opacity:.9 }
.section-dark .section-kicker::before{ background: var(--red-bright); }
.section-dark .section-lede{ color: rgba(255,255,255,.75) }

.section-bg-2{ background: var(--bg-2); }

/* ============ PRODUCT CARDS ============ */
.product-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px }
.product-card{
  background: var(--card);
  border-radius: 14px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover{ transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(18,41,74,.2); }
.product-card-brand{
  display:flex; align-items:center; gap:10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic; font-weight: 800;
  font-size: 42px; color: var(--navy-deep);
  letter-spacing: .02em; margin-bottom: 8px;
  text-transform: uppercase;
}
.product-card-brand .dot{
  width: 34px; height: 34px; background: var(--red);
  border-radius: 6px; display:inline-block;
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
}
.product-card h3{
  font-family: 'Inter', sans-serif; font-style: normal;
  font-weight: 700; font-size: 24px; line-height: 1.3;
  color: var(--navy-deep); margin: 18px 0 14px;
}
.product-card p{ color: var(--ink-2); margin: 0 0 22px; font-size: 15.5px; }

.feature-list{ list-style: none; padding: 0; margin: 0 0 24px; }
.feature-list li{
  padding: 9px 0 9px 28px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.feature-list li:last-child{ border-bottom: none; }
.feature-list li::before{
  content:'';
  position:absolute; left: 0; top: 14px;
  width: 14px; height: 14px;
  border: 1.5px solid var(--red);
  border-radius: 3px;
  background:
    linear-gradient(45deg, transparent 46%, var(--red) 47%, var(--red) 54%, transparent 55%),
    linear-gradient(-45deg, transparent 46%, var(--red) 47%, var(--red) 54%, transparent 55%);
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============ STAT STRIP ============ */
.stat-strip{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.stat{
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat:last-child{ border-right: none; }
.stat-num{
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic; font-weight: 800;
  font-size: 72px; color: #fff; line-height: 1;
  margin-bottom: 8px;
}
.stat-num .unit{ font-size: 28px; color: var(--red-bright); margin-left: 4px; }
.stat-label{
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ============ FOOTER ============ */
.footer{
  background: var(--navy-deep);
  color: #fff;
  padding: 80px 0 40px;
}
.footer-grid{
  display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer h4{
  font-family: 'Inter', sans-serif; font-style:normal;
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.6); margin: 0 0 18px; font-weight: 600;
}
.footer ul{ list-style:none; padding:0; margin:0 }
.footer li{ padding: 6px 0; font-size: 15px; }
.footer li a:hover{ color: var(--red-bright); }
.footer-tag{
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic; font-weight: 800;
  font-size: 36px; text-transform: uppercase;
  color: #fff; letter-spacing: .02em; margin: 20px 0;
  line-height: 1;
}
.footer-tag .sep{ color: var(--red-bright); margin: 0 6px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 28px; color: rgba(255,255,255,.5); font-size: 13px;
}

/* ============ UTIL ============ */
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(139,30,45,.08); color: var(--red);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.chip .dot{ width:6px; height:6px; border-radius:50%; background: var(--red); }
.chip.ok{ background: rgba(47,125,79,.1); color: var(--ok); }
.chip.ok .dot{ background: var(--ok); }
.divider-dial{ height: 2px; background: var(--line); margin: 0; }

/* Placeholder imagery */
.ph{
  background:
    repeating-linear-gradient(45deg, var(--bg-2) 0 10px, var(--bg) 10px 20px);
  display:flex; align-items:center; justify-content:center;
  color: var(--ink-3); font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.ph.dark{
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 10px, rgba(255,255,255,.02) 10px 20px);
  color: rgba(255,255,255,.5);
  border-color: rgba(255,255,255,.15);
}

/* responsive */
@media (max-width: 960px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ justify-self:start; }
  .product-grid{ grid-template-columns: 1fr; }
  .stat-strip{ grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2){ border-right: none; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .nav-links{ display:none; }
}
