/* AgroVista Public Forms */
:root {
  --av-green: #073b24;
  --av-green-2: #0f6b35;
  --av-gold: #f3b832;
  --av-cream: #fff8e7;
  --av-bg: #f7faf6;
  --av-text: #102018;
  --av-muted: #647067;
  --av-border: #d9e6dc;
  --av-danger: #9e2a2b;
  --av-radius: 24px;
  --av-shadow: 0 18px 50px rgba(7, 59, 36, .14);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--av-bg);
  color: var(--av-text);
}
a { color: inherit; }
.av-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--av-border);
}
.av-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  color: var(--av-green);
}
.av-logo img {
  height: 58px;
  width: auto;
}
.av-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 800;
  font-size: 14px;
}
.av-links a {
  text-decoration: none;
}
.av-btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.av-btn-primary {
  background: linear-gradient(135deg, var(--av-green-2), #2d9b48);
  color: white;
  box-shadow: 0 10px 22px rgba(15, 107, 53, .22);
}
.av-btn-gold {
  background: linear-gradient(135deg, var(--av-gold), #ffcf5f);
  color: #1e220b;
}
.av-btn-outline {
  border: 2px solid var(--av-green-2);
  color: var(--av-green);
  background: white;
}
.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(7,59,36,.93), rgba(7,59,36,.62) 48%, rgba(7,59,36,.1)),
    url("assets/images/branding/heroes/agrovista-happy-farmer-drone.jpg") center / cover;
  color: white;
}
.hero-copy {
  padding: clamp(40px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}
.eyebrow {
  color: #b9ef90;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
}
h1 {
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: .94;
  margin: 14px 0 18px;
}
.hero p {
  max-width: 700px;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
}
.hero-card {
  align-self: end;
  margin: 40px;
  background: rgba(255,255,255,.95);
  color: var(--av-text);
  padding: 24px;
  border-radius: var(--av-radius);
  box-shadow: var(--av-shadow);
  max-width: 420px;
}
.hero-card img {
  width: 100%;
  border-radius: 18px;
  display: block;
}
.section {
  padding: clamp(42px, 6vw, 86px) clamp(20px, 5vw, 72px);
}
.section-header {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin: 8px 0;
}
.section-header p {
  color: var(--av-muted);
  line-height: 1.7;
  font-size: 18px;
}
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: white;
  border: 1px solid var(--av-border);
  border-radius: var(--av-radius);
  padding: 28px;
  box-shadow: 0 12px 36px rgba(7, 59, 36, .08);
}
.card.dark {
  background: linear-gradient(145deg, var(--av-green), #041d13);
  color: white;
}
.card.gold {
  background: linear-gradient(145deg, var(--av-cream), #fff);
  border-color: #f5d482;
}
.form-wrap {
  max-width: 980px;
  margin: 0 auto;
}
.form {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--av-border);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  background: white;
}
textarea { min-height: 130px; resize: vertical; }
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--av-border);
  border-radius: 14px;
  background: #fbfdfb;
  font-weight: 700;
}
.check input { width: auto; margin-top: 4px; }
.notice {
  border-left: 5px solid var(--av-gold);
  background: #fff9e9;
  padding: 18px;
  border-radius: 16px;
  line-height: 1.6;
}
.disclaimer {
  color: var(--av-muted);
  font-size: 13px;
  line-height: 1.65;
}
.status {
  display: none;
  padding: 16px;
  border-radius: 16px;
  font-weight: 850;
}
.status.success {
  display: block;
  background: #e6f7eb;
  color: #0f6b35;
}
.status.error {
  display: block;
  background: #fdecec;
  color: var(--av-danger);
}
.footer {
  background: var(--av-green);
  color: white;
  padding: 38px clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer img { height: 62px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-card { margin: 20px; max-width: none; }
  .grid-2, .grid-3, .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .av-links { display: none; }
  .footer { grid-template-columns: 1fr; }
}
