@import url('https://fonts.googleapis.com/css2?family=Cutive+Mono&family=Fraunces:opsz,wght@9..144,700..900&family=Onest:wght@400;500;600&display=swap');

:root {
  --ink: #22201C;
  --green: #0B6B2E;
  --green-deep: #095C28;
  --brand-green: #009801;
  --yellow: #FDFD00;
  --yellow-deep: #FDE100;
  --white: #FFFFFF;
  --manila: #F5F1E8;
  --caption: #5E6A62;
  --caption-dark: #5A5A52;
  
  --font-display: 'Fraunces', serif;
  --font-body: 'Onest', sans-serif;
  --font-mono: 'Cutive Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Shared Components */
.preview-ribbon {
  background-color: #111;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-ribbon a {
  color: #fff;
  text-decoration: underline;
  margin-left: 1rem;
}

.masthead {
  border-bottom: 1px solid var(--manila);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ant-crest {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-green);
  text-decoration: none !important;
}

.crest-svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-links a.btn-primary {
  color: #FFFFFF;
  font-weight: 600;
  background-color: #0B6B2E;
}

.nav-links a.btn-primary:hover {
  color: #FFFFFF;
  background-color: var(--green-deep);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--green-deep);
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--yellow);
}

.btn-secondary:hover {
  background-color: var(--yellow);
  text-decoration: none;
}

.btn-disabled {
  background-color: #ddd;
  color: #888;
  cursor: not-allowed;
  border-color: #ccc;
}

.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--green);
  padding: 1rem;
  text-align: center;
  z-index: 50;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-call-bar a {
  color: var(--white);
  font-weight: bold;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-call-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
}

.footer {
  background-color: var(--ink);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  color: var(--yellow);
  font-size: 1.25rem;
}

.footer-col p, .footer-col a {
  color: #ddd;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--white);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.875rem;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--caption);
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.specimen-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 0.75rem;
}

/* Page Specifics */
.hero {
  display: flex;
  align-items: stretch;
  min-height: 600px;
  max-height: 820px;
  height: calc(100vh - 120px);
}

.hero-content {
  flex: 1;
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-visual {
  flex: 0 0 46%;
  background-color: var(--manila);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.25rem;
}

.hero p.subhead {
  font-size: 1.125rem;
  color: var(--caption-dark);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.micro-trust {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: flex-start;
  column-gap: 36px;
  row-gap: 18px;
  font-size: 0.875rem;
  color: var(--caption);
}

.micro-trust span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.specimen-seed {
  background: var(--white);
  border: 1px solid var(--brand-green);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.specimen-seed::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 4px solid var(--manila);
  pointer-events: none;
}

.specimen-seed-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  border-bottom: 2px solid var(--brand-green);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.specimen-seed-desc {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--caption);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .specimen-seed-desc {
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: -0.02em;
  }
}

.hero-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--brand-green);
}

.photo-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--caption);
  text-align: right;
  margin-top: 0.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-bg-ink {
  background-color: var(--ink);
  color: var(--white);
}

.trust-band {
  background-color: var(--green);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.trust-band ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-weight: 500;
}

.pest-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.specimen-card {
  border: 1px solid var(--brand-green);
  background: var(--white);
  position: relative;
}

.specimen-card-header {
  background: var(--white);
  color: var(--ink);
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--brand-green);
  display: flex;
  align-items: center;
}

.index-tab {
  display: inline-block;
  background: var(--yellow);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: bold;
  border-bottom: 1px solid var(--ink);
  margin-right: 1rem;
}

.specimen-card-body {
  padding: 1.5rem;
}

.specimen-list {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.5rem;
  column-count: 2;
  column-gap: 1.5rem;
}

.specimen-service-tag {
  display: inline-block;
  background: var(--manila);
  color: var(--green-deep);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(11, 107, 46, 0.2);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section-rev {
  grid-template-columns: 1fr 1fr;
}
.split-section-rev > div:first-child {
  order: 2;
}

.split-section img {
  width: 100%;
  height: auto;
  border: 1px solid var(--brand-green);
}

.ledger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  margin-bottom: 3rem;
}

.ledger-column {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ledger-column li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--manila);
  padding: 1rem 0;
}

.ledger-column li:first-child {
  border-top: 1px solid var(--manila);
}

.ledger-marker {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--yellow);
  margin-right: 1rem;
  flex-shrink: 0;
}

.ledger-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}

@media (max-width: 768px) {
  .ledger-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ledger-column:last-child li:first-child {
    border-top: none;
  }
}

#contact {
  padding-bottom: 64px;
}

.form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--brand-green);
  box-shadow: 4px 4px 0 var(--manila);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #ccc;
  font-family: var(--font-body);
  border-radius: 0;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-note {
  font-size: 0.75rem;
  color: var(--caption);
  font-style: italic;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.hub-list {
  list-style: none;
  padding: 0;
}
.hub-list li {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}
.hub-list strong {
  display: block;
  color: var(--green-deep);
  font-size: 1.25rem;
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.25rem;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    max-height: none;
    height: auto;
  }
  .hero-content {
    padding: 2rem 0;
  }
  .hero-visual {
    padding: 1.5rem;
    margin: 0 -2rem;
  }
  .split-section, .split-section-rev {
    grid-template-columns: 1fr;
  }
  .split-section-rev > div:first-child {
    order: 0;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .trust-band ul {
    flex-direction: column;
    gap: 1rem;
  }
  .specimen-list {
    column-count: 1;
  }
}
