/* ===========================================================
   Homepage — "Польовий альманах" editorial layout
   =========================================================== */

/* ---------- Mobile drawer ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: rgba(16,46,31,0.45); display: none; }
.mobile-nav.open { display: block; }
.mobile-nav .drawer-card {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(82vw, 360px);
  min-width: 0;
  background: var(--bg); padding: 26px 22px; border-left: 1px solid var(--line-strong);
  display: flex; flex-direction: column; gap: 2px; overflow: auto;
}
.mobile-nav .drawer-card a { min-width: 0; padding: 14px 8px; font-family: var(--font-mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 1px solid var(--line); }

.hero-grid > *,
.hero-entries > *,
.about-intro > *,
.chain > *,
.module-card > *,
.module-cta > *,
.climate-grid > *,
.demo-card > *,
.demo-stats > *,
.calendar-grid > *,
.event-row > *,
.consult-grid > *,
.counters > *,
.sustain-card > *,
.footer-top > *,
.footer-cols > *,
.footer-bottom > *,
.partner-grid > * { min-width: 0; }

/* ============ HERO ============ */
.hero { padding: 0; border-bottom: 1px solid var(--line-strong); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr); }
.hero-main { padding: 70px 60px 56px 0; display: flex; flex-direction: column; }
.hero-kicker {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--green); display: flex; align-items: center; gap: 12px;
}
.hero-kicker > span, .hero-meta > span { min-width: 0; }
.hero-kicker::before { content: ""; width: 32px; border-top: 1px solid currentColor; opacity: 0.6; }
.hero h1 { font-size: clamp(40px, 5.2vw, 80px); line-height: 1.12; margin-top: 26px; letter-spacing: -0.025em; max-width: 13ch; }
.hero-sub { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); margin-top: 46px; max-width: 44ch; line-height: 1.5; }
.hero-meta { margin-top: auto; padding-top: 46px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.hero-meta span { color: var(--ink); }

.hero-figure { position: relative; border-left: 1px solid var(--line-strong); }
.hero-figure .ph { height: 100%; min-height: 560px; border: 0; border-radius: 0; }

/* One equal column per entry — the count is editable in the admin, so the row must
   fill the width whether there are three cards or four. */
.hero-entries { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--line-strong); }
.hero-entry { padding: 26px 28px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; transition: background .18s; min-height: 168px; }
.hero-entry:first-child { border-left: 0; }
.hero-entry:hover { background: var(--green-soft); }
.hero-entry .he-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--green); }
.hero-entry .he-top svg { width: 16px; height: 16px; transition: transform .2s; }
.hero-entry:hover .he-top svg { transform: translateX(4px); }
.hero-entry .he-ico { color: var(--green); }
.hero-entry .he-ico svg { width: 26px; height: 26px; stroke-width: 1.6; }
.hero-entry h3 { font-size: 21px; margin-top: auto; }
.hero-entry p { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); line-height: 1.45; letter-spacing: 0.01em; }

/* ============ ABOUT ============ */
.about-intro { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; margin-bottom: 56px; }
.about-intro h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 22px; }
.about-intro .lead { font-size: 20px; line-height: 1.55; }
.about-intro .lead strong { color: var(--green); font-weight: 600; }
.about-note { margin-top: 18px; color: var(--muted); font-size: 16px; }

.chain { display: flex; border: 1px solid var(--line-strong); background: var(--card); }
.chain-arrow { display: none; }
.chain-node { flex: 1; min-width: 0; padding: 26px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; }
.chain-node:first-child { border-left: 0; }
.chain-node::before { counter-increment: chain; content: "0" counter(chain); position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.chain { counter-reset: chain; }
.chain-node .cn-ic { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 2px; display: grid; place-items: center; color: var(--green); }
.chain-node .cn-ic svg { width: 22px; height: 22px; }
.chain-node span:last-child { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.chain-node.accent { background: var(--green); }
.chain-node.accent .cn-ic { border-color: rgba(255,255,255,0.4); color: #fff; }
.chain-node.accent span:last-child { color: #fff; }
.chain-node.accent::before { color: rgba(255,255,255,0.7); }

/* ============ LEARN — catalog rows ============ */
.modules-list { border-top: 1.5px solid var(--line-strong); }
.module-card {
  display: grid; grid-template-columns: 92px 46px minmax(0, 1fr) 40px; align-items: center; gap: 26px;
  padding: 30px 10px; border-bottom: 1px solid var(--line);
  transition: background .18s, padding .18s; position: relative;
}
.module-card:hover { background: var(--green-soft); }
.mc-top { display: contents; }
.mc-num { font-family: var(--font-mono); font-size: 15px; color: var(--green); letter-spacing: 0.04em; }
.module-card .icon-badge { border: 0; background: transparent; }
.module-card .mc-text h3 { font-size: clamp(22px, 2.4vw, 30px); }
.module-card .mc-text { min-width: 0; }
.module-card .mc-text p { color: var(--muted); font-size: 15.5px; margin-top: 5px; max-width: 70ch; }
.mc-link { display: grid; place-items: center; color: var(--green); }
.mc-link svg { width: 22px; height: 22px; transition: transform .2s; }
.module-card:hover .mc-link svg { transform: translateX(5px); }
.module-card span.mc-link-text { display: none; }

.module-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: var(--green); color: #fff; padding: 40px 44px; margin-top: 40px; border-radius: var(--radius);
}
.module-cta h3 { color: #fff; font-size: 28px; }
.module-cta > div > p, .module-cta > div > .rich-text { color: rgba(255,255,255,0.82); margin-top: 8px; }

/* ============ GUIDE — specimen plates ============ */
.guide { background: var(--paper-2); }
.crop-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-strong); background: var(--card); }
.crop-tile { border-left: 1px solid var(--line); display: flex; flex-direction: column; transition: background .18s; }
.crop-tile:first-child { border-left: 0; }
.crop-tile:hover { background: var(--green-soft); }
.crop-ph { border: 0 !important; border-radius: 0 !important; aspect-ratio: 5 / 6; min-height: 0; }
.crop-meta { padding: 20px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.crop-meta h3 { font-size: 24px; }
.crop-meta .latin { font-family: var(--font-mono); font-size: 11.5px; font-style: normal; color: var(--muted); letter-spacing: 0.02em; }
.crop-meta .counts { font-family: var(--font-mono); font-size: 12px; color: var(--green); margin-top: 2px; }

/* ============ SEASON RIBBON (signature) ============ */
.season { background: var(--bg); }
.season-table { border: 1px solid var(--line-strong); background: var(--card); overflow: hidden; }
.season-grid { display: grid; grid-template-columns: 220px 1fr; }
.season-grid > .sg-corner { border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 14px 18px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); display: flex; align-items: flex-end; }
.season-months { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line-strong); }
.season-months .sm { padding: 14px 6px; text-align: center; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); border-left: 1px solid var(--line); }
.season-months .sm:first-child { border-left: 0; }
.season-rows { grid-column: 1 / -1; }
.season-row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line); }
.season-row:last-child { border-bottom: 0; }
.sr-label { padding: 0 18px; min-height: 60px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line-strong); gap: 2px; }
.sr-label strong { font-size: 16px; font-weight: 600; font-family: var(--font-body); }
.sr-label span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.sr-track { position: relative; background: repeating-linear-gradient(to right, transparent 0, transparent calc(100%/7 - 1px), var(--line) calc(100%/7 - 1px), var(--line) calc(100%/7)); }
.band { position: absolute; top: 50%; transform: translateY(-50%); height: 16px; border-radius: 2px; display: flex; align-items: center; padding: 0 9px; font-family: var(--font-mono); font-size: 10px; color: #fff; white-space: nowrap; overflow: hidden; }
.band.high { background: var(--terra-acc); }
.band.mid  { background: var(--harvest-acc); color: var(--green-darker); }
.band.low  { background: var(--leaf-acc); }
.season-legend { display: flex; gap: 22px; margin-top: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.season-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 2px; margin-right: 7px; vertical-align: -2px; }

/* ============ CLIMATE ============ */
.climate { background: var(--terra-acc); color: #fff; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.climate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.climate h2 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); }
.climate-copy > p, .climate-copy > .rich-text { color: rgba(255,255,255,0.92); font-size: 19px; margin-top: 18px; line-height: 1.55; max-width: 50ch; }
.climate-eyebrow { color: #fff; }
.climate-eyebrow::before { border-color: #fff; }
.risk-list { list-style: none; padding: 0; margin: 30px 0 30px; border-top: 1px solid rgba(255,255,255,0.3); }
.risk-list li { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,0.3); font-size: 16.5px; }
.risk-list .ri { flex-shrink: 0; color: #fff; }
.risk-list .risk-text { min-width: 0; }
.risk-list .ri svg { width: 24px; height: 24px; stroke-width: 1.6; }
.climate .btn-light { color: var(--terra-acc); }
.climate-map .ph { min-height: 380px; }

/* ============ DEMO ============ */
.demo-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border: 1px solid var(--line-strong); background: var(--card); }
.demo-card .ph { border: 0 !important; border-radius: 0 !important; }
.demo-body { padding: 48px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.demo-pill { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); border: 1px solid var(--line-strong); padding: 5px 11px; }
.demo-body h3 { font-size: clamp(26px, 3vw, 36px); }
/* One equal column per stat — the list is editable in the admin. */
.demo-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 8px 0; }
.demo-stats > div { padding: 22px 0 22px 20px; border-left: 1px solid var(--line); }
.demo-stats > div:first-child { border-left: 0; padding-left: 0; }
.demo-stats strong { display: block; font-family: var(--font-display); font-size: 34px; color: var(--green); line-height: 1; }
.demo-stats span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 8px; display: block; text-transform: uppercase; letter-spacing: 0.03em; }
.demo-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ VIDEOS ============ */
.videos { background: var(--paper-2); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); background: var(--card); }
.video-card { border-left: 1px solid var(--line); transition: background .18s; }
.video-card:first-child { border-left: 0; }
.video-card:hover { background: var(--green-soft); }
.video-ph { border: 0 !important; border-radius: 0 !important; aspect-ratio: 16 / 10; min-height: 0; }
.video-ph .play-bubble { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border: 1.5px solid #fff; display: grid; place-items: center; z-index: 2; }
.video-ph .play-bubble svg { width: 26px; height: 26px; color: #fff; }
.video-ph .vid-dur { position: absolute; bottom: 0; right: 0; background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 11px; padding: 4px 9px; z-index: 2; }
.vid-meta { padding: 18px 20px; border-top: 1px solid var(--line); }
.vid-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.vid-meta h4 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin-top: 8px; line-height: 1.18; }

/* ============ CALENDAR ============ */
.calendar-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.events { border-top: 1.5px solid var(--line-strong); }
.event-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line); background: transparent; transition: background .18s; }
.event-row:hover { background: var(--green-soft); }
.ev-date { display: flex; flex-direction: column; }
.ev-date .ev-d { font-family: var(--font-display); font-size: 32px; line-height: 1; }
.ev-date .ev-m { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.ev-body h4 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin: 8px 0 5px; line-height: 1.2; }
.ev-type { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line-strong); }
.ev-online { color: var(--green); }
.ev-field { color: #9a6418; }
.ev-training { color: var(--terra-acc); }
.ev-btn { flex-shrink: 0; }

/* ============ CONSULT ============ */
.consult { background: var(--green-darker); color: #fff; border-top: 1px solid var(--line-strong); }
.consult-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.consult h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); }
.consult-copy > p, .consult-copy > .rich-text { color: rgba(255,255,255,0.86); font-size: 18px; margin-top: 18px; line-height: 1.55; }
.consult-copy .eyebrow { color: #cfe6c0; }
.consult-copy .eyebrow::before { border-color: #cfe6c0; }
.consult-points { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid rgba(255,255,255,0.25); }
.consult-points li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.25); font-size: 16px; }
.consult-points .ri { color: var(--harvest-acc); display: grid; place-items: center; }
.consult-points .consult-point-text { min-width: 0; }
.consult-points .ri svg { width: 20px; height: 20px; }
.consult-form { padding: 34px; background: var(--bg); border: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 18px; color: var(--ink); }
.consult-form label { display: flex; flex-direction: column; gap: 9px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.consult-form input[type='text'], .consult-form input[type='email'], .consult-form select, .consult-form textarea { width: 100%; min-width: 0; max-width: 100%; font-family: var(--font-body); font-size: 15px; text-transform: none; letter-spacing: 0; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--card); color: var(--ink); resize: vertical; }
.consult-form input[type='text']:focus, .consult-form input[type='email']:focus, .consult-form select:focus, .consult-form textarea:focus { outline: none; border-color: var(--green); }
.consult-form .upload { position: relative; flex-direction: row; align-items: center; gap: 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 16px; cursor: pointer; color: var(--muted); }
.consult-form .upload input[type='file'] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.consult-form .upload:hover { border-color: var(--green); }
.consult-form .upload .up-ico { color: var(--green); display: grid; place-items: center; }
.consult-form .upload .up-ico svg { width: 26px; height: 26px; }
.consult-form .upload strong { font-family: var(--font-body); text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 14px; }
.consult-form .upload small { display: block; margin-top: 3px; font-family: var(--font-body); font-size: 12px; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.consult-success { padding: 14px 16px; border: 1px solid var(--green); border-radius: var(--radius-sm); background: var(--green-pale); color: var(--green-darker); font-size: 14px; line-height: 1.5; }
.consult-error { color: #9f2d22; font-family: var(--font-body); font-size: 13px; line-height: 1.4; text-transform: none; letter-spacing: 0; }

/* ============ RESULTS ============ */
.results { background: var(--green-darker); color: #fff; }
.results .eyebrow { color: var(--harvest-acc); justify-content: center; }
.results .eyebrow::before { display: none; }
.results h2 { color: #fff; }
/* One equal column per counter — the count is editable in the admin. */
.counters { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid rgba(255,255,255,0.25); border-bottom: 1px solid rgba(255,255,255,0.25); }
.counter { padding: 38px 18px; border-left: 1px solid rgba(255,255,255,0.18); text-align: left; }
.counter:first-child { border-left: 0; }
.counter .num { font-family: var(--font-display); font-size: clamp(42px, 5vw, 66px); font-weight: 500; color: var(--harvest-acc); line-height: 1; display: block; letter-spacing: -0.02em; }
.counter .lbl { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.7); margin-top: 14px; display: block; line-height: 1.4; }

/* ============ SUSTAIN ============ */
.sustain { background: var(--bg); }
.sustain-card { border: 1px solid var(--line-strong); background: var(--card); padding: 56px 60px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 44px; align-items: center; }
.sustain-card .sus-ico { width: 72px; height: 72px; border: 1px solid var(--line-strong); border-radius: 2px; display: grid; place-items: center; color: var(--green); }
.sustain-card .sus-ico svg { width: 36px; height: 36px; }
.sustain-card h2 { font-size: clamp(26px, 3vw, 38px); }
.sustain-card > div > p, .sustain-card > div > .rich-text { color: var(--muted); font-size: 19px; margin-top: 14px; max-width: 62ch; line-height: 1.55; }

/* ============ FOOTER ============ */
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr); gap: 56px; padding: 70px 0 46px; }
.footer-brand .brand-mark { background: #fff; color: var(--green-darker); }
.footer-funding { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 24px; max-width: 46ch; line-height: 1.6; }
.footer-funding strong { color: #fff; font-weight: 600; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.partner-logos .plogo { font-family: var(--font-mono); font-size: 11.5px; color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.28); padding: 9px 13px; letter-spacing: 0.02em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fcol { display: flex; flex-direction: column; gap: 12px; }
.fcol h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 6px; }
.fcol a { font-size: 15px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.16); font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.6); }
.footer-lang button { color: rgba(255,255,255,0.7); }
.footer-lang { border-color: rgba(255,255,255,0.28); }

/* ============ PARTNERS / DONORS ============ */
.partners { background: var(--paper-2); }
.partners .section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.partners .eyebrow { justify-content: center; }
.partners .section-head > p, .partners .section-head > .rich-text { margin-left: auto; margin-right: auto; }
/* One equal column per partner — the list is editable in the admin. */
.partner-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.partner-cell { min-width: 0; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 38px 20px; min-height: 168px; text-align: center; transition: background .18s; }
.partner-cell > * { min-width: 0; max-width: 100%; }
.partner-cell:hover { background: var(--green-soft); }
.partner-cell img { height: 58px; width: auto; max-width: 100%; }
.partner-cell .pl-name { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--green); letter-spacing: -0.02em; line-height: 1; }
.partner-cell .pl-cap { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); line-height: 1.45; max-width: 24ch; text-transform: uppercase; letter-spacing: 0.02em; overflow-wrap: break-word; }
.partner-cell .pl-tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; }
.partners-note { text-align: center; margin-top: 26px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-main { padding: 48px 0 40px; }
  .hero-figure { border-left: 0; border-top: 1px solid var(--line-strong); }
  .hero-figure .ph { min-height: 340px; }
  .hero-entries { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-entry:nth-child(3) { border-left: 0; }
  .hero-entry:nth-child(n+3) { border-top: 1px solid var(--line); }
  .crop-grid { grid-template-columns: repeat(2, 1fr); }
  .crop-tile:nth-child(3) { border-left: 0; }
  .crop-tile:nth-child(n+3) { border-top: 1px solid var(--line); }
  .video-grid { grid-template-columns: 1fr; }
  .video-card { border-left: 0; border-top: 1px solid var(--line); }
  .video-card:first-child { border-top: 0; }
  .counters { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .counter:nth-child(4) { border-left: 0; }
  .counter:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,0.18); }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .about-intro, .climate-grid, .calendar-grid, .consult-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .demo-card { grid-template-columns: minmax(0, 1fr); }
  .demo-body { border-left: 0; border-top: 1px solid var(--line); padding: 32px; }
  .chain { flex-direction: column; }
  .chain-node { border-left: 0; border-top: 1px solid var(--line); }
  .chain-node:first-child { border-top: 0; }
  .season-grid, .season-row { grid-template-columns: 130px 1fr; }
  .sustain-card { grid-template-columns: minmax(0, 1fr); padding: 36px 28px; gap: 24px; }
  .partner-grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .hero-entries { grid-template-columns: minmax(0, 1fr); }
  .hero-entry { border-left: 0 !important; border-top: 1px solid var(--line); }
  .hero-entry:first-child { border-top: 0; }
  .crop-grid { grid-template-columns: 1fr; }
  .crop-tile { border-left: 0; border-top: 1px solid var(--line); }
  .crop-tile:first-child { border-top: 0; }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-card { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; row-gap: 4px; }
  .module-card .icon-badge, .module-card .mc-link { display: none; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .event-row { grid-template-columns: 70px minmax(0, 1fr); }
  .event-row .ev-btn { grid-column: 1 / -1; justify-content: center; }
  .demo-stats { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
  .demo-stats > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .demo-stats > div:first-child { border-top: 0; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
