/* Посадочная «Кабинет СНТ». Стиль тот же, что у самого кабинета:
   зелень с листьями, кремовый фон, спокойные карточки. */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600&family=Unbounded:wght@400;500;600&display=swap');

:root {
    --brand: #7b9420;
    --brand-light: #9cb62c;
    --brand-dark: #4e6b16;
    --accent: #5f8a18;
    --accent-dark: #4d7212;
    --accent-soft: #eef4dc;
    --sun: #eac800;
    --danger: #b3261e;
    --white: #fff;
    --black: #2b3327;
    --cream: #f8faf0;
    --panel: #e9f0d6;
    --grey: #dde4cd;
    --muted: #7b8073;
    --radius: 18px;
    --shadow: 0 2px 16px rgba(78, 107, 22, .08);
    --leaves: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><g fill='%23ffffff' fill-opacity='.07' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1'><g transform='translate(8 10) rotate(-18)'><path d='M20 4c9 6 12 16 0 30C8 20 11 10 20 4z'/></g><g transform='translate(74 2) rotate(24)'><path d='M20 4c9 6 12 16 0 30C8 20 11 10 20 4z'/></g><g transform='translate(132 34) rotate(-8)'><path d='M20 4c9 6 12 16 0 30C8 20 11 10 20 4z'/></g><g transform='translate(40 68) rotate(48)'><path d='M20 4c9 6 12 16 0 30C8 20 11 10 20 4z'/></g><g transform='translate(104 92) rotate(-38)'><path d='M20 4c9 6 12 16 0 30C8 20 11 10 20 4z'/></g><g transform='translate(6 116) rotate(12)'><path d='M20 4c9 6 12 16 0 30C8 20 11 10 20 4z'/></g><g transform='translate(146 128) rotate(30)'><path d='M20 4c9 6 12 16 0 30C8 20 11 10 20 4z'/></g><g transform='translate(66 134) rotate(-26)'><path d='M20 4c9 6 12 16 0 30C8 20 11 10 20 4z'/></g></g></svg>");
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background-color: var(--cream);
    color: var(--black);
    font-family: "Exo 2", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: "Unbounded", sans-serif;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 16px;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; margin-bottom: 28px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }

p { margin: 0 0 16px; }

a { color: var(--accent-dark); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease;
}

.btn--main {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(95, 138, 24, .3);
}

.btn--main:hover { background-color: var(--accent-dark); }

.btn--ghost {
    background-color: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: var(--white);
}

.btn--ghost:hover { background-color: rgba(255, 255, 255, .12); }

.btn--light {
    background-color: var(--white);
    border-color: var(--grey);
    color: var(--black);
}

.btn--light:hover { background-color: var(--panel); }

/* ——— шапка и первый экран ——— */

.top {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-color: var(--brand);
    background-image:
        radial-gradient(90% 130% at 10% -20%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(80% 140% at 92% 120%, rgba(37, 78, 6, .55) 0%, rgba(37, 78, 6, 0) 62%),
        linear-gradient(115deg, var(--brand-light) 0%, var(--brand) 52%, var(--brand-dark) 100%);
}

.top::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--leaves);
    background-size: 200px 200px;
    pointer-events: none;
}

.top .wrap { position: relative; z-index: 1; }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: "Unbounded", sans-serif;
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--white);
    text-decoration: none;
}

.logo svg { flex-shrink: 0; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.nav__links a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
}

.nav__links a:hover { color: var(--white); }

.hero {
    padding: 40px 0 60px;
    max-width: 760px;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, .92);
    margin-bottom: 30px;
}

.hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.hero__note {
    font-size: .95rem;
    color: rgba(255, 255, 255, .78);
}

.hero__shot {
    position: relative;
    z-index: 1;
    margin: 0 auto -90px;
    max-width: 1000px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(20, 30, 10, .3);
}

.hero__shot img { display: block; width: 100%; }

/* ——— секции ——— */

section { padding: 70px 0; }

section.pad-top { padding-top: 140px; }

.lead {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.card {
    padding: 26px 28px;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.card p { margin-bottom: 0; color: var(--muted); }

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--accent-soft);
    color: var(--accent-dark);
    margin-bottom: 16px;
}

/* ——— показ экранов ——— */

.shots { display: grid; gap: 40px; }

.shot {
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.shot img { display: block; width: 100%; }

.shot__cap {
    padding: 18px 24px;
    color: var(--muted);
    font-size: .95rem;
}

.shot__cap b { color: var(--black); font-weight: 600; }

/* ——— тарифы ——— */

.tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }

.tariff {
    padding: 26px;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.tariff__size { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }

.tariff__price {
    font-family: "Unbounded", sans-serif;
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.tariff__year { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.tariff--accent {
    background-color: var(--accent);
    color: var(--white);
}

.tariff--accent .tariff__size,
.tariff--accent .tariff__year { color: rgba(255, 255, 255, .85); }

.note {
    margin-top: 26px;
    padding: 18px 22px;
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background-color: var(--accent-soft);
    color: #3d4a1e;
}

/* ——— шаги ——— */

.steps { counter-reset: step; display: grid; gap: 18px; }

.step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 26px;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--white);
    font-family: "Unbounded", sans-serif;
}

.step p { margin: 6px 0 0; color: var(--muted); }

/* ——— вопросы ——— */

.faq { display: grid; gap: 14px; }

.faq details {
    padding: 20px 24px;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details[open] summary { margin-bottom: 12px; }

.faq p { margin: 0; color: var(--muted); }

/* ——— призыв и подвал ——— */

.cta {
    padding: 54px;
    border-radius: 24px;
    color: var(--white);
    background-color: var(--brand);
    background-image:
        radial-gradient(90% 130% at 15% -10%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(115deg, var(--brand-light) 0%, var(--brand) 55%, var(--brand-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--leaves);
    background-size: 200px 200px;
}

.cta > * { position: relative; z-index: 1; }

.cta h2 { margin-bottom: 12px; }

.cta p { color: rgba(255, 255, 255, .9); max-width: 620px; }

footer {
    padding: 34px 0 46px;
    color: var(--muted);
    font-size: .92rem;
}

.footer__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 700px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.5rem; }
    body { font-size: 16px; }
    section { padding: 48px 0; }
    section.pad-top { padding-top: 90px; }
    .hero { padding: 24px 0 44px; }
    .hero__shot { margin-bottom: -50px; }
    .cta { padding: 32px 24px; }
    .nav__links { display: none; }
}

/* ——— Заявка ——— */

.apply-form {
    max-width: 720px;
    margin: 26px auto 0;
    text-align: left;
}

.apply__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.apply__field {
    display: block;
    margin-bottom: 16px;
}

.apply__field > span {
    display: block;
    margin-bottom: 6px;
    font-size: .92rem;
    color: rgba(255, 255, 255, .82);
}

.apply__field i {
    font-style: normal;
    color: #eac800;
    margin-left: 2px;
}

.apply__field input,
.apply__field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font: inherit;
}

.apply__field input::placeholder,
.apply__field textarea::placeholder {
    color: rgba(255, 255, 255, .55);
}

.apply__field input:focus,
.apply__field textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, .18);
}

.apply__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.apply__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.apply__status {
    margin-top: 14px;
    font-size: .95rem;
}

.apply__status--ok {
    color: #d9f0b8;
}

.apply__status--err {
    color: #ffd7d2;
}

.apply__small {
    margin-top: 16px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
}

.apply__small a {
    color: #fff;
}

@media (max-width: 860px) {
    .apply__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
