/* ============================================
   Signature Ag Workers — Foundation Website
   Stylesheet
============================================ */

:root {
  /* Signature brand palette — matches signatureinsuranceky.com,
     theworkerscompexperts.com, the partner portals, and WC Tracker CRM */
  --navy: #0a1628;            /* deep navy — primary brand */
  --navy-2: #142068;          /* slightly lighter navy for depth */
  --navy-light: #1c3a5e;
  --royal: #1240AB;           /* royal blue — accents, hover */
  --royal-light: #256bc8;
  --green: #00c41c;           /* electric green — primary accent + CTAs */
  --green-bright: #39FF14;    /* neon green — glows + highlights */
  --green-light: #00e020;     /* hover state */
  --green-dim: #00c41c22;     /* tinted background */
  --green-glow: #00c41c44;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --text: #1f2a37;
  --max-w: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: white;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--green-light); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 8px; }
h5 { font-size: 1rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

p { margin-bottom: 14px; }

/* ============================================
   SKIP LINK
============================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--navy);
  color: white;
  padding: 12px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================
   ANNOUNCEMENT BAR
============================================ */
.announcement {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 2px solid var(--green);
}
.announcement strong { color: var(--green-bright); }

/* ============================================
   HEADER + NAV
============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--green-glow);
}
.brand-name {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--navy);
  line-height: 1.1;
}
.brand-tagline {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  gap: 8px;
}
.primary-nav a {
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.primary-nav a:hover {
  background: var(--gray-100);
  text-decoration: none;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.btn-primary {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--green-glow);
}
.btn-secondary {
  background: white;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--green);
  text-decoration: none;
  border-color: var(--green);
}

/* ============================================
   HERO
============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
  color: white;
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 { color: white; }
.hero .lead { color: rgba(255,255,255,0.85); }
.hero-text { position: relative; z-index: 1; }
.hero-stats { position: relative; z-index: 1; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 28px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hablamos {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-style: italic;
}
.hablamos a { color: var(--green-bright); }
.hablamos a:hover { color: white; }
.hero-stats {
  display: grid;
  gap: 20px;
}
.stat {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(10, 35, 66, 0.08);
  border-left: 4px solid var(--green);
}
.stat-num {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 14px;
  color: var(--gray-700);
}
.stat-label small {
  color: var(--gray-500);
  font-size: 12px;
}

/* ============================================
   SECTIONS
============================================ */
.section {
  padding: 80px 0;
}
.section-alt { background: var(--gray-50); }

/* Dark mission/feature section — navy gradient + bright green accents + white copy */
.section-dark {
  background: linear-gradient(180deg, var(--navy) 0%, #0a2e63 100%);
  color: rgba(255,255,255,0.92);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,196,28,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark h2 { color: white; }
.section-dark h3 { color: white; }
.section-dark p { color: rgba(255,255,255,0.92); }
.section-dark .big-text { color: rgba(255,255,255,0.95); }
.section-dark .eyebrow { color: var(--green-bright); }
.section-dark .section-sub { color: rgba(255,255,255,0.80); }
.section-dark a { color: var(--green-bright); }
/* Flip the mission-callout to a white card so it pops off the dark section */
.section-dark .mission-callout {
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--green-bright);
  box-shadow: 0 0 30px rgba(57,255,20,0.15);
}
.section-dark .mission-callout h3 { color: var(--navy); }
.section-dark .mission-callout p,
.section-dark .mission-callout li { color: var(--gray-700); }
.section-dark .mission-callout .check-list li::before { color: var(--green); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-top: 14px;
}

/* ============================================
   TWO-COLUMN LAYOUTS
============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}
.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.big-text {
  font-size: 1.08rem;
  color: var(--gray-700);
}

.mission-callout {
  background: var(--navy);
  color: white;
  padding: 32px;
  border-radius: 12px;
}
.mission-callout h3 { color: white; margin-bottom: 16px; }

.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}
.mission-callout .check-list li::before {
  color: var(--gold);
}

/* ============================================
   PROGRAM CARDS
============================================ */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.program-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10, 35, 66, 0.1);
}
.program-card.featured {
  border-color: var(--green);
  border-width: 2px;
  background: linear-gradient(135deg, white 0%, var(--green-dim) 100%);
  box-shadow: 0 0 24px var(--green-glow);
}
.program-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gray-300);
}
.program-card h3 {
  padding-right: 60px;
  margin-bottom: 12px;
}
.program-cap {
  background: var(--green-dim);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 14px;
  border: 1px solid var(--green-glow);
}
.program-card.featured .program-cap {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}
.program-launch {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  font-size: 13px;
  color: var(--gray-500);
}
.program-launch.program-live { color: var(--green); }
.program-launch.program-live em { font-style: normal; font-weight: 600; }

.program-footer {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-top: 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
  font-size: 15px;
}

/* ============================================
   STEPS (FOR FARMERS)
============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.step {
  background: white;
  padding: 28px;
  border-radius: 12px;
  border-top: 4px solid var(--green);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; font-size: 1.15rem; }
.step p { font-size: 14px; color: var(--gray-700); margin-bottom: 0; }

.eligibility {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: white;
  padding: 40px;
  border-radius: 12px;
  border-left: 6px solid var(--green);
}
.eligibility h3 { color: white; }
.eligibility .check-list li { color: rgba(255,255,255,0.92); }
.eligibility .check-list li::before { color: var(--green-bright); }
.eligibility h3 { margin-bottom: 16px; }
.cta-line {
  margin-top: 24px;
  text-align: center;
}

/* ============================================
   DONOR CARDS
============================================ */
.donor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.donor-card {
  background: white;
  padding: 28px 20px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: border-color 0.2s, transform 0.2s;
}
.donor-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.donor-amount {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 8px;
}
.donor-card p {
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 0;
}

.transparency-block {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}
.cta-note {
  display: block;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 12px;
}

/* ============================================
   METRICS GRID
============================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.metric {
  background: white;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  text-align: center;
}
.metric-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.metric h4 { margin-bottom: 8px; }
.metric p { font-size: 14px; color: var(--gray-700); margin-bottom: 0; }

.grantor-cta {
  text-align: center;
  background: var(--navy);
  color: white;
  padding: 40px;
  border-radius: 12px;
}
.grantor-cta p { color: white; }
.grantor-cta p:last-child { margin-bottom: 0; margin-top: 20px; }

/* ============================================
   BOARD CARDS
============================================ */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.board-card {
  background: white;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  position: relative;
}
.board-card-independent {
  border-color: var(--green);
  border-width: 2px;
  background: linear-gradient(135deg, white 0%, var(--green-dim) 100%);
  box-shadow: 0 0 18px var(--green-glow);
}
.board-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  border: 2px solid var(--green-glow);
}
.board-card h4 { margin-bottom: 4px; }
.board-role {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.board-card p {
  font-size: 14px;
  color: var(--gray-700);
}
.board-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--green);
  color: var(--navy);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px var(--green-glow);
}

.related-party-disclosure {
  background: var(--gray-50);
  padding: 32px;
  border-radius: 12px;
  border-left: 6px solid var(--royal);
}
.related-party-disclosure h3 { margin-bottom: 16px; }
.related-party-disclosure p { font-size: 14px; color: var(--gray-700); }

/* ============================================
   ABOUT / INFO GRID
============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.info-block {
  background: white;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}
.info-block h4 {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.info-block p { font-size: 14px; margin-bottom: 8px; }
.info-block strong { color: var(--navy); }

/* ============================================
   CONTACT
============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}
.contact-card h4 { margin-bottom: 6px; }
.contact-card p {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.contact-card a {
  font-size: 14px;
  font-weight: 600;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  max-width: 720px;
  margin: 0 auto;
}
.contact-form h3 { margin-bottom: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 16px;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.form-note {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 12px;
  font-style: italic;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--navy);
  color: #c7d2e0;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand .brand-mark { background: white; color: var(--navy); box-shadow: 0 0 0 2px var(--green); }
.footer-brand .brand-name { color: white; }
.footer-brand .brand-tagline { color: #94a3b8; }
.footer-mission { font-size: 14px; color: #c7d2e0; }

.site-footer h5 {
  color: white;
  margin-bottom: 16px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer ul li { margin-bottom: 8px; }
.site-footer a {
  color: #c7d2e0;
  font-size: 14px;
}
.site-footer a:hover { color: white; }

.site-footer address {
  font-style: normal;
  font-size: 14px;
  color: #c7d2e0;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--navy-light);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}
.footer-note { margin-top: 8px; font-size: 12px; }

/* ============================================
   MOBILE
============================================ */
@media (max-width: 880px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px; }
  .nav-toggle { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero { padding: 40px 0 60px; }
  .section { padding: 60px 0; }

  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col-list { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.75rem; }
  .section-head { margin-bottom: 32px; }
  .program-card, .step, .donor-card, .board-card,
  .metric, .info-block, .contact-card { padding: 20px; }
  .contact-form, .eligibility, .transparency-block { padding: 24px; }
}
