
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--site-font, "Raleway", Arial, sans-serif);
}
a{
text-decoration: none;
}
button, .btn, input[type="submit"], input[type="button"], [role="button"] {
    cursor: pointer;
}
button:disabled, input[type="submit"]:disabled, input[type="button"]:disabled {
    cursor: default;
}
.lider-site form[action$="send.php"] button[type="submit"]:disabled {
    opacity: .55;
    filter: saturate(.3);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
body {
    background: #f6f4f0; /* светлый фон */
    color: #242522; /* тёмный текст */
    line-height: 1.5;
            font-weight: 500;
}
.hide{
display: none;
}
input {
font-size: 16px !important;
}
img {
    max-width:100%;
height: auto;
}
.container {
    max-width: 1170px;
    width: 100%;
    margin: auto;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 74px;
}
body {
    margin: 0;
    font-family: var(--site-font, "Raleway", Arial, sans-serif);
    background: linear-gradient(180deg, #f6f4f0, #fff);
    color: #1a1a1a;
}
.site-header {
    z-index: 100;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid #deded5;
    box-shadow: 0 14px 34px rgba(15,23,42,0.08);
    backdrop-filter: blur(12px);
}
.site-header__top {
    border-bottom: 1px solid #edf2f7;
}
.site-header__top-inner {
    min-height: 104px;
    display: grid;
    grid-template-columns: minmax(220px, auto) minmax(132px, 170px) auto minmax(220px, 1fr) auto;
    gap: 35px;
    align-items: center;
}
.site-header__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #242522;
        margin-right: 35px;
}
.site-header__logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}
.site-header__logo span {
    max-width: 178px;
    line-height: 1.25;
}
.site-header__logo strong,
.site-header__logo small {
    display: block;
}
.site-header__logo strong {
    color: #242522;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 800;
}
.site-header__logo small {
    margin-top: 4px;
    color: #71736d;
    font-size: max(var(--desktop-text-min, 0px), 14px);
    line-height: 1.2;
}
.site-header__rating {
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-header__rating img {
    width: 160px;
    max-height: 58px;
    object-fit: contain;
    display: block;
}
.site-header__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-header__social {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fbff;
    border: 1px solid #e6edf5;
    box-shadow: 0 8px 18px rgba(42,127,255,0.12);
}
.site-header__social img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}
.site-header__social--max img {
    width: 30px;
    height: 22px;
}
.site-header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
.site-header__phone {
    color: #242522;
    font-size: 18px;
    line-height: 1.05;
    font-weight: 900;
    white-space: nowrap;
}
.site-header__email {
    color: #71736d;
    font-size: max(var(--desktop-text-min, 0px), 14px);
}
.site-header__hours,
.contact-hours {
    display: block;
    font-size: 16px;
    line-height: 1.3;
}
.site-header__hours {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #71736d;
    white-space: nowrap;
}
.site-header__call-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: header-call-blink 2s ease-in-out infinite;
}
@keyframes header-call-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) {
    .site-header__call-dot { animation: none; }
}
@media (max-width: 767px) {
    .site-header__hours { font-size: 14px; }
}
.contact-hours { opacity: .8; }
.site-header__call {
    min-height: 56px;
    padding: 0 28px;
    border: 1px solid #37ad80;
    border-radius: 8px;
    background: white;
    color: #37ad80;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(42,127,255,0.1);
}
.site-header__nav-inner {
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow-x: auto;
}
.site-header__nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid #deded5;
    box-shadow: 0 10px 24px rgba(15,23,42,0.08);
    backdrop-filter: blur(12px);
}
.site-header__nav a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-left: 1px solid #edf2f7;
    color: #4a4c47;
    font-size: max(var(--desktop-text-min, 0px), 15px);
    
    white-space: nowrap;
}
.site-header__nav a:last-child {
    border-right: 1px solid #edf2f7;
}
.site-header__nav a:hover,
.site-header__call:hover {
    color: #0052cc;
    background: #f4f8ff;
}
.hero {
padding: 0 0 50px 0;
background: white;
}
.hero-box {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: 20px;
}
.hero-text {
    flex: 1;
}
.badge {
    display: inline-block;
    background: #e6f0ff;
    color: #37ad80;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: max(var(--desktop-text-min, 0px), 14px);
    margin-bottom: 15px;
}
.hero h1 {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero h1 span {
    color: #37ad80;
}
.hero p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}
.bullets {
    margin-bottom: 30px;
}
.bullets div {
    margin-bottom: 10px;
}
.cta-block {
    display: flex;
    align-items: center;
    gap: 15px;
}
.btn {
    padding: 16px 28px;
    background: linear-gradient(135deg, #37ad80, #0052cc);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(42,127,255,0.3);
    border: 0;
}
.note {
    font-size: max(var(--desktop-text-min, 0px), 14px);
    color: #777;
}
.trust {
    margin-top: 20px;
    font-size: max(var(--desktop-text-min, 0px), 14px);
    color: #555;
}
.hero-img img {
    width: 500px;
    border-radius: 16px;
}
/* адаптив */
@media(max-width: 900px) {
    .hero-box {
        flex-direction: column;
        text-align: center;
    }
    .hero-img img {
        width: 100%;
    }
    .cta-block {
        flex-direction: column;
    }
}
.problems {
    padding: 80px 20px;
}
.problems h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
.problem-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.problem-card .icon {
    font-size: 30px;
    margin-bottom: 10px;
}
.problem-card h3 {
    margin-bottom: 10px;
}
.problem-card p {
    color: #666;
}
.solution-box {
    background: linear-gradient(135deg, #37ad80, #0052cc);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}
.solution-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}
.solution-box p {
    margin-bottom: 25px;
    color: rgba(255,255,255,0.9);
}
.solution-box .btn {
    background: white;
    color: #37ad80;
    box-shadow: none;
}
.types {
    padding: 80px 20px;
}
.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}
.types h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}
.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.type-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}
.type-card img {
    width: 100%;
    
    object-fit: cover;
}
.type-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
}
.type-card p {
    padding: 0 20px 15px;
    color: #666;
    flex-grow: 1;
}
.price {
    padding: 0 20px 15px;
    font-weight: bold;
    font-size: 18px;
    color: #37ad80;
}
.type-card .btn {
    margin: 0 20px 20px;
    text-align: center;
}
/* адаптив */
@media(max-width: 900px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
}
.calc {
    padding: 80px 20px;
}
.calc-box {
    display: flex;
    gap: 40px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.calc-left {
    flex: 1;
}
.calc-right {
    flex: 1;
    background: #f4f8ff;
    padding: 30px;
    border-radius: 16px;
}
.calc h2 {
    font-size: 30px;
    margin-bottom: 10px;
}
.calc-sub {
    color: #666;
    margin-bottom: 25px;
}
.calc-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.calc-form label {
    font-size: max(var(--desktop-text-min, 0px), 14px);
    color: #555;
}
.calc-form select,
.calc-form input {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: max(var(--desktop-text-min, 0px), 15px);
}
.btn.big {
    padding: 18px;
    font-size: 16px;
    margin-top: 10px;
}
.form-note {
    font-size: max(var(--desktop-text-min, 0px), 13px);
    color: #888;
    margin-top: 10px;
}
.bonus {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #37ad80;
}
.calc-right ul {
    padding-left: 20px;
    margin-bottom: 20px;
}
.calc-right li {
    margin-bottom: 10px;
}
.mini-trust {
    font-size: max(var(--desktop-text-min, 0px), 14px);
    color: #555;
}
/* адаптив */
@media(max-width: 900px) {
    .calc-box {
        flex-direction: column;
    }
}
.balcony-calc {
    background: white;
    padding: 42px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.balcony-calc__head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.balcony-calc__head h2 {
    margin-bottom: 10px;
}
.balcony-calc__badge {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 8px;
    background: #e8f7ef;
    color: var(--brand, #37ad80);
    font-size: max(var(--desktop-text-min, 0px), 14px);
    font-weight: 700;
}
.balcony-calc__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: start;
}
.balcony-calc__preview,
.balcony-calc__form {
    border: 1px solid #deded5;
    border-radius: 16px;
    background: #fbfdff;
}
.balcony-calc__preview {
    padding: 22px;
}
.balcony-calc__tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}
.balcony-shape {
    min-height: 96px;
    border: 1px solid #d7e1ee;
    border-radius: 12px;
    background: white;
    color: #242522;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: max(var(--desktop-text-min, 0px), 14px);
    transition: 0.2s;
}
.balcony-shape:hover,
.balcony-shape.active {
    border-color: #37ad80;
    box-shadow: 0 12px 24px rgba(42,127,255,0.14);
}
.balcony-shape.active {
    background: #eef5ff;
}
.balcony-shape__icon {
    width: 52px;
    height: 34px;
    display: block;
    border: 4px solid #37ad80;
    border-radius: 6px;
    position: relative;
}
.balcony-shape__icon::before,
.balcony-shape__icon::after {
    content: "";
    position: absolute;
    background: #37ad80;
}
.balcony-shape__icon--straight::before {
    width: 4px;
    height: 100%;
    left: 50%;
    top: 0;
}
.balcony-shape__icon--corner {
    width: 42px;
    border-right: 0;
    border-top-right-radius: 0;
}
.balcony-shape__icon--corner::after {
    width: 24px;
    height: 4px;
    right: -20px;
    top: -4px;
}
.balcony-shape__icon--u {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.balcony-shape__icon--complex {
    transform: skewX(-10deg);
}
.balcony-shape__icon--complex::before {
    width: 4px;
    height: 100%;
    left: 32%;
    top: 0;
}
.balcony-shape__icon--complex::after {
    width: 4px;
    height: 100%;
    right: 32%;
    top: 0;
}
.balcony-window {
    min-height: 310px;
    padding: 26px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(42,127,255,0.12), rgba(22,128,82,0.1)),
        linear-gradient(180deg, #ffffff, #f6f4f0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}
.balcony-window__label {
    text-align: center;
    color: #5d6059;
    font-size: max(var(--desktop-text-min, 0px), 15px);
}
.balcony-window__frame {
    height: 180px;
    border: 8px solid #1f6ed4;
    border-radius: 10px;
    background: linear-gradient(180deg, #dff1ff, #ffffff);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.75);
    transition: 0.25s;
}
.balcony-window__frame span {
    border-left: 5px solid #1f6ed4;
    position: relative;
}
.balcony-window__frame span:first-child {
    border-left: 0;
}
.balcony-window__frame span::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 16px;
    height: 3px;
    background: rgba(31,110,212,0.35);
}
.balcony-window[data-shape="corner"] .balcony-window__frame {
    transform: perspective(550px) rotateY(-12deg);
    transform-origin: left;
}
.balcony-window[data-shape="u"] .balcony-window__frame {
    border-left-width: 16px;
    border-right-width: 16px;
    transform: perspective(620px) rotateX(3deg);
}
.balcony-window[data-shape="complex"] .balcony-window__frame {
    transform: skewX(-5deg);
    grid-template-columns: 0.8fr 1.15fr 0.9fr 1.15fr;
}
.balcony-calc__totals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.balcony-calc__totals div {
    background: white;
    border: 1px solid #deded5;
    border-radius: 12px;
    padding: 14px;
}
.balcony-calc__totals span,
.balcony-calc__result span,
.balcony-calc__result small {
    display: block;
    color: #71736d;
    font-size: max(var(--desktop-text-min, 0px), 13px);
}
.balcony-calc__totals strong {
    display: block;
    margin-top: 6px;
    font-size: 20px;
    color: #242522;
}
.balcony-calc__form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.calc-field__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.calc-field label,
.calc-field output {
    font-size: max(var(--desktop-text-min, 0px), 14px);
    color: #5d6059;
}
.calc-field output {
    color: #242522;
    font-weight: 700;
}
.calc-field select,
.balcony-calc__form input[type="tel"] {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #d7e1ee;
    background: white;
    font-size: max(var(--desktop-text-min, 0px), 15px);
}
.calc-field input[type="range"] {
    width: 100%;
    accent-color: #37ad80;
}
.calc-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.calc-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px;
    border: 1px solid #d7e1ee;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    font-size: max(var(--desktop-text-min, 0px), 14px);
}
.calc-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand, #37ad80);
}
.balcony-calc__result {
    padding: 18px;
    border-radius: 14px;
    background: #242522;
    color: white;
}
.balcony-calc__result strong {
    display: block;
    margin: 4px 0;
    font-size: 34px;
    color: white;
}
.balcony-calc__result small {
    color: rgba(255,255,255,0.72);
}
.balcony-window {
    position: relative;
    min-height: 380px;
    padding: 28px 46px 42px 58px;
    background: white;
}
.balcony-window__image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    display: block;
}
.balcony-window__ruler {
    position: absolute;
    color: #5d6059;
    font-size: max(var(--desktop-text-min, 0px), 14px);
}
.balcony-window__ruler::before {
    content: "";
    position: absolute;
    background: #9aa8bb;
}
.balcony-window__ruler--height {
    left: 18px;
    top: 38px;
    bottom: 72px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.balcony-window__ruler--height::before {
    left: -10px;
    top: 0;
    width: 3px;
    height: 100%;
}
.balcony-window__ruler--width {
    left: 92px;
    right: 48px;
    bottom: 16px;
    text-align: center;
}
.balcony-window__ruler--width::before {
    left: 0;
    right: 0;
    top: -9px;
    height: 3px;
}
.calc-glazing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.calc-glazing__card {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 2px solid #deded5;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: 0.2s;
}
.calc-glazing__card:has(input:checked) {
    border-color: #37ad80;
    box-shadow: 0 12px 24px rgba(42,127,255,0.14);
}
.calc-glazing__card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.calc-glazing__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #37ad80;
    font-size: 36px;
    line-height: 1;
}
.calc-glazing__icon--warm {
    color: #f6c945;
}
.calc-glazing__card strong,
.calc-glazing__card small {
    display: block;
}
.calc-glazing__card strong {
    color: #242522;
    margin-bottom: 5px;
}
.calc-glazing__card small {
    color: #71736d;
    font-size: max(var(--desktop-text-min, 0px), 13px);
}
.calc-dimensions,
.calc-profile-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.calc-input-unit {
    position: relative;
}
.calc-input-unit input {
    width: 100%;
    padding: 14px 44px 14px 14px;
    border-radius: 10px;
    border: 1px solid #d7e1ee;
    background: white;
    font-size: 17px !important;
    font-weight: 700;
}
.calc-input-unit span {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #71736d;
    font-size: max(var(--desktop-text-min, 0px), 14px);
}
.calc-field select,
.balcony-calc__form input[type="tel"] {
    min-height: 52px;
}
.calc-status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: end;
}
.calc-status__item {
    display: grid;
    gap: 8px;
}
.calc-status__item span {
    color: #71736d;
    font-size: max(var(--desktop-text-min, 0px), 12px);
}
.calc-status__item i {
    height: 6px;
    border-radius: 99px;
    background: #edf2f7;
    overflow: hidden;
}
.calc-status__item b {
    display: block;
    height: 100%;
    width: 60%;
    border-radius: inherit;
    background: #69ad8a;
    transition: width 0.2s;
}
.calc-status__item:nth-child(2) b {
    background: #f2cf4d;
}
.calc-status__item:nth-child(3) b {
    background: #95d95f;
}
.calc-option:has(input:checked) {
    border-color: var(--brand, #37ad80);
    background: #f2fbf6;
}
.reviews {
    padding: 80px 20px;
}
.reviews h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}
.reviews .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}
.review-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: 0.3s;
}
.review-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.review-content {
    padding: 20px;
}
.review-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
}
.review-content p {
    color: #666;
    margin-bottom: 15px;
}
.author {
    font-size: max(var(--desktop-text-min, 0px), 14px);
    color: #888;
}
.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
}
.stat {
    text-align: center;
}
.num {
    font-size: 28px;
    font-weight: bold;
    color: #37ad80;
}
.label {
    font-size: max(var(--desktop-text-min, 0px), 14px);
    color: #666;
}
.center {
    text-align: center;
}
/* адаптив */
@media(max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .stats {
        flex-direction: column;
        gap: 20px;
    }
}
.process {
    padding: 80px 20px;
    background: #f7f9fc;
}
.process h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}
.process .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}
.steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.step {
    background: white;
    flex: 1;
    min-width: 180px;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.step-num {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    background: #37ad80;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.step h3 {
    margin-bottom: 10px;
    font-size: 18px;
}
.step p {
    font-size: max(var(--desktop-text-min, 0px), 14px);
    color: #666;
}
.process-cta {
    text-align: center;
}
/* адаптив */
@media(max-width: 900px) {
    .steps {
        flex-direction: column;
    }
}
.why {
    padding: 80px 20px;
}
.why h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}
.why .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}
.why-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: 0.3s;
}
.why-card .icon {
    font-size: 30px;
    margin-bottom: 10px;
}
.why-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}
.why-card p {
    font-size: max(var(--desktop-text-min, 0px), 14px);
    color: #666;
}
.why-cta {
    text-align: center;
}
/* адаптив */
@media(max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}
.offer {
    padding: 80px 20px;
}
.offer-box {
    background: linear-gradient(135deg, #37ad80, #0052cc);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.offer-box h2 {
    font-size: 32px;
    margin-bottom: 15px;
}
.offer-sub {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}
.offer-items {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.offer-items .item {
    background: rgba(255,255,255,0.15);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: max(var(--desktop-text-min, 0px), 15px);
}
.timer {
    margin-bottom: 25px;
    font-size: max(var(--desktop-text-min, 0px), 14px);
    opacity: 0.9;
}
.btn.white {
    background: white;
    color: #37ad80;
    font-weight: bold;
    padding: 16px 30px;
}
/* адаптив */
@media(max-width: 900px) {
    .offer-box {
        padding: 40px 20px;
    }
}
.final-box {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.final-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
}
.final-sub {
    color: #666;
    margin-bottom: 30px;
}
.final-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.final-form input[type="text"],
.final-form input[type="tel"],
.final-form input[type="email"] {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: max(var(--desktop-text-min, 0px), 15px);
}
.contact-methods {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.contact-methods label {
    cursor: pointer;
}
.contact-methods input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.contact-methods span {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #d7e1ee;
    border-radius: 10px;
    background: #fff;
    color: #242522;
    font-size: max(var(--desktop-text-min, 0px), 14px);
    font-weight: 700;
    transition: 0.2s;
    padding: 0 10px;
}
.contact-methods span img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 auto;
}
.contact-methods input:checked + span {
    border-color: #37ad80;
    background: #eef5ff;
    color: #37ad80;
    box-shadow: 0 10px 22px rgba(42,127,255,0.14);
}
.final-box .btn.big {
    padding: 18px;
    font-size: 16px;
}
.final-box .form-note {
    font-size: max(var(--desktop-text-min, 0px), 13px);
    color: #888;
}
.extra {
    margin-top: 20px;
    font-size: max(var(--desktop-text-min, 0px), 14px);
    color: #555;
}
.extra a {
    color: #37ad80;
    font-weight: 700;
}
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    padding: 20px;
    overflow-y: auto;
}
.lead-modal.is-open {
    display: block;
}
.lead-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(4px);
}
.lead-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 640px);
    margin: 0 auto;
    overflow: visible;
}
.lead-modal__dialog .final-box {
    width: 100%;
    max-width: none;
    padding: 28px 34px;
}
.lead-modal__dialog .final-sub { margin-bottom: 20px; }
.lead-modal__dialog .final-form { gap: 10px; }
.lead-modal__field-label {
    margin: 0;
    text-align: left;
    color: #5d6059;
    font-size: 16px;
}
.lead-modal__direct {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #deded5;
}
.lead-modal__direct > p {
    margin-bottom: 12px;
    color: #5d6059;
    font-size: 16px;
}
.lead-modal__messengers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.lead-modal__messengers a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    padding: 10px 8px;
    border: 1px solid #d7e1ee;
    border-radius: 10px;
    background: #f8f7f3;
    color: #242522;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.lead-modal__messengers img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}
.lead-modal__messengers a span { color: #71736d; }
.lead-modal__messengers a:hover {
    border-color: #37ad80;
    background: #eef5ff;
}
.lead-modal__messengers a:focus-visible,
.contact-methods input:focus-visible + span {
    outline: 3px solid #37ad80;
    outline-offset: 3px;
}
.lead-modal__phones {
    margin-top: 14px;
    font-size: 16px;
    color: #71736d;
}
.lead-modal__phones > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-top: 6px;
}
.lead-modal__phones a {
    color: #37ad80;
    font-weight: 700;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .lead-modal__dialog .final-box { padding: 30px 20px; }
    .lead-modal__messengers { grid-template-columns: 1fr; }
    .lead-modal__messengers a { justify-content: flex-start; padding-inline: 16px; }
    .lead-modal__messengers a span { margin-left: auto; }
}
.lead-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f6f4f0;
    color: #242522;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}
body.modal-open {
    overflow: hidden;
}
/* адаптив */
@media(max-width: 600px) {
    .final-box {
        padding: 30px 20px;
    }
}
.faq {
    padding: 80px 20px;
    background: #f7f9fc;
}
.city-seo {
    padding: 76px 20px;
    background: #ffffff;
}
.city-seo .container {
    max-width: 980px;
}
.city-seo h2 {
    margin-bottom: 20px;
    font-size: 32px;
    line-height: 1.2;
}
.city-seo__text {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.75;
}
.city-seo__text p + p {
    margin-top: 14px;
}
.faq h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}
.faq-list {
    max-width: 800px;
    margin: auto;
}
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 20px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.faq-question {
    font-weight: bold;
}
.faq-answer {
    margin-top: 10px;
    color: #666;
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-cta {
    text-align: center;
    margin-top: 30px;
}
.section-head {
    text-align: center;
}
.section-head h2 {
    font-size: 32px;
    margin-bottom: 10px;
}
.production {
    padding: 0 0 90px 0px;
}
.implementation-section,
.portfolio-section {
    padding: 90px 20px;
    background:
        radial-gradient(circle at 12% 20%, rgba(42,127,255,0.14), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(22,128,82,0.12), transparent 30%),
        linear-gradient(180deg, #f7fbff, #ffffff);
}
.portfolio-section[hidden] {
    display: none;
}
.photo-slider {
    margin-top: 42px;
}
.photo-slider__viewport,
.review-card-slider__viewport {
    overflow: hidden;
}
.photo-slider__track,
.review-card-slider__track {
    display: flex;
    transition: transform 0.35s ease;
}
.photo-slider__track {
    gap: 18px;
}
.photo-slide {
    flex: 0 0 calc((100% - 54px) / 4);
    min-height: 360px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #242522;
}
.photo-slide img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    opacity: 0.82;
}
.photo-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.08), rgba(15,23,42,0.78));
}
.photo-slide div {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 24px;
    z-index: 1;
    max-width: 520px;
    color: white;
}
.photo-slide span {
    display: inline-block;
    margin-bottom: 12px;
    color: #37ad80;
    font-size: 18px;
    font-weight: 800;
}
.photo-slide h3 {
    font-size: 21px;
    line-height: 1.18;
    padding-bottom: 10px;;
}
.photo-slide p {
font-size: max(var(--desktop-text-min, 0px), 13px);
}
.implementation-slide {
    min-height: 430px;
}
.implementation-slide[data-lightbox-open] {
    cursor: pointer;
}
.implementation-slide img {
    min-height: 430px;
}
.portfolio-photo {
    flex: 0 0 calc((100% - 54px) / 4);
    min-height: 360px;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    padding: 0;
    background: #242522;
    cursor: pointer;
}
.portfolio-photo img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
    transition: filter 0.25s ease;
}
.portfolio-photo:hover img {
    filter: brightness(1.08);
}
.slider-controls,
.mini-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
}
.slider-controls button,
.mini-slider-controls button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #37ad80;
    color: white;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}
.slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}
.slider-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: #d6dce6;
    padding: 0;
    cursor: pointer;
}
.slider-dots button.active {
    background: #37ad80;
}
.trust-screen,
.client-reviews {
    padding: 90px 20px;
}
.trust-screen {
    background: radial-gradient(circle at 80% 28%, rgba(42, 127, 255, 0.16), transparent 28%), linear-gradient(120deg, rgba(10, 14, 20, 0.94), rgba(16, 25, 32, 0.9));}
.trust-panel {
    min-height: 660px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 48px;
    align-items: center;
    color: white;
}
.trust-panel__content h2 {
    max-width: 760px;
    font-size: 44px;
    line-height: 1.12;
    margin-bottom: 16px;
}
.trust-panel__content > p {
    max-width: 760px;
    font-size: 24px;
    line-height: 1.38;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
}
.trust-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.trust-points div {
    min-height: 190px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 18px 46px rgba(0,0,0,0.16);
    backdrop-filter: blur(8px);
}
.trust-points span {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #37ad80;
    color: white;
    margin-bottom: 18px;
    font-weight: 900;
}
.trust-icon::before {
    font-size: 25px;
    line-height: 1;
}
.trust-icon--budget::before {
    content: "💰";
}
.trust-icon--quality::before {
    content: "🛡️";
}
.trust-icon--terms::before {
    content: "🤝";
}
.trust-icon--clients::before {
    content: "🏠";
}
.trust-icon--estimate::before {
    content: "📋";
}
.trust-icon--payment::before {
    content: "💳";
}
.trust-points strong {
    display: block;
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 8px;
}
.trust-points p {
    color: rgba(255,255,255,0.72);
    font-size: max(var(--desktop-text-min, 0px), 15px);
    line-height: 1.45;
}
.contract-card {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
}
.contract-card__text {
    text-align: center;
}
.contract-card__text h3 {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 8px;
}
.contract-card__text p {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 18px;
}
.contract-card__text small {
    color: rgba(255,255,255,0.78);
    font-size: max(var(--desktop-text-min, 0px), 15px);
    line-height: 1.5;
}
.contract-doc {
    min-height: 480px;
    background: #fff;
    color: #171717;
    box-shadow: 0 0 0 18px rgba(0,0,0,0.35);
    position: relative;
        line-height: 0;
}
.contract-doc__logo {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #37ad80;
    color: white;
    margin-bottom: 24px;
    font-weight: 900;
}
.contract-doc strong,
.contract-doc span,
.contract-doc b,
.contract-doc i {
    display: block;
}
.contract-doc span {
    color: #777;
    margin: 4px 0 38px;
}
.contract-doc i {
    height: 2px;
    background: #d8d8d8;
    margin-bottom: 24px;
}
.contract-doc b {
    margin: 34px 0 18px;
    text-transform: uppercase;
    color: #777;
}
.client-reviews {
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 70px;
    background: radial-gradient(circle at 80% 28%, rgba(42, 127, 255, 0.16), transparent 28%), linear-gradient(120deg, rgba(10, 14, 20, 0.94), rgba(16, 25, 32, 0.9));
}
.client-reviews__head {
    color: white;
    text-align: center;
    margin-bottom: 38px;
}
.client-reviews__head p {
    font-size: 34px;
    font-weight: 300;
    color: rgba(255,255,255,0.82);
}
.client-reviews__head h2 {
    font-size: 42px;
    line-height: 1.15;
}
.client-reviews__head h2 span {
    font-weight: 300;
}
.review-showcase {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}
.video-review,
.letter-review,
.chat-review {
    min-width: 0;
    min-height: 500px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 24px 60px rgba(0,0,0,0.26);
    display: flex;
    flex-direction: column;
}
.video-review .review-card-slider__viewport,
.letter-review .review-card-slider__viewport,
.chat-review .review-card-slider__viewport {
    flex: 0 0 auto;
    height: 390px;
}
.video-review .review-card-slider__track,
.letter-review .review-card-slider__track,
.chat-review .review-card-slider__track {
    height: 100%;
}
.video-review__slide,
.letter-sheet,
.phone-chat {
    flex: 0 0 100%;
}
.video-review__slide {
    position: relative;
    height: 100%;
    min-height: 390px;
    overflow: hidden;
}
.video-review__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.68);
}
.video-review__slide button,
.video-review__slide a {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 0;
    border-radius: 50%;
    background: #37ad80;
    color: white;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.letter-review .review-card-slider__track > img,
.chat-review .review-card-slider__track > img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: contain;
    background: white;
}
.review-link {
    display: inline-block;
    margin-top: 30px;
    color: #37ad80;
    border-bottom: 1px solid currentColor;
    font-weight: 700;
    margin-top: auto;
}
.letter-sheet {
    min-height: 100%;
    padding: 34px;
    background: white;
    color: #171717;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}
.letter-sheet strong {
    display: block;
    margin-bottom: 38px;
    text-align: center;
}
.letter-sheet p {
    line-height: 1.65;
    color: #3f3f46;
}
.letter-sheet span {
    display: block;
    margin-top: 40px;
    color: #777;
    text-align: right;
}
.phone-chat {
    min-height: 100%;
    border: 10px solid #09090b;
    border-radius: 36px;
    background: #e7f2ff;
    padding: 22px 14px;
    box-shadow: 0 18px 42px rgba(0,0,0,0.32);
}
.phone-chat__top {
    padding: 10px;
    margin: -6px -2px 18px;
    border-radius: 22px;
    background: white;
    color: #111827;
    text-align: center;
    font-weight: 800;
}
.chat-bubble {
    width: 86%;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 12px 12px 12px 3px;
    background: white;
    color: #111827;
    font-size: max(var(--desktop-text-min, 0px), 14px);
    line-height: 1.35;
}
.chat-bubble--accent {
    margin-left: auto;
    border-radius: 12px 12px 3px 12px;
    background: #dff8c6;
}
.chat-input {
    margin-top: 78px;
    padding: 12px;
    border-radius: 18px;
    background: white;
    color: #94968d;
}
.contacts-section {
    padding: 90px 20px;
    background:
        linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.94)),
        radial-gradient(circle at 18% 18%, rgba(42,127,255,0.14), transparent 26%),
        radial-gradient(circle at 86% 28%, rgba(22,128,82,0.12), transparent 24%),
        #ffffff;
}
.contacts-section h2 {
    text-align: center;
    font-size: 46px;
    line-height: 1.16;
    margin-bottom: 12px;
}
.contacts-section__intro {
    max-width: 900px;
    margin: 0 auto 54px;
    text-align: center;
}
.contacts-section__subtitle {
    margin: 0 0 12px;
    color: #176fe5;
    font-size: 20px;
    font-weight: 900;
}
.contacts-section__about {
    margin: 0;
    color: #71736d;
    font-size: 17px;
    line-height: 1.7;
}
.contacts-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.28fr 1fr;
    gap: 42px;
    align-items: stretch;
}
.contacts-info {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.contacts-info h3 {
    font-size: 28px;
    line-height: 1.22;
    margin-bottom: 40px;
    font-weight: 800;
}
.contacts-info h3 span {
    font-weight: inherit;
}
.contacts-list {
    display: grid;
    gap: 20px;
}
.contacts-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    align-items: center;
    min-height: 58px;
}
.contacts-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf5ff;
    color: #37ad80;
    font-size: 0;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(42,127,255,0.12);
}
.contacts-icon::before {
    font-size: 22px;
    line-height: 1;
}
.contacts-icon--address::before {
    content: "📍";
}
.contacts-icon--time {
    background: #eaf7f1;
    color: var(--brand, #37ad80);
    box-shadow: inset 0 0 0 1px rgba(22,128,82,0.14);
}
.contacts-icon--time::before {
    content: "🕘";
}
.contacts-icon--phone::before {
    content: "📞";
}
.contacts-icon--mail {
    background: #eaf7f1;
    color: var(--brand, #37ad80);
    box-shadow: inset 0 0 0 1px rgba(22,128,82,0.14);
}
.contacts-icon--mail::before {
    content: "✉️";
}
.contacts-item p,
.contacts-item a {
    color: #171717;
    font-size: 16px;
    line-height: 1.5;
}
.contacts-item a {
    font-weight: 800;
}
.contacts-item a[href^="mailto:"] {
    font-size: 16px;
}
.contacts-online {
    margin-top: auto;
    padding-top: 36px;
}
.contacts-online strong {
    display: block;
    margin-bottom: 16px;
    font-size: 16px;
}
.contacts-online div {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.contacts-social {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand, #37ad80);
    color: white;
    font-size: 0;
    box-shadow: 0 12px 24px rgba(22,128,82,0.22);
}
.contacts-social img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    display: block;
}
.contacts-social--telegram {
    background: #fff;
    box-shadow: 0 12px 24px rgba(42,127,255,0.22);
}
.contacts-social--whatsapp {
    background: #fff;
    box-shadow: 0 12px 24px rgba(37,211,102,0.24);
}
.contacts-social--max {
    background: #fff;
    box-shadow: 0 12px 24px rgba(17,24,39,0.22);
}
.contacts-social--max img {
    width: 30px;
    height: 22px;
}
.office-gallery h3,
.contacts-form-card h3 {
font-size: 28px;
    line-height: 1.22;
    margin-bottom: 40px;
    font-weight: 800;
}
.office-gallery__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    grid-template-rows: 170px 170px;
    gap: 14px;
}
.office-gallery__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.office-gallery__grid img:first-child {
    grid-row: span 2;
}
.contacts-form-card {
    padding: 32px;
    border: 1px solid #e5edf7;
    background: white;
    box-shadow: 0 18px 48px rgba(15,23,42,0.08);
}
.contacts-form-card h3 {
    text-align: center;
    margin-bottom: 28px;
}
.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contacts-form input,
.contacts-form textarea {
    width: 100%;
    border: 1px solid #d8e1ec;
    border-radius: 10px;
    background: #fff;
    padding: 17px 18px;
    font-size: 16px;
    color: #171717;
}
.contacts-form textarea {
    min-height: 154px;
    resize: vertical;
}
.contacts-submit {
    min-height: 72px;
    border: 0;
    border-radius: 10px;
    background: #37ad80;
    color: white;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}
.contacts-submit span {
    margin-left: 18px;
}
.contacts-policy {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    color: #555;
    font-size: max(var(--desktop-text-min, 0px), 14px);
}
.contacts-policy input {
    width: 22px;
    height: 22px;
    padding: 0;
    accent-color: #37ad80;
}
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.video-modal.active {
    display: flex;
}
.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.72);
}
.video-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    background: #05070b;
    box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}
.video-modal__dialog iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.video-modal__close {
    position: absolute;
    right: -14px;
    top: -14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #37ad80;
    color: white;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.gallery-lightbox.is-open {
    display: flex;
}
.gallery-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.82);
}
.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    min-height: 360px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 18px;
}
.gallery-lightbox__figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #05070b;
    box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}
.gallery-lightbox__figure img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    display: block;
    background: #05070b;
}
.gallery-lightbox__figure figcaption {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    padding: 12px 16px;
    color: white;
    background: rgba(5,7,11,0.92);
    font-size: max(var(--desktop-text-min, 0px), 14px);
    line-height: 1.35;
}
.gallery-lightbox__figure small {
    white-space: nowrap;
    color: rgba(255,255,255,0.72);
}
.gallery-lightbox__close,
.gallery-lightbox__nav {
    border: 0;
    border-radius: 50%;
    background: #37ad80;
    color: white;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(42,127,255,0.28);
}
.gallery-lightbox__close {
    position: absolute;
    right: 0;
    top: -58px;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 1;
}
.gallery-lightbox__nav {
    width: 56px;
    height: 56px;
    font-size: 38px;
    line-height: 1;
}
.mesh-hero .hero-box {
    align-items: stretch;
}
.mesh-hero .hero-img {
    display: flex;
    align-items: center;
}
.mesh-hero .hero-img img {
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    box-shadow: 0 18px 46px rgba(15,23,42,0.12);
}
.mesh-types {
    background: #f7f9fc;
}
.mesh-type-card {
    min-height: 100%;
}
.mesh-card-visual {
    height: 220px;
    background:
        linear-gradient(90deg, rgba(15,23,42,0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(15,23,42,0.08) 1px, transparent 1px),
        linear-gradient(135deg, #f8fbff, #dcecff);
    background-size: 14px 14px, 14px 14px, auto;
    border: 18px solid #fff;
    box-shadow: inset 0 0 0 8px #37ad80;
    position: relative;
}
.mesh-card-visual::before,
.mesh-card-visual::after {
    content: "";
    position: absolute;
    background: #37ad80;
}
.mesh-card-visual::before {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    transform: translateX(-50%);
}
.mesh-card-visual::after {
    left: 0;
    right: 0;
    top: 50%;
    height: 6px;
    transform: translateY(-50%);
}
.mesh-card-visual--door {
    height: 260px;
    border-left-width: 24px;
    border-right-width: 24px;
}
.mesh-card-visual--door::after {
    top: auto;
    bottom: 44px;
}
.mesh-card-visual--cat {
    background-size: 10px 10px, 10px 10px, auto;
    box-shadow: inset 0 0 0 8px var(--brand, #37ad80);
}
.mesh-card-visual--cat::before,
.mesh-card-visual--cat::after {
    background: var(--brand, #37ad80);
}
.mesh-card-visual--pollen {
    background-size: 8px 8px, 8px 8px, auto;
    box-shadow: inset 0 0 0 8px #69ad8a;
}
.mesh-card-visual--pollen::before,
.mesh-card-visual--pollen::after {
    background: #69ad8a;
}
.mesh-calc__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
}
.mesh-preview {
    position: relative;
    min-height: 380px;
    padding: 34px 54px 48px 66px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(42,127,255,0.12), rgba(22,128,82,0.1)),
        linear-gradient(180deg, #ffffff, #f6f4f0);
}
.mesh-preview__window {
    height: 286px;
    border: 14px solid #fff;
    border-radius: 16px;
    background: linear-gradient(180deg, #dcefff, #ffffff 58%, #d6e7f8);
    box-shadow:
        inset 0 0 0 5px #d7e1ee,
        0 18px 38px rgba(15,23,42,0.12);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}
.mesh-preview__pane {
    border-right: 8px solid #fff;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.2)),
        linear-gradient(180deg, rgba(42,127,255,0.08), rgba(22,128,82,0.08));
}
.mesh-preview__screen {
    position: relative;
    background:
        linear-gradient(90deg, rgba(15,23,42,0.18) 1px, transparent 1px),
        linear-gradient(0deg, rgba(15,23,42,0.18) 1px, transparent 1px),
        rgba(248,251,255,0.54);
    background-size: 9px 9px;
}
.mesh-preview__screen::before {
    content: "";
    position: absolute;
    inset: 0;
    border-left: 8px solid #f6f4f0;
    box-shadow: inset 0 0 0 5px rgba(42,127,255,0.68);
}
.mesh-preview[data-type="Дверная"] .mesh-preview__window {
    height: 300px;
}
.mesh-preview[data-type="Антикот"] .mesh-preview__screen {
    background-size: 7px 7px;
    background-color: rgba(232,247,239,0.64);
}
.mesh-preview[data-type="Антипыльца"] .mesh-preview__screen {
    background-size: 5px 5px;
    background-color: rgba(255,247,237,0.7);
}
.mesh-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.mesh-summary div {
    background: white;
    border: 1px solid #deded5;
    border-radius: 12px;
    padding: 14px;
}
.mesh-summary span {
    display: block;
    color: #71736d;
    font-size: max(var(--desktop-text-min, 0px), 13px);
}
.mesh-summary strong {
    display: block;
    margin-top: 6px;
    color: #242522;
    font-size: 18px;
}
.mesh-choice-grid {
    grid-template-columns: repeat(2, 1fr);
}
.mesh-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.mesh-benefits div {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    background: #eef5ff;
    color: #37ad80;
    text-align: center;
    font-size: max(var(--desktop-text-min, 0px), 13px);
    font-weight: 700;
}
.mesh-offer .offer-box {
    background: linear-gradient(135deg, var(--brand, #37ad80), #0052cc);
}
.site-footer {
    padding: 64px 20px 28px;
    background: #242522;
    color: white;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr) minmax(260px, 1fr);
    gap: 56px;
    align-items: start;
}
.site-footer__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
    margin-bottom: 22px;
}
.site-footer__logo img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    background: white;
}
.site-footer__logo span {
    max-width: 190px;
    line-height: 1.25;
}
.site-footer__logo strong,
.site-footer__logo small {
    display: block;
}
.site-footer__logo strong {
    color: white;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 900;
}
.site-footer__logo small {
    margin-top: 5px;
    color: rgba(255,255,255,0.72);
    font-size: max(var(--desktop-text-min, 0px), 13px);
    line-height: 1.25;
    font-weight: 700;
}
.site-footer__brand p,
.site-footer__contacts p,
.site-footer__bottom {
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
}
.site-footer__brand p {
    max-width: 430px;
    margin-bottom: 24px;
}
.site-footer__button {
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    background: #37ad80;
    color: white;
    font-size: max(var(--desktop-text-min, 0px), 15px);
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(42,127,255,0.28);
}
.site-footer h3 {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 900;
    color: white;
}
.site-footer__nav,
.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.site-footer__nav a,
.site-footer__contacts a {
    color: rgba(255,255,255,0.76);
    font-weight: 700;
}
.site-footer__nav a:hover,
.site-footer__contacts a:hover {
    color: white;
}
.site-footer__contacts > a:first-of-type {
    color: white;
    font-size: 22px;
    font-weight: 900;
}
.site-footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: max(var(--desktop-text-min, 0px), 14px);
}
.sitemap-page .city-seo h1 {
    margin: 0 0 18px;
    font-size: 42px;
    line-height: 1.12;
}
.sitemap-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.sitemap-page__group {
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    padding: 24px;
    background: #fff;
}
.sitemap-page__group h2 {
    margin: 0 0 16px;
    font-size: 24px;
}
.sitemap-page__group ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sitemap-page__group li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}
.sitemap-page__group li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.sitemap-page__group a {
    color: var(--blue);
    font-weight: 800;
}
.sitemap-page__group span {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    font-size: max(var(--desktop-text-min, 0px), 12px);
    font-weight: 900;
    text-transform: uppercase;
}
@media(max-width: 900px) {
    .mesh-hero .hero-img img {
        min-height: 0;
        height: auto;
    }
    .mesh-calc__grid {
        grid-template-columns: 1fr;
    }
    .mesh-choice-grid,
    .mesh-benefits {
        grid-template-columns: 1fr;
    }
    .sitemap-page__grid {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 767px) {
.final-box h2,
.hero h1 {
    font-size: 24px;
    }
.photo-slide {
    flex: 0 0 calc((100% - 54px) / 1);
    }
.site-header,
.site-header__nav,
.balcony-calc__badge{
display: none;
}
}

/* Страница ремонта окон */
.repair-hero .hero-img img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}
.repair-type-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef5ff, #dcecff);
    color: #176fe5;
    font-size: 38px;
    font-weight: 900;
}
.repair-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.repair-window {
    min-height: 350px;
    padding: 34px 34px 28px;
    border-radius: 16px;
    background: linear-gradient(160deg, #eef7ff 0%, #fff 60%, #edf7f2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.repair-window::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 78px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(15,23,42,0.06));
}
.repair-window__status {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #176fe5;
    color: #fff;
    box-shadow: 0 12px 24px rgba(23,111,229,.25);
    font-size: 25px;
    font-weight: 900;
}
.repair-window__frame {
    width: min(100%, 390px);
    height: 210px;
    border: 12px solid #fff;
    border-radius: 7px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #dbeeff;
    box-shadow: 0 18px 45px rgba(30,64,98,.18), inset 0 0 0 3px #b6c5d4;
    position: relative;
    z-index: 1;
}
.repair-window__sash {
    position: relative;
    border: 6px solid #f8f7f3;
    box-shadow: inset 0 0 0 2px #b8c6d4;
    background: linear-gradient(145deg, rgba(255,255,255,.62), rgba(107,173,224,.18));
}
.repair-window__sash + .repair-window__sash {
    border-left-width: 9px;
}
.repair-window__sash i {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 5px;
    height: 44px;
    border-radius: 10px;
    transform: translateY(-50%);
    background: #71736d;
}
.repair-window > strong,
.repair-window > small {
    position: relative;
    z-index: 1;
    text-align: center;
}
.repair-window > strong {
    margin-top: 22px;
    color: #242522;
    font-size: 21px;
}
.repair-window > small {
    margin-top: 5px;
    color: #71736d;
    font-size: max(var(--desktop-text-min, 0px), 13px);
}
.repair-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}
.repair-summary div {
    padding: 13px 14px;
    border: 1px solid #deded5;
    border-radius: 11px;
    background: #fff;
}
.repair-summary span,
.repair-summary strong {
    display: block;
}
.repair-summary span {
    margin-bottom: 5px;
    color: #71736d;
    font-size: max(var(--desktop-text-min, 0px), 12px);
}
.repair-summary strong {
    color: #242522;
    font-size: max(var(--desktop-text-min, 0px), 15px);
}
.repair-diagnostics {
    padding: 88px 0;
    background: #f7f9fc;
}
.repair-diagnostics__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.repair-diagnostics__grid article {
    padding: 28px;
    border: 1px solid #e4e3dc;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(15,23,42,.05);
}
.repair-diagnostics__grid span {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #176fe5;
    color: #fff;
    font-weight: 900;
}
.repair-diagnostics__grid h3 {
    margin-bottom: 10px;
    font-size: 20px;
}
.repair-diagnostics__grid p {
    color: #71736d;
    line-height: 1.6;
}
.repair-contact-box {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 42px;
    align-items: start;
    padding: 38px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(15,23,42,.08);
}
.repair-contact-box h3 {
    margin-bottom: 14px;
    font-size: 26px;
}
.repair-contact-box p {
    color: #71736d;
    line-height: 1.7;
}
.repair-contact-box ul {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.repair-contact-box li {
    padding-left: 27px;
    position: relative;
    color: #4a4c47;
    font-weight: 700;
}
.repair-contact-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand, #37ad80);
    font-weight: 900;
}
.repair-contact-messengers {
    margin-top: 24px;
}
.repair-contact-messengers > strong {
    display: block;
    margin-bottom: 12px;
    color: #242522;
    font-size: max(var(--desktop-text-min, 0px), 15px);
}
.repair-contact-messengers > div {
    display: grid;
    grid-template-columns: repeat(3, 46px);
    gap: 12px;
    align-items: center;
}
.repair-contact-box .contacts-form {
    margin: 0;
}

@media (max-width: 1000px) {
    .repair-diagnostics__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .repair-contact-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .repair-hero .hero-img img {
        min-height: 0;
        height: auto;
    }
    .repair-choice-grid,
    .repair-diagnostics__grid,
    .repair-summary {
        grid-template-columns: 1fr;
    }
    .repair-window {
        min-height: 300px;
        padding: 28px 16px 24px;
    }
    .repair-window__frame {
        height: 170px;
    }
    .repair-contact-box {
        padding: 24px 18px;
    }
}
@media screen and (max-width: 767px) {
.balcony-calc {
    padding: 0;
    }
    
    .contact-methods {
    grid-template-columns: repeat(2, 1fr);
    }
.balcony-calc__tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    }
    
    .review-showcase,
.balcony-calc__grid,
.calc-glazing,
.trust-points,
    .contacts-layout,
    .site-footer__grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .trust-panel {
    min-height: auto;
    display: block;
    }
}

/* Компактная компоновка страницы ремонта окон */
.repair-hero {
    padding: 34px 20px 54px;
}
.repair-hero .hero-box {
    max-width: 1170px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr);
    gap: 44px;
    padding: 36px;
    align-items: center;
}
.repair-hero .hero-img {
    height: 510px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .14);
}
.repair-hero .hero-img img {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}
.repair-hero h1 {
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1.18;
}
.repair-card-slider__viewport {
    overflow: hidden;
}
.repair-card-slider__track {
    transition: transform .35s ease;
    will-change: transform;
}
.repair-problems .problems-grid,
.repair-types .types-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.repair-problems .problem-card,
.repair-types .repair-type-card {
    min-width: 0;
}
.repair-problems .problem-card {
    padding: 22px 20px;
}
.repair-types .repair-type-card h3 {
    padding: 0 18px 8px;
    font-size: 18px;
}
.repair-types .repair-type-card p {
    padding: 0 18px 14px;
    font-size: max(var(--desktop-text-min, 0px), 14px);
}
.repair-types .repair-type-card .price {
    padding: 0 18px 14px;
}
.repair-types .repair-type-card .btn {
    margin: 0 18px 18px;
    padding: 13px 16px;
}
.repair-types .repair-type-card__icon {
    width: 58px;
    height: 58px;
    margin: 20px auto 16px;
    font-size: 30px;
}
.repair-card-slider__controls {
    display: none;
}
.repair-calc .calc-glazing__card.is-selected {
    border-color: #37ad80;
    background: #f5f9ff;
    box-shadow: 0 12px 24px rgba(42,127,255,.14);
}
.repair-window__frame,
.repair-window__sash,
.repair-window__sash::before,
.repair-window__sash::after,
.repair-window__sash i {
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, opacity .28s ease, background .28s ease;
}
.repair-window[data-mode="adjustment"] .repair-window__sash--left {
    transform: rotate(-1.5deg) translateY(3px);
    transform-origin: top left;
}
.repair-window[data-mode="seal"] .repair-window__sash {
    border-color: #d9f4e5;
    box-shadow: inset 0 0 0 4px #22a565;
}
.repair-window[data-mode="hardware"] .repair-window__sash i {
    width: 7px;
    background: #176fe5;
    box-shadow: 0 0 0 7px rgba(23,111,229,.14);
}
.repair-window[data-mode="hardware"] .repair-window__sash--right::after {
    content: "⚙";
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: #176fe5;
    font-size: 32px;
}
.repair-window[data-mode="glass"] .repair-window__sash--right::before {
    content: "";
    position: absolute;
    inset: 12px;
    background:
        linear-gradient(63deg, transparent 48%, rgba(23,111,229,.8) 49%, rgba(23,111,229,.8) 51%, transparent 52%),
        linear-gradient(117deg, transparent 60%, rgba(23,111,229,.55) 61%, rgba(23,111,229,.55) 62%, transparent 63%);
    opacity: .85;
}

@media (max-width: 900px) {
    .repair-hero .hero-box {
        grid-template-columns: 1fr;
    }
    .repair-hero .hero-img {
        height: 440px;
    }
}

@media (max-width: 767px) {
    .repair-hero {
        padding: 14px 12px 42px;
    }
    .repair-hero .hero-box {
        gap: 26px;
        padding: 16px;
        text-align: left;
    }
    .repair-hero .hero-img {
        height: 280px;
    }
    .repair-hero .hero-text {
        min-width: 0;
    }
    .repair-hero .cta-block {
        align-items: stretch;
    }
    .repair-problems,
    .repair-types {
        padding: 52px 0;
    }
    .repair-problems h2,
    .repair-types h2,
    .repair-types .subtitle {
        padding-left: 16px;
        padding-right: 16px;
    }
    .repair-card-slider__viewport {
        padding-left: 16px;
    }
    .repair-problems .problems-grid,
    .repair-types .types-grid {
        display: flex;
        gap: 14px;
        margin-bottom: 0;
    }
    .repair-card-slider__track > * {
        flex: 0 0 82%;
    }
    .repair-problems .problem-card,
    .repair-types .repair-type-card {
        min-height: 260px;
    }
    .repair-card-slider__controls {
        display: flex;
        margin: 18px 16px 0;
    }
    .repair-problems .repair-card-slider {
        margin-bottom: 30px;
    }
    .repair-choice-grid {
        grid-template-columns: 1fr;
    }
}

/* Фотографии услуг и таблица цен */
.repair-type-card__photo {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
    border-radius: 0;
}
.repair-types .repair-type-card h3 {
    padding-top: 18px;
}
.repair-types .repair-type-card p {
    line-height: 1.55;
}
.repair-prices {
    padding: 88px 20px;
    background: #fff;
}
.repair-prices__table-wrap {
    overflow-x: auto;
    border: 1px solid #deded5;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15,23,42,.07);
}
.repair-prices__table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}
.repair-prices__table th,
.repair-prices__table td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid #e8edf4;
    vertical-align: middle;
}
.repair-prices__table th {
    background: #242522;
    color: #fff;
    font-size: max(var(--desktop-text-min, 0px), 14px);
    font-weight: 900;
    letter-spacing: .02em;
}
.repair-prices__table th:first-child {
    width: 29%;
}
.repair-prices__table th:last-child {
    width: 20%;
}
.repair-prices__table tbody tr:nth-child(even) {
    background: #f6f9fd;
}
.repair-prices__table tbody tr:hover {
    background: #eef5ff;
}
.repair-prices__table td:nth-child(2) {
    color: #71736d;
}
.repair-prices__table td:last-child {
    color: #176fe5;
    white-space: nowrap;
}
.repair-prices__note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 22px;
    padding: 22px 24px;
    border-radius: 14px;
    background: #eef5ff;
}
.repair-prices__note p {
    color: #5d6059;
}
.repair-prices__note .btn {
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .repair-type-card__photo {
        height: 190px;
    }
    .repair-prices {
        padding: 58px 16px;
    }
    .repair-prices__table-wrap {
        margin-right: -16px;
        border-radius: 14px 0 0 14px;
    }
    .repair-prices__table th,
    .repair-prices__table td {
        padding: 15px 16px;
    }
    .repair-prices__note {
        align-items: stretch;
        flex-direction: column;
    }
    .repair-prices__note .btn {
        text-align: center;
    }
}

/* Каталог услуг /service/ */
.services-catalog__hero {
    padding: 86px 20px 62px;
    text-align: center;
    background: linear-gradient(145deg, #fff, #edf5ff);
}
.services-catalog__hero h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
}
.services-catalog__hero p {
    max-width: 760px;
    margin: 0 auto;
    color: #71736d;
    font-size: 19px;
}
.services-catalog__section {
    padding: 78px 20px 90px;
}
.services-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.service-catalog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #deded5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
}
.service-catalog-card > img {
    width: 100%;
    height: 245px;
    display: block;
    object-fit: cover;
}
.service-catalog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}
.service-catalog-card h3 {
    margin-bottom: 10px;
    font-size: 25px;
}
.service-catalog-card p {
    margin-bottom: 18px;
    color: #71736d;
    line-height: 1.6;
}
.service-catalog-card ul {
    display: grid;
    gap: 9px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}
.service-catalog-card li {
    padding-left: 24px;
    position: relative;
    color: #4a4c47;
}
.service-catalog-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand, #37ad80);
    font-weight: 900;
}
.service-catalog-card__price {
    margin-top: auto;
    margin-bottom: 18px;
    color: #176fe5;
    font-size: 24px;
    font-weight: 900;
}
.service-catalog-card__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.service-catalog-card__cities span {
    flex: 0 0 100%;
    color: #71736d;
    font-size: max(var(--desktop-text-min, 0px), 13px);
}
.service-catalog-card__cities a {
    padding: 9px 12px;
    border: 1px solid #cfe0f6;
    border-radius: 9px;
    color: #176fe5;
    background: #f5f9ff;
    font-size: max(var(--desktop-text-min, 0px), 13px);
    font-weight: 800;
}
.service-catalog-card__cities a:hover {
    border-color: #176fe5;
    background: #176fe5;
    color: #fff;
}
.services-catalog__help {
    padding: 0 20px 90px;
}
.services-catalog__help .solution-box {
    max-width: 900px;
    margin: 0 auto;
}
.services-catalog__help .solution-box h2 {
    margin-bottom: 12px;
}
.services-catalog__help .solution-box .btn {
    cursor: pointer;
}

@media (max-width: 900px) {
    .services-catalog__grid {
        grid-template-columns: 1fr;
    }
    .service-catalog-card {
        max-width: 640px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .services-catalog__hero {
        padding: 58px 16px 44px;
    }
    .services-catalog__hero h1 {
        font-size: 36px;
    }
    .services-catalog__hero p {
        font-size: 17px;
    }
    .services-catalog__section {
        padding: 54px 16px 64px;
    }
    .service-catalog-card > img {
        height: 220px;
    }
    .service-catalog-card__body {
        padding: 22px;
    }
    .services-catalog__help {
        padding: 0 16px 64px;
    }
}

/* Callback preferences shared by the modal and short consultation forms. */
.callback-schedule { min-width: 0; width: 100%; border: 0; padding: 0; margin: 8px 0 18px; grid-column: 1 / -1; text-align: left; }
.callback-schedule[hidden], .callback-schedule [hidden] { display: none !important; }
.callback-schedule legend { font-size: 16px; font-weight: 600; color: #15283f; margin-bottom: 12px; }
.callback-schedule__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.callback-schedule__choices label { position: relative; cursor: pointer; flex: 1; }
.callback-schedule__choices input { position: absolute; opacity: 0; width: 1px !important; height: 1px; }
.callback-schedule__choices span { display: block; padding: 12px; text-align: center; font-size: 16px; line-height: 1.35; border: 1px solid #d6e1ef; border-radius: 10px; color: #526981; background: #fff; }
.callback-schedule__choices input:checked + span { border-color: #287aff; color: #1765da; background: #edf4ff; }
.callback-schedule__choices input:focus-visible + span { outline: 2px solid #287aff; outline-offset: 3px; }
.callback-schedule__details { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.callback-schedule__details label { flex: 1; min-width: 130px; font-size: 16px; color: #526981; }
.callback-schedule__details input, .callback-schedule__details select { width: 100%; min-height: 48px; margin: 6px 0 0; padding: 10px 12px; border: 1px solid #d6e1ef; border-radius: 10px; background: #fff; color: #15283f; font: inherit; box-sizing: border-box; }
.callback-schedule .callback-schedule__hint { margin: 10px 0 0; font-size: 16px; line-height: 1.4; color: #71736d; }
.lead-capture__form[data-callback-form] .lead-capture__phone-field { grid-column: 1 / -1; }
