@import url("theme.css");

:root {
    --brand: #f5c400;
    --brand-dark: #d9ae00;
    --brand-soft: #fff8d6;
    --orange: #f5c400;
    --ink: #1a1d2b;
    --nav: #575757;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background-color: #fffdf8;
    background-image: radial-gradient(ellipse 90% 42% at 50% -8%, rgba(255, 236, 170, .35), transparent 58%);
}
.main { background: transparent; }
body::before {
    content: "натяжные потолки";
    position: fixed;
    top: 0;
    right: 10px;
    bottom: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: Unbounded, Arial, sans-serif;
    font-size: clamp(15px, 1.35vw, 22px);
    font-weight: 800;
    letter-spacing: .55em;
    text-transform: lowercase;
    color: rgba(26, 29, 43, .11);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}
@media (max-width: 767px) {
    body::before {
        right: 4px;
        font-size: 13px;
        letter-spacing: .42em;
        color: rgba(26, 29, 43, .08);
    }
}

img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}
@media (min-width: 1200px) {
    .container { width: 1300px; max-width: 1300px; }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #111 !important;
    border: 0;
    border-radius: 3px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: .2s;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* Header / Hestia-like */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,.08);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 20px;
}
.brand img { width: 180px; height: auto; }
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: #333;
    border-radius: 2px;
}
.menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu > li { position: relative; }
.nav-ico { flex-shrink: 0; display: block; }
.menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--nav);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    transition: background .2s, color .2s, box-shadow .2s;
}
.menu > li > a:hover,
.menu > li.is-current > a,
.menu > li.has-sub:hover > a {
    color: #111;
    background: var(--brand-soft);
}
.menu > .has-sub > a .nav-ico:last-child {
    width: 16px;
    height: 16px;
    margin-left: -2px;
    transition: transform .2s;
}
.menu > .has-sub:hover > a .nav-ico:last-child { transform: rotate(180deg); }
.menu .has-sub > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    padding: 10px;
    margin: 0;
    list-style: none;
    z-index: 20;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.menu .has-sub > ul::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border: 1px solid #f2ece6;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(30, 20, 10, .14);
    z-index: -1;
}
.menu .has-sub:hover > ul,
.menu .has-sub:focus-within > ul { display: block; }
.menu .has-sub > ul a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #444;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
}
.menu .has-sub > ul a .nav-ico {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: #111;
    box-sizing: border-box;
}
.menu .has-sub > ul a:hover,
.menu .has-sub > ul .is-current a {
    background: var(--brand-soft);
    color: #111;
}
.menu-cta a {
    background: var(--brand) !important;
    color: #111 !important;
    padding: 10px 18px !important;
    margin-left: 6px;
    box-shadow: 0 8px 18px rgba(245, 196, 0, .28);
}
.menu-cta a:hover {
    background: var(--brand-dark) !important;
    color: #111 !important;
    transform: translateY(-1px);
}
.menu-cta--calc a {
    background: #151820 !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(16, 19, 28, .18);
    margin-left: 4px;
}
.menu-cta--calc a:hover {
    background: #0b0d14 !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .nav-toggle { display: flex; }
    .nav-wrap {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        background: #fff;
        box-shadow: 0 10px 24px rgba(0,0,0,.12);
        padding: 10px 0 20px;
    }
    .nav-wrap.is-open { display: block; }
    .menu { flex-direction: column; align-items: stretch; padding: 8px 12px 4px; }
    .menu > li > a { border-radius: 14px; }
    .menu .has-sub > ul {
        position: static;
        box-shadow: none;
        display: none;
        border: 0;
        padding: 4px 0 8px 12px;
        min-width: 0;
        background: transparent;
    }
    .menu .has-sub > ul::before { display: none; }
    .menu .has-sub.is-open > ul { display: block; }
    .menu .has-sub.is-open > a .nav-ico:last-child { transform: rotate(180deg); }
    .menu-cta a { margin: 8px 0 4px; justify-content: center; }
    .menu-cta--calc a { margin-top: 0; }
}

@media (max-width: 1180px) and (min-width: 992px) {
    .menu > li > a { padding: 10px 10px; font-size: 14px; }
    .menu-cta a { padding: 9px 12px !important; }
}

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    min-height: 640px;
    overflow: hidden;
    color: #fff;
}
.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1s ease, transform 8s linear;
}
.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}
.hero-overlay {
    position: relative;
    z-index: 1;
    min-height: 640px;
    display: flex;
    align-items: center;
    background: linear-gradient(105deg, rgba(10, 12, 18, .72) 0%, rgba(10, 12, 18, .28) 58%, rgba(10, 12, 18, .45) 100%);
}
.hero-inner { padding: 72px 15px 88px; }
.hero-kicker {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(245, 196, 0, .18);
    color: #ffe27a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    animation: heroRise .7s ease both;
}
.hero h1 {
    margin: 0 0 8px;
    max-width: 18ch;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.04em;
    animation: heroRise .8s .08s ease both;
}
.hero h1:not(:has(.hero-city)) { max-width: 22ch; }
.hero-city {
    display: block;
    margin-top: 4px;
    font-family: Unbounded, Arial, sans-serif;
    font-size: clamp(3.4rem, 10vw, 7rem);
    font-weight: 800;
    line-height: .88;
    letter-spacing: -.06em;
    background: linear-gradient(90deg, #fff3b0 0%, #f5c400 46%, #ffe27a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: none;
    animation: heroRise .85s .14s ease both;
}
.hero-lead {
    max-width: 520px;
    margin: 0 0 26px;
    color: #e4e7ee;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.5;
    font-style: normal;
    animation: heroRise .8s .2s ease both;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    animation: heroRise .8s .28s ease both;
}
.hero-actions .btn-primary { border-radius: 999px; padding: 14px 26px; }
.hero-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    backdrop-filter: blur(8px);
}
.hero-call:hover { background: rgba(255,255,255,.2); }
.hero-social {
    display: flex;
    gap: 10px;
    animation: heroRise .8s .34s ease both;
}
.hero-social .soc { width: 42px; height: 42px; border-radius: 12px; }
.hero-nav {
    position: absolute;
    z-index: 8;
    right: 56px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}
.hero-arrow {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
}
.hero-arrow::before {
    content: "";
    position: absolute;
    inset: -10px;
}
.hero-arrow .nav-ico { transform: rotate(90deg); }
.hero-arrow--next .nav-ico { transform: rotate(-90deg); }
.hero-arrow:hover { background: var(--brand); color: #111; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.35);
    cursor: pointer;
}
.hero-dots button.is-active { background: var(--brand); }
@keyframes heroRise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .hero, .hero-overlay { min-height: 560px; }
    .hero-inner { padding: 48px 15px 80px; }
    .hero h1 { max-width: none; }
    .hero-call { width: 100%; justify-content: center; }
    .hero-nav { left: 16px; right: 16px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-kicker,
    .hero h1,
    .hero-city,
    .hero-lead,
    .hero-actions,
    .hero-social { animation: none; transition: none; }
}

.hero--compact,
.hero--compact .hero-overlay { min-height: 0; }
.hero--compact .hero-inner { padding: 22px 15px 26px; }
.hero--compact h1 {
    max-width: none;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    line-height: 1.15;
}
.hero--compact .hero-city {
    display: inline;
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: -.04em;
}
.hero--compact .hero-lead {
    max-width: 520px;
    margin-bottom: 16px;
    font-size: 1rem;
}
.hero--compact .hero-actions { margin-bottom: 0; }
.hero--compact .hero-social { display: none; }
.hero--compact .hero-nav { display: none; }
@media (max-width: 768px) {
    .hero--compact,
    .hero--compact .hero-overlay { min-height: 0; }
    .hero--compact .hero-inner { padding: 18px 15px 22px; }
    .hero--compact .hero-call { width: auto; }
}

/* Benefits */
.benefits { margin-top: -50px; position: relative; z-index: 2; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.benefit-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 16px 36px rgba(16, 19, 28, .14);
    transition: transform .22s ease, box-shadow .22s ease;
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 19, 28, .18);
}
.benefit-card__media {
    position: relative;
    min-height: 176px;
    background-size: cover;
    background-position: center;
}
.benefit-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 19, 28, .05) 20%, rgba(16, 19, 28, .78) 100%);
}
.benefit-card__caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.benefit-card__body {
    flex: 1;
    padding: 16px 22px 22px;
}
.benefit-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #fff;
    color: #111;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.benefit-card h3 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.25;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.benefit-card p {
    margin: 0;
    color: #5b6172;
    font-size: 15px;
    line-height: 1.5;
}
.benefit-card strong { color: #1a1d2b; }
@media (max-width: 900px) {
    .benefits { margin-top: 20px; }
    .benefits-grid { grid-template-columns: 1fr; }
}

/* Types */
.home-pitch { padding: 12px 0 28px; position: relative; z-index: 1; }
.home-pitch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr);
    gap: 28px;
    align-items: start;
}
.home-pitch__kicker {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: #5c4d00;
    font-size: 13px;
    font-weight: 700;
}
.home-pitch h2 {
    margin: 0 0 14px;
    color: #1a1d2b;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.2;
}
.home-pitch__copy p {
    margin: 0 0 12px;
    color: #3d4150;
    font-size: 16px;
    line-height: 1.65;
}
.home-pitch__copy p:last-child { margin-bottom: 0; }
.home-pitch__facts {
    margin: 0;
    padding: 8px;
    list-style: none;
    display: grid;
    gap: 8px;
    background: #fff;
    border: 1px solid #eceef4;
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(16, 19, 28, .06);
}
.home-pitch__facts li {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fafbfc;
}
.home-pitch__facts strong {
    display: block;
    color: #1a1d2b;
    font-size: 15px;
}
.home-pitch__facts span {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}
@media (max-width: 800px) {
    .home-pitch-grid { grid-template-columns: 1fr; }
}

.types-section { padding: 56px 0 40px; }
.types-heading {
    margin: 0 0 8px;
    text-align: center;
    color: #1a1d2b;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.03em;
}
.types-heading span { color: var(--brand); }
.types-lead {
    margin: 0 auto 28px;
    text-align: center;
    color: #6b7280;
    font-size: 16px;
}
.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.type-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(16, 19, 28, .1);
    transition: transform .22s ease, box-shadow .22s ease;
}
.type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(16, 19, 28, .16);
}
.type-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.type-card:hover img { transform: scale(1.06); }
.type-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 19, 28, .05) 28%, rgba(16, 19, 28, .78) 100%);
}
.type-card__cap {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.type-card__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 11px;
    background: #fff;
    color: #111;
    box-shadow: 0 6px 14px rgba(0,0,0,.18);
}
.type-card__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.type-card h3 {
    margin: 0;
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.25;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.type-card__note {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
}
@media (max-width: 992px) { .types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) {
    .types-grid { grid-template-columns: 1fr; }
    .type-card img { height: 200px; }
}

/* Advantages */
.advantages { padding: 20px 0 50px; }
.advantages-heading {
    margin: 0 0 8px;
    text-align: center;
    color: #1a1d2b;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.03em;
}
.advantages-lead {
    margin: 0 auto 28px;
    max-width: 640px;
    text-align: center;
    color: #6b7280;
    font-size: 16px;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.advantage {
    background: #fff;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: var(--brand-soft);
    color: #111;
}
@media (max-width: 800px) { .advantages-grid { grid-template-columns: 1fr; } }

/* CTA */
.mid-cta {
    position: relative;
    z-index: 1;
    isolation: isolate;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    color: #fff;
}
.mid-cta__bg,
.mid-cta__shade {
    position: absolute;
    inset: 0;
}
.mid-cta__bg {
    background-size: cover;
    background-position: 70% center;
    transform: scale(1.04);
}
.mid-cta__shade {
    background:
        linear-gradient(105deg, rgba(8, 9, 14, .88) 0%, rgba(8, 9, 14, .55) 48%, rgba(8, 9, 14, .28) 100%),
        linear-gradient(180deg, rgba(8, 9, 14, .15) 0%, rgba(8, 9, 14, .35) 100%);
}
.mid-cta__inner {
    position: relative;
    z-index: 1;
    padding: 84px 15px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 1200px) {
    .mid-cta__inner {
        margin-left: max(15px, calc((100vw - 1300px) / 2));
        margin-right: auto;
    }
}
.mid-cta__kicker {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(245, 196, 0, .18);
    color: #ffe27a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.mid-cta h2 {
    margin: 0 0 12px;
    max-width: 16ch;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -.03em;
}
.mid-cta__text {
    margin: 0 0 26px;
    max-width: 460px;
    color: #d8dbe6;
    font-size: 1.08rem;
    line-height: 1.5;
}
.mid-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.mid-cta__actions .btn-primary {
    border-radius: 999px;
    padding: 14px 28px;
    box-shadow: 0 12px 28px rgba(245, 196, 0, .28);
}
.mid-cta__call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    backdrop-filter: blur(8px);
}
.mid-cta__call:hover { background: rgba(255,255,255,.18); }
.mid-cta__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #c5cad8;
    font-size: 14px;
    font-weight: 700;
}
.mid-cta__facts li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.mid-cta__facts li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}
.footer-cta {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.footer-cta-inner {
    padding: 70px 20px;
    background: rgba(20,20,20,.45);
}
.footer-cta h2 { margin: 0 0 12px; font-size: 2rem; }
.footer-offer { color: #bbb; font-size: 13px; text-align: center; margin-top: 22px; line-height: 1.5; }
@media (max-width: 768px) {
    .mid-cta__inner { padding: 56px 15px; }
    .mid-cta h2 { max-width: none; }
    .mid-cta__call { width: 100%; justify-content: center; }
}

.promo-wrap { padding: 30px 0; }
.glass-promo-container { padding: 36px; }
.gp-intro p + p { margin-top: -24px; }
.gp-more { margin: 0 0 32px; }
.gp-more h2 {
    margin: 0 0 12px;
    color: #1a1d2b;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
}
.gp-more p {
    margin: 0 0 10px;
    color: #444;
    font-size: 16px;
    line-height: 1.65;
}
.gp-more p:last-child { margin-bottom: 0; }
.gp-more ul {
    margin: 0;
    padding-left: 18px;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}
.gp-more li + li { margin-top: 6px; }
.gp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
.gp-split .gp-more { margin-bottom: 0; }
@media (max-width: 768px) {
    .gp-split { grid-template-columns: 1fr; }
}

.faq { padding: 56px 0 40px; }
.faq-heading {
    margin: 0 0 8px;
    text-align: center;
    color: #1a1d2b;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.03em;
}
.faq-lead {
    margin: 0 auto 28px;
    text-align: center;
    color: #6b7280;
    font-size: 16px;
}
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eceef4;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(16, 19, 28, .06);
    overflow: hidden;
}
.faq-item + .faq-item { border-top: 1px solid #eef0f5; }
.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: #1a1d2b;
}
.faq-btn:hover { background: #fafbfc; }
.faq-num {
    flex-shrink: 0;
    width: 36px;
    color: var(--brand);
    font-size: 15px;
    font-weight: 800;
}
.faq-q {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}
.faq-plus {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--brand-soft);
    color: #111;
    transition: transform .25s ease, background .2s, color .2s;
}
.faq-plus .nav-ico { display: block; }
.faq-item.is-open .faq-plus {
    transform: rotate(180deg);
    background: var(--brand);
    color: #111;
}
.faq-item.is-open .faq-q { color: #1a1d2b; }
.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s ease;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a__inner {
    overflow: hidden;
    padding: 0 22px 0 74px;
    color: #5b6172;
    font-size: 15px;
    line-height: 1.6;
}
.faq-item.is-open .faq-a__inner { padding-bottom: 22px; }
.faq-a__inner p { margin: 0 0 10px; }
.faq-a__inner p:last-child { margin-bottom: 0; }
.faq-a__inner ul { margin: 0 0 10px; padding-left: 18px; }
.faq-a__inner strong { color: #1a1d2b; }
@media (max-width: 640px) {
    .faq-btn { gap: 10px; padding: 16px; }
    .faq-q { font-size: 15px; }
    .faq-a__inner { padding-left: 16px; padding-right: 16px; }
}

.home-seo {
    position: relative;
    z-index: 1;
    padding: 8px 0 64px;
}
.home-seo__wrap { position: relative; }
.home-seo__mark {
    position: absolute;
    left: 12px;
    top: -18px;
    margin: 0;
    font-family: Unbounded, Arial, sans-serif;
    font-size: clamp(4.2rem, 14vw, 9rem);
    font-weight: 800;
    line-height: .8;
    letter-spacing: -.07em;
    color: transparent;
    background: linear-gradient(90deg, #fff3b0 0%, #f5c400 48%, #ffe27a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: .28;
    pointer-events: none;
    user-select: none;
}
.home-seo__card {
    position: relative;
    padding: 36px 36px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid #ece6d2;
    box-shadow: 0 18px 48px rgba(16, 19, 28, .07);
}
.home-seo__kicker {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: #5c4d00;
    font-size: 13px;
    font-weight: 700;
}
.home-seo h2 {
    margin: 0 0 22px;
    max-width: 22ch;
    color: #1a1d2b;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.home-seo__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
}
.home-seo h3 {
    margin: 0 0 8px;
    color: #1a1d2b;
    font-size: 1.05rem;
    font-weight: 800;
}
.home-seo p {
    margin: 0 0 16px;
    color: #3d4150;
    font-size: 16px;
    line-height: 1.7;
}
.home-seo p:last-child { margin-bottom: 0; }
.home-seo a {
    color: #8a6d00;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(245, 196, 0, .55);
    text-underline-offset: 3px;
}
.home-seo a:hover { color: #1a1d2b; }
.home-seo__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 0;
    padding: 22px 0 0;
    list-style: none;
    border-top: 1px solid #f0ead8;
}
.home-seo__links a {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fffdf4;
    border: 1px solid #efe7c8;
    color: #1a1d2b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}
.home-seo__links a:hover {
    background: var(--brand);
    border-color: var(--brand);
}
@media (max-width: 800px) {
    .home-seo { padding-bottom: 40px; }
    .home-seo__mark { top: -8px; left: 8px; }
    .home-seo__card { padding: 28px 18px 20px; }
    .home-seo h2 { max-width: none; }
    .home-seo__cols { grid-template-columns: 1fr; gap: 0; }
}

.portfolio { padding: 48px 0 56px; }
.portfolio-heading {
    margin: 0 0 8px;
    text-align: center;
    color: #1a1d2b;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.03em;
}
.portfolio-lead {
    margin: 0 auto 28px;
    max-width: 560px;
    text-align: center;
    color: #6b7280;
    font-size: 16px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.gallery-grid--full { grid-template-columns: repeat(4, 1fr); }
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 24px rgba(16, 19, 28, .1);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(16, 19, 28, .45) 100%);
    opacity: 0;
    transition: opacity .25s ease;
}
.gallery-item__look {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    color: #111;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after,
.gallery-item:hover .gallery-item__look { opacity: 1; }
.gallery-item:hover .gallery-item__look { transform: translateY(0); }
.portfolio-cta {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}
.portfolio-cta .btn-primary {
    border-radius: 999px;
    padding: 13px 28px;
}
@media (max-width: 992px) {
    .gallery-grid, .gallery-grid--full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .gallery-grid, .gallery-grid--full { grid-template-columns: 1fr; }
}

.page-hero { padding: 40px 0 10px; }
.crumbs { color: #777; }
.crumbs a { color: var(--orange); }
.blog-empty { padding: 20px 0 80px; font-size: 1.15rem; }
.err404 { position: relative; z-index: 1; padding: 48px 15px 72px; }
.err404__box {
    max-width: 640px;
    margin: 0 auto;
    padding: 36px 32px 32px;
    text-align: center;
    background: #fff;
    border: 1px solid #ece6d2;
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(16, 19, 28, .07);
}
.err404__code {
    margin: 0 0 6px;
    font-family: Unbounded, Arial, sans-serif;
    font-size: clamp(3.6rem, 12vw, 6rem);
    font-weight: 800;
    line-height: .85;
    letter-spacing: -.06em;
    background: linear-gradient(90deg, #fff3b0 0%, #f5c400 48%, #ffe27a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.err404 h1 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -.03em;
}
.err404__lead {
    margin: 0 auto 22px;
    max-width: 42ch;
    color: #5b6172;
    font-size: 16px;
    line-height: 1.6;
}
.err404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}
.err404__ghost {
    display: inline-flex;
    align-items: center;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid #e6e0cc;
    color: #1a1d2b;
    font-weight: 700;
    text-decoration: none;
    background: #fffdf4;
}
.err404__ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.err404__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 0;
    padding: 18px 0 0;
    list-style: none;
    border-top: 1px solid #f0ead8;
}
.err404__links a { color: #8a6d00; font-weight: 700; }
@media (max-width: 576px) {
    .err404__box { padding: 28px 18px; }
    .err404__actions .btn-primary,
    .err404__ghost { width: 100%; justify-content: center; }
}

/* Popup */
.popup[hidden], .lightbox[hidden] { display: none; }
.popup { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(16, 12, 10, .58); backdrop-filter: blur(6px); }
.popup-box {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    background: #fff;
    border-radius: 24px;
    padding: 0 0 22px;
    box-shadow: 0 28px 70px rgba(0,0,0,.28);
    overflow: hidden;
    animation: popupIn .28s ease;
}
@keyframes popupIn {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to { opacity: 1; transform: none; }
}
.popup-head {
    padding: 28px 28px 16px;
    background: linear-gradient(160deg, #fff7ef 0%, #fff 70%);
    border-bottom: 1px solid #f3ebe3;
}
.popup-badge {
    display: inline-block;
    background: #fff3e6;
    color: #c45a10;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
}
.popup-head h3 { margin: 12px 0 6px; font-size: 1.55rem; }
.popup-lead { color: #666; margin: 0 0 10px; }
.popup-page {
    display: inline-block;
    margin: 0;
    padding: 6px 10px;
    border-radius: 10px;
    background: #f4f7f6;
    color: #2f6b5c;
    font-size: 13px;
    font-weight: 700;
}
.popup-close {
    position: absolute;
    top: 10px; right: 12px;
    width: 36px; height: 36px;
    border: 0; border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
}
.popup-close .nav-ico { display: block; }
.popup-box .lead-form { padding: 20px 28px 0; }
.lead-form label { display: block; margin-bottom: 12px; font-weight: 700; color: #333; }
.lead-form label em { font-weight: 500; color: #999; font-style: normal; font-size: 12px; }
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form textarea {
    width: 100%;
    margin-top: 6px;
    padding: 13px 14px;
    border: 1px solid #eadfd4;
    border-radius: 12px;
    font-size: 16px;
    background: #fffaf6;
}
.lead-form input:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(245, 196, 0, .15);
    background: #fff;
}
.popup-submit { width: 100%; padding: 14px 20px; border-radius: 12px; margin-top: 4px; }
.popup-note { color: #999; font-size: 12px; margin: 10px 0 0; }
.form-status { min-height: 1.2em; font-size: 14px; font-weight: 600; }
.form-status.is-ok { color: #197668; }
.form-status.is-err { color: #c62828; }

.popup--calc .popup-box { width: min(500px, 100%); }
.calc-head {
    padding: 28px 28px 18px;
    background: linear-gradient(165deg, #171b27 0%, #10131c 100%);
    color: #fff;
}
.calc-head .popup-badge {
    background: rgba(245, 196, 0, .16);
    color: #ffe27a;
}
.calc-head h3 { margin: 12px 0 6px; font-size: 1.5rem; color: #fff; }
.calc-head .popup-lead { color: #b9becc; }
.calc-progress {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}
.calc-progress li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b93a7;
    font-size: 12px;
    font-weight: 700;
}
.calc-progress span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    color: #c5cad8;
    flex-shrink: 0;
}
.calc-progress li.is-active { color: #ffe27a; }
.calc-progress li.is-active span { background: var(--brand); color: #111; }
.calc-progress li.is-done { color: #d8dbe6; }
.calc-progress li.is-done span { background: #2a3144; color: #fff; }
.calc-form { padding: 22px 28px 0; }
.calc-pane[hidden] { display: none; }
.calc-label {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1d2b;
}
.calc-meter {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}
.calc-meter strong {
    font-size: 4rem;
    line-height: .9;
    letter-spacing: -.06em;
    color: #111;
}
.calc-meter span { font-size: 1.2rem; font-weight: 800; color: #8b93a7; }
.calc-slider { margin: 8px 0 16px; }
.calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #ece8df;
    outline: none;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #111;
    border: 4px solid var(--brand);
    box-shadow: 0 6px 16px rgba(16, 19, 28, .22);
    cursor: pointer;
}
.calc-range::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #111;
    border: 4px solid var(--brand);
    box-shadow: 0 6px 16px rgba(16, 19, 28, .22);
    cursor: pointer;
}
.calc-ends {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #8b93a7;
    font-size: 12px;
    font-weight: 700;
}
.calc-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.calc-presets button,
.calc-rooms button {
    border: 1px solid #eadfd4;
    background: #fffaf6;
    color: #333;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.calc-presets button.is-active,
.calc-rooms button.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #111;
}
.calc-rooms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.calc-rooms button { padding: 10px 16px; }
.calc-custom { margin-bottom: 8px; }
.calc-hint { color: #c62828; font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.calc-hint[hidden] { display: none; }
.calc-summary {
    margin: -4px 0 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f7f4ee;
    color: #333;
    font-weight: 700;
}
.calc-nav {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}
.calc-back {
    border: 0;
    background: #f3efe8;
    color: #333;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 700;
    cursor: pointer;
}
.calc-back:hover { background: #e8e2d8; }
.calc-nav .popup-submit { margin-top: 0; }

@media (max-width: 576px) {
    .calc-meter strong { font-size: 3.2rem; }
    .calc-head, .calc-form { padding-left: 20px; padding-right: 20px; }
    .calc-progress { gap: 4px; }
    .calc-progress li { font-size: 11px; }
}

.lightbox {
    position: fixed; inset: 0; z-index: 2100;
    background: rgba(0,0,0,.9);
    display: flex; align-items: center; justify-content: center;
}
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; border: 0; background: transparent; color: #fff;
    font-size: 42px; cursor: pointer; line-height: 1;
}
.lightbox-close { top: 12px; right: 20px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

body.is-locked { overflow: hidden; }

.action-btn { text-decoration: none; }

.blog-hero h1 { margin: 8px 0 10px; font-size: 2.4rem; }
.blog-lead { color: #666; max-width: 640px; font-size: 1.15rem; }
.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
    padding-bottom: 70px;
}
.blog-featured {
    display: block;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 360px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    margin-bottom: 28px;
}
.blog-featured img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.blog-featured-text {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.75));
}
.blog-featured h2 { margin: 8px 0 8px; font-size: 1.7rem; color: #fff; }
.blog-featured p { margin: 0 0 10px; color: #eee; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.blog-card-img img { width: 100%; height: 190px; object-fit: cover; }
.blog-card-body { padding: 18px 18px 22px; }
.blog-card h2 { font-size: 1.15rem; margin: 8px 0; line-height: 1.35; }
.blog-card h2 a { text-decoration: none; color: #2b2b2b; }
.blog-card h2 a:hover { color: var(--brand); }
.blog-card p { color: #666; margin: 0 0 10px; }
.post-cat {
    display: inline-block;
    background: #fff3e6;
    color: #c45a10;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}
.post-meta { color: #888; font-size: 14px; }
.post-cover { margin: 0 0 24px; }
.post-cover img { width: 100%; height: 360px; object-fit: cover; border-radius: 18px; }
.post-body { background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 10px 28px rgba(0,0,0,.05); }
.post-body h2 { font-size: 1.45rem; margin: 28px 0 12px; }
.post-body p, .post-body li { font-size: 1.05rem; line-height: 1.7; color: #444; }
.post-body a { color: var(--orange); }
.post-body figure { margin: 22px 0; }
.post-body figure img { width: 100%; height: 280px; object-fit: cover; border-radius: 14px; }
.post-body figcaption { color: #888; font-size: 14px; margin-top: 8px; }
.post-cta {
    margin-top: 36px;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff6ee, #f3fbf8);
}
.post-cta h3 { margin: 0 0 8px; }
.post-related { margin-top: 28px; padding-top: 22px; border-top: 1px solid #eceef4; }
.post-related h2 { margin: 0 0 14px; font-size: 1.2rem; }
.post-related ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.post-related a { font-weight: 700; }
.post-related span { display: block; color: #888; font-size: 13px; margin-top: 2px; }
.blog-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.side-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.side-card h3 { margin: 0 0 12px; font-size: 1.1rem; }
.side-cta { background: linear-gradient(165deg, #2a2a3a, #1a1a28); color: #fff; }
.side-cta h3, .side-cta p { color: #fff; }
.side-cta p { color: #ddd; }
.side-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd54f;
    font-weight: 700;
    text-decoration: none;
    margin-top: 8px;
}
.side-facts, .side-types, .side-posts { list-style: none; margin: 0; padding: 0; }
.side-facts li, .side-types a {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}
.side-types a { display: block; text-decoration: none; }
.side-types a:hover { color: var(--brand); }
.side-posts li + li { margin-top: 12px; }
.side-posts a {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}
.side-posts img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.side-posts small { display: block; color: #888; font-weight: 500; margin-bottom: 4px; }
.side-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.side-works img { width: 100%; height: 72px; object-fit: cover; border-radius: 8px; }
.side-more { display: inline-block; margin-top: 12px; color: var(--orange); font-weight: 600; text-decoration: none; }

@media (max-width: 992px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-featured img, .post-cover img { height: 240px; }
    .blog-hero h1 { font-size: 1.8rem; }
}

.fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.fab-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.fab-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 16px 8px 10px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
    transform: translateY(12px) scale(.96);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease, box-shadow .2s;
}
.fab.is-open .fab-item {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.fab.is-open .fab-item:nth-child(1) { transition-delay: .02s; }
.fab.is-open .fab-item:nth-child(2) { transition-delay: .05s; }
.fab.is-open .fab-item:nth-child(3) { transition-delay: .08s; }
.fab.is-open .fab-item:nth-child(4) { transition-delay: .11s; }
.fab.is-open .fab-item:nth-child(5) { transition-delay: .14s; }
.fab.is-open .fab-item:nth-child(6) { transition-delay: .17s; }
.fab.is-open .fab-item:nth-child(7) { transition-delay: .2s; }
.fab-item:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.2); }
.fab-item img, .fab-ico, .fab-item .nav-ico {
    width: 28px;
    height: 28px;
    padding: 5px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    background: rgba(255,255,255,.18);
    border-radius: 50%;
}
.fab-item--phone { background: linear-gradient(135deg, #ffe27a, #f5c400); color: #111; }
.fab-item--wa { background: #25d366; color: #fff; }
.fab-item--tg { background: #2aabee; color: #fff; }
.fab-item--vb { background: #7360f2; color: #fff; }
.fab-item--ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); color: #fff; }
.fab-item--form { background: #1a1a28; color: #fff; }
.fab-toggle {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: var(--brand);
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(245, 196, 0, .4);
    animation: fabPulse 2.4s ease-in-out infinite;
}
.fab-toggle .nav-ico { display: block; color: #111; }
.fab-toggle .fab-dot { fill: #111; }
.fab-item--phone { color: #111; }
.fab-item--phone .nav-ico { color: #111; }
.fab-toggle-open, .fab-toggle-close { display: flex; line-height: 0; }
.fab-toggle-close { display: none; }
.fab.is-open .fab-toggle { animation: none; background: #2a2a3a; color: #fff; }
.fab.is-open .fab-toggle .nav-ico { color: #fff; }
.fab.is-open .fab-toggle-open { display: none; }
.fab.is-open .fab-toggle-close { display: flex; }
@keyframes fabPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 196, 0, .45); }
    70% { box-shadow: 0 0 0 16px rgba(245, 196, 0, 0); }
}
@media (max-width: 576px) {
    .fab { left: 12px; bottom: 12px; }
    .fab-toggle { width: 56px; height: 56px; }
    .fab-label { max-width: 58vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

.site-footer {
    position: relative;
    color: #d8dbe6;
    background:
        radial-gradient(ellipse 80% 55% at 6% -8%, rgba(245, 196, 0, .1), transparent 50%),
        radial-gradient(ellipse 60% 45% at 98% 6%, rgba(88, 101, 242, .08), transparent 48%),
        linear-gradient(168deg, #0d1018 0%, #07080d 48%, #030308 100%);
    overflow: hidden;
}
.site-footer > * {
    position: relative;
    z-index: 1;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    z-index: 2;
    background: linear-gradient(90deg, transparent 5%, var(--brand) 40%, #ffe27a 70%, transparent 95%);
}
.site-footer::after {
    content: "potolok-minsk.by";
    position: absolute;
    left: 50%;
    bottom: 6%;
    z-index: 0;
    transform: translateX(-50%);
    font-family: Unbounded, Arial, sans-serif;
    font-size: clamp(2.2rem, 11vw, 7.2rem);
    font-weight: 800;
    letter-spacing: -.07em;
    line-height: 1;
    color: rgba(255, 255, 255, .045);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}
.footer-cta-bar {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(90deg, rgba(245,196,0,.14), rgba(245,196,0,.06) 50%, rgba(99,102,241,.1));
}
.footer-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 24px;
}
.footer-cta-row h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.7rem;
    letter-spacing: .02em;
}
.footer-cta-row p {
    margin: 0;
    color: #b9becc;
    max-width: 560px;
    line-height: 1.5;
}
.footer-cta-row .btn-primary {
    flex-shrink: 0;
    border-radius: 999px;
    padding: 14px 28px;
    box-shadow: 0 10px 24px rgba(245, 196, 0, .28);
}
.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr .9fr .9fr 1fr;
    gap: 36px;
    padding: 48px 24px 36px;
}
.footer-wordmark {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.04em;
    text-decoration: none;
    line-height: 1;
}
.footer-wordmark span {
    background: #f5c400;
    color: #111;
    margin-left: 3px;
    padding: 3px 8px 4px;
    border-radius: 5px;
}
.footer-brand p {
    margin: 0 0 18px;
    color: #aeb4c4;
    line-height: 1.55;
    max-width: 320px;
}
.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cfd3df;
    font-size: 14px;
}
.footer-meta .nav-ico { color: var(--brand); }
.footer-col h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
}
.footer-phone .nav-ico { color: var(--brand); }
.footer-phone:hover { color: #ffe27a; }
.footer-hint {
    margin: 8px 0 0;
    color: #8d93a6;
    font-size: 13px;
}
.footer-soc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.soc {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.soc:hover { transform: translateY(-3px); }
.soc .nav-ico { display: block; color: #fff; }
.soc-wa { background: #25d366; box-shadow: 0 8px 18px rgba(37, 211, 102, .28); }
.soc-tg { background: #2aabee; box-shadow: 0 8px 18px rgba(42, 171, 238, .28); }
.soc-vb { background: #7360f2; box-shadow: 0 8px 18px rgba(115, 96, 242, .28); }
.soc-ig { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); box-shadow: 0 8px 18px rgba(221, 42, 123, .28); }
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a {
    color: #c5cad8;
    text-decoration: none;
    font-size: 14px;
}
.footer-links a:hover { color: #fff; }
.footer-act {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}
.footer-act .nav-ico { color: var(--brand); }
.footer-act:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(245, 196, 0, .45);
    transform: translateX(4px);
}
.footer-bar {
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.22);
}
.footer-bar-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px 20px;
}
.footer-bar p {
    margin: 0;
    color: #8a90a3;
    font-size: 13px;
}
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.footer-legal a {
    color: #c5cad8;
    font-size: 13px;
    text-decoration: none;
}
.footer-legal a:hover { color: #fff; }
.footer-made {
    margin: 0;
    padding: 0 24px 16px;
    text-align: center;
}
.footer-made a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .28);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}
.footer-made a::before {
    content: "";
    width: 14px;
    height: 1px;
    background: rgba(245, 196, 0, .35);
}
.footer-made a::after {
    content: "";
    width: 14px;
    height: 1px;
    background: rgba(245, 196, 0, .35);
}
.footer-made a:hover { color: rgba(255, 255, 255, .55); }
.popup-note a,
.c-note a { color: var(--brand-dark); }
@media (max-width: 1000px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .footer-cta-row,
    .footer-bar-inner,
    .footer-grid { grid-template-columns: 1fr; }
    .footer-cta-row { flex-direction: column; align-items: flex-start; padding: 28px 20px; }
    .footer-cta-row h2 { font-size: 1.4rem; }
    .footer-grid { gap: 28px; padding: 32px 20px 24px; }
    .footer-bar-inner { flex-direction: column; }
}

.contact-hero {
    position: relative;
    overflow: hidden;
    color: #e8ebf4;
    background:
        radial-gradient(ellipse 80% 70% at 12% 10%, rgba(245, 196, 0, .22), transparent 55%),
        radial-gradient(ellipse 60% 50% at 92% 80%, rgba(88, 101, 242, .2), transparent 50%),
        linear-gradient(160deg, #1b1f2e 0%, #10131c 52%, #0c0e16 100%);
}
.contact-hero__fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    animation: contactFloat 12s ease-in-out infinite;
}
.contact-orb--1 {
    width: 220px;
    height: 220px;
    top: -60px;
    right: 18%;
    background: rgba(245, 196, 0, .18);
}
.contact-orb--2 {
    width: 160px;
    height: 160px;
    bottom: 8%;
    left: 8%;
    background: rgba(99, 102, 241, .16);
    animation-duration: 15s;
    animation-delay: -3s;
}
.contact-orb--3 {
    width: 90px;
    height: 90px;
    top: 28%;
    left: 42%;
    background: rgba(255, 213, 79, .12);
    animation-duration: 10s;
    animation-delay: -6s;
}
.contact-radar {
    position: absolute;
    right: 8%;
    top: 50%;
    width: 200px;
    height: 200px;
    transform: translateY(-50%);
}
.contact-radar__ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    animation: contactPulse 4.8s ease-out infinite;
}
.contact-radar__ring:nth-child(2) { inset: 18%; animation-delay: .8s; }
.contact-radar__ring:nth-child(3) { inset: 36%; animation-delay: 1.6s; }
.contact-radar__pin {
    position: absolute;
    inset: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand);
    color: #111;
    box-shadow: 0 12px 28px rgba(245, 196, 0, .35);
    animation: contactPin 3.2s ease-in-out infinite;
}
.contact-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 32px;
    padding-bottom: 28px;
}
.contact-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #9aa1b5;
    font-size: 14px;
}
.contact-crumbs a { color: #ffe27a; text-decoration: none; }
.contact-crumbs a:hover { color: #fff; }
.contact-kicker {
    display: inline-flex;
    margin: 0 0 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(245, 196, 0, .14);
    color: #ffe27a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    animation: contactRise .7s ease both;
}
.contact-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -.03em;
    animation: contactRise .8s .08s ease both;
}
.contact-hero h1 span {
    color: #ffd54f;
    font-weight: 700;
}
.contact-lead {
    max-width: 560px;
    margin: 0 0 18px;
    color: #c5cad8;
    font-size: 1.05rem;
    line-height: 1.5;
    animation: contactRise .8s .16s ease both;
}
.contact-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 780px;
    animation: contactRise .8s .22s ease both;
}
.contact-fact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px 15px;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}
.contact-fact .nav-ico { color: var(--brand); margin-top: 2px; flex-shrink: 0; }
.contact-fact strong { display: block; color: #fff; font-size: 14px; }
.contact-fact span { color: #9aa1b5; font-size: 13px; }
.contact-page {
    background: linear-gradient(180deg, #f6f7fb 0%, #fff 120px);
    padding: 36px 0 20px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    padding-bottom: 20px;
}
.contact-col { display: grid; gap: 18px; }
.c-card {
    background: #fff;
    border: 1px solid #eceef4;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(16, 19, 28, .05);
}
.contact-form-card {
    position: sticky;
    top: 100px;
    align-self: start;
}
.c-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.c-card__head .nav-ico {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 9px;
    box-sizing: border-box;
    border-radius: 12px;
    background: var(--brand-soft);
    color: #111;
}
.c-card__head h2 {
    margin: 0;
    font-size: 1.15rem;
    color: #1a1d2b;
}
.c-phone {
    display: block;
    margin: 0 0 6px;
    color: var(--brand-dark);
    font-size: 1.45rem;
    font-weight: 800;
    text-decoration: none;
}
.c-phone:hover { color: #1a1d2b; }
.c-note {
    margin: 12px 0 0;
    color: #8a90a3;
    font-size: 13px;
    line-height: 1.45;
}
.c-note--left { margin: 0 0 18px; }
.c-schedule { display: grid; gap: 0; }
.c-schedule div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid #f0f2f6;
    color: #5b6172;
}
.c-schedule div:last-child { border-bottom: 0; }
.c-schedule strong { color: var(--brand); }
.c-messengers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-msg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.c-msg:hover { transform: translateY(-2px); }
.c-msg--wa { background: #25d366; }
.c-msg--tg { background: #2aabee; }
.c-msg--vb { background: #7360f2; }
.c-msg--ig { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.c-regions { display: flex; flex-wrap: wrap; gap: 8px; }
.c-regions span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f4f6fb;
    color: #3d4354;
    font-size: 13px;
}
.c-form { display: grid; gap: 12px; }
.c-form label {
    display: grid;
    gap: 6px;
    color: #5b6172;
    font-size: 13px;
    font-weight: 700;
}
.c-form input,
.c-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    background: #fafbfe;
    color: #1a1d2b;
    font-size: 15px;
}
.c-form input:focus,
.c-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245, 196, 0, .12);
}
.c-form textarea { min-height: 96px; resize: vertical; }
.c-form .btn-primary {
    width: 100%;
    border-radius: 12px;
    padding: 14px 20px;
    margin-top: 4px;
}
@keyframes contactFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(18px, -16px, 0); }
}
@keyframes contactPulse {
    0% { transform: scale(.72); opacity: .7; }
    100% { transform: scale(1.08); opacity: 0; }
}
@keyframes contactPin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes contactRise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 980px) {
    .contact-radar { opacity: .35; right: -40px; }
    .contact-facts { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-card { position: static; }
}
@media (max-width: 640px) {
    .contact-hero__inner { padding-top: 24px; padding-bottom: 22px; }
    .c-messengers { grid-template-columns: 1fr; }
    .c-schedule div { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-orb,
    .contact-radar__ring,
    .contact-radar__pin,
    .contact-kicker,
    .contact-hero h1,
    .contact-lead,
    .contact-facts {
        animation: none;
    }
}

.value-icon,
.member-photo,
.tech-icon {
    font-size: 0;
    color: var(--brand);
}
.value-icon {
    background: var(--brand-soft);
}
.value-card:hover .value-icon {
    background: var(--brand);
    color: #111;
}
.member-photo,
.tech-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--brand-soft);
}
.tech-icon { display: flex; }
.value-icon .nav-ico,
.member-photo .nav-ico,
.tech-icon .nav-ico,
.advantage-icon .nav-ico,
.review-location .nav-ico {
    display: block;
}

.about-copy {
    max-width: 760px;
    margin: 0 auto 28px;
}
.about-copy h2 {
    margin: 0 0 12px;
    color: #1a1d2b;
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.25;
}
.about-copy p {
    margin: 0 0 12px;
    color: #3d4150;
    font-size: 16px;
    line-height: 1.65;
}
.about-copy p:last-child { margin-bottom: 0; }
.about-copy--after { margin-top: 8px; margin-bottom: 40px; }
.works-intro { padding: 8px 0 36px; }
.about-page .gp-split { margin: 0 0 36px; }
.about-page .gp-more h2 { text-align: left; }

.about-page {
    background: linear-gradient(180deg, #f6f7fb 0%, #fff 80px);
    padding: 36px 0 0;
}
.about-page .c-card p {
    margin: 0;
    color: #5b6172;
    font-size: 15px;
    line-height: 1.55;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.about-grid--3 { grid-template-columns: repeat(3, 1fr); }
.about-heading {
    margin: 8px 0 6px;
    text-align: center;
    color: #1a1d2b;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.03em;
}
.about-lead {
    margin: 0 auto 22px;
    text-align: center;
    color: #6b7280;
    font-size: 16px;
}
.about-years {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 44px;
}
.about-years article {
    padding: 20px 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eceef4;
    box-shadow: 0 10px 28px rgba(16, 19, 28, .05);
}
.about-years strong {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 1.35rem;
}
.about-years h3 {
    margin: 0 0 8px;
    color: #1a1d2b;
    font-size: 1.05rem;
}
.about-years p {
    margin: 0;
    color: #5b6172;
    font-size: 14px;
    line-height: 1.5;
}
.about-cta-bar {
    margin-top: 12px;
    background:
        radial-gradient(ellipse 80% 70% at 10% 0%, rgba(245, 196, 0, .18), transparent 55%),
        linear-gradient(165deg, #1a1d2b 0%, #10131c 100%);
}
.about-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 15px;
}
.about-cta-row h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.45rem;
}
.about-cta-row p {
    margin: 0;
    color: #b9becc;
}
.about-cta-row .btn-primary { border-radius: 999px; flex-shrink: 0; }
@media (max-width: 980px) {
    .about-grid,
    .about-grid--3,
    .about-years { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .about-grid,
    .about-grid--3,
    .about-years { grid-template-columns: 1fr; }
    .about-cta-row { flex-direction: column; align-items: flex-start; }
}

.news {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 56px 0 48px;
    color: #e8ebf4;
    background:
        radial-gradient(ellipse 70% 50% at 90% 0%, rgba(245, 196, 0, .12), transparent 55%),
        linear-gradient(168deg, #12151f 0%, #08090e 100%);
}
.news-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}
.news-kicker {
    margin: 0 0 8px;
    color: #ffe27a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.news-top h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -.03em;
}
.news-lead { margin: 0; max-width: 460px; color: #9aa1b5; }
.news-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}
.news-all:hover { border-color: var(--brand); color: #ffe27a; }
.news-viewport {
    overflow: hidden;
    padding: 0 0 8px;
}
.news-track {
    display: flex;
    gap: 18px;
    padding: 0 max(15px, calc((100% - 1300px) / 2));
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}
.news-card {
    position: relative;
    flex: 0 0 min(620px, 78vw);
    overflow: hidden;
    border-radius: 24px;
    background: #171b27;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    transform: scale(.96);
    opacity: .72;
    transition: transform .45s ease, opacity .45s ease;
}
.news-card.is-active {
    transform: scale(1);
    opacity: 1;
}
.news-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.news-card__num {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 1;
    font-family: Unbounded, Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: rgba(255,255,255,.28);
    letter-spacing: -.04em;
}
.news-card__body {
    position: relative;
    padding: 20px 22px 24px;
    min-height: 196px;
}
.news-card__body::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), transparent);
    opacity: 0;
}
.news-card.is-active .news-card__body::before { opacity: 1; }
.news-cat {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(245, 196, 0, .16);
    color: #ffe27a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.news-card h3 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: 1.28rem;
    line-height: 1.3;
    letter-spacing: -.02em;
}
.news-card p {
    margin: 0 0 14px;
    color: #b9becc;
    font-size: 15px;
    line-height: 1.5;
}
.news-meta { color: #8b93a7; font-size: 13px; font-weight: 700; }
.news-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}
.news-arrow {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
}
.news-arrow::before {
    content: "";
    position: absolute;
    inset: -10px;
}
.news-arrow .nav-ico { transform: rotate(90deg); }
.news-arrow--next .nav-ico { transform: rotate(-90deg); }
.news-arrow:hover { background: var(--brand); color: #111; }
.news-progress {
    flex: 1;
    height: 3px;
    border-radius: 99px;
    background: rgba(255,255,255,.1);
    overflow: hidden;
}
.news-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--brand);
    transform-origin: left;
}
.news-progress.is-run span { animation: newsBar 5.6s linear; }
@keyframes newsBar {
    from { width: 0; }
    to { width: 100%; }
}
.news-dots { display: flex; gap: 8px; }
.news-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    cursor: pointer;
}
.news-dots button.is-active { background: var(--brand); width: 22px; border-radius: 99px; }
@media (max-width: 768px) {
    .news { padding: 40px 0 36px; }
    .news-top { flex-direction: column; align-items: flex-start; }
    .news-card { flex-basis: 86vw; }
    .news-card img { height: 200px; }
    .news-card h3 { font-size: 1.1rem; }
    .news-card__body { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .news-track, .news-card { transition: none; }
    .news-progress.is-run span { animation: none; width: 100%; }
}

.legal-page { background: #f6f7fb; padding: 36px 0 56px; }
.legal {
    max-width: 760px;
    padding: 28px 28px 32px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eceef4;
    box-shadow: 0 12px 32px rgba(16, 19, 28, .05);
    color: #3d4354;
    line-height: 1.65;
}
.legal h2 {
    margin: 28px 0 10px;
    color: #1a1d2b;
    font-size: 1.2rem;
}
.legal h3 {
    margin: 18px 0 8px;
    color: #1a1d2b;
    font-size: 1.02rem;
}
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 12px; padding-left: 18px; }
.legal li { margin-bottom: 6px; }
.legal a { color: #c9a000; }
.legal-updated { margin-top: 24px; color: #8a90a3; font-size: 13px; }

.cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
    padding: 10px 12px 10px 16px;
    border-radius: 16px;
    background: #1a1d2b;
    color: #e8ebf4;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 14px; line-height: 1.4; }
.cookie a { color: #ffe27a; }
.cookie .btn-primary {
    flex-shrink: 0;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
}
.has-cookie .fab { bottom: 86px; }
@media (max-width: 640px) {
    .cookie {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    .has-cookie .fab { bottom: 140px; }
}
