:root {
    --bg: #f7f8fa;
    --paper: #ffffff;
    --ink: #101426;
    --muted: #58657a;
    --line: #e1e6ee;
    --accent: #f0c20f;
    --accent-dark: #d9ad00;
    --green: #101426;
    --green-dark: #101426;
    --charcoal: #101426;
    --soft: #f7f8fa;
    --shadow: 0 18px 44px rgba(16, 20, 38, .12);
    --font-base: "Roboto", Arial, Helvetica, sans-serif;
    --font-heading: "Roboto Condensed", "Roboto", Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font-base);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body > * {
    max-width: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button,
input,
textarea,
select {
    max-width: 100%;
}

a,
button,
input,
textarea,
summary {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
a,
span,
strong,
small,
summary,
label {
    overflow-wrap: anywhere;
}

.container {
    width: calc(100% - 32px);
    max-width: 1180px;
    margin: 0 auto;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 22px;
    min-height: 74px;
    padding: 10px 16px;
    padding: 10px max(16px, calc((100vw - 1180px) / 2));
    color: var(--ink);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    color: var(--ink);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand span {
    white-space: nowrap;
}

.site-header > *,
.hero-grid > *,
.section-head > *,
.conversion-grid > *,
.visual-grid > *,
.contacts-grid > *,
.footer-grid > *,
.manager-card > *,
.review-person > * {
    min-width: 0;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: inherit;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
}

.nav a,
.header-phone {
    opacity: .92;
}

.nav a {
    white-space: nowrap;
    overflow-wrap: normal;
}

.nav a:hover,
.header-phone:hover {
    opacity: 1;
}

.nav a:hover {
    color: var(--accent);
}

.header-phone:hover {
    color: #fff;
    background: var(--green-dark);
}

.header-phone {
    padding: 12px 16px;
    border-radius: 6px;
    color: #fff;
    background: var(--green);
    font-family: var(--font-heading);
    font-weight: 800;
    white-space: nowrap;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 720px;
    color: #fff;
    overflow: hidden;
    background: var(--charcoal);
}

.hero-media,
.hero-media img,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(16, 20, 38, .96) 0%, rgba(16, 20, 38, .88) 44%, rgba(16, 20, 38, .42) 100%),
        linear-gradient(180deg, rgba(16, 20, 38, .25), rgba(16, 20, 38, .75));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 48px;
    align-items: center;
    min-height: 720px;
    padding-top: 118px;
    padding-bottom: 54px;
}

.hero-content {
    width: 100%;
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 8px 12px;
    border-radius: 6px;
    color: #fff;
    background: rgba(21, 122, 91, .9);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--green-dark);
    background: #dcebe4;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-family: var(--font-heading);
    font-size: 54px;
    font-size: clamp(40px, 4.8vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
}

h1 span {
    display: inline;
}

h2 {
    margin-bottom: 18px;
    font-family: var(--font-heading);
    font-size: 38px;
    font-size: clamp(30px, 3.7vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
}

.lead {
    max-width: 650px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .92);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 56px;
    padding: 16px 24px;
    border: 0;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 14px 28px rgba(240, 106, 36, .34);
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .14);
}

.button-light {
    color: var(--charcoal);
    background: #fff;
}

.button-yellow {
    width: 100%;
    color: #101426;
    background: #f0c20f;
}

.button-yellow:hover {
    background: #d9ad00;
}

.button-wide {
    width: 100%;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 720px;
    margin-top: 24px;
}

.hero-points span {
    min-height: 70px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.quick-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-contact a,
.callback-links a,
.avito-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 800;
    text-align: center;
    white-space: normal;
}

.quick-contact a {
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.lead-card,
.callback-form {
    padding: 30px;
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.lead-card {
    border-top: 5px solid var(--accent);
    align-self: center;
    width: 100%;
    max-width: 100%;
}

.form-kicker {
    margin-bottom: 8px;
    color: var(--green);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.manager-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
    margin: 0 0 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.manager-card img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.manager-card strong,
.manager-card span {
    display: block;
}

.manager-card strong {
    margin-bottom: 3px;
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.05;
}

.manager-card span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.form-title {
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.08;
}

.form-subtitle {
    margin-bottom: 22px;
    color: var(--muted);
}

label {
    display: block;
    margin-bottom: 14px;
}

label span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
}

.consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    margin-top: 4px;
}

.consent input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--accent);
}

.consent span {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.consent a {
    color: var(--accent-dark);
    text-decoration: underline;
}

input,
textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    outline: none;
}

.form-proof {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.form-proof span {
    position: relative;
    padding-left: 18px;
}

.form-proof span::before {
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    content: "";
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(226, 108, 45, .16);
}

small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.form-alert {
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
}

.form-alert.success {
    color: #13563c;
    background: #dff4e9;
}

.form-alert.error {
    color: #8b2d19;
    background: #ffe4dc;
}

.trust-strip {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
    padding: 24px 22px;
    border-left: 1px solid var(--line);
}

.trust-grid div:last-child {
    border-right: 1px solid var(--line);
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    margin-bottom: 4px;
    color: var(--green-dark);
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1;
}

.trust-grid span {
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: 86px 0;
}

.two-columns {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 54px;
    align-items: start;
}

.section-text,
.section-head p {
    color: var(--muted);
    font-size: 18px;
}

.benefits-section {
    background: #fff;
}

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

.benefit-grid article,
.price-grid article,
.steps div,
.work-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.benefit-grid article {
    min-height: 178px;
    padding: 28px;
    border: 0;
    background: #f7f8fa;
}

.benefit-icon {
    display: block;
    margin-bottom: 18px;
    color: #e4b700;
    font-size: 34px;
    line-height: 1;
    text-shadow: 0 1px 0 #10172a;
}

.steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    font-weight: 800;
}

.benefit-grid h3 {
    margin-bottom: 12px;
    color: #10172a;
    font-size: 22px;
}

.benefit-grid p,
.price-grid p,
.steps p,
.work-card p {
    color: var(--muted);
}

.price-section {
    background: #fff;
}

.section-head {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 420px);
    gap: 30px;
    align-items: end;
    margin-bottom: 34px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.price-grid article {
    padding: 28px;
}

.price-grid .featured {
    color: #fff;
    border-color: var(--charcoal);
    background: var(--green-dark);
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.price-grid .featured p {
    color: rgba(255, 255, 255, .76);
}

.price {
    margin-bottom: 16px;
    color: var(--accent-dark);
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 900;
    line-height: 1.05;
}

.featured .price {
    color: #ffd7bd;
}

.visual-band {
    background: var(--soft);
}

.visual-grid {
    display: grid;
    grid-template-columns: .88fr 1fr;
    gap: 54px;
    align-items: center;
}

.visual-grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: #eef2f7;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.work-card {
    overflow: hidden;
    background: #fff;
}

.work-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #eef2f7;
}

.work-card div {
    padding: 18px;
}

.steps-section {
    background: #fff;
}

.reviews-section {
    background: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.review-card {
    padding: 28px;
    border: 0;
    border-radius: 8px;
    background: #f8f9fa;
    box-shadow: 0 14px 38px rgba(20, 26, 30, .06);
}

.review-person {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.review-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #e0a900;
    background: #fbf0bd;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
}

.review-person strong,
.review-person small {
    display: block;
}

.review-person strong {
    margin-bottom: 2px;
    color: #151c2c;
    font-family: var(--font-base);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.15;
}

.review-person small {
    color: #98a1ad;
    font-size: 14px;
    font-weight: 500;
}

.review-stars {
    margin-bottom: 14px;
    color: #f2b600;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1;
}

.reviews-grid p {
    margin: 0;
    color: #293246;
    font-size: 16px;
    line-height: 1.55;
}

.center-head {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.center-head h2 {
    margin-bottom: 10px;
    color: #11172a;
}

.center-head h2 span {
    color: #e4b700;
}

.center-head p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.faq-section {
    background: #f7f8fa;
}

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

.faq-list details {
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: #fff;
}

.faq-list summary {
    position: relative;
    display: block;
    padding: 22px 54px 12px 22px;
    color: #10172a;
    font-weight: 900;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    position: absolute;
    right: 24px;
    top: 22px;
    color: #e4b700;
    font-size: 20px;
    font-weight: 400;
    content: "+";
}

.faq-list details[open] summary::after {
    content: "×";
}

.faq-list p {
    margin: 0;
    padding: 8px 54px 22px 22px;
    color: #58657a;
    font-size: 16px;
    line-height: 1.55;
}

.contacts-section {
    background: #fff;
}

.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 32px;
    align-items: start;
}

.contacts-list {
    display: grid;
    gap: 22px;
}

.contacts-list article {
    min-height: 138px;
    padding: 28px 24px;
    border-radius: 8px;
    background: #f7f8fa;
}

.contact-icon {
    margin-bottom: 18px;
    color: #e84523;
    font-size: 28px;
    line-height: 1;
}

.contacts-list span {
    display: block;
    margin-bottom: 8px;
    color: #8c95a5;
    font-size: 14px;
}

.contacts-list a,
.contacts-list strong {
    color: #10172a;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
}

.contact-form {
    width: 100%;
    max-width: 100%;
    padding: 34px 32px;
    border-radius: 8px;
    background: #191b31;
    color: #fff;
}

.contact-form h3 {
    margin-bottom: 22px;
    color: #fff;
}

.contact-form label span,
.contact-form .consent span {
    color: rgba(255, 255, 255, .72);
}

.contact-form input,
.contact-form textarea {
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
    background: #34364a;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa0af;
}

.contact-form .consent a {
    color: #f0c20f;
}

.avito-link {
    margin-top: 22px;
    color: #fff;
    background: var(--green);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.steps div {
    padding: 24px;
}

.callback {
    color: #fff;
    background: var(--green-dark);
}

.callback-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 54px;
    align-items: center;
}

.callback p {
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
}

.callback-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.callback-links a {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .1);
}

.callback-form {
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 12px;
}

.footer {
    padding: 28px 0;
    background: #151819;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

.footer-grid div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.footer-grid p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
}

.fixed-contacts {
    position: fixed;
    z-index: 30;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: min(720px, calc(100% - 36px));
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .2);
}

.fixed-contacts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 6px;
    color: #fff;
    background: var(--accent);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    white-space: normal;
}

.modal-open {
    overflow: hidden;
}

.lead-modal {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.lead-modal.is-open {
    display: flex;
}

.lead-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 20, 38, .72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.lead-modal__dialog {
    position: relative;
    z-index: 1;
    width: 460px;
    width: min(460px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.lead-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 6px;
    color: var(--ink);
    background: #f0f2f5;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.modal-form {
    padding: 32px;
}

.modal-form h2 {
    max-width: 360px;
    margin-bottom: 10px;
    padding-right: 34px;
    font-size: 34px;
}

.policy-page {
    background: #fff;
}

.policy {
    padding: 48px 0 70px;
}

.policy-container {
    max-width: 880px;
}

.policy-back {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--accent-dark);
    font-weight: 800;
}

.policy h1 {
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 44px;
    font-size: clamp(34px, 5vw, 54px);
}

.policy h2 {
    margin-top: 30px;
    font-family: var(--font-heading);
    font-size: 24px;
}

.policy p {
    color: var(--muted);
    font-size: 17px;
}

.policy ul {
    margin: 0 0 18px;
    padding-left: 22px;
    color: var(--muted);
    font-size: 17px;
}

.policy li {
    margin-bottom: 8px;
}

.policy a {
    color: var(--accent-dark);
    text-decoration: underline;
}

.policy-note {
    padding: 14px 16px;
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    background: #fff8d8;
    color: #5c4b05 !important;
    font-weight: 700;
}

.policy-date {
    margin-top: 36px;
    font-weight: 800;
}

/* Unified conversion style */
.site-header,
.lead-card,
.benefit-grid article,
.price-grid article,
.work-card,
.review-card,
.faq-list details,
.contacts-list article {
    border-radius: 8px;
}

.header-phone {
    color: var(--ink);
    background: var(--accent);
}

.header-phone:hover {
    color: var(--ink);
    background: var(--accent-dark);
}

.nav a:hover,
.consent a,
.policy a,
.policy-back {
    color: var(--accent-dark);
}

.eyebrow {
    color: var(--ink);
    background: var(--accent);
}

.eyebrow.dark {
    color: var(--ink);
    background: rgba(240, 194, 15, .2);
}

.button-primary,
.fixed-contacts a {
    color: var(--ink);
    background: var(--accent);
    box-shadow: 0 14px 28px rgba(240, 194, 15, .28);
}

.button-primary:hover,
.fixed-contacts a:hover {
    color: var(--ink);
    background: var(--accent-dark);
}

.button-outline-dark {
    color: var(--ink);
    border: 1px solid rgba(16, 20, 38, .18);
    background: #fff;
}

.button-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .12);
}

.lead-card {
    border-top-color: var(--accent);
}

.form-kicker,
.trust-grid strong,
.price,
.center-head h2 span,
.review-stars,
.faq-list summary::after {
    color: var(--accent-dark);
}

.manager-card {
    background: #f7f8fa;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(240, 194, 15, .22);
}

.form-proof span::before,
.steps span {
    background: var(--accent);
}

.steps span {
    color: var(--ink);
}

.trust-strip,
.benefits-section,
.price-section,
.reviews-section,
.contacts-section {
    background: #fff;
}

.visual-band,
.faq-section,
.steps-section {
    background: #f7f8fa;
}

.benefit-grid article,
.review-card,
.contacts-list article {
    background: #f7f8fa;
    box-shadow: none;
}

.benefit-icon {
    color: var(--accent-dark);
    text-shadow: 0 1px 0 var(--ink);
}

.price-grid .featured,
.contact-form,
.footer {
    background: var(--ink);
}

.price-grid .featured {
    border-color: var(--ink);
}

.featured .price,
.contact-form .consent a {
    color: var(--accent);
}

.conversion-band {
    padding: 44px 0;
    color: #fff;
    background: var(--ink);
}

.conversion-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.conversion-grid h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 34px;
    font-size: clamp(28px, 3.2vw, 40px);
}

.conversion-grid p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 18px;
}

.conversion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.conversion-band .button-outline-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
}

.calculator-section {
    background: #fff;
}

.calculator-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 24px;
    align-items: start;
}

.calculator-panel,
.calculator-result {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f8fa;
}

.calculator-panel {
    padding: 28px;
}

.calculator-result {
    position: sticky;
    top: 96px;
    padding: 28px;
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow);
}

.calc-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    border-radius: 8px;
    background: #e9edf4;
}

.calc-tabs button {
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    color: var(--ink);
    background: transparent;
    font-family: var(--font-heading);
    font-weight: 800;
    cursor: pointer;
}

.calc-tabs button.is-active {
    background: var(--accent);
}

.calc-pane {
    display: none;
}

.calc-pane.is-active {
    display: grid;
    gap: 18px;
}

.calc-field {
    margin: 0;
}

.calc-field > span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
}

.calc-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calc-options label {
    margin: 0;
}

.calc-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.calc-options span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    background: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    cursor: pointer;
}

.calc-options input:checked + span {
    border-color: var(--accent);
    background: var(--accent);
}

.calc-options.rooms span {
    min-width: 48px;
}

.calc-options.work-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calc-options.work-types span {
    width: 100%;
    min-height: 58px;
    text-align: center;
}

.calc-total {
    margin-bottom: 14px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.calc-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
}

.calc-meta span {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .06);
    font-weight: 700;
}

.calculator-lead label span,
.calculator-lead .consent span {
    color: rgba(255, 255, 255, .72);
}

.calculator-lead input {
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
    background: #303349;
}

.calculator-lead input::placeholder {
    color: #9aa0af;
}

.calculator-lead .consent a {
    color: var(--accent);
}

.avito-link,
.button-yellow {
    color: var(--ink);
    background: var(--accent);
}

.avito-link:hover,
.button-yellow:hover {
    background: var(--accent-dark);
}

.contact-icon {
    color: var(--accent-dark);
}

.contact-form input,
.contact-form textarea {
    background: #303349;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(16, 20, 38, .96) 0%, rgba(16, 20, 38, .88) 44%, rgba(16, 20, 38, .42) 100%),
        linear-gradient(180deg, rgba(16, 20, 38, .16), rgba(16, 20, 38, .76));
}

@media (max-width: 1180px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
        gap: 14px;
    }

    .menu-button {
        display: block;
        justify-self: end;
    }

    .nav {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        display: none;
        grid-column: 1 / -1;
        flex-direction: column;
        gap: 0;
        padding: 10px 16px 18px;
        color: var(--ink);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 18px 30px rgba(0, 0, 0, .08);
        max-height: calc(100vh - 78px);
        overflow-y: auto;
    }

    .site-header.is-open .nav {
        display: flex;
    }

    .nav a {
        padding: 12px 0;
    }

    .header-phone {
        justify-self: end;
    }

    .hero,
    .hero-grid {
        min-height: auto;
    }

    .hero-grid,
    .two-columns,
    .visual-grid,
    .callback-grid,
    .contacts-grid,
    .conversion-grid,
    .calculator-shell {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 30px;
        padding-top: 132px;
    }

    .hero-content {
        max-width: 680px;
    }

    .hero-content h1 {
        max-width: 100%;
        font-size: clamp(34px, 7vw, 58px);
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .lead {
        max-width: 100%;
    }

    .lead-card {
        width: 100%;
        max-width: 560px;
    }

    .hero-points {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .hero-points span {
        min-height: auto;
    }

    .trust-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-grid,
    .works-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-grid .featured {
        transform: none;
    }

    .section-head {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer .brand {
        justify-content: center;
    }

    .conversion-actions {
        justify-content: flex-start;
    }

    .calculator-result {
        position: static;
    }
}

@media (min-width: 1181px) {
    .nav {
        gap: 18px;
        font-size: 14px;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 70px 0;
    }

    .hero-grid {
        padding-top: 116px;
    }

    .trust-grid,
    .price-grid,
    .works-grid,
    .reviews-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .trust-grid div,
    .trust-grid div:last-child {
        border-right: 1px solid var(--line);
    }

    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .section-head {
        margin-bottom: 26px;
    }

    .visual-grid {
        gap: 28px;
    }

    .visual-grid img {
        aspect-ratio: 16 / 11;
    }

    .contacts-list a,
    .contacts-list strong {
        font-size: 18px;
    }

    .calc-options.work-types {
        grid-template-columns: 1fr;
    }

    .footer-grid div {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    html,
    body,
    .site-header,
    main,
    .hero,
    .section,
    .footer {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .container {
        width: 100% !important;
        max-width: 100vw !important;
        margin-left: 0;
        margin-right: 0;
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-header {
        min-height: 68px;
        gap: 10px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand span {
        max-width: 132px;
        font-size: 13px;
        white-space: normal;
        line-height: 1.05;
    }

    .header-phone {
        display: none;
    }

    .nav {
        top: 68px;
    }

    .hero-grid {
        padding-top: 104px;
        padding-bottom: 28px;
    }

    .hero,
    .hero-grid,
    .hero-content,
    .hero-content > *,
    .lead-card,
    .callback-form,
    .contact-form,
    .calculator-panel,
    .calculator-result,
    .visual-grid,
    .contacts-grid,
    .callback-grid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .hero-content > *,
    .hero-actions,
    .quick-contact,
    .hero-points {
        max-width: 100%;
    }

    .hero-grid {
        display: block !important;
    }

    .hero-content,
    .hero-content h1,
    .hero-content .lead,
    .hero-actions,
    .quick-contact,
    .hero-points {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgba(16, 20, 38, .94) 0%, rgba(16, 20, 38, .78) 48%, rgba(16, 20, 38, .94) 100%);
    }

    h1 {
        max-width: 100%;
        font-size: 26px !important;
        line-height: 1.08;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
        white-space: normal !important;
    }

    .hero-content h1 span {
        display: block;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 21px;
    }

    .lead {
        font-size: 18px;
        line-height: 1.48;
    }

    .quick-contact {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-contact a {
        padding: 10px 8px;
        font-size: 14px;
    }

    .button,
    .hero-actions .button {
        width: 100%;
    }

    .lead-card,
    .callback-form {
        padding: 22px;
    }

    .trust-grid,
    .benefit-grid,
    .price-grid,
    .works-grid,
    .reviews-grid,
    .steps,
    .form-row,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .center-head {
        margin-bottom: 28px;
        text-align: left;
    }

    .faq-list summary {
        padding: 18px 46px 10px 16px;
    }

    .faq-list summary::after {
        right: 18px;
        top: 17px;
    }

    .faq-list p {
        padding: 8px 46px 18px 16px;
    }

    .contacts-list article,
    .contact-form {
        padding: 22px;
    }

    .conversion-band {
        padding: 34px 0;
    }

    .conversion-actions .button {
        width: 100%;
    }

    .fixed-contacts {
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 6px;
        width: auto;
        max-width: none;
    }

    .fixed-contacts a {
        flex: 1;
        min-height: 40px;
        padding: 9px 6px;
        font-size: 13px;
        overflow: hidden;
        white-space: nowrap;
    }

    .lead-modal {
        align-items: flex-end;
        padding: 10px;
    }

    .lead-modal__dialog {
        width: 100%;
        border-radius: 8px 8px 0 0;
        max-height: calc(100vh - 20px);
    }

    .modal-form {
        padding: 24px 18px 20px;
    }

    .modal-form h2 {
        font-size: 28px;
    }

    body {
        padding-bottom: 112px;
    }

    .section {
        padding: 62px 0;
    }

    .trust-grid div {
        border-right: 1px solid rgba(255, 255, 255, .12);
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-header {
        padding: 8px 10px;
    }

    .brand {
        gap: 8px;
    }

    .brand span {
        max-width: 108px;
        font-size: 12px;
    }

    .menu-button {
        width: 42px;
        height: 42px;
    }

    .hero-grid {
        padding-top: 94px;
    }

    .eyebrow {
        font-size: 11px;
    }

    h1 {
        font-size: 24px !important;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    h2,
    .conversion-grid h2 {
        font-size: 28px;
    }

    h1,
    h2,
    .lead,
    .hero-points span,
    .manager-card strong,
    .manager-card span,
    .form-title,
    .contacts-list a,
    .contacts-list strong {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .lead {
        font-size: 17px;
    }

    .quick-contact {
        grid-template-columns: 1fr;
    }

    .hero-points {
        margin-top: 18px;
    }

    .lead-card,
    .contact-form,
    .modal-form {
        padding: 20px 16px;
    }

    .calculator-panel,
    .calculator-result {
        padding: 20px 16px;
    }

    .calc-total {
        font-size: 34px;
    }

    .manager-card {
        grid-template-columns: 54px 1fr;
    }

    .manager-card img {
        width: 54px;
        height: 54px;
    }

    .form-title {
        font-size: 25px;
    }

    .benefit-grid article,
    .price-grid article,
    .review-card,
    .steps div,
    .contacts-list article {
        padding: 20px;
    }

    .fixed-contacts {
        gap: 4px;
        padding: 6px;
    }

    .fixed-contacts a {
        min-height: 40px;
        font-size: 12px;
    }

    body {
        padding-bottom: 104px;
    }
}

@media (max-width: 360px) {
    .brand span {
        display: none;
    }

    h1 {
        font-size: 23px;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    h2,
    .conversion-grid h2 {
        font-size: 25px;
    }

    .button {
        min-height: 50px;
        padding: 13px 14px;
    }

    .fixed-contacts a {
        padding: 8px 5px;
        font-size: 10px;
    }
}

@media (hover: none) {
    .button:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .site-header,
    .fixed-contacts,
    .lead-modal {
        display: none !important;
    }

    body {
        padding-bottom: 0;
        color: #000;
        background: #fff;
    }

    .hero,
    .footer,
    .conversion-band,
    .contact-form {
        color: #000;
        background: #fff;
    }
}
