/* Лендинги ecoplantagro.com (/mf, /1, /2) — деловой стиль EcoPlant Agro */
:root {
    --bg: #f5f5f7;
    --card: #ffffff;
    --text: #111113;
    --muted: #5f6368;
    --faint: #8e8e93;
    --line: #e3e3e8;
    --green: #4aaf4e;
    --green-hover: #3d9b41;
    --link: #0066cc;
    --radius: 12px;
    --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top));
    padding-bottom: env(safe-area-inset-bottom);
    font-feature-settings: "tnum" 1;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== Шапка ===== */
.lp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding-top: env(safe-area-inset-top);
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.lp-nav .wrap { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.lp-nav .logo img { width: 160px; height: auto; }
.lp-nav nav { display: flex; gap: 28px; margin-left: auto; }
.lp-nav nav a { color: var(--muted); font-size: 14px; font-weight: 500; }
.lp-nav nav a.on { color: var(--text); }
.lp-nav nav a:hover { color: var(--text); text-decoration: none; }

/* ===== Кнопки ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 26px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-line { background: #fff; color: var(--text); border-color: #cfcfd6; }
.btn-line:hover { border-color: var(--text); }
.lp-nav .btn { min-height: 38px; padding: 0 18px; font-size: 14px; }

/* ===== Подписи и заголовки ===== */
.eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 16px;
}

/* ===== Герой ===== */
.hero { padding: 72px 0 64px; background: #fff; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: 48px; line-height: 1.1; letter-spacing: -.025em; font-weight: 600; margin-bottom: 20px; }
.hero .lead { font-size: 19px; color: var(--muted); margin-bottom: 32px; max-width: 580px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    max-width: 580px;
}
.facts div { padding: 18px 16px 0 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 26px; color: var(--text); font-weight: 600; letter-spacing: -.02em; margin-bottom: 4px; }

/* ===== Скриншот приложения ===== */
.screen {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(17, 17, 19, .04), 0 16px 40px rgba(17, 17, 19, .08);
}
.screen img { width: 100%; height: auto; max-height: 600px; object-fit: cover; object-position: top; }
.screen figcaption {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}
.screen.wide { max-width: 440px; }

/* ===== Секции ===== */
section { padding: 88px 0; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin: 0 0 48px; }
.sec-head h2 { font-size: 36px; line-height: 1.15; letter-spacing: -.02em; font-weight: 600; margin-bottom: 14px; }
.sec-head p { font-size: 18px; color: var(--muted); }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.grid > .card { border: 0; border-radius: 0; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
}
.card h3 { font-size: 17px; font-weight: 600; margin: 18px 0 8px; line-height: 1.35; }
.card p { font-size: 15px; color: var(--muted); }

/* Аудитория: кому и зачем */
.who { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.who .card { padding: 36px 32px; }
.who .card h3 { font-size: 22px; margin-top: 0; }
.who .role { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; display: block; }

/* Шаг: текст + скриншот */
.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    padding: 56px 0;
    border-top: 1px solid var(--line);
}
.step:first-of-type { border-top: 0; padding-top: 0; }
.step.rev .step-text { order: 2; }
.step-num {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--faint);
    margin-bottom: 14px;
}
.step h3 { font-size: 28px; line-height: 1.2; letter-spacing: -.015em; font-weight: 600; margin-bottom: 16px; }
.step p { color: var(--muted); margin-bottom: 20px; font-size: 17px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 20px; font-size: 15px; }
.ticks li::before {
    content: "";
    position: absolute; left: 2px; top: 9px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--faint);
}

/* Метки (индексы, справочники) */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 20px; }
.chips.center { justify-content: center; margin-top: 32px; }
.chips span {
    padding: 4px 10px; border-radius: 6px;
    background: var(--bg); border: 1px solid var(--line);
    font-size: 13px; font-weight: 500; color: var(--text);
}

/* Полоса цифр */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 28px 20px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: 32px; font-weight: 600; letter-spacing: -.02em; color: var(--text); margin-bottom: 6px; }

/* ===== Тарифы ===== */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { display: flex; flex-direction: column; position: relative; }
.price .tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price .sum { font-size: 34px; font-weight: 600; letter-spacing: -.02em; margin: 10px 0 2px; }
.price .sum small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price .note { font-size: 14px; color: var(--muted); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.price .ticks { margin-bottom: 28px; flex: 1; }
.price.best { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.price.best::before {
    content: "Чаще выбирают";
    position: absolute; top: -11px; left: 28px;
    padding: 2px 10px; border-radius: 6px;
    background: var(--text); color: #fff;
    font-size: 12px; font-weight: 600;
}

/* ===== FAQ ===== */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer;
    padding: 22px 40px 22px 0; position: relative;
    font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    position: absolute; right: 4px; top: 50%;
    width: 10px; height: 10px;
    border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); font-size: 16px; }

/* ===== Призыв ===== */
.cta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 48px;
}
.cta-box h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; margin-bottom: 10px; }
.cta-box p { color: var(--muted); font-size: 17px; max-width: 620px; }
.cta-box .cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Перекрёстные ссылки */
.more { padding-top: 0; }
.more .grid { background: var(--line); }
.more a.card { display: block; color: var(--text); transition: background .2s; }
.more a.card:hover { text-decoration: none; background: #fafafb; }
.more a.card span { display: inline-block; margin-top: 14px; color: var(--text); font-size: 14px; font-weight: 600; }

/* ===== Подвал ===== */
.lp-foot { padding: 40px 0 32px; border-top: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--muted); }
.lp-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.lp-foot nav a { color: var(--text); }

/* ===== Адаптив ===== */
@media (max-width: 980px) {
    .hero h1 { font-size: 40px; }
    .hero .wrap { gap: 40px; }
    .grid, .grid.g4 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats div:nth-child(3) { border-left: 0; }
    .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .prices { grid-template-columns: 1fr; max-width: 520px; }
    .step { gap: 40px; }
    .lp-nav nav { display: none; }
    .lp-nav .btn { margin-left: auto; }
}
@media (max-width: 760px) {
    .wrap { padding: 0 16px; }
    .hero { padding: 40px 0 48px; }
    .hero .wrap, .step, .who { grid-template-columns: 1fr; gap: 36px; }
    .step { padding: 44px 0; }
    .step.rev .step-text { order: 0; }
    .hero h1 { font-size: 32px; }
    .hero .lead { font-size: 17px; }
    .hero .cta { margin-bottom: 32px; }
    .hero .cta .btn { flex: 1 1 100%; }
    .facts b { font-size: 20px; }
    .facts div { font-size: 12px; padding-right: 8px; }
    .facts div + div { padding-left: 10px; }
    section { padding: 56px 0; }
    .sec-head { margin-bottom: 32px; }
    .sec-head h2 { font-size: 27px; }
    .sec-head p { font-size: 16px; }
    .grid, .grid.g2, .grid.g4 { grid-template-columns: 1fr; }
    .card { padding: 26px 22px; }
    .step h3 { font-size: 23px; }
    .step p { font-size: 16px; }
    .screen { max-width: 320px; }
    .screen img { max-height: 520px; }
    .stats b { font-size: 24px; }
    .stats div { padding: 20px 14px; }
    .cta-box { grid-template-columns: 1fr; padding: 32px 22px; gap: 24px; }
    .cta-box h2 { font-size: 24px; }
    .cta-box .btn { flex: 1 1 100%; }
    .lp-nav .logo img { width: 136px; }
}
