:root {
    --bg: #0b0f1a; /* тёмный фон */
    --fg: #ffffff; /* основной текст */
    --muted: #b9c0d0; /* вторичный текст */
    --brand: #ffb703; /* акцент (жёлтый) */
    --brand-2: #f77f00; /* акцент 2 (оранжевый) */
    --card: #111725; /* карточки */
    --ok: #22c55e;
    --warn: #f59e0b;
    --error: #ef4444;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    scroll-behavior: smooth
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(1400px, 92vw);
    margin-inline: auto
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--brand);
    color: #111;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: .25s transform, .25s box-shadow
}

.btn.tg {
    background: #1c93e3;
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .35)
}

.btn.alt {
    background: var(--brand-2);
    color: #111
}

.btn.ghost {
    background: transparent;
    color: var(--fg);
    border: 1px solid #2a3142
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #2a3142;
    border-radius: 999px;
    color: var(--muted);
    font-size: .85rem
}

.section {
    padding: 50px 0
}

h1, h2, h3 {
    line-height: 1.15;
    margin: 0 0 14px
}

h2 {
    font-size: clamp(28px, 4vw, 38px)
}

p {
    color: var(--muted);
    margin: 0 0 12px;
    font-size: 1.05rem
}

#page {
    /*background: url('bg.webp') center/auto repeat;*/
    background-image: url('images/bg.png');
    background-repeat: repeat;
    background-size: auto;
}

/* Навбар */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 15, 26, .6);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid #1b2334
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 800
}

.brand .logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    display: grid;
    place-items: center;
    color: #111;
    font-weight: 900
}

.nav a {
    opacity: .9
}

.nav-menu {
    display: flex;
    gap: 18px;
    align-items: center
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center
}

.phone {
    font-weight: 800;
    letter-spacing: .2px
}

/* Хиро */
.hero {
    position: relative;
    min-height: 78vh;
    display: grid;
    place-items: center;
    isolation: isolate
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: url('bg.webp') center/cover no-repeat;*/
    /*opacity: .35;*/
    z-index: -2;
    /*background:*/
    /*        linear-gradient(rgba(0, 255, 240, 0.12), rgba(0, 255, 240, 0.12)),*/
    /*        url('bg.webp') center/cover no-repeat;*/
    /*filter: saturate(1.05) brightness(0.95);*/
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background: radial-gradient(1200px 600px at 10% 15%, rgba(255, 183, 3, .35), transparent 60%), linear-gradient(180deg, rgba(11, 15, 26, .4), rgba(11, 15, 26, .95));*/
    z-index: -1
}

.hero-grid {
    display: grid;
    grid-template-columns:1.15fr .85fr;
    gap: 40px;
    align-items: center
}

.kpi {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px
}

.kpi .chip {
    background: #121a2b;
    border: 1px solid #222b40;
    border-radius: 999px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    color: #c9d2e3
}

/* Карточки преимуществ */
.cards {
    margin-top: 26px;
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 16px
}

.card {
    background: var(--card);
    border: 1px solid #1c2436;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    min-height: 120px
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px
}

.card p {
    font-size: .95rem;
    margin: 0
}

/* Блок услуги/цены */
.grid-3 {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

.price {
    background: linear-gradient(180deg, #121a2b, #0f1524);
    border: 1px solid #1f2740;
    border-radius: var(--radius);
    padding: 22px
}

.price h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price .amt {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand);
    flex-shrink: 0;
}

.price ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color: var(--muted)
}

/* Галерея */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px
}

.gallery figure {
    margin: 0;
    border-radius: 14px;
    border: 1px solid #1b2334;
    aspect-ratio: 1000/810;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.gallery .tall {
    grid-row: span 2
}

/* Отзывы */
.reviews {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 16px
}

.review {
    background: #0f1524;
    border: 1px solid #202a44;
    border-radius: var(--radius);
    padding: 18px
}

.stars {
    color: var(--brand)
}

/* Контакты */
.contact-wrap {
    display: grid;
    gap: 20px
}

.form {
    background: #0f1524;
    border: 1px solid #1e2741;
    border-radius: var(--radius);
    padding: 16px
}

.input {
    width: 100%;
    background: #0c1222;
    border: 1px solid #1d2742;
    color: var(--fg);
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 10px
}

.input::placeholder {
    color: #6f7b95
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    border-radius: 14px
}

/* Футер */
footer {
    border-top: 1px solid #1a2236;
    padding: 22px 0;
    color: #9eabc3
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center
}

.btns-holder {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btns-holder a {
    flex-basis: calc(50% - 6px);
}

.btns-holder a.fullw {
    flex-basis: 100%;
}

/* Мелочи */
.muted {
    color: var(--muted)
}

.divider {
    height: 1px;
    background: #182039;
    margin: 20px 0
}

.whatsapp-sticky {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60
}

.scrolltop {
    position: fixed;
    right: 26px;
    bottom: 86px;
    opacity: .85
}

.hide-on-mobile {
    display: block
}

/* Адаптив */
@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns:1fr
    }

    .cards {
        grid-template-columns:repeat(2, 1fr)
    }

    .grid-3 {
        grid-template-columns:1fr 1fr
    }

    .gallery {
        grid-template-columns:1fr 1fr;
        gap: 10px
    }

    .contact-wrap {
        grid-template-columns:1fr
    }
    .nav-menu {
        display: none;
    }
}
@media (max-width: 700px) {
    .btns-holder a {
        flex-basis: 100%;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        display: none
    }

    .hide-on-mobile {
        display: none
    }

    .cards {
        grid-template-columns:1fr
    }

    .grid-3 {
        grid-template-columns:1fr
    }

    .reviews {
        grid-template-columns:1fr
    }
    .whatsapp-sticky {
        left: 0;
        bottom: 0;
        z-index: 60;
        border-radius: 0;
        width: 100%;
        justify-content: center;
    }
    footer {
        padding-bottom: 60px;
    }
}

@media (max-width: 400px) {
    .price h3 {
        flex-direction: column;
        align-items: flex-start;
    }

}