/* Agrovisus marketing site — page sections below the hero. */

.section { padding: 88px 0; }
@media (min-width: 1000px) { .section { padding: 120px 0; } }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 750; }
.section__sub { color: var(--ink-2); font-size: 18px; margin-top: 16px; }
.kicker { font: 600 13px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- proof band ---------- */
.proof { border-block: 1px solid var(--line); background: var(--surface); }
.proof__row { padding: 22px 0; display: flex; align-items: center; gap: 16px; font-size: 16px; color: var(--ink-2); }
.proof__row::before {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322B24C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21c-4-3-7-6.5-7-10.5a7 7 0 0 1 14 0C19 14.5 16 18 12 21Z'/%3E%3Ccircle cx='12' cy='10.5' r='2.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.proof strong { color: var(--ink); }

/* ---------- pains ---------- */
.pains__grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .pains__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.pain__n { font-size: 13px; color: var(--muted); }
.pain h3 { font-size: 22px; margin: 18px 0 10px; }
.pain p { color: var(--ink-2); }
.pain::after { content: ""; position: absolute; left: 28px; right: 28px; top: 58px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.pains__turn { margin-top: 48px; font: 600 clamp(22px, 2.6vw, 30px)/1.3 var(--f-display); letter-spacing: -.015em; max-width: 30em; }
.pains__turn em { color: var(--green-deep); }

/* ---------- how ---------- */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 36px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { position: relative; counter-increment: step; }
.step__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); margin-bottom: 22px; position: relative; z-index: 1; }
.step__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step::before { content: "0" counter(step); position: absolute; top: 18px; left: 76px; font: 600 13px var(--f-mono); color: var(--muted); }
@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 30px; left: 112px; right: -20px; height: 2px;
    background: linear-gradient(90deg, var(--green) 0 40%, transparent 40%) 0 0 / 14px 2px repeat-x; opacity: .5;
  }
}
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { color: var(--ink-2); }

/* ---------- modules (tabs) ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 28px; }
.tabs button {
  font: 600 15px var(--f-body); color: var(--ink-2); background: transparent; border: 0; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; transition: background-color .25s, color .25s, box-shadow .25s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
@media (max-width: 560px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; width: 100%; }
  .tabs button { border-radius: 14px; padding: 12px 8px; }
}
.panel { display: grid; gap: 14px; }
.panel[hidden] { display: none; }
@media (min-width: 700px) { .panel { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .panel { grid-template-columns: repeat(3, 1fr); } }
.panel.is-entering .mod { animation: mod-in .55s var(--ease) both; }
.panel.is-entering .mod:nth-child(2) { animation-delay: .05s; } .panel.is-entering .mod:nth-child(3) { animation-delay: .1s; }
.panel.is-entering .mod:nth-child(4) { animation-delay: .15s; } .panel.is-entering .mod:nth-child(5) { animation-delay: .2s; }
.panel.is-entering .mod:nth-child(6) { animation-delay: .25s; }
@keyframes mod-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.mod { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; transition: border-color .3s, transform .35s var(--ease); }
.mod:hover { border-color: var(--green); transform: translateY(-2px); }
.mod h3 { font-size: 19px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.mod h3::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--green); flex: none; }
.mod p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- field app ---------- */
.field { background: var(--green-soft); overflow: hidden; }
[data-theme="dark"] .field { background: #0F1A12; border-block: 1px solid var(--line); }
.field__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .field__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.field__copy h2 { font-size: clamp(32px, 4.2vw, 50px); }
.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.ticks li { padding-left: 36px; position: relative; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green);
  -webkit-mask: none;
}
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks strong { color: var(--ink); }

.phone {
  width: min(320px, 86%); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px;
  background: #121613; box-shadow: 0 40px 80px -30px rgba(11,77,37,.55), inset 0 0 0 2px #2A322C;
  transform: rotate(-3deg); transition: transform .8s var(--ease);
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone__screen { height: 100%; border-radius: 34px; background: #F4F6F1; color: #111; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; position: relative; font-size: 13px; }
.phone__bar { display: flex; justify-content: space-between; font: 600 11px var(--f-mono); color: #444; }
.phone__hello { color: #5A635C; margin-top: 6px; }
.phone__place { font: 700 20px/1.1 var(--f-display); letter-spacing: -.02em; }
.phone__sync { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.phone__card { background: #fff; border: 1px solid #DDE2D8; border-radius: 16px; padding: 11px 13px; }
.phone__card--done { opacity: .75; }
.phone__label { font: 600 10px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #13773A; }
.phone__big { font-weight: 700; margin-top: 2px; }
.phone__small { font-size: 11.5px; color: #5A635C; margin-top: 2px; }
.phone__fab { position: absolute; right: 14px; bottom: 16px; background: #101411; color: #fff; font-weight: 700; padding: 11px 16px; border-radius: 999px; font-size: 13px; }
.pill { display: inline-block; font: 600 11px var(--f-body); padding: 3px 9px; border-radius: 999px; width: fit-content; }
.pill--warn { background: #FFF1D6; color: #7A4B00; }
.pill--ok { background: #DDF3E2; color: #0B5A2A; }

/* ---------- controls ---------- */
.controls__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 760px) { .controls__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .controls__grid { grid-template-columns: repeat(4, 1fr); } }
.ctl { background: var(--surface); padding: 30px 26px; transition: background-color .3s; }
.ctl:hover { background: var(--surface-2); }
.ctl h3 { font-size: 20px; margin-bottom: 10px; }
.ctl p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- who ---------- */
.who { padding-top: 0; }
.who__grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .who__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.who__card { border-radius: var(--radius-lg); padding: 30px 28px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.who__card::before {
  content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%;
  border: 2px dashed var(--green); opacity: .25; transition: transform 1.2s var(--ease);
}
.who__card:hover::before { transform: rotate(90deg) scale(1.15); }
.who__card h3 { font-size: 22px; margin-bottom: 10px; }
.who__card p { color: var(--ink-2); }

/* ---------- founder note ---------- */
.note { padding-top: 0; }
.note__inner { max-width: 860px; border-left: 3px solid var(--green); padding-left: clamp(20px, 4vw, 40px); }
.note blockquote { margin: 0; font: 500 clamp(20px, 2.3vw, 26px)/1.45 var(--f-display); letter-spacing: -.012em; color: var(--ink); display: grid; gap: 18px; }
.note__by { margin-top: 24px; display: flex; flex-direction: column; font-size: 15px; color: var(--muted); }
.note__by strong { color: var(--ink); font-size: 16px; }

/* ---------- contact ---------- */
.contact { position: relative; padding: 96px 0; background: #0B2415; color: #E9F2EB; overflow: hidden; isolation: isolate; }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(34,178,76,.35), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(158,235,190,.14), transparent 70%);
}
.contact::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: linear-gradient(rgba(158,235,190,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(158,235,190,.5) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
[data-theme="dark"] .contact { background: #081A0F; border-block: 1px solid var(--line); }
@media (min-width: 1000px) { .contact { padding: 128px 0; } }
.contact__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; } .contact__pitch { position: sticky; top: 110px; } }
.kicker--light { color: var(--mint); }
.contact h2 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.035em; color: #fff; }
.contact__pitch > p { font-size: 19px; color: #BFD3C4; margin-top: 18px; max-width: 30em; }
.next { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; }
.next li { display: flex; gap: 16px; align-items: flex-start; color: #BFD3C4; font-size: 15.5px; }
.next li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(158,235,190,.4); color: var(--mint); font-size: 13px; }
.next strong { display: block; color: #fff; font-size: 16.5px; }
.direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.direct__item {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 600;
  padding: 12px 18px 12px 14px; border-radius: 16px; border: 1px solid rgba(158,235,190,.25); background: rgba(255,255,255,.04);
  transition: background-color .25s, border-color .25s, transform .3s var(--ease);
}
.direct__item:hover { background: rgba(255,255,255,.09); border-color: var(--mint); transform: translateY(-2px); }
.direct__item svg { width: 26px; height: 26px; fill: none; stroke: var(--mint); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.direct__item span { min-width: 0; overflow-wrap: anywhere; }
.direct__item small { display: block; font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #9FB5A5; }

.form { background: var(--surface); color: var(--ink); border-radius: 28px; padding: clamp(22px, 3.5vw, 40px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); position: relative; }
[data-theme="dark"] .form { border: 1px solid var(--line-2); }
.form__body { display: grid; gap: 24px; }
.chips-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips-set legend { font: 700 17px var(--f-display); letter-spacing: -.01em; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; font-size: 15px; font-weight: 500;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); user-select: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.chips label:hover span { border-color: var(--ink-2); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: scale(1.03); }
.chips input:checked + span::before { content: "✓"; font-size: 12px; }
[data-theme="dark"] .chips input:checked + span { background: var(--green); border-color: var(--green); color: #06140A; }
.chips input:focus-visible + span { box-shadow: var(--focus); }

.fields { display: grid; gap: 14px; align-items: start; }
@media (min-width: 620px) { .fields { grid-template-columns: 1fr 1fr; } .field-in--wide { grid-column: 1 / -1; } }
.field-in { display: grid; gap: 6px; align-content: start; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field-in b { color: var(--green-deep); font-weight: 700; }
.field-in input, .field-in textarea {
  font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field-in textarea { resize: vertical; min-height: 110px; }
.field-in input::placeholder, .field-in textarea::placeholder { color: var(--muted); opacity: .85; }
.field-in input:hover, .field-in textarea:hover { border-color: var(--muted); }
.field-in input:focus, .field-in textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 22%, transparent); background: var(--surface); }
.field-in.is-invalid input { border-color: var(--err); }
.field-in.is-invalid::after { content: attr(data-err); color: var(--err); font-weight: 500; font-size: 13px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__err { color: var(--err); font-size: 15px; font-weight: 500; }
.form__fine { font-size: 13px; color: var(--muted); text-align: center; margin-top: -10px; }
.btn.is-loading .btn__label::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__done { text-align: center; padding: 48px 12px; }
.form__done:focus { outline: none; }
.form__done h3 { font-size: 30px; margin: 22px 0 10px; }
.form__done p { color: var(--ink-2); max-width: 26em; margin-inline: auto; }
.done__mark svg { width: 84px; height: 84px; margin-inline: auto; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done__mark circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease) forwards; }
.done__mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- faq ---------- */
.faq__grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 700 19px/1.3 var(--f-display); letter-spacing: -.01em; border-radius: 6px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322B24C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 44px 24px 0; }
.faq details[open] p { animation: mod-in .4s var(--ease); }

/* ---------- closer + footer ---------- */
.closer { padding: 40px 0 110px; }
.closer__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closer__mark { width: 72px; height: auto; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }
.closer h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; }
.closer p { color: var(--ink-2); font-size: 18px; max-width: 32em; margin-bottom: 8px; }

.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; background: var(--surface); font-size: 14.5px; color: var(--muted); }
.foot__row { display: grid; gap: 24px; }
@media (min-width: 800px) { .foot__row { grid-template-columns: 1fr auto; align-items: end; } .foot__meta { text-align: right; } }
.foot__brand img { width: 120px; height: auto; margin-bottom: 10px; }
.foot__meta { display: grid; gap: 4px; }
.foot a { color: var(--ink-2); }
.foot__copy { font-size: 13px; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1FA855; color: #fff; box-shadow: 0 12px 30px -8px rgba(15,110,50,.6);
  transform: scale(0); transition: transform .45s var(--ease);
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
