:root {
    --bg: #1B242D;
    --bg2: #121920;
    --card: rgba(243, 245, 247, .08);
    --card2: rgba(243, 245, 247, .04);
    --line: rgba(243, 245, 247, .16);
    --text: #F3F5F7;
    --muted: rgba(243, 245, 247, .78);
    --accent: #F68F1F;
    --accent2: #F68F1F;
    --shadow: 0 18px 60px rgba(0, 0, 0, .45);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: radial-gradient(1100px 700px at 18% 10%, rgba(246, 143, 31, .10), transparent 60%),
        radial-gradient(900px 650px at 80% 20%, rgba(246, 143, 31, .08), transparent 60%),
        linear-gradient(180deg, var(--bg), var(--bg2));
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
    letter-spacing: .1px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease, background-color .2s ease;
}

a:hover {
    opacity: 1;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(246, 143, 31, .75);
    outline-offset: 3px;
}

section[id] {
    scroll-margin-top: 78px;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 18px;
}

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(27, 36, 45, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(243, 245, 247, .14);
}

.top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 160px;
}

.brand__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(243, 245, 247, .10);
    border: 1px solid rgba(243, 245, 247, .18);
}

.brand__name {
    font-weight: 900;
    letter-spacing: 1.3px;
    font-size: 18px;
}

.brand__tag {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

.nav a {
    padding: 8px 10px;
    border-radius: 10px;
}

.nav a:hover {
    background: rgba(246, 143, 31, .16);
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(243, 245, 247, .20);
    font-weight: 800;
    font-size: 14px;
    user-select: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn--primary {
    color: #1B242D;
    border: 1px solid rgba(246, 143, 31, .85);
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    box-shadow: 0 12px 30px rgba(246, 143, 31, .35);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(246, 143, 31, .45);
}

.btn--ghost {
    color: var(--text);
    background: rgba(243, 245, 247, .08);
}

.btn--ghost:hover {
    border-color: rgba(246, 143, 31, .55);
    background: rgba(246, 143, 31, .12);
}

.hero {
    padding: 64px 0 26px;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.35fr .95fr;
    gap: 26px;
    align-items: start;
}

.kicker {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2.3px;
    font-size: 12px;
}

h1 {
    margin: 12px 0 0;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.8px;
}

.accent {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin: 14px 0 0;
    color: var(--muted);
    max-width: 62ch;
    line-height: 1.55;
    font-size: 16px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.chip {
    padding: 8px 10px;
    font-size: 13px;
    color: rgba(243, 245, 247, .90);
    background: rgba(243, 245, 247, .08);
    border: 1px solid rgba(243, 245, 247, .18);
    border-radius: 999px;
}

.media-box {
    border-radius: 18px;
    border: 1px solid rgba(243, 245, 247, .16);
    background: linear-gradient(180deg, rgba(243, 245, 247, .08), rgba(243, 245, 247, .04));
    box-shadow: var(--shadow);
    padding: 18px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.media-box--tall {
    min-height: 320px;
}

.media-box__title {
    font-weight: 850;
    letter-spacing: .2px;
}

.media-box__hint {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    max-width: 34ch;
}

.media-box__image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(243, 245, 247, .18);
}

.stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
}

.stat {
    border-radius: 16px;
    border: 1px solid rgba(243, 245, 247, .14);
    background: rgba(243, 245, 247, .07);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat__num {
    font-weight: 900;
    font-size: 18px;
    width: 64px;
    text-align: center;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(246, 143, 31, .18);
    border: 1px solid rgba(246, 143, 31, .45);
}

.stat__text {
    color: rgba(243, 245, 247, .88);
    font-size: 14px;
}

.section {
    padding: 52px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #141c24;
}

.section--alt {
    background: #1a232d;
    border-top: 1px solid rgba(243, 245, 247, .10);
    border-bottom: 1px solid rgba(243, 245, 247, .10);
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section__head h2 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.2px;
    position: relative;
    padding-left: 14px;
}

.section__head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: var(--accent);
}

.muted {
    color: var(--muted);
    line-height: 1.55;
}

.grid {
    display: grid;
    gap: 16px;
}

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

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

.card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    box-shadow: var(--shadow);
    padding: 16px;
}

.card__top h3 {
    margin: 0;
    font-size: 18px;
}

.card__top p {
    margin: 8px 0 0;
}

.card__top--services {
    min-height: 120px;
}

.service-image {
    margin-top: 12px;
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(243, 245, 247, .18);
}

.placeholder {
    margin-top: 12px;
    height: 160px;
    border-radius: 14px;
    border: 1px dashed rgba(246, 143, 31, .55);
    background:
        radial-gradient(600px 200px at 70% 0%, rgba(246, 143, 31, .18), transparent 60%),
        rgba(255, 255, 255, .03);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    color: rgba(243, 245, 247, .85);
    font-size: 13px;
}

.placeholder--big {
    height: 170px;
    min-width: 260px;
}

.build-mark {
    min-height: 170px;
    border-radius: 14px;
    border: 1px solid rgba(246, 143, 31, .35);
    background: radial-gradient(circle at 70% 20%, rgba(246, 143, 31, .22), transparent 48%), linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.build-mark span { color: var(--accent); font-size: 42px; font-weight: 900; letter-spacing: 2px; }
.build-mark b { font-size: 13px; color: var(--muted); }

.list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: rgba(243, 245, 247, .90);
    line-height: 1.55;
}

.service-detail {
    margin-top: 22px;
    border-radius: 18px;
    border: 1px solid rgba(243, 245, 247, .14);
    background: rgba(243, 245, 247, .04);
    padding: 16px;
    position: relative;
    z-index: 0;
}

.service-detail h3 {
    margin: 0;
}

.card--row {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    align-items: stretch;
    gap: 14px;
}

.card--row .placeholder {
    margin-top: 0;
    height: auto;
}

.card__content h3 {
    margin: 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tags span {
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(243, 245, 247, .08);
    border: 1px solid rgba(243, 245, 247, .16);
    font-size: 12px;
    color: rgba(243, 245, 247, .86);
}

.steps {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.step {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(243, 245, 247, .14);
    background: rgba(243, 245, 247, .05);
}

.step__num {
    font-weight: 900;
    letter-spacing: .8px;
    width: 54px;
    text-align: center;
    padding: 10px 10px;
    border-radius: 14px;
    border: 1px solid rgba(246, 143, 31, .45);
    background: rgba(246, 143, 31, .18);
}

.step__title {
    font-weight: 850;
    margin-bottom: 4px;
}

.note {
    margin-top: 18px;
    border-radius: 18px;
    border: 1px solid rgba(246, 143, 31, .45);
    background: linear-gradient(90deg, rgba(246, 143, 31, .18), rgba(246, 143, 31, .08));
    padding: 16px;
}

.note__title {
    font-weight: 900;
    margin-bottom: 6px;
}

.note__text {
    color: rgba(243, 245, 247, .90);
    line-height: 1.5;
}

.contact {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 22px;
}

.contact__left h3 {
    margin: 0 0 12px;
}

.contact__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(243, 245, 247, .12);
}

.contact__row:first-of-type {
    border-top: none;
}

.contact__label {
    color: var(--muted);
}

.contact__value {
    font-weight: 800;
}

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.contact__right {
    display: grid;
    gap: 12px;
}

.tg-form h3 {
    margin: 0;
}

.tg-form .muted {
    margin: 8px 0 0;
}

.tg-field {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.tg-field span {
    font-size: 13px;
    color: var(--muted);
}

.tg-field input,
.tg-field textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(243, 245, 247, .18);
    background: rgba(243, 245, 247, .06);
    color: var(--text);
    padding: 10px 12px;
    font: inherit;
}

.tg-field input::placeholder,
.tg-field textarea::placeholder {
    color: rgba(243, 245, 247, .55);
}

.tg-field input:focus,
.tg-field textarea:focus {
    outline: none;
    border-color: rgba(246, 143, 31, .65);
    box-shadow: 0 0 0 3px rgba(246, 143, 31, .18);
}

.tg-form .btn {
    width: 100%;
    margin-top: 14px;
}

.tg-consent {
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}

.tg-consent input {
    margin-top: 2px;
    accent-color: var(--accent);
}

.tg-consent a, .footer-links a, .legal-page a {
    color: #ffad55;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-status { min-height: 20px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }

.privacy-note { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.privacy-note a { color: #ffad55; text-decoration: underline; text-underline-offset: 3px; }

.delivery-card__icon {
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
    background: rgba(246, 143, 31, .18); border: 1px solid rgba(246, 143, 31, .5);
    color: var(--accent); font-size: 34px; font-weight: 900;
}

.small {
    margin-top: 12px;
    font-size: 12px;
}

.footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(243, 245, 247, .12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.tg-form.card {
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.site-footer {
    margin-top: 16px;
    padding: 30px 20px;
    background: #121920;
    border-top: 1px solid rgba(243, 245, 247, .12);
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .35);
}

.tg-form {
    box-shadow: none;
}

.site-footer .legal {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, .25);
}

.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.yandex-iq { display: inline-block; margin-top: 16px; line-height: 0; border-radius: 8px; overflow: hidden; }
.yandex-iq img { display: block; border: 0; }
.legal-page { max-width: 860px; padding-top: 46px; padding-bottom: 64px; }
.legal-page h1 { font-size: clamp(32px, 6vw, 48px); }
.legal-page h2 { margin-top: 30px; font-size: 21px; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.65; }
.legal-page .card { margin-top: 24px; }

@media (max-width: 980px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

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

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

    .card--row {
        grid-template-columns: 1fr;
    }

    .placeholder--big {
        min-width: auto;
        height: 160px;
    }

    .section__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        display: none;
    }

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

    /* чтобы на мобиле не мешало */
    h1 {
        font-size: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
