/* Фарм Экспресс — landing for 9800000.farm. Static, no build step; system fonts only. */
:root {
  --brand: #00d4cf;        /* the shop's turquoise (fx-* palette) */
  --brand-soft: #eaf8f8;
  --brand-tint: #f3fbfb;
  --brand-ink: #007f7b;    /* turquoise text on white, 4.9:1 */
  --ink: #142424;
  --text: #3a4a4a;
  --muted: #5f6e6e;
  --line: #e1ebeb;
  --paper: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 40, 40, .05), 0 8px 24px rgba(0, 40, 40, .07);
  --shadow-hi: 0 2px 4px rgba(0, 40, 40, .06), 0 14px 32px rgba(0, 60, 60, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.55 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, box-shadow .15s, transform .15s, color .15s;
}
.btn--primary { background: var(--brand); color: var(--ink); box-shadow: 0 4px 14px rgba(0, 190, 185, .3); }
.btn--primary:hover { background: #00c2bd; box-shadow: 0 6px 18px rgba(0, 170, 165, .36); }
.btn--ghost { background: var(--brand-soft); color: #00625f; }
.btn--ghost:hover { background: #d8f2f1; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #24403f; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn:active { transform: translateY(1px); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.top__logo { margin-right: auto; }
.top__logo img { width: 238px; }
.top__phone { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.top__phone .ico { color: var(--brand-ink); }
.top__phone span { display: flex; flex-direction: column; line-height: 1.15; }
.top__phone b { font-size: 17px; font-weight: 650; }
.top__phone small { font-size: 12px; color: var(--muted); }
.top__phone:hover b { color: var(--brand-ink); }
@media (max-width: 860px) {
  .top__phone span { display: none; }
  .top__phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--brand-soft); }
}
@media (max-width: 520px) {
  .top__in { min-height: 60px; gap: 10px; }
  .top__logo img { width: 150px; }
  .top__cta { min-height: 40px; padding: 0 14px; font-size: 14px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(0, 212, 207, .22), transparent 70%),
    radial-gradient(700px 380px at -10% 110%, rgba(0, 212, 207, .14), transparent 70%),
    linear-gradient(180deg, var(--brand-tint), #fff);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; color: var(--brand-ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(0, 212, 207, .22); }
.hero__title { margin-top: 18px; font-size: clamp(30px, 4.3vw, 50px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; max-width: 15em; text-wrap: balance; }
.hero__lead { margin-top: 16px; max-width: 36em; font-size: clamp(16px, 1.5vw, 18px); color: var(--text); }

.search { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 28px; max-width: 640px; padding: 6px; border: 2px solid transparent; border-radius: 999px; background: #fff; box-shadow: var(--shadow-hi); transition: border-color .15s; }
.search:focus-within { border-color: var(--brand); }
.search__ico { position: absolute; left: 22px; color: var(--muted); pointer-events: none; }
.search__input { flex: 1; min-width: 0; height: 50px; padding: 0 8px 0 46px; border: 0; outline: 0; background: none; font: inherit; font-size: 17px; color: var(--ink); }
.search__input::placeholder { color: #7b8a8a; }
.search__input::-webkit-search-cancel-button { cursor: pointer; }
.search__btn { min-height: 50px; padding: 0 28px; font-size: 16px; }
.search.is-invalid { border-color: #e0525a; }
.search__hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.search__hint.is-error { color: #b42a32; }
.chip { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--brand-ink); font-size: 14px; text-decoration: none; transition: background-color .15s, border-color .15s; }
.chip:hover { background: var(--brand-soft); border-color: #bfe8e6; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__card { padding: 26px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-hi); }
.facts { list-style: none; display: grid; gap: 4px; }
.facts li { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { padding-top: 0; }
.facts b { font-size: 21px; line-height: 1.2; font-weight: 700; color: var(--ink); white-space: nowrap; }
.facts span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.hero__card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 15px; text-decoration: none; }
.hero__card-link:hover { text-decoration: underline; }
.hero__card-link .ico { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 48px; }
  .hero__card { max-width: 640px; }
}
@media (max-width: 520px) {
  .hero__in { padding-top: 28px; padding-bottom: 36px; }
  .hero__eyebrow { font-size: 12.5px; padding: 6px 12px; }
  .search { flex-wrap: wrap; padding: 6px; border-radius: 18px; }
  .search__ico { top: 21px; left: 18px; }
  .search__input { flex-basis: 100%; height: 48px; padding-left: 40px; font-size: 16px; }
  .search__btn { width: 100%; border-radius: 13px; }
  .hero__ctas .btn { width: 100%; }
  .hero__card { padding: 20px; }
  .facts li { grid-template-columns: 116px 1fr; gap: 10px; }
  .facts b { font-size: 17px; }
}

/* Sections */
.section { padding: 72px 0; }
.section--tint { background: var(--brand-tint); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.section__head h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-more:hover { text-decoration: underline; }
.link-more .ico { width: 18px; height: 18px; }
@media (max-width: 520px) { .section { padding: 48px 0; } .section__head { margin-bottom: 20px; } }

/* Categories */
.cats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none;
  transition: box-shadow .15s, border-color .15s, transform .15s;
}
.cat:hover { border-color: #bfe8e6; box-shadow: var(--shadow-hi); transform: translateY(-2px); }
.cat__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); }
.cat__ico .ico { width: 24px; height: 24px; }
.cats__more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cats__more a { padding: 7px 16px; border-radius: 999px; background: var(--brand-soft); color: #00625f; font-size: 15px; font-weight: 500; text-decoration: none; }
.cats__more a:hover { background: #d8f2f1; }
@media (max-width: 980px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .cat { padding: 14px; gap: 10px; font-size: 15px; } .cat__ico { width: 38px; height: 38px; } }

/* Cards */
.card { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; line-height: 1.3; }
.card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.card__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: var(--brand); color: var(--ink); }
.card__ico .ico { width: 26px; height: 26px; }

.adv { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .adv { grid-template-columns: 1fr; } }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.how__card { display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: none; }
.steps { margin: 14px 0 22px; padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.steps li { position: relative; padding-left: 36px; font-size: 15px; color: var(--text); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: #00625f; font-size: 13px; font-weight: 700; }
.how__card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 980px) { .how { grid-template-columns: 1fr; } .how__card .btn { align-self: stretch; } }

/* Delivery */
.dlv { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dlv li { padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--brand); }
.dlv b { display: block; font-size: 22px; line-height: 1.2; color: var(--ink); }
.dlv span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.note { margin-top: 22px; max-width: 60em; font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .dlv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dlv { grid-template-columns: 1fr; } }

/* Contacts */
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contacts__card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); box-shadow: none; }
.contacts__card .btn { margin-top: auto; }
.contacts__label { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.card .contacts__label { margin-top: 0; }
.contacts__phone { margin-top: 8px; font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.contacts__phone:hover { color: var(--brand-ink); }
.contacts__addr { margin-top: 8px; font-style: normal; font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.contacts__site { margin-top: 8px; font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--ink); word-break: break-word; }
.card .contacts__muted { margin: 6px 0 20px; font-size: 15px; color: var(--muted); }
.contacts__card--brand { background: linear-gradient(135deg, #e3f8f7, #f6fdfd); border-color: #cdeeed; }
@media (max-width: 980px) { .contacts { grid-template-columns: 1fr; } .contacts__card .btn { align-self: stretch; } }

/* Footer */
.foot { padding: 40px 0 32px; border-top: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--muted); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.foot__top img { width: 183px; }
.foot__links, .foot__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { color: var(--text); text-decoration: none; font-size: 15px; }
.foot__links a:hover, .foot__legal a:hover { color: var(--brand-ink); text-decoration: underline; }
.foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot__legal a { color: var(--muted); }
.foot__warn { margin-top: 16px; font-size: 12px; color: #6f7d7d; }
.nowrap { white-space: nowrap; }
