/* Cosecha Digital — site styles */
:root {
  --ink: #091619;
  --ink-soft: #3d4a4d;
  --muted: #6b7673;
  --paper: #ffffff;
  --soil: #f3f6f0;
  --line: #dde3dc;
  --lime: #a6f607;
  --lime-deep: #6fae00;
  --field: #1f6b3a;
  --measure: 62ch;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv05";
}

a { color: inherit; text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 3px; border-radius: 2px; }

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

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.1rem); letter-spacing: -0.03em; max-width: 20ch; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); max-width: 26ch; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.5; color: var(--ink-soft); max-width: 54ch; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 6px 26px; flex-wrap: wrap; justify-content: flex-end; font-weight: 600; font-size: 0.98rem; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--lime); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-block: 14px; }
  .nav { justify-content: flex-start; gap: 4px 18px; font-size: 0.95rem; }
}

/* Sections */
.section { padding-block: clamp(48px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.section.tint { background: var(--soil); border-top: 0; }

/* Hero */
.hero { padding-block: clamp(56px, 10vw, 128px) clamp(48px, 8vw, 96px); }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%); padding-inline: 0.04em; }
.hero .lede { margin-bottom: 1.6em; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; font-weight: 700; text-decoration: none;
  padding: 13px 22px; border-radius: 6px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; transition: background .15s, color .15s;
}
.btn:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Three-up plain lists */
.grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid > div p:last-child { margin-bottom: 0; }
.grid h3 { margin-bottom: 0.4em; }
.grid h3 a { text-decoration: none; border-bottom: 2px solid var(--lime); }
.grid h3 a:hover { border-bottom-color: var(--ink); }

/* Fact strip */
.facts { display: grid; gap: 20px 40px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 2.5rem; }
.facts dt { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }

/* Service blocks */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; padding-block: 36px; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h2 { font-size: 1.45rem; max-width: none; }
.service ul { padding-left: 1.1em; margin: 0 0 1em; max-width: var(--measure); }
.service li { margin-bottom: 0.35em; }
.service p:last-child, .service ul:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; gap: 8px; } }

/* Project page */
.kicker { font-weight: 700; color: var(--field); margin-bottom: 0.6em; }
.partners { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; margin: 1.5rem 0 0; list-style: none; font-weight: 600; }
.partners li small { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }

.timeline { margin-block: 2.5rem 1rem; }
.timeline svg { width: 100%; height: auto; display: block; }
.season-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px 32px; margin-top: 1.5rem; }
.season-list h3 { font-size: 1.02rem; margin-bottom: 0.25em; }
.season-list h3 span { color: var(--muted); font-weight: 600; font-size: 0.9rem; margin-left: 8px; }
.season-list p { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }

.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); }
.rules li { padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: 4px; background: #fff; }
.rules strong { display: block; margin-bottom: 4px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.aside { background: var(--soil); border-radius: 8px; padding: 26px 28px; }
.aside h3 { margin-bottom: 0.6em; }
.aside ul { padding-left: 1.1em; margin: 0; }
.aside li { margin-bottom: 0.4em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
form { display: grid; gap: 16px; max-width: 520px; }
label { font-weight: 600; display: grid; gap: 6px; font-size: 0.98rem; }
input, textarea, select {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #b9c2bb; border-radius: 6px; padding: 11px 13px; width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: 3px solid var(--lime); outline-offset: 0; }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.contact-details p { margin-bottom: 0.6em; }
.contact-details strong { display: block; font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.notice { font-size: 0.92rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px 44px; font-size: 0.92rem; color: var(--muted); background: var(--soil); }
.site-footer .wrap { display: grid; gap: 20px 48px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.site-footer p { margin: 0 0 0.4em; max-width: none; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.service h3 { margin-top: 1.4em; font-size: 1.05rem; }
