:root {
    --ink: #14231c;
    --ink-soft: #3a4d43;
    --forest: #1f4a38;
    --moss: #3f7a58;
    --leaf: #6fa37f;
    --mist: #e7f0ea;
    --snow: #f5f8f4;
    --timber: #8a6a45;
    --cream: #fbf7ef;
    --line: color-mix(in srgb, var(--forest) 14%, transparent);
    --shadow: 0 24px 60px color-mix(in srgb, var(--ink) 16%, transparent);
    --radius: 1.25rem;
    --shell: min(1120px, calc(100% - 2.5rem));
    --font: "Manrope", system-ui, sans-serif;
    --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-bottom: 5rem;
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(ellipse 70% 40% at 100% 0%, color-mix(in srgb, var(--leaf) 18%, transparent), transparent 60%),
        radial-gradient(ellipse 50% 30% at 0% 20%, color-mix(in srgb, var(--timber) 12%, transparent), transparent 55%),
        var(--snow);
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--forest);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--moss);
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1rem;
    color: var(--ink-soft);
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--forest);
    color: white;
    padding: 0.75rem 1rem;
    z-index: 100;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.75rem 1.35rem;
    border: 0;
    border-radius: 999px;
    background: var(--forest);
    color: #f4faf6;
    font: 600 0.95rem/1 var(--font);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--forest) 28%, transparent);
}

.btn:hover {
    background: #163a2c;
    color: #fff;
    transform: translateY(-1px);
}

.btn-ghost {
    background: color-mix(in srgb, white 14%, transparent);
    color: #f7fbf8;
    border: 1px solid color-mix(in srgb, white 45%, transparent);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: color-mix(in srgb, white 24%, transparent);
    color: #fff;
}

.btn-sm {
    min-height: 2.4rem;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: color-mix(in srgb, var(--snow) 82%, transparent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: color-mix(in srgb, var(--snow) 92%, transparent);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 4.25rem;
}

.brand img {
    height: 42px;
    width: auto;
}

.nav-desktop {
    display: none;
    gap: 1rem;
    margin-left: auto;
}

.nav-desktop a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-desktop a:hover {
    color: var(--forest);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.phone-link {
    display: none;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 1rem;
    height: 2px;
    background: var(--ink);
}

.site-menu {
    width: min(22rem, calc(100% - 1.5rem));
    margin: 4.5rem auto auto;
    padding: 1rem;
    border: 0;
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.site-menu::backdrop {
    background: color-mix(in srgb, var(--ink) 35%, transparent);
}

.site-menu:not([open]) {
    display: none;
}

.site-menu-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.site-menu-links {
    display: grid;
    gap: 0.35rem;
}

.site-menu-links a {
    text-decoration: none;
    color: var(--ink);
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    font-weight: 500;
}

.site-menu-links a:hover {
    background: var(--mist);
}

.site-menu-links .btn {
    margin-top: 0.5rem;
    color: #f4faf6;
}

.hero {
    position: relative;
    min-height: min(100vh, 920px);
    display: grid;
    align-items: end;
    color: #f7fbf8;
    overflow: clip;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--ink) 18%, transparent) 0%, color-mix(in srgb, var(--ink) 72%, transparent) 100%),
        linear-gradient(90deg, color-mix(in srgb, var(--forest) 45%, transparent), transparent 55%);
}

.hero-content {
    position: relative;
    padding: 7rem 0 4rem;
}

.hero-kicker,
.eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-kicker {
    color: color-mix(in srgb, white 78%, transparent);
}

.eyebrow {
    color: var(--moss);
}

.hero h1 {
    max-width: 12ch;
    color: #fff;
    text-wrap: balance;
}

.hero-lead {
    max-width: 34rem;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: color-mix(in srgb, white 86%, transparent);
}

.hero-proof {
    margin: -0.35rem 0 0;
    font-size: 0.95rem;
    color: color-mix(in srgb, white 78%, transparent);
}

.hero-proof a {
    color: #fff;
    font-weight: 700;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.75rem 0 2.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    max-width: 40rem;
}

.hero-stats div {
    padding-top: 0.85rem;
    border-top: 1px solid color-mix(in srgb, white 28%, transparent);
}

.hero-stats dt {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, white 65%, transparent);
}

.hero-stats dd {
    margin: 0.25rem 0 0;
    font-family: var(--display);
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    color: #fff;
}

.section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.section-lead {
    font-size: 1.05rem;
}

.split {
    display: grid;
    gap: 2rem;
}

.checklist,
.steps,
.contact-list {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.checklist li,
.steps li {
    position: relative;
    padding-left: 1.5rem;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--moss);
}

.about-figure {
    margin: 0;
    border-radius: calc(var(--radius) + 0.25rem);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 280px;
}

.about-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.promo {
    display: grid;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--forest) 92%, black), color-mix(in srgb, var(--moss) 80%, var(--timber)));
    color: #f4faf6;
    box-shadow: var(--shadow);
}

.promo h3,
.promo p {
    color: inherit;
}

.promo-label {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.8;
}

.fine {
    font-size: 0.85rem;
    opacity: 0.78;
}

.pay-grid,
.feature-grid,
.video-grid {
    display: grid;
    gap: 1rem;
}

.pay-grid article,
.feature-grid article {
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, white 70%, var(--mist));
}

.feature-card {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.feature-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.feature-icon {
    width: 3.1rem;
    height: 3.1rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--moss), var(--forest));
    color: #f4faf6;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--forest) 28%, transparent);
}

.feature-icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.pay-grid article p,
.feature-card p {
    margin: 0;
    padding-left: 0.1rem;
    color: var(--ink-soft);
}

.gallery-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #d7e2db;
    min-height: 180px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-grid figure:hover img {
    transform: scale(1.03);
}

.btn-telegram {
    background: #229ed9;
    box-shadow: 0 10px 30px color-mix(in srgb, #229ed9 35%, transparent);
}

.btn-telegram:hover {
    background: #1b86b8;
}

.btn-soft {
    background: color-mix(in srgb, var(--mist) 80%, white);
    color: var(--forest);
    box-shadow: none;
    border: 1px solid var(--line);
}

.btn-soft:hover {
    background: var(--mist);
    color: var(--forest);
}

.lead-card .btn-block + .btn-block {
    margin-top: 0.65rem;
}

.mobile-cta {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--cream) 92%, transparent);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.mobile-cta a {
    display: grid;
    place-items: center;
    min-height: 2.7rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: var(--forest);
}

.mobile-cta a.is-primary {
    background: var(--forest);
    color: #f4faf6;
}

.genplan {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #dfe8e2;
}

.genplan img {
    width: 100%;
    max-height: 640px;
    object-fit: cover;
    object-position: center;
}

.genplan-overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ink) 55%, transparent));
}

.tabs {
    display: grid;
    gap: 1rem;
}

.tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab-list button {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink-soft);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font: 600 0.9rem/1 var(--font);
    cursor: pointer;
}

.tab-list button[aria-selected="true"] {
    background: var(--forest);
    border-color: var(--forest);
    color: #f4faf6;
}

.embed-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #111;
    aspect-ratio: 16 / 10;
}

.embed-frame iframe,
.map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.more-link {
    margin-top: 1rem;
}

.steps {
    counter-reset: step;
}

.steps li {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 1rem 1rem 3.25rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: white;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mist);
    color: var(--forest);
    font-weight: 700;
    font-size: 0.85rem;
}

.steps strong {
    color: var(--ink);
}

.steps span {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.lead-card {
    padding: 1.5rem;
    border-radius: calc(var(--radius) + 0.15rem);
    background: var(--cream);
    border: 1px solid color-mix(in srgb, var(--timber) 22%, transparent);
    box-shadow: var(--shadow);
}

.lead-form {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid color-mix(in srgb, var(--timber) 18%, transparent);
}

.lead-form label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    font: 400 1rem/1.4 var(--font);
    background: white;
    color: var(--ink);
}

.lead-form input:focus,
.lead-form textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--moss) 45%, transparent);
    border-color: var(--moss);
}

.form-note,
.form-status {
    margin: 0;
    font-size: 0.88rem;
}

.form-status.is-ok {
    color: var(--forest);
}

.contacts address {
    font-style: normal;
    margin-bottom: 1.25rem;
    color: var(--ink-soft);
}

.contact-list a {
    text-decoration: none;
    font-weight: 600;
    color: var(--ink);
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.socials a {
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.map-embed {
    position: relative;
    min-height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #d7e0da;
}

.map-embed iframe {
    position: absolute;
}

.site-footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;
    gap: 0.5rem;
}

.footer-inner p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-note {
    opacity: 0.75;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.9s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.32s; }
.reveal-delay-4 { animation-delay: 0.44s; }

@keyframes rise {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hero-drift {
    to {
        transform: scale(1.1) translate3d(-1.5%, -1%, 0);
    }
}

@media (min-width: 760px) {
    body {
        padding-bottom: 0;
    }

    .mobile-cta {
        display: none;
    }

    .nav-toggle {
        display: none;
    }

    .phone-link {
        display: inline;
    }

    .header-actions {
        margin-left: 0;
    }

    .nav-desktop {
        display: flex;
    }

    .split,
    .promo,
    .contacts-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2.5rem;
        align-items: start;
    }

    .pay-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid figure:nth-child(1),
    .gallery-grid figure:nth-child(6) {
        grid-column: span 2;
    }

    .gallery-grid figure:nth-child(1) img,
    .gallery-grid figure:nth-child(6) img {
        min-height: 260px;
    }

    .video-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 980px) {
    .hero-content {
        padding-bottom: 5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .hero-media img {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
