:root {
    --red: #FD3D05;
    --orange: #FEAB01;
    --green: #5CB31C;
    --blue: #0196D5;
    --violet: #6723BC;

    --ink: #17202E;
    --ink-2: #47536A;
    --ink-3: #7B8698;
    --line: #E4E8EF;
    --line-soft: #EFF2F7;
    --bg: #FFFFFF;
    --bg-soft: #F6F8FB;
    --bg-warm: #FFF8EC;

    --wrap: 1180px;
    --r: 20px;
    --r-sm: 12px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }

h1, h2, h3, h4 {
    font-family: 'Nunito', 'Golos Text', sans-serif;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 .5em;
    color: var(--ink);
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.sec { padding: 72px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-tight { padding: 52px 0; }

.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head p { color: var(--ink-2); font-size: 18px; margin: 0; }
.sec-head h2 { margin-bottom: .35em; }

.eyebrow {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    padding: 16px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    text-align: center;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #E23200; color: #fff; }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #027CB1; color: #fff; }

.btn-sm { padding: 12px 20px; font-size: 15px; }
.btn-block { width: 100%; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-row {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 74px;
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
    color: var(--ink-2);
    font-weight: 500;
    font-size: 15.5px;
    padding: 9px 12px;
    border-radius: 10px;
    white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav a.is-active { color: var(--ink); font-weight: 600; }

.header-cta { flex: 0 0 auto; }

.burger {
    display: none;
    margin-left: auto;
    background: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer;
}

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 12px 0 20px; }
.mobile-nav.is-open { display: block; }
.mobile-nav a {
    display: block;
    padding: 13px 4px;
    color: var(--ink);
    font-weight: 600;
    border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .btn { margin-top: 16px; }

.hero { padding: 56px 0 24px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 19px; color: var(--ink-2); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo img, .hero-photo picture { border-radius: 24px; }
.hero-photo { position: relative; }

.hero-note {
    margin-top: 22px;
    font-size: 15px;
    color: var(--ink-3);
}

.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    margin-top: 48px;
}
.fact { padding: 24px 22px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.1;
    margin-bottom: 6px;
}
.fact span { font-size: 15px; color: var(--ink-2); line-height: 1.45; display: block; }
.fact:nth-child(1) b { color: var(--green); }
.fact:nth-child(2) b { color: var(--red); }
.fact:nth-child(3) b { color: var(--blue); }
.fact:nth-child(4) b { color: var(--orange); }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .15s ease;
}
.card:hover { border-color: var(--ink-3); }
.card-photo { position: relative; }
.card-photo img { width: 100%; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 16px; margin-bottom: 16px; }
.card-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-price { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 20px; }
.card-price small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.card-more { font-weight: 600; font-size: 15px; }

.card-tag {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.tag-green { background: var(--green); }
.tag-red { background: var(--red); }
.tag-blue { background: var(--blue); }
.tag-orange { background: var(--orange); color: #4A3000; }
.tag-violet { background: var(--violet); }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.split-photo img, .split-photo picture { border-radius: 24px; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    color: var(--ink-2);
}
.checklist li:last-child { margin-bottom: 0; }
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 13px 13px;
    background-repeat: no-repeat;
    background-position: center;
}

.schedule {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sched {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px;
    background: #fff;
}
.sched-top { border-top: 4px solid var(--blue); }
.sched-top-2 { border-top: 4px solid var(--green); }
.sched h3 { margin-bottom: 4px; }
.sched .sched-sub { color: var(--ink-3); font-size: 15px; margin-bottom: 20px; }
.sched-rows { border-top: 1px solid var(--line-soft); }
.sched-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
}
.sched-row span:first-child { color: var(--ink-2); }
.sched-row span:last-child { font-weight: 600; text-align: right; }
.sched-why {
    margin-top: 20px;
    padding: 16px 18px;
    background: var(--bg-soft);
    border-radius: var(--r-sm);
    font-size: 15px;
    color: var(--ink-2);
}

.price-table { width: 100%; border-collapse: collapse; }
.price-table caption {
    text-align: left;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 20px;
    padding: 0 0 14px;
}
.price-table th, .price-table td {
    text-align: left;
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.price-table th { font-weight: 600; font-size: 14px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table td:last-child { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 18px; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .price-note { display: block; font-family: 'Golos Text', sans-serif; font-size: 14px; font-weight: 400; color: var(--ink-3); }
.price-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px;
    margin-bottom: 24px;
}
.price-box:last-child { margin-bottom: 0; }

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.gallery img { border-radius: 14px; width: 100%; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 14px; color: var(--ink-3); padding-top: 8px; }

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.project {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 24px;
    background: #fff;
}
.project h4 { margin-bottom: 6px; }
.project p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.project-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: #fff; }

.faq { max-width: 880px; }
.faq details {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    margin-bottom: 12px;
    background: #fff;
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 54px 20px 22px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 18px;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-right: 2.4px solid var(--ink-3);
    border-bottom: 2.4px solid var(--ink-3);
    transform: rotate(45deg);
    transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq .faq-body { padding: 0 22px 22px; color: var(--ink-2); }

.cta-band {
    background: var(--bg-warm);
    border-radius: 26px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { color: var(--ink-2); margin-bottom: 0; }

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.field input, .field textarea, .field select {
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); }
.field textarea { min-height: 96px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; margin-bottom: 18px; }
.consent input { margin-top: 3px; flex: 0 0 auto; width: 17px; height: 17px; accent-color: var(--blue); }
.form-msg { display: none; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-sm); font-size: 15px; }
.form-msg.ok { display: block; background: #EAF7E3; color: #2F6415; }
.form-msg.err { display: block; background: #FDEBE6; color: #A32A06; }

.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-line { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-line .ci { flex: 0 0 auto; color: var(--blue); margin-top: 2px; }
.contact-line b { display: block; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px; margin-bottom: 2px; }
.contact-line span, .contact-line a { color: var(--ink-2); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.social {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
}
.social:hover { text-decoration: none; border-color: var(--ink-3); }

.map-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.map-card iframe { display: block; width: 100%; height: 380px; border: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 52px 0 36px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { font-size: 15px; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: var(--ink-2); font-size: 15.5px; }
.footer-brand picture { width: max-content; max-width: 100%; margin-bottom: 16px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { color: var(--ink-2); font-size: 15px; max-width: 300px; }
.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    justify-content: space-between;
    font-size: 14px;
    color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-3); }

.page-head { padding: 48px 0 8px; }
.page-head h1 { margin-bottom: 14px; }
.page-head .lead { font-size: 19px; color: var(--ink-2); max-width: 760px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); }

.prose { max-width: 820px; font-size: 17px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 22px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.prose blockquote {
    margin: 1.4em 0;
    padding: 18px 22px;
    background: var(--bg-warm);
    border-radius: var(--r-sm);
    color: var(--ink-2);
}
.prose img { border-radius: var(--r-sm); margin: 1.2em 0; }

.err { padding: 90px 0 70px; text-align: center; }
.err h1 { font-size: clamp(64px, 12vw, 120px); color: var(--blue); margin-bottom: 0; }
.err p { font-size: 19px; color: var(--ink-2); max-width: 520px; margin: 12px auto 28px; }

.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
    .nav { display: none; }
    .header-cta { display: none; }
    .burger { display: flex; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .projects { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .sec { padding: 52px 0; }
    .facts { grid-template-columns: 1fr 1fr; }
    .fact { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .fact:nth-child(2n) { border-right: 0; }
    .fact:nth-child(n+3) { border-bottom: 0; }
    .cards, .cards-2 { grid-template-columns: 1fr; }
    .split, .contacts-grid, .schedule, .cta-band { grid-template-columns: 1fr; gap: 28px; }
    .cta-band { padding: 32px 24px; }
    .projects { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .price-table th, .price-table td { padding: 13px 10px; }
    .price-box { padding: 22px 18px; }
    .hero { padding: 36px 0 8px; }
}

.field-hint { font-size: 13.5px; color: var(--ink-3); margin: 7px 0 0; line-height: 1.45; }

.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--red); }

.fill-me {
    display: inline-block;
    background: #FFE9E2;
    color: #A32A06;
    border: 1px dashed #E8846A;
    border-radius: 6px;
    padding: 1px 7px;
    font-size: 14px;
    font-weight: 600;
}

.legal-note {
    border: 1px solid #F0C9BC;
    background: #FFF4F0;
    border-radius: var(--r-sm);
    padding: 16px 20px;
    margin-bottom: 28px;
    max-width: 820px;
}
.legal-note p { margin: 0; font-size: 15px; color: #7A3418; }

.doc-version { color: var(--ink-3); font-size: 14px; margin-bottom: 1.6em; }

.cookie-note {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: 0 8px 28px rgba(23, 32, 46, .12);
    padding: 18px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.cookie-note p { margin: 0; font-size: 14.5px; color: var(--ink-2); flex: 1 1 260px; line-height: 1.5; }
.cookie-note .btn { flex: 0 0 auto; }
.cookie-note[hidden] { display: none; }

@media (max-width: 520px) {
    .cookie-note { padding: 16px; }
    .cookie-note .btn { width: 100%; }
}
