:root {
    --bg: #0b0d11;
    --surface: #121721;
    --surface-2: #1a2130;
    --text: #f4f7fb;
    --muted: #aab3c2;
    --accent: #ffb000;
    --accent-2: #20c997;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 176, 0, 0.20), transparent 28rem),
        radial-gradient(circle at 90% 10%, rgba(32, 201, 151, 0.14), transparent 24rem),
        linear-gradient(180deg, #090b10 0%, #101622 45%, #090b10 100%);
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(8, 10, 14, 0.62);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.logo span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #161000;
    background: linear-gradient(135deg, var(--accent), #ffe08a);
}

.top-phone {
    padding: 9px 12px;
    border-radius: 999px;
    color: #07110d;
    background: var(--accent-2);
    font-size: 14px;
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    isolation: isolate;
}

.hero picture,
.hero img,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero img { object-fit: cover; }
.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.82)),
        linear-gradient(90deg, rgba(0,0,0,0.85), transparent 68%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    padding: 150px 0 80px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 900;
}

h1, h2, p { margin-top: 0; }
h1 {
    max-width: 780px;
    margin-bottom: 18px;
    font-size: clamp(42px, 12vw, 92px);
    line-height: 0.92;
    letter-spacing: -0.075em;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 7vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.lead {
    max-width: 650px;
    color: #dce3ec;
    font-size: clamp(18px, 4vw, 22px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    min-height: 50px;
    padding: 14px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
}

.button.primary {
    color: #151000;
    background: var(--accent);
}

.button.ghost {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.08);
}

.hero-price {
    position: absolute;
    right: max(14px, calc((100vw - 1120px) / 2));
    bottom: 18px;
    z-index: 3;
    width: 200px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(12, 15, 22, 0.78);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-price span,
.hero-price small {
    display: block;
    color: var(--muted);
}

.hero-price strong {
    display: block;
    margin: 2px 0;
    color: var(--accent);
    font-size: 28px;
    line-height: 1;
}

.feature-strip {
    width: min(1120px, calc(100% - 28px));
    margin: 14px auto 0;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.feature-strip article {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(18, 23, 33, 0.88);
    backdrop-filter: blur(18px);
    font-weight: 800;
}

.section {
    width: min(1120px, calc(100% - 28px));
    margin: 84px auto 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 22px;
}

.section-head p:not(.eyebrow) { color: var(--muted); }

.price-grid,
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.price-card,
.info-card {
    min-height: 150px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--surface), var(--surface-2));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.20);
}

.price-card.featured,
.info-card.featured {
    border-color: rgba(255, 176, 0, 0.55);
    background: linear-gradient(160deg, rgba(255, 176, 0, 0.22), var(--surface));
}

.price-card span,
.price-card small,
.info-card span,
.info-card small {
    color: var(--muted);
}

.price-card strong,
.info-card strong {
    display: block;
    margin: 12px 0 8px;
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.gallery-box {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #05070a;
    box-shadow: var(--shadow);
}

.gallery-stage { margin: 0; }
.gallery-stage img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-stage figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 13px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    padding: 0 0 5px 0;

    border: 1px solid var(--border);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: rgba(0,0,0,.46);

    font-size: 28px;
    line-height: 42px;
    font-family: Arial, sans-serif;

    transform: translateY(-50%);
    cursor: pointer;
}

.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }

.gallery-nav.prev {
    padding-left: 0;
    padding-right: 2px;
}

.gallery-nav.next {
    padding-left: 2px;
    padding-right: 0;
}

.thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px 0 4px;
}

.thumbs button {
    flex: 0 0 90px;
    width: 90px;
    height: 68px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    opacity: 0.58;
    transition: opacity .2s, border-color .2s;
}

.thumbs button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.thumbs button.is-active {
    border-color: var(--accent);
    opacity: 1;
}

.thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.districts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.districts a {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #dce3ec;
    font-weight: 750;
}

.map-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.map-frame iframe {
    width: 100%;
    height: min(78vh, 620px);
    min-height: 420px;
    border: 0;
    display: block;
}

.video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 1rem;
    overflow: hidden;
}

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

.contacts {
    width: min(1120px, calc(100% - 28px));
    margin: 84px auto 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.22), transparent 22rem),
        linear-gradient(160deg, var(--surface), #0e141f);
    display: grid;
    gap: 24px;
}

.contacts p:not(.eyebrow) { color: var(--muted); }

.phone-list {
    display: grid;
    gap: 12px;
}

.phone-list a {
    padding: 17px 18px;
    border-radius: 18px;
    background: var(--accent);
    color: #171000;
    font-size: 19px;
    font-weight: 900;
    text-align: center;
}

.footer {
    width: min(1120px, calc(100% - 28px));
    margin: 48px auto 0;
    padding: 24px 0 36px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.footer a { color: var(--accent); font-weight: 800; }

@media (max-width: 719px) {
    .hero-content { padding-bottom: 24px; }
    .hero-price { display: none; }
}

@media (min-width: 720px) {
    .feature-strip {
        margin: -70px auto 0;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-right: 230px;
    }

    .price-grid,
    .info-grid { grid-template-columns: repeat(3, 1fr); }
    .contacts { grid-template-columns: 1fr 390px; align-items: center; padding: 38px; }
    .gallery-stage img { aspect-ratio: 16 / 9; }
}

@media (min-width: 1200px) {
    .hero { min-height: 720px; }
}

/*Табличка прайсу*/

.price-table-wrapper {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
            radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.16), transparent 22rem),
            linear-gradient(160deg, var(--surface), var(--surface-2));
    box-shadow: var(--shadow);
}

.price-table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(255, 255, 255, 0.08);
}

.price-table-scroll::-webkit-scrollbar {
    height: 10px;
}

.price-table-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.price-table-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--accent), #ffe08a);
    border-radius: 999px;
}

.price-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    table-layout: auto;
}

.price-table th,
.price-table td {
    padding: 16px 18px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}

.price-table th:not(:last-child),
.price-table td:not(:last-child) {
    border-right: 1px solid var(--border);
}

.price-table th {
    color: var(--accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(255, 255, 255, 0.04);
}

.price-table td {
    color: #dce3ec;
    font-size: 18px;
    font-weight: 750;
}

.price-table th:first-child,
.price-table td:first-child {
    width: 1%;
}

.price-table th:nth-child(2),
.price-table th:nth-child(3),
.price-table th:nth-child(4),
.price-table td:nth-child(2),
.price-table td:nth-child(3),
.price-table td:nth-child(4) {
    width: 33.333%;
}

.price-table td:first-child {
    color: var(--text);
    font-weight: 900;
}

.price-table tr:last-child td {
    border-bottom: 0;
}

.price-table tbody tr {
    transition: background .2s;
}

.price-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 719px) {
    .price-table-wrapper {
        border-radius: 20px;
    }

    .price-table {
        width: max-content;
        min-width: 100%;
    }

    .price-table th,
    .price-table td {
        padding: 14px 16px;
    }

    .price-table td {
        font-size: 16px;
    }
}