:root {
    --navy: #0c1222;
    --navy-soft: #151d32;
    --ink: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --amber-glow: rgba(245, 158, 11, 0.18);
    --blue: #0ea5e9;
    --green: #16a34a;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 12px 40px rgba(12, 18, 34, 0.08);
    --shadow-lg: 0 24px 60px rgba(12, 18, 34, 0.14);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-h: 76px;
    --promo-h: 44px;
    --ease: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

.promo {
    background: linear-gradient(90deg, var(--navy) 0%, #1a2744 100%);
    color: #e2e8f0;
    min-height: var(--promo-h);
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}
.promo__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}
.promo__badge {
    background: var(--amber);
    color: var(--navy);
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.promo__cta { color: #fde68a; font-weight: 700; border-bottom: 1px solid currentColor; }

.header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    height: var(--header-h);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.logo__mark {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    display: grid; place-items: center; color: var(--navy); font-weight: 900;
}
.logo span { color: var(--amber-dark); }
.nav { display: flex; gap: 6px; }
.nav a {
    padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 0.9rem;
    transition: background var(--ease), color var(--ease);
}
.nav a:hover { background: #fff7ed; color: var(--navy); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { font-weight: 800; color: var(--navy); white-space: nowrap; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none; border-radius: 12px; cursor: pointer; font-weight: 700;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary {
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    color: var(--navy); box-shadow: 0 8px 24px var(--amber-glow);
}
.btn--primary:hover { box-shadow: 0 12px 32px var(--amber-glow); }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--amber); color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--sm { padding: 8px 14px; font-size: 0.8125rem; }
.btn--md { padding: 12px 20px; font-size: 0.9375rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 4px auto; }

.hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 72px 0 88px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(12,18,34,0.92) 0%, rgba(12,18,34,0.72) 45%, rgba(12,18,34,0.35) 100%);
}
.hero__grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero__badge {
    display: inline-block; margin-bottom: 16px; padding: 6px 14px;
    border-radius: 999px; background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.35);
    color: #fde68a; font-size: 0.8125rem; font-weight: 700;
}
.hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__lead { font-size: 1.125rem; color: #cbd5e1; max-width: 34rem; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
    padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}
.stat strong { display: block; font-size: 1.35rem; color: var(--amber); }
.stat span { font-size: 0.8125rem; color: #94a3b8; }
.hero__visual {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.15);
}
.hero__visual img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.section { padding: 88px 0; }
.section--muted { background: #fff; }
.section--dark { background: var(--navy); color: #e2e8f0; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__tag {
    display: inline-block; margin-bottom: 10px; color: var(--amber-dark); font-weight: 800;
    font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.section--dark .section__tag { color: var(--amber); }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; color: var(--navy); letter-spacing: -0.02em; }
.section--dark h2 { color: #fff; }
.section__lead { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
.section--dark .section__lead { color: #94a3b8; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow);
    transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 16/10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 22px; }
.card__body h3 { font-size: 1.125rem; color: var(--navy); margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 14px; }
.card__price { font-weight: 800; color: var(--amber-dark); }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
    font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
    background: #fff7ed; color: #9a3412;
}

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__col {
    background: #fff; border-radius: var(--radius-lg); padding: 28px;
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.compare__col--accent { border-color: rgba(245,158,11,0.45); box-shadow: 0 0 0 1px rgba(245,158,11,0.2), var(--shadow); }
.compare__col h3 { margin-bottom: 16px; color: var(--navy); font-size: 1.25rem; }
.compare__col ul { display: grid; gap: 10px; }
.compare__col li {
    padding-left: 22px; position: relative; color: var(--muted); font-size: 0.9375rem;
}
.compare__col li::before {
    content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px;
    border-radius: 50%; background: var(--amber);
}
.compare__img { border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.compare__img img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit {
    display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
    padding: 22px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.benefit__icon {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(245,158,11,0.15); color: var(--amber); font-weight: 900; font-size: 1.1rem;
}
.benefit h3 { color: #fff; margin-bottom: 6px; font-size: 1.05rem; }
.benefit p { color: #94a3b8; font-size: 0.9375rem; }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work {
    position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 280px;
    box-shadow: var(--shadow);
}
.work img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.work__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(12,18,34,0.92) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff;
}
.work__overlay h3 { font-size: 1.05rem; margin-bottom: 6px; }
.work__overlay p { font-size: 0.8125rem; color: #cbd5e1; }

.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review {
    background: #fff; border-radius: var(--radius-lg); padding: 24px;
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.review__stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; }
.review__text { color: var(--ink); margin-bottom: 18px; font-size: 0.98rem; }
.review__author strong { display: block; color: var(--navy); }
.review__author span { font-size: 0.8125rem; color: var(--muted); }

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__q {
    width: 100%; text-align: left; padding: 18px 20px; background: #fff; border: none; cursor: pointer;
    font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 16px;
}
.faq__q::after { content: "+"; color: var(--amber-dark); font-size: 1.25rem; }
.faq__item.is-open .faq__q::after { content: "−"; }
.faq__a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 0.9375rem; }
.faq__item.is-open .faq__a { display: block; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact__info { display: grid; gap: 16px; }
.contact__item {
    padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.contact__item strong { display: block; color: var(--navy); margin-bottom: 4px; }
.map-wrap {
    border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
    min-height: 320px; background: #e2e8f0; position: relative;
}
.map-placeholder {
    display: grid; place-items: center; text-align: center; padding: 32px; min-height: 320px;
}
.map-placeholder p { color: var(--muted); margin-bottom: 14px; max-width: 28rem; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; }

.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
.form__field label { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form__field input, .form__field textarea {
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
    background: #fff; transition: border-color var(--ease);
}
.form__field input:focus, .form__field textarea:focus { border-color: var(--amber); outline: none; }
.form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8125rem; color: var(--muted); }
.form-checkbox-label input { margin-top: 3px; accent-color: var(--amber-dark); }
.form-checkbox-label a { color: var(--amber-dark); text-decoration: underline; }
.form__note { font-size: 0.75rem; color: var(--muted); }

.footer {
    background: var(--navy); color: #94a3b8; padding: 48px 0 28px;
}
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h3 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: var(--amber); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8125rem;
}
.footer__cookie-btn {
    background: none; border: none; color: #7dd3fc; cursor: pointer; text-decoration: underline; padding: 0;
}

.modal {
    position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
    padding: 24px; background: rgba(12,18,34,0.55); opacity: 0; visibility: hidden;
    transition: opacity var(--ease), visibility var(--ease);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog {
    width: min(480px, 100%); background: #fff; border-radius: var(--radius-lg);
    padding: 28px; box-shadow: var(--shadow-lg); position: relative;
    transform: translateY(12px); transition: transform var(--ease);
}
.modal.is-open .modal__dialog { transform: translateY(0); }
.modal__close {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 1.25rem;
}
.modal h2 { font-size: 1.35rem; color: var(--navy); margin-bottom: 8px; }
.modal p { color: var(--muted); margin-bottom: 20px; font-size: 0.9375rem; }

.toast {
    position: fixed; bottom: 24px; right: 24px; z-index: 220;
    background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 12px;
    box-shadow: var(--shadow-lg); transform: translateY(120%); transition: transform var(--ease);
}
.toast.is-visible { transform: translateY(0); }

.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 180;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(12,18,34,0.08);
    transform: translateY(110%); transition: transform var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 18px 0; flex-wrap: wrap;
}
.cookie-banner__title { font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.cookie-banner__desc { font-size: 0.8125rem; color: var(--muted); max-width: 52rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-settings { border-top: 1px solid var(--line); padding: 16px 0 20px; }
.cookie-settings__item {
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--line);
}
.cookie-settings__item p { font-size: 0.8125rem; color: var(--muted); margin-top: 4px; }
.cookie-settings__badge { font-size: 0.75rem; font-weight: 700; color: var(--green); }

.legal { padding: 48px 0 88px; }
.legal h1 { font-size: 2rem; color: var(--navy); margin-bottom: 12px; }
.legal h2 { font-size: 1.25rem; color: var(--navy); margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 14px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
    .hero__grid, .cards, .compare, .works, .contact, .footer__grid { grid-template-columns: 1fr; }
    .benefits, .reviews { grid-template-columns: 1fr; }
    .hero__stats { grid-template-columns: 1fr; }
    .nav { display: none; }
    .burger { display: block; }
    .header.is-menu-open .nav {
        display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
        background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    }
}
@media (max-width: 640px) {
    .container { width: min(1180px, 100% - 32px); }
    .header__phone { display: none; }
    .section { padding: 64px 0; }
}
