﻿:root {
  color-scheme: light dark;
  --color-accent: #1578eb;
  --color-accent-strong: #0d62cc;
  --color-accent-light: #3d92ff;
  --color-alert: #e85a5a;
  --color-text: #12151a;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f6f9;
  --color-bg-accent: #e8edf4;
  --color-border: #dbdbdb;
  --gradient-accent: linear-gradient(135deg, #0d62cc 0%, #1578eb 48%, #3d92ff 100%);
  --gradient-accent-hover: linear-gradient(135deg, #1578eb 0%, #3d92ff 100%);
  --radius-pill: 999px;
  --radius-card: 22px;
  --shadow-accent: 0 16px 28px -14px rgba(21, 120, 235, 0.45), 0 10px 36px -18px rgba(21, 120, 235, 0.55);
  --font-family: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* === reset === */
* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*:focus {
	outline: none;
}
*:focus-visible {
	outline: 2px solid var(--color-accent, #1578eb);
	outline-offset: 2px;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
input, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
}

input[type="checkbox"] {
	-moz-appearance: checkbox;
	-webkit-appearance: checkbox;
}

svg {
	-webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
/* === grid === */
.wrap {
  width: 100%;
}

.container {
  margin: 0 auto;
}

/**
 * Ultra small
 */
@media only screen and (max-width: 319px) {
  body {
    min-width: 320px;
    overflow-x: scroll; 
  }
}

/**
 * Extra small
 */
@media only screen and (min-width: 320px) and (max-width: 359px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
}

/**
 * Small
 */
@media only screen and (min-width: 360px) {
  .container {
    width: 100%;
    padding: 0 40px;
  }
}

/**
 * Medium
 */
@media only screen and (min-width: 768px) {
  .container {
    width: 768px;
  }
}

/**
 * Large
 */
@media only screen and (min-width: 1280px) {
  .container {
    width: 1170px;
    padding: 0;
  }
}

/* === form === */
input:-ms-input-placeholder {opacity: 0.4;}
input::-ms-input-placeholder {opacity: 0.4;}
input::-webkit-input-placeholder {opacity: 0.4;}
input:-moz-placeholder {opacity: 0.4;}
input::-moz-placeholder {opacity: 0.4;}

input:-ms-input-placeholder {transition: color 0.25s; font-weight: 400;}
input::-ms-input-placeholder {transition: color 0.25s; font-weight: 400;}
input::-webkit-input-placeholder {transition: color 0.25s; font-weight: 400;}
input:-moz-placeholder {transition: color 0.25s; font-weight: 400;}
input::-moz-placeholder {transition: color 0.25s; font-weight: 400;}

input:focus:-ms-input-placeholder {color: transparent !important;}
input:focus::-ms-input-placeholder {color: transparent !important;}
input:focus::-webkit-input-placeholder {color: transparent !important;}
input:focus:-moz-placeholder {color: transparent !important;}
input:focus::-moz-placeholder {color: transparent !important;}
/* === theme === */
/*
Theme Name: TapRetap
Theme URI: https://tapretap.ru
Author: URSA
Author URI: https://ursa.agency
Description: WordPress тема для сервисного центра TapRetap.
Version: 1.19.3
*/

/* Fonts ------------------------------ */

@font-face {
    font-family: "Gilroy";
    src: url(fonts/Gilroy-Regular.woff2) format("woff2"),
         url(fonts/Gilroy-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url(fonts/Gilroy-SemiBold.woff2) format("woff2"),
         url(fonts/Gilroy-SemiBold.ttf) format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url(fonts/Gilroy-Bold.woff2) format("woff2"),
         url(fonts/Gilroy-Bold.ttf) format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Global ------------------------------ */

body {
    font-family: Gilroy, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
.button,
.bold {
    font-family: Gilroy, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.35;
}

h1 {
    font-size: 27px;
}

h2 {
    margin-bottom: 25px;
    font-size: 27px;
}

h3 {
    font-size: 20px;
}

b {
    font-weight: 600;
}

a {
    transition: color 0.25s;
}

button {
    display: inline-block;
    margin: 0;
    padding: 0;
    font: inherit;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

button:disabled {
    cursor: auto;
}

.button {
    display: inline-block;
    width: 100%;
    padding: 20.5px 20px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: 0 22px 31px -18px rgba(21, 120, 235, 0.3),
    0 23px 60px -20px rgba(21, 120, 235, 0.93);
    cursor: pointer;
}

.button:hover {
    box-shadow: 0 16px 58px -20px #1578EB;
}

.button.button-small {
    padding: 18.5px 20px;
    font-size: 15px;
}

.button.button-light {
    padding: 13px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    border-width: 2px;
    border-style: solid;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
}

.button.button-light svg {
    width: 11px;
    height: 6px;
    margin-left: 12px;
}

.button.button-gray {
    box-shadow: none;
}

.fw-700 {
    font-weight: 700;
}

.side-icon-box {
    display: flex;
    align-items: center;
}

.side-icon-box svg {
    flex-shrink: 0;
}

.side-icon-box .content {
    margin-left: 20px;
}

.contacts .address .content {
    max-width: 245px;
}

.contacts .working-time .content {
    max-width: 140px;
}

.contacts a {
    text-decoration: none;
}

.contacts .phone a {
    font-size: 20px;
}

.section-frame {
    position: absolute;
    z-index: 10;
    left: 0;
}

.section-frame.frame-top {
    top: -1px;
}

.section-frame.frame-bottom {
    bottom: -1px;
    transform: rotate(180deg);
}

.section-frame.section-frame-lg {
    display: none;
}

article > *:first-child {
    margin-top: 0;
}

article > * {
    margin-bottom: 20px;
}

article > *:last-child {
    margin-bottom: 0;
}

article h2 {
    font-size: 20px;
}

article h3 {
    font-size: 18px;
}

article p {
    font-size: 16px;
}


/* -------------------------------------------------------------------------------- */
/*	Site Header
/* -------------------------------------------------------------------------------- */


header {
    position: absolute;
    z-index: 50;
    left: 0;
    width: 100%;
}

header .wrap-global-contacts {
    padding-top: 18px;
}

header .logo {
    width: 150px;
}

header .wrap-global-contacts .contacts {
    display: none;
}


/* -------------------------------------------------------------------------------- */
/*	Site Footer
/* -------------------------------------------------------------------------------- */


footer .wrap {
    position: relative;
}

footer .wrap-global-contacts {
    padding: 70px 0 40px;
}

footer .wrap-global-contacts .logo {
    width: 210px;
}

footer .wrap-global-contacts .contacts {
    margin-top: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(51, 51, 51, 0.15);
    border-bottom: 1px solid rgba(51, 51, 51, 0.15);
}

footer .wrap-global-contacts .contacts .contact:not(:last-child),
.wrap-contacts .contacts .contact:not(:last-child) {
    margin-bottom: 30px;
}

footer .legal-notice {
    border-bottom: 1px solid rgba(51, 51, 51, 0.3);
    padding: 0 0 40px;
    font-size: 12px;
    text-align: center;
    opacity: .5;
}

footer .copyright {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    padding: 40px 0;
    font-size: 14px;
}

footer .copyright a {
    display: block;
    margin-bottom: 15px;
}

footer .copyright a:last-child {
    margin-bottom: 0;
}

footer .copyright a:hover {
    text-decoration: none;
}

/* Modal windows ------------------------------ */

.overlay {
    position: fixed;
    z-index: 300;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(36, 36, 36, 0.8);
    cursor: pointer;
    transition: visibility 0.25s, opacity 0.25s;
}

.overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal {
    position: fixed;
    z-index: 310;
    top: 50%;
    left: 50%;
    width: calc(100% - 40px);
    margin-bottom: 0;
    padding: 50px 28px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 62px 109px rgba(0, 0, 0, 0.07);
    transition: visibility 0.25s, opacity 0.25s;
}

@media only screen and (min-width: 360px) {
    .modal {
        width: calc(100% - 80px);
    }
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal .modal-title {
    margin-bottom: 10px;
}

.modal .modal-text {
    margin-bottom: 30px;
    font-size: 14px;
}

.modal .privacy-text {
    margin-top: 20px;
    font-size: 12px;
}

.modal .privacy-text a:hover {
    text-decoration: none;
}

.modal.wrap-form {
    border-radius: 20px;
}

#modal-success .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto 0;
    width: 156px;
    height: 156px;
    border-radius: 50%;
    box-shadow: 0 22px 31px -18px rgba(21, 120, 235, 0.3),
    0 23px 60px -20px rgba(21, 120, 235, 0.93);
}

#modal-success .icon svg {
    width: 50px;
}


@media only screen and (min-width: 360px) and (max-width: 767px) {
}















@-webkit-keyframes progress_bar {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}







#modal-privacy-policy {
    height: 80vh;
}

#modal-privacy-policy .modal-title {
    margin-bottom: 20px;
}

#modal-privacy-policy .modal-content {
    height: calc(100% - 74px);
    overflow-x: hidden;
    overflow-y: scroll;
    text-align: left;
}


/* -------------------------------------------------------------------------------- */
/*	Main
/* -------------------------------------------------------------------------------- */


main .wrap {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
}

main .wrap-overflow-x {
    overflow: hidden;
}

.section-heading {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(51, 51, 51, 0.15);
}

.section-heading h2 {
    position: relative;
    margin-bottom: 0;
}

.section-heading h2::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -30px;
    display: block;
    width: 155px;
    height: 155px;
    background-position: center;
    background-size: contain;
}

/* Forms ------------------------------ */

form .input-wrap input {
    width: 100%;
    margin: 0;
    padding: 12px 40px;
    font: inherit;
    font-weight: 700;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-radius: 14px;
}

form .button {
    margin-top: 12px;
}

form .input-wrap .error-message {
    display: none;
    margin-top: 9px;
    font-size: 12px;
}

form .input-wrap.invalid .error-message {
    display: block;
}

.wrap-form::after {
    content: "";
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    cursor: wait;
}

.wrap-form.sending::after {
    opacity: 0.5;
    visibility: visible;
}

/* Swiper ------------------------------ */

.swiper-pagination {
    line-height: 0;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
}

.button.nav-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    box-shadow: 0 5px 14px rgba(21, 120, 235, 0.3);
}

.nav-button:hover {
    box-shadow: none;
}

.nav-button svg {
    width: 9px;
}

.nav-button.prev svg {
    transform: rotate(180deg);
}

/* Banner ------------------------------ */

main .wrap-banner {
    padding-top: 90px;
}

.wrap-banner {
    background: url("media/bg-banner-small.png") no-repeat top right / 234px 610px,
    linear-gradient(180deg, #FAFAFA 12.48%, #FFFFFF 100%);
}

.wrap-banner h1 {
    max-width: 300px;
    margin-bottom: 25px;
}

.wrap-banner .advantages {
    margin: 30px 0 40px;
}

.wrap-banner .advantages .advantage:not(:last-child) {
    margin-bottom: 25px;
}

.wrap-banner .advantages .advantage svg.guarantee {
    width: 22px;
}

.wrap-banner .advantages .advantage svg.spare-parts {
    width: 24px;
}

.wrap-banner .advantages .advantage svg.prices {
    width: 26px;
}

.wrap-banner .button {
    max-width: 374px;
}

/* Team ------------------------------ */

.wrap-team .section-heading {
    margin-bottom: 25px;
    padding-bottom: 0;
    border: none;
}

.wrap-team .section-heading h2::before {
    width: 120px;
    height: 120px;
    background-image: url("media/icon-cup.png");
}

.wrap-team .section-heading + p {
    margin-bottom: 40px;
}

.wrap-team .swiper-container {
    overflow: visible;
    margin-bottom: 90px;
}

.wrap-team .card-team {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 32px 60px rgba(0, 0, 0, 0.06);
}

.wrap-team .card-team .thumbnail-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 10px;
}

.wrap-team .card-team .thumbnail-wrap::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("media/team-frame.svg") no-repeat bottom left / 100% auto;
}

.wrap-team .card-team .thumbnail-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.wrap-team .card-team .card-content {
    padding: 0 30px 30px;
    font-size: 14px;
}

.wrap-team .card-team .card-content h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(51, 51, 51, 0.15);
}

.wrap-team .card-team .card-content ul li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 17px;
}

.wrap-team .card-team .card-content ul li::after {
    content: "";
    position: absolute;
    top: calc(50% - 3.5px);
    left: 0;
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(21, 120, 235, 0.46);
}

.wrap-team .card-team .card-content ul li:last-child {
    margin-bottom: 0;
}

.wrap-team .swiper-pagination {
    bottom: -40px;
}

/* Service Center ------------------------------ */

main .wrap-service-center {
    padding: 0;
}

.wrap-service-center .heading-container {
    position: absolute;
    z-index: 10;
    top: 50px;
    padding: 0;
}

.wrap-service-center .heading-container h2 {
    margin: 0;
}

.wrap-service-center .swiper-container {
    height: 616px;
}

.wrap-service-center .card-service-center {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 94px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.wrap-service-center .card-service-center::before,
.wrap-service-center .card-service-center::after {
    content: "";
    position: absolute;
    z-index: 5;
    left: 0;
    display: block;
    width: 100%;
}

.wrap-service-center .card-service-center::before {
    top: 0;
    height: 150px;
    opacity: 0.5;
    background: linear-gradient(0, rgba(0, 0, 0, 0), #000000);
}

.wrap-service-center .card-service-center::after {
    bottom: 0;
    height: 225px;
    opacity: 0.75;
    background: linear-gradient(rgba(0, 0, 0, 0), #000000);
}

.wrap-service-center .card-service-center .card-content {
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    width: auto;
    max-width: min(420px, 90%);
    padding: 16px 18px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
}

.wrap-service-center .card-service-center .card-content h3 {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    white-space: normal;
    overflow-wrap: break-word;
}

.wrap-service-center .card-service-center .card-content p {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
}

.wrap-service-center .swiper-pagination {
    bottom: 55px;
    text-align: left;
}

.wrap-service-center .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet:first-child {
    margin-left: 0;
}

.wrap-service-center .nav-buttons {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 40px;
    display: flex;
    justify-content: flex-end;
    max-width: 125px;
    padding-left: 0;
}

.wrap-service-center .nav-button.prev {
    margin-right: 9px;
}

/* Reviews ------------------------------ */

.wrap-reviews .section-heading h2::before {
    top: -40px;
    background-image: url("media/icon-envelope.png");
}

.wrap-reviews .section-heading h2 span,
#wrap-calculator-1 .section-heading h2 span {
    display: block;
}

.wrap-reviews .reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px 20px;
}

.wrap-reviews .reviews .review {
    position: relative;
    z-index: 1;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 50%;
    cursor: pointer;
}

.wrap-reviews .reviews .review img,

.wrap-reviews .reviews .review img {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-width: 3px;
    border-style: solid;
    border-radius: 50%;
}

/* Contacts ------------------------------ */

.wrap-contacts {
    position: relative;
}

.wrap-contacts .wrap {
    padding-bottom: 0;
}

.wrap-contacts .section-heading h2::before {
    width: 120px;
    height: 120px;
    background-image: url("media/icon-notebook.png");
}

.wrap-contacts .contacts {
    margin-bottom: 50px;
    padding: 0 40px;
}

@media only screen and (min-width: 320px) and (max-width: 359px) {
    .wrap-contacts .contacts {
        padding: 0 20px;
    }
}

.wrap-contacts .wrap-map {
    position: relative;
}

.wrap-contacts .wrap-map .map-frame {
    display: none;
}

.wrap-contacts #map {
    height: 435px;
}

/* FAQ ------------------------------ */

.wrap-faq .section-heading h2::before {
    width: 120px;
    height: 120px;
    background-image: url("media/icon-lamp.png");
}

.wrap-faq .list-faq .item {
    margin-bottom: 10px;
    border-radius: 27px;
}

.wrap-faq .list-faq .item:last-child {
    margin-bottom: 0;
}

.wrap-faq .list-faq .question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 15px 15px 20px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.wrap-faq .list-faq .answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s;
}

.wrap-faq .list-faq .answer[hidden] {
    display: none !important;
}

.wrap-faq .list-faq .question:focus-visible {
    outline: 2px solid #1578eb;
    outline-offset: 2px;
}

.wrap-faq .list-faq .answer .content {
    padding: 0 20px 15px;
    font-size: 14px;
}

.wrap-faq .list-faq .answer p:first-child {
    padding-top: 15px;
    border-top: 1px solid rgba(51, 51, 51, 0.15);
}

.wrap-faq .list-faq .question .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    margin-left: 27px;
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(21, 120, 235, 0.3);
}

.wrap-faq .list-faq .question .icon svg {
    width: 15px;
}

.wrap-faq .list-faq .question .icon .minus,
.wrap-faq .list-faq .question.active .icon .plus {
    display: none;
}

.wrap-faq .list-faq .question.active .icon .minus {
    display: block;
}

/* Calculator ------------------------------ */

.wrap-calculator {
    overflow-x: hidden;
}

#wrap-calculator-1 .section-heading h2::before {
    background-image: url("media/icon-calculator.png");
}

#wrap-calculator-2 .section-heading h2::before {
    top: -30px;
    width: 130px;
    height: 130px;
    background-image: url("media/icon-gear.png");
}



.calculator {
    position: relative;
    left: 0;
    display: flex;
    align-items: flex-start;
    transition: left 0.2s ease, max-height 0.2s ease;
}

.calculator .step {
    flex-shrink: 0;
    flex-basis: 100%;
    overflow: hidden;
}

.calculator .step .step-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.calculator .step .step-heading h3 {
    margin-right: 10px;
}

.calculator .step .step-heading .calculator-pagination {
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

.calculator .step[data-step-name="game"] .step-heading .calculator-pagination {
    justify-content: space-between;
    width: 100%;
}

.calculator .step .step-heading .calculator-pagination .prev-step {
    margin-right: 10px;
    padding: 5.5px 18px;
    border-radius: 14px;
}

.calculator .step .step-heading .game-title-lg {
    display: none;
}

.calculator .step[data-step-name="game"] .step-heading .calculator-pagination .prev-step {
    margin-right: 20px;
}

.calculator .step .step-heading .calculator-pagination .prev-step svg {
    width: 14px;
}

.calculator .step .step-heading .step-number {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 32px;
    background: linear-gradient(90deg, rgba(25, 104, 195, 0.1) 0%, rgba(57, 149, 255, 0.1) 100%);
}

.calculator .step .options.with-spoiler {
    max-height: none;
    overflow-y: hidden;
}

.calculator .step .button-spoiler {
    display: none;
    margin-top: 40px;
}

.calculator .step .button-spoiler.active {
    display: inline-block;
}

.calculator .step:nth-child(1) .options {
    display: grid;
}

.calculator .step[data-step-name="model"]:nth-child(1) .options {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px 12px;
}

.calculator .step[data-step-name="repair"]:nth-child(1) .options {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 15px 0;
}

.calculator .options .option {
    border: 1px solid rgba(51, 51, 51, 0.05);
}

.calculator .options .option:hover {
    border: none;
}

.calculator .step:nth-child(1) .options .option {
    padding: 7.5px 5px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 26px;
}

.calculator .step[data-step-name="model"]:nth-child(1) .options .option {
    padding: 7.5px 5px;
    border-radius: 26px;
}

.calculator .step[data-step-name="repair"]:nth-child(1) .options .option {
    padding: 14.5px 5px;
    border-radius: 28px;
}

.calculator .step:nth-child(2) .options {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px 0;
}

.calculator .step:nth-child(2) .options .option {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
}

.calculator .step:nth-child(2) .options .option > * {
    flex-shrink: 0;
}

.calculator .step:nth-child(2) .options .option .name {
    flex-basis: 50%;
    font-weight: 600;
    text-align: center;
}

.calculator .step:nth-child(2) .options .option .name span {
    display: block;
    font-weight: 400;
    text-transform: capitalize;
    opacity: 0.75;
}

.calculator .step:nth-child(2) .options .option .params {
    flex-basis: 50%;
    padding-left: 15px;
    font-size: 12px;
    border-left: 1px solid rgba(51, 51, 51, 0.15);
}

.calculator .step:nth-child(2) .options .option:hover .params {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.calculator .step:nth-child(2) .options .option .param {
    display: block;
    white-space: nowrap;
}

.calculator .step:nth-child(2) .options .option:last-child {
    margin-bottom: 0;
}

.calculator .result-list .result-element {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
    font-size: 14px;
}

.calculator .result-list .result-element:last-child {
    margin-bottom: 0;
}

.calculator .result-list .result-element .separator {
    flex-grow: 1;
    margin: 0 6px 5px 6px;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.15);
}

.calculator .result-list .result-element .value,
.calculator .result-list .result-element.total-element {
    font-weight: 600;
}

.calculator .result-list .result-element .value.before-discount {
    position: relative;
    margin-right: 10px;
    font-size: 12px;
    font-weight: 400;
}

.calculator .result-list .result-element .value.before-discount::after {
    content: "";
    z-index: 1;
    position: absolute;
    top: 45%;
    left: -5%;
    width: 100%;
    height: 1px;
    border-radius: 2px;
    transform: rotate(-15deg);
}

.calculator .step-content > .result-list:not(.list-total) .result-element.total-element {
    display: none;
}

.calculator .about-prize-box {
    margin-top: 30px;
}

.calculator .about-prize-box .about-prize-title {
    margin-bottom: 15px;
    font-size: 18px;
}

.calculator .about-prize-box .button,
.calculator form .button {
    box-shadow: 0 22px 31px -18px rgba(21, 120, 235, .30),
    0 23px 25px -24px rgba(21, 120, 235, .93);
}

.calculator .side-icon {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.calculator .side-icon .img-gift-small {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-right: 13px;
    background: url("media/gift-small.png") no-repeat center / contain;
}

.calculator .result-list.list-total {
    margin-top: 10px;
}

.calculator .result-list.list-total .result-element .separator {
    margin-bottom: 10px;
}

.calculator .result-list.list-total span {
    font-size: 20px;
}

.calculator .result-list.list-total .result-element .value.before-discount {
    font-size: 14px;
    line-height: 30px;
}

.calculator .step .prizes-total h3 {
    margin: 20px 0;
}

.calculator .step .prizes-total .prizes-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0 20px;
}

.calculator .step .prizes-total .prizes-list .prize-item {
    padding: 17px;
    border-width: 2px;
    border-style: solid;
    border-radius: 14px;
}

.calculator .step .prizes-total .prizes-list .prize-item.item-accessories {
    background: url("media/discount-accessories.png") no-repeat top 3px center / 84.5px 55px;
}

.calculator .step .prizes-total .prizes-list .prize-item .img {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
}

.calculator .step .prizes-total .prizes-list .prize-item h4 {
    font-size: 14px;
    text-align: center;
}

.calculator .step .book-prizes-box {
    margin-bottom: 10px;
}

.calculator .step .book-prizes-box .side-icon {
    margin-bottom: 20px;
}

.calculator .step .book-prizes-box h4 {
    margin-bottom: 5px;
    font-size: 18px;
    text-align: center;
}

.calculator .step .book-prizes-box h4 + p {
    font-size: 14px;
    text-align: center;
}

.calculator .step .book-prizes-box .wrap-cashback {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-family: Gilroy, Arial, sans-serif;
    font-weight: 600;
}

.calculator .step .book-prizes-box .wrap-cashback .value-cashback {
    margin-right: 20px;
    padding-right: 20px;
    font-size: 32px;
    border-right: 1px dotted rgba(0, 0, 0, 0.15);
}

.calculator .step .book-prizes-box .wrap-cashback .total-cashback {
    padding: 10px 0;
    line-height: 1;
}

.calculator .step .book-prizes-box .wrap-cashback .total-before {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: line-through;
    opacity: 0.5;
}

.calculator .step .book-prizes-box .wrap-cashback .total-after {
    font-size: 22px;
}

.calculator .step .book-prizes-box .wrap-cashback .discount-text {
    font-size: 16px;
}

.calculator .book-prizes-box .img-gift-small {
    width: 43px;
    height: 43px;
    margin-right: 20px;
}

.calculator .wrap-form {
    position: relative;
    margin-top: 20px;
    padding: 20px 30px;
    border: 1px solid rgba(51, 51, 51, 0.05);
    border-radius: 14px;
}

.calculator form .input-wrap.invalid .error-message {
    display: block;
}

.calculator form .privacy-text {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
}

.calculator .game-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calculator .game-heading .wrap-your-discount {
    flex-shrink: 0;
    margin-left: 10px;
    padding: 8px 8px 14px;
    border-radius: 13px;
    border-width: 2px;
    border-style: solid;
}

.calculator .game-heading .wrap-your-discount .your-discount-title {
    display: block;
    min-width: 76px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    border-bottom-width: 1px;
    border-style: solid;
}

.calculator .game-heading .wrap-your-discount .current-discount {
    display: flex;
    justify-content: center;
    align-items: center;
}

.calculator .game-heading .wrap-your-discount img {
    width: 22px;
    height: auto;
    margin-right: 10px;
}

/* Game Slot Machine ------------------------------ */










@-webkit-keyframes spin_wheel {
    0% {
        top: -41px;
    }
    100% {
        top: -568px;
    }
}









.calculator .button-get-prize .img-gift {
    width: 32px;
    height: 32px;
    margin-left: 10px;
    background: url("media/gift-small.png") no-repeat center / contain;
}













.calculator .help-prizes.help-prizes-lg {
    display: none;
}











/* Game Coins ------------------------------ */

.calculator .coins .game-field {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px 20px;
    margin-bottom: 30px;
}

.calculator .coins .game-field .field-section {
    position: relative;
    padding-bottom: calc(100% + 10px);
    overflow: hidden;
    border-radius: 0 0 50% 50%;
}

.calculator .coins .game-field .field-section.active:not(.received) {
    cursor: pointer;
}

.calculator .coins .game-field .field-section .target-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 10px);
    border-radius: 50%;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.04),
    inset 0 -4px 8px rgba(0, 0, 0, 0.03);
}

.calculator .coins .game-field .field-section .target {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: calc(100% + 10px);
    background: url("media/fox-with-coin.svg") no-repeat center bottom / contain;
    border-radius: 0 0 50% 50%;
    -webkit-animation-name: target_slide;
    animation-name: target_slide;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@-webkit-keyframes target_slide {
    0% {
        bottom: -100%;
    }
    33% {
        bottom: 0;
    }
    66% {
        bottom: 0;
    }
    100% {
        bottom: -100%;
    }
}


.calculator .coins .game-field .field-section.received .target {
    background: url("media/fox-without-coin.svg") no-repeat center bottom / contain;
}

.calculator .game-coin-rules {
    display: none;
}

.calculator .step[data-step-name="game"] .wrap-buttons .button.button-get-prize {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12.5px 20px;
    visibility: hidden;
    opacity: 0;
    font-size: 15px;
}

.calculator .step[data-step-name="game"] .wrap-buttons .button.button-get-prize.active {
    visibility: visible;
    opacity: 1;
}

.calculator .step[data-step-name="game"] .button-play {
    margin-bottom: 10px;
}

.calculator .step[data-step-name="game"] .button-play > span {
    display: none;
}

.calculator .step[data-step-name="game"] .button.button-light {
    padding: 17.5px 20px;
}

.calculator .step[data-step-name="game"] .button-play.inactive .inactive {
    display: block;
}

.calculator .step[data-step-name="game"] .button-play.playing .playing {
    display: block;
}

.calculator .step[data-step-name="game"] .button-play.restart .restart {
    display: block;
}

.calculator .coins .wrap-buttons .button {
    box-shadow: none;
}

/* Fireworks ------------------------------ */

#fireworks-canvas {
    position: fixed;
    z-index: 400;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s, visibility 1.5s;
}

#fireworks-canvas.active {
    visibility: visible;
    opacity: 1;
}

/* Medium ------------------------------ */

@media only screen and (min-width: 768px) {

    /* Modal windows ------------------------------ */
    .modal {
        width: 295px;
    }

    .modal .button.button-small {
        padding: 26.5px 20px;
        font-size: 15px;
    }













    #modal-privacy-policy {
        width: 688px;
    }

    #modal-privacy-policy .modal-content {
        height: calc(100% - 47px);
    }

    /* Reviews ------------------------------ */
    .wrap-reviews .reviews {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 56px 126px;
    }

    .wrap-reviews .reviews .review img {
        top: 5px;
        left: 5px;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        border-width: 7px;
    }

    /* Contacts ------------------------------ */
    .wrap-contacts .contacts {
        width: 768px;
        margin: 0 auto 20px;
    }
}

/* Large ------------------------------ */

@media only screen and (min-width: 1280px) {

    main {
        font-size: 20px;
    }

    h1,
    h2 {
        font-size: 45px;
    }

    .button {
        width: auto;
        padding: 32.5px 77px;
        font-size: 22px;
        border-radius: 20px;
    }

    .button.button-small {
        width: 100%;
        padding: 26.5px 20px;
        font-size: 20px;
    }

    .button.button-light {
        border-radius: 23px;
    }

    .button.button-light svg {
        margin-left: 14px;
    }

    .wrap-global-contacts {
        display: flex;
        align-items: center;
        padding: 25px 0;
        border-bottom: 1px solid rgba(51, 51, 51, 0.15);
    }

    .wrap-global-contacts .logo {
        width: 190px;
        margin-right: 100px;
    }

    .wrap-global-contacts .contacts {
        display: flex;
        flex-grow: 1;
        justify-content: space-between;
        align-items: center;
    }

    .wrap-global-contacts .contacts .email {
        display: none;
    }

    .wrap-global-contacts .contacts .phone {
        order: 1;
    }

    .section-frame.section-frame-sm {
        display: none;
    }

    .section-frame.section-frame-lg {
        display: block;
    }

    /* -------------------------------------------------------------------------------- */
    /*	Site Header
    /* -------------------------------------------------------------------------------- */
    header .wrap-global-contacts {
        display: flex;
        padding-top: 25px;
    }

    header .wrap-global-contacts .contacts {
        display: flex;
    }


    /* -------------------------------------------------------------------------------- */
    /*	Site Footer
    /* -------------------------------------------------------------------------------- */
    footer .wrap-global-contacts {
        padding: 104px 0 25px;
    }

    footer .wrap-global-contacts .logo {
        width: 190px;
    }

    footer .wrap-global-contacts .contacts {
        margin: 0;
        padding: 0;
        border: none;
    }

    footer .wrap-global-contacts .contacts .contact:not(:last-child) {
        margin-bottom: 0;
    }

    footer .legal-notice {
        padding: 20px 0;
    }

    footer .copyright {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 40px 0;
    }

    footer .copyright a {
        margin-bottom: 0;
        text-decoration: none;
    }

    footer .copyright a:hover {
        text-decoration: underline;
    }


    /* -------------------------------------------------------------------------------- */
    /*	Main
    /* -------------------------------------------------------------------------------- */
    main .wrap {
        padding: 110px 0;
    }

    .section-heading h2 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section-heading h2::before {
        position: static;
        width: 204px !important;
        height: 204px !important;
    }

    /* Forms ------------------------------ */
    form .button {
        width: 100%;
    }

    /* Swiper ------------------------------ */
    .swiper-container .nav-button {
        width: 80px;
        height: 80px;
    }

    .swiper-container .nav-button svg {
        width: 16px;
    }

    /* Banner ------------------------------ */
    main .wrap-banner {
        padding: 170px 0 166px;
    }

    .wrap-banner {
        font-size: 24px;
        background: url("media/iphone-family.webp") no-repeat bottom center / cover;
    }

    .wrap-banner .banner-content {
        max-width: 50%;
    }

    .wrap-banner h1 {
        max-width: 496px;
        margin-bottom: 40px;
    }

    .wrap-banner .advantages {
        margin-bottom: 50px;
    }

    .wrap-banner .advantages .advantage svg.guarantee {
        width: 34px;
    }

    .wrap-banner .advantages .advantage svg.spare-parts {
        width: 35px;
    }

    .wrap-banner .advantages .advantage svg.prices {
        width: 38px;
    }

    .wrap-banner .button {
        max-width: none;
    }

    /* Team ------------------------------ */
    .wrap-team::before,
    .wrap-team::after {
        content: "";
        position: absolute;
        display: block;
        box-shadow: 0 -19px 112px -18px rgba(21, 120, 235, 0.19),
        -2px 12px 90px -20px rgba(21, 120, 235, 0.94);
        border-radius: 50%;
    }

    .wrap-team::before {
        top: -521px;
        left: -882px;
        width: 1095px;
        height: 1041px;
    }

    .wrap-team::after {
        right: -350px;
        bottom: 80px;
        width: 530px;
        height: 500px;
    }

    .wrap-team .section-heading {
        margin-bottom: 0;
    }

    .wrap-team .section-heading + p {
        margin-bottom: 60px;
        font-size: 24px;
        text-align: center;
    }

    .wrap-team .swiper-container {
        margin-bottom: 60px;
    }

    .wrap-team .wrap-button {
        text-align: center;
    }

    .wrap-team .wrap-button .button {
        padding-right: 108px;
        padding-left: 108px;
    }

    /* Service Center ------------------------------ */
    main .wrap-service-center {
        padding: 0;
    }

    .wrap-service-center .heading-container {
        top: 130px;
        padding: 0;
    }

    .wrap-service-center .swiper-container {
        height: 1000px;
    }

    .wrap-service-center .card-service-center {
        padding-bottom: 170px;
    }

    .wrap-service-center .card-service-center::before {
        height: 356px;
    }

    .wrap-service-center .card-service-center::after {
        height: 335px;
    }

    .wrap-service-center .card-service-center .card-content {
        max-width: min(420px, 90%);
        padding: 20px 22px;
    }

    .wrap-service-center .card-service-center .card-content h3 {
        margin-bottom: 12px;
        font-size: 36px;
    }

    .wrap-service-center .card-service-center .card-content p {
        max-width: 100%;
        font-size: 20px;
    }

    .wrap-service-center .swiper-pagination {
        position: relative;
        bottom: 130px;
        width: 1170px;
    }

    .wrap-service-center .nav-buttons {
        right: calc((100% - 1170px) / 2);
        bottom: 165px;
        max-width: 185px;
    }

    .wrap-service-center .nav-button.prev {
        margin-right: 25px;
    }

    .wrap-service-center .swiper-pagination-bullet {
        width: 16px;
        height: 16px;
    }

    .wrap-service-center .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 7.5px;
    }

    /* Reviews ------------------------------ */
    main .wrap-reviews {
        padding: 60px 0 84px;
    }

    .wrap-reviews .section-heading {
        margin-bottom: 90px;
        padding-bottom: 0;
    }

    .wrap-reviews .section-heading h2 span,
    #wrap-calculator-1 .section-heading h2 span {
        display: inline;
        margin-left: 10px;
    }

    .wrap-reviews .reviews {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Contacts ------------------------------ */
    .wrap-contacts {
        padding: 170px 0 183px;
        overflow: hidden;
    }

    .wrap-contacts::before {
        content: "";
        position: absolute;
        z-index: -1;
        display: block;
        top: -45px;
        left: calc(50% - 24px);
        width: 1220px;
        height: 1358px;
        box-shadow: 0 -19px 112px -18px rgba(21, 120, 235, 0.19),
        -2px 12px 90px -20px rgba(21, 120, 235, 0.94);
        border-radius: 50%;
    }

    .wrap-contacts .wrap {
        padding: 0;
    }

    .wrap-contacts .section-heading {
        margin-bottom: 0;
        padding-bottom: 0;
        border: none;
    }

    .wrap-contacts .section-heading h2 {
        justify-content: flex-start;
    }

    .wrap-contacts .wrap-contacts-box {
        display: flex;
        align-items: center;
        width: 1170px;
        margin: 0 auto;
        overflow: hidden;
        box-shadow: 0 10px 109px rgba(0, 0, 0, 0.07);
        border-radius: 20px;
    }

    .wrap-contacts .contacts {
        flex-grow: 1;
        width: auto;
        margin: 0;
        padding: 80px 0 80px 87px;
    }

    .wrap-contacts .contacts .contact:not(:last-child) {
        margin-bottom: 50px;
    }

    .wrap-contacts .side-icon-box svg {
        width: 35px;
        height: auto;
    }

    .wrap-contacts .side-icon-box .content {
        margin-left: 25px;
    }

    .wrap-contacts .contacts .phone a {
        font-size: 27px;
    }

    .wrap-contacts .contacts .address .content {
        max-width: 348px;
    }

    .wrap-contacts .contacts .working-time .content {
        max-width: 171px;
    }

    .wrap-contacts .wrap-map .map-frame {
        position: absolute;
        z-index: 5;
        top: 0;
        left: -1px;
        display: block;
        width: 50px;
        height: 100%;
    }

    .wrap-contacts #map {
        width: 611px;
        height: 519px;
    }

    /* FAQ ------------------------------ */
    .wrap-faq .section-heading {
        margin-bottom: 60px;
        padding-bottom: 0;
    }

    .wrap-faq .list-faq .item {
        margin-bottom: 20px;
        border-radius: 45px;
    }

    .wrap-faq .list-faq .question {
        padding: 16px 16px 16px 50px;
        font-size: 24px;
    }

    .wrap-faq .list-faq .question .icon {
        width: 58px;
        height: 58px;
    }

    .wrap-faq .list-faq .question .icon svg {
        width: 22px;
    }

    .wrap-faq .list-faq .answer .content {
        padding: 0 16px 30px 50px;
        font-size: 20px;
    }

    .wrap-faq .list-faq .answer p {
        padding-right: 34px;
    }

    .wrap-faq .list-faq .answer p:first-child {
        padding-top: 30px;
    }

    /* Calculator ------------------------------ */
    main .wrap-overflow-x {
        padding: 60px 80px 50px;
        border-radius: 20px;
        box-shadow: 0 62px 65px rgba(0, 0, 0, 0.07);
    }

    #wrap-calculator-1 .section-frame-lg {
        display: none;
    }

    #wrap-calculator-2 {
        padding-bottom: 200px;
    }

    .wrap-calculator .section-heading {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .calculator .step {
        overflow: visible;
    }

    .calculator .step:not(:last-child) {
        margin-right: 160px;
    }

    .calculator .step .step-heading {
        margin-bottom: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(51, 51, 51, 0.15);
    }

    .calculator .step .step-heading h3 {
        font-size: 30px;
    }

    .calculator .step .step-heading .calculator-pagination .prev-step {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 20px;
        padding: 21.5px 29px;
        border-radius: 20px;
    }

    .calculator .step .step-heading .calculator-pagination .prev-step svg {
        width: 22px;
    }

    .calculator .step .step-heading .step-number {
        padding: 16.5px 35px;
        font-size: 20px;
    }

    .calculator .step .step-heading .game-title-lg {
        display: block;
    }

    .calculator .step[data-step-name="model"]:nth-child(1) .options,
    .calculator .step[data-step-name="repair"]:nth-child(1) .options,
    .calculator .step:nth-child(2) .options {
        grid-gap: 15px 18px;
    }

    .calculator .step[data-step-name="repair"]:nth-child(1) .options,
    .calculator .step:nth-child(2) .options {
        grid-template-columns: repeat(3, 1fr);
    }

    .calculator .step[data-step-name="model"]:nth-child(1) .options .option,
    .calculator .step[data-step-name="repair"]:nth-child(1) .options .option {
        padding: 10px 5px;
        font-size: 24px;
        border-radius: 39px;
    }

    .calculator .step:nth-child(2) .options .option {
        padding: 15px 0;
    }

    .calculator .step:nth-child(2) .options .option .name {
        font-size: 18px;
    }

    .calculator .step:nth-child(2) .options .option .name span {
        font-size: 14px;
    }

    .calculator .step:nth-child(2) .options .option .params {
        font-size: 14px;
    }

    .calculator .step .button-spoiler {
        width: 100%;
        margin-top: 30px;
        font-size: 20px;
    }

    .calculator .step:nth-child(3) .step-content,
    .calculator .step:nth-child(5) {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .calculator .step:nth-child(3) .result-list,
    .calculator .step:nth-child(5) .step-content {
        flex-basis: 362px;
    }

    .calculator .result-list .result-element {
        margin-bottom: 20px;
        font-size: 20px;
    }

    .calculator .step-content > .result-list:not(.list-total) .result-element.total-element {
        display: flex;
        margin-top: 40px;
        font-size: 27px;
    }

    .calculator .result-list .result-element .separator {
        margin: 0 10px 10px;
    }

    .calculator .step:nth-child(3) .step-content > .result-list.list-total {
        display: none;
    }



    .calculator .step[data-step-name="game"] .step-heading .calculator-pagination {
        justify-content: flex-start;
        width: auto;
    }

    .calculator .about-prize-box {
        max-width: 496px;
        margin-top: 0;
    }

    .calculator .about-prize-box .about-prize-title {
        margin-bottom: 30px;
        font-size: 30px;
    }

    .calculator .step:nth-child(3) .side-icon span {
        max-width: 335px;
    }

    .calculator .side-icon {
        margin-bottom: 40px;
        font-size: 20px;
    }

    .calculator .side-icon .img-gift-small {
        width: 70px;
        height: 70px;
        margin-right: 20px;
    }

    .calculator .about-prize-box .button,
    .calculator form .button {
        box-shadow: 0 14px 65px -18px rgba(21, 120, 235, 0.19),
        0 23px 69px -20px rgba(21, 120, 235, 0.94);
    }

    .calculator .step:nth-child(5) {
        flex-wrap: wrap;
    }

    .calculator .step:nth-child(5) .step-heading {
        width: 100%;
    }

    .calculator .step:nth-child(5) .result-list .result-element:not(:last-child) {
        margin-bottom: 5px;
    }

    .calculator .step .prizes-total h3 {
        margin: 30px 0 20px;
        font-size: 24px;
    }

    .calculator .step .prizes-total .prizes-list {
        grid-gap: 0 25px;
    }

    .calculator .step .prizes-total .prizes-list .prize-item .img {
        width: 48px;
        height: 48px;
    }

    .calculator .step .prizes-total .prizes-list .prize-item.item-accessories {
        background-size: 103px 67px;
    }

    .calculator .step .prizes-total .prizes-list .prize-item h4 {
        font-size: 16px;
    }

    .calculator .step-content .result-list .result-element.total-element span {
        font-size: 27px;
    }

    .calculator .step .book-prizes-box {
        margin: 0 0 30px;
    }

    .calculator .step:nth-child(5) .book-prizes-box .side-icon {
        margin-bottom: 30px;
    }

    .calculator .step:nth-child(5) .side-icon .img-gift-small {
        width: 71px;
        height: 71px;
        margin-right: 30px;
    }

    .calculator .step:nth-child(5) .book-prizes-box h4 {
        font-size: 30px;
    }

    .calculator .step .book-prizes-box h4 + p {
        font-size: 20px;
    }

    .calculator .step:nth-child(5) .book-prizes-box h4 .title-cashback {
        font-size: 34px;
    }

    .calculator .wrap-form {
        flex-basis: 496px;
        margin-top: 0;
    }

    form .input-wrap input {
        padding: 17px 40px;
    }

    .calculator form .privacy-text {
        margin-top: 30px;
        font-size: 14px;
    }

    .calculator form .privacy-text a:hover {
        text-decoration: none;
    }

    .calculator .game-heading {
        display: none;
    }

    /* Game Slot Machine ------------------------------ */
    .calculator .step:nth-child(4) .step-heading {
        margin-bottom: 70px;
    }

















    .calculator .help-prizes.help-prizes-lg {
        display: block;
    }

    #calculator-1 .step:nth-child(4) .step-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .calculator .step:nth-child(4) .help-prizes {
        width: 410px;
    }

    .calculator .step:nth-child(4) .help-prizes h3 {
        margin-bottom: 40px;
        font-size: 30px;
    }

    .calculator .step:nth-child(4) .help-prizes ul {
        margin: 30px 0;
    }

    .calculator .step:nth-child(4) .help-prizes ul li {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .calculator .step:nth-child(4) .help-prizes ul li:last-child {
        margin-bottom: 0;
    }

    .calculator .step:nth-child(4) .help-prizes ul li img {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }

    /* Game Coins ------------------------------ */
    .calculator .coins {
        display: flex;
        justify-content: space-between;
    }

    .calculator .coins .game-field {
        width: 494px;
        grid-gap: 30px 40px;
        margin-bottom: 0;
    }

    .calculator .game-coin-rules {
        display: block;
    }

    .calculator .game-coin-rules .rules-wrap {
        width: 396px;
    }

    .calculator .game-coin-rules .current-discount {
        display: flex;
        align-items: center;
        width: 342px;
        margin-bottom: 30px;
        padding: 14px;
        border: 2px solid rgba(51, 51, 51, 0.15);
        border-radius: 20px;
    }

    .calculator .game-coin-rules .current-discount > span {
        flex-basis: 50%;
    }

    .calculator .game-coin-rules .current-discount .your-discount-title {
        font-size: 15px;
        font-weight: 600;
        text-align: center;
    }

    .calculator .game-coin-rules .current-discount .bold {
        display: flex;
        align-items: center;
        padding-left: 35px;
        border-left: 1px solid rgba(51, 51, 51, 0.15);
    }

    .calculator .game-coin-rules .current-discount img {
        width: 37px;
    }

    .calculator .game-coin-rules .current-discount .value {
        margin-left: 15px;
        font-size: 24px;
    }

    .calculator .game-coin-rules h3 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .calculator .game-coin-rules ol {
        margin-bottom: 30px;
        list-style-position: inside;
    }

    .calculator .coins .wrap-buttons .button {
        width: 100%;
    }

    .calculator .step[data-step-name="game"] .button.button-light {
        padding: 24.5px 20px;
    }

    .calculator .step[data-step-name="game"] .wrap-buttons .button.button-get-prize {
        margin-top: 20px;
        padding: 24px 20px;
        font-size: 20px;
    }

    .calculator .step[data-step-name="game"] .wrap-buttons .button.button-get-prize,
    .calculator .step[data-step-name="game"] .button-play:not(.playing):not(.restart) {
        box-shadow: 0 14px 65px -18px rgba(21, 120, 235, 0.19),
        0 23px 69px -20px rgba(21, 120, 235, 0.94);
    }
}

/* === design tokens aliases (visual unchanged) === */
.color-main, .contacts a:hover { color: var(--color-accent); }
.color-alert { color: var(--color-alert); }
.color-base, .button, .button-gray:hover { color: #ffffff; }
.color-text, body, a { color: var(--color-text); }
.bg-main, .swiper-pagination-bullet, .swiper-pagination-bullet-active { background-color: var(--color-accent); }
.bg-alert, .calculator .result-list .result-element .value.before-discount::after { background-color: var(--color-alert); }
.bg-gradient, .button, .button-gray:hover, .wrap-team .card-team .card-content ul li::after, .wrap-team::before, .wrap-team::after, .swiper-container .nav-button, .wrap-contacts::before { background: var(--gradient-accent); }
.bg-gradient-hover, .button:hover { background: var(--gradient-accent-hover); }
.bg-base, body, .wrap-form::after, .calculator form .input-wrap input { background-color: var(--color-bg); }
.bg-background, .button-gray, .button.button-light:hover, form .input-wrap input { background: var(--color-bg-soft); }
.bg-accent { background: var(--color-bg-accent); }
.bg-text { background-color: var(--color-text); }
.bc-main { border-color: var(--color-accent); }
.bc-alert, form .input-wrap.invalid input { border-color: var(--color-alert); }
.bc-base { border-color: var(--color-bg); }
.bc-background, .button.button-light, form .input-wrap input { border-color: var(--color-bg-soft); }
.bc-meta { border-color: var(--color-border); }
.fill-main { fill: var(--color-accent); }
.fill-base, .button-gray:hover svg { fill: #ffffff; }
.fill-background { fill: var(--color-bg-soft); }
.fill-meta { fill: var(--color-border); }
.fill-text { fill: var(--color-text); }
#wrap-calculator-1 { background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 56.47%); }
#wrap-calculator-2 { background: linear-gradient(180deg, #ffffff 43.53%, #f5f5f5 100%); }

/* Mode toggle unused — buyback is a separate section */
.calculator__mode { display: none; }
.calculator__panel { display: none; }
.calculator__panel--active { display: block; }

.calculator__restart {
  display: inline-flex;
  margin-top: 24px;
  min-width: 220px;
}

.wrap-buyback {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 56.47%);
}
.wrap-buyback .section-heading h2::before {
  background-image: url("media/icon-notebook.png");
}
.wrap-buyback .section-heading h2 span {
  color: var(--color-accent);
}
.wrap-buyback__lead {
  margin: 0 0 40px;
  max-width: 560px;
  color: #333;
  font-size: 16px;
  line-height: 1.45;
  opacity: 0.8;
}
.wrap-buyback [data-buyback-host] {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0 24px;
}

.trade-in .step-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.trade-in .step-heading h3 {
  margin: 0 10px 0 0;
}
.trade-in__options {
  display: grid;
  gap: 12px 12px;
}
.trade-in__options--cats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.trade-in__options--models {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.trade-in__options--storage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.trade-in__options--conditions {
  grid-template-columns: 1fr;
}
.trade-in__options--acc .trade-in__option {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
}
@media (min-width: 768px) {
  .trade-in__options--cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .trade-in__options--models {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .trade-in__options--storage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .trade-in__options--conditions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trade-in__options--acc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .trade-in__options--models {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .trade-in__options--conditions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .trade-in__options--acc {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trade-in__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 14px;
  border: 1px solid rgba(51, 51, 51, 0.05);
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: #333;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.trade-in__option:hover {
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(21, 120, 235, 0.12);
}
.trade-in__option.is-active {
  border-color: rgba(21, 120, 235, 0.35);
  box-shadow: 0 10px 28px rgba(21, 120, 235, 0.14);
}
.trade-in__option--pill {
  padding: 10px 12px;
  border-radius: 26px;
  font-size: 14px;
  font-weight: 600;
}
.trade-in__option--wide {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
}
.trade-in__option .name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}
.trade-in__option-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.trade-in__hint {
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.75;
  font-weight: 400;
}
.trade-in__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gradient-accent);
  color: #fff;
  flex-shrink: 0;
}
.trade-in__icon svg {
  width: 22px;
  height: 22px;
}
.trade-in__icon--text {
  font-size: 14px;
  font-weight: 700;
}
.trade-in__icon--emoji {
  font-size: 22px;
  line-height: 1;
  background: #333;
}
.trade-in__icon-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.trade-in__acc-mark {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(21, 120, 235, 0.46);
}
.trade-in__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
}
.trade-in__actions .button {
  min-width: 240px;
}
.trade-in__back {
  margin-top: 18px;
}
.trade-in__actions .trade-in__back {
  margin-top: 0;
}
.trade-in__result {
  max-width: 520px;
  border-radius: 28px;
  padding: 28px 24px;
}
.trade-in__result .book-prizes-box {
  margin-bottom: 20px;
}
.trade-in__bonus-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  text-align: left;
}
.trade-in__bonus-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  opacity: 0.7;
}
.trade-in__result .input-wrap {
  margin-bottom: 12px;
}
.trade-in__result .trade-in__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  font: inherit;
  color: #333;
}
.trade-in__result .button-small {
  width: 100%;
  margin-top: 4px;
}

/* Team grid (no Swiper) */
.team__list {
  margin-bottom: 90px;
}
.team__list-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.team__list .card-team {
  width: 100%;
  max-width: none;
}
@media (min-width: 768px) {
  .team__list-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .team__list-inner { grid-template-columns: repeat(4, 1fr); }
  .team__list { margin-bottom: 60px; }
}

/* Service center Swiper helpers (real Swiper styles come from lib/swiper-bundle.min.css) */
.slider-service-center {
  position: relative;
  overflow: hidden;
}
.slider-service-center .swiper-pagination-bullet {
  cursor: pointer;
  opacity: 0.35;
}
.slider-service-center .swiper-pagination-bullet-active {
  opacity: 1;
}
.wrap-service-center .swiper-pagination,
.slider-service-center > .swiper-pagination {
  line-height: 1.2 !important;
  min-height: 28px;
  padding-block: 6px;
  overflow: visible;
  display: flex;
  align-items: center;
  z-index: 15;
}
.slider-service-center .nav-button {
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.slider-service-center .nav-button svg {
  width: 9px;
  height: 14px;
}
.slider-service-center .nav-button.prev svg {
  transform: rotate(180deg);
}

/* Header: show phone below desktop breakpoint */
@media (max-width: 1279px) {
  header .wrap-global-contacts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  header .wrap-global-contacts .contacts {
    display: flex;
    margin-left: auto;
  }
  header .wrap-global-contacts .contacts .contact:not(.phone) {
    display: none;
  }
  header .wrap-global-contacts .contacts .phone .content {
    font-size: 14px;
  }
  header .wrap-global-contacts .contacts .phone svg {
    width: 18px;
    height: 18px;
  }
}

# Make Buyback visuals follow site design (override to match site)
.wrap-buyback {
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 56.47%);
  padding-bottom: 36px;
}
.wrap-buyback .section-heading {
  margin-bottom: 18px;
}
.wrap-buyback .section-heading h2 {
  font-weight: 800;
}
.wrap-buyback .section-heading h2::before {
  background-image: url("media/icon-notebook.png");
}
.wrap-buyback .section-heading h2 span {
  color: var(--color-accent);
}
.wrap-buyback__lead {
  margin: 0 auto 28px;
  max-width: 720px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.92;
}
.wrap-buyback [data-buyback-host] {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.trade-in__options {
  display: grid;
  gap: 14px;
}
.trade-in__options--cats { grid-template-columns: repeat(2, minmax(0,1fr)); }
.trade-in__options--models { grid-template-columns: repeat(2, minmax(0,1fr)); }
.trade-in__options--storage { grid-template-columns: repeat(2, minmax(0,1fr)); }
.trade-in__options--conditions { grid-template-columns: 1fr; }
.trade-in__options--acc { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 640px) {
  .trade-in__options--cats { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .trade-in__options--models { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .trade-in__options--storage { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .trade-in__options--acc { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.trade-in__option {
  background: #fff;
  border: 1px solid rgba(51,51,51,0.06);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  text-align: center;
  color: var(--color-text);
}
.trade-in__option:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border-color: rgba(21,120,235,0.12);
}
.trade-in__option.is-active {
  border-color: rgba(21,120,235,0.18);
  box-shadow: 0 12px 30px rgba(21,120,235,0.06);
}
.trade-in__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #2c2c2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.trade-in__icon--text {
  font-weight: 700;
  font-size: 14px;
}
.trade-in__icon--emoji {
  background: #2c2c2e;
}
.trade-in__option .name {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  color: var(--color-text);
}
.trade-in__hint {
  color: #6e6e73;
  font-size: 13px;
  margin-top: 6px;
}
.trade-in__actions { margin-top: 20px; display:flex; gap:12px; flex-direction:column; align-items:center; }
.trade-in__actions .button { min-width: 360px; max-width:100%; }
.trade-in__result { background: #fff; box-shadow: 0 10px 36px rgba(0,0,0,0.06); border-radius: 18px; padding: 28px; }
.trade-in__result .trade-in__input { background:#f7f7f8; border-radius:12px; padding:12px 14px; border:1px solid rgba(51,51,51,0.04); }
.trade-in__back { background:#ececec; color:#333; }

/* Match typography and spacing of main calculator */
.trade-in .step-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.trade-in .step-heading h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

/* Make condition / external-state cards follow same layout as repair options */
.trade-in__option--wide {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14.5px 12px;
  border-radius: 28px;
  text-align: left;
}
.trade-in__option--wide .trade-in__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}
.trade-in__option--wide .trade-in__option-body {
  align-items: flex-start;
}

/* Ensure consistent grid for condition cards on desktop */
@media (min-width: 768px) {
  .trade-in__options--conditions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Ensure equal heights for multi-line cards */
.trade-in__option,
.trade-in__option--wide {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trade-in__option--wide {
  flex-direction: row;
}

/* JS-driven calculator: one active step, reference markup */
#calculator-1.calculator,
#calculator-2.calculator {
  display: block;
  left: 0 !important;
  max-height: none !important;
}
#calculator-1 .step,
#calculator-2 .step {
  flex-basis: auto;
  width: 100%;
  margin-right: 0 !important;
}
#calculator-1 .step:not(.is-active),
#calculator-2 .step:not(.is-active) {
  display: none !important;
}
#calculator-1 .step[data-step-name="model"] .options,
#calculator-2 .step[data-step-name="model"] .options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 15px 12px;
}
#calculator-1 .step[data-step-name="model"] .options .option,
#calculator-2 .step[data-step-name="model"] .options .option {
  display: block;
  padding: 7.5px 5px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: 26px;
}
#calculator-1 .calculator-empty,
#calculator-2 .calculator-empty {
  margin: 0 0 16px;
  font-size: 14px;
  opacity: 0.8;
}
@media only screen and (min-width: 768px) {
  #calculator-1 .step[data-step-name="model"] .options .option,
  #calculator-2 .step[data-step-name="model"] .options .option {
    padding: 10px 5px;
    font-size: 24px;
    border-radius: 39px;
  }
}

/* Main navigation (header) */
.main-nav {
  display: none;
  margin: 0 30px 0 40px;
  column-gap: 20px;
}
.main-nav__link {
  font-size: 14px;
  text-decoration: none;
  opacity: 0.8;
}
.main-nav__link:hover {
  opacity: 1;
}
.contact-meta {
  font-size: 12px;
  opacity: 0.7;
}
@media only screen and (min-width: 1280px) {
  .main-nav {
    display: flex;
    align-items: center;
  }
}

/* Hero tweaks */
.hero-sublead {
  margin-top: 18px;
  max-width: 460px;
  font-size: 14px;
  opacity: 0.85;
}

/* Calculator result layout (unified for both calculators) */
.calculator-result {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.calculator-result-left {
  flex: 1 1 auto;
}
.calculator-result-right {
  flex: 1 1 auto;
}
.calculator-result .result-list {
  margin-bottom: 16px;
}
.calculator__restart {
  margin-top: 8px;
}
.result-offer-card {
  padding: 20px 18px;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}
.result-offer-card .book-prizes-box {
  margin-bottom: 16px;
}
.result-offer-card .wrap-cashback {
  margin-top: 12px;
}
.result-offer-card .wrap-form {
  margin-top: 12px;
  padding: 0;
  border: none;
}
.result-offer-card .wrap-form form .button {
  width: 100%;
}
.result-offer-card .privacy-text {
  margin-top: 16px;
  font-size: 11px;
  opacity: 0.7;
}
@media only screen and (min-width: 768px) {
  .calculator-result {
    flex-direction: row;
    align-items: stretch;
  }
  .calculator-result-left {
    max-width: 50%;
  }
}

/* Process block */
.wrap-process .section-heading {
  margin-bottom: 30px;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.process-step {
  padding: 20px 18px;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.04);
}
.process-step__number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: 700;
  background: var(--gradient-accent);
  color: #fff;
}
.process-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  opacity: 0.85;
}
@media only screen and (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Buyback section desktop styling */
@media only screen and (min-width: 1280px) {
  .wrap-buyback {
    padding: 110px 0;
    background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 60%);
  }

  .wrap-buyback .container {
    position: relative;
    padding: 40px 0 52px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .wrap-buyback .section-heading {
    margin-bottom: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(51, 51, 51, 0.08);
  }

  .wrap-buyback__lead {
    max-width: 720px;
    font-size: 16px;
  }

  .wrap-buyback [data-buyback-host] {
    margin-top: 28px;
    max-width: 100%;
  }
}

/* Trade-in calculator: full redesign */
.trade-in--card {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 0 24px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.trade-in__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.trade-in__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.trade-in__subtitle-main {
  font-size: 14px;
  opacity: 0.8;
}
.trade-in__subheading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.trade-in__body {
  margin-top: 4px;
}
.trade-in .step-number {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(25, 104, 195, 0.06);
}

/* Options layout: вертикальные карточки */
.trade-in__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trade-in__options--cats,
.trade-in__options--models,
.trade-in__options--storage,
.trade-in__options--conditions,
.trade-in__options--acc {
  display: flex;
  flex-direction: column;
}

.trade-in__option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8f9fc;
  border: 1px solid rgba(51, 51, 51, 0.04);
  text-align: left;
}
.trade-in__option .name {
  font-size: 14px;
  font-weight: 600;
}
.trade-in__hint {
  font-size: 12px;
}

.trade-in__option--pill {
  justify-content: center;
}
.trade-in__icon {
  background: #2c2c2e;
}
.trade-in__icon--emoji {
  background: #2c2c2e;
}
.trade-in__option-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trade-in__actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trade-in__actions .button {
  width: 100%;
}
.trade-in__back {
  width: 100%;
}

/* Result card styles remain but constrained by new card */
.trade-in__result {
  margin-top: 4px;
}

/* Final override: trade-in options as grid, not list (адаптивно и без «каши») */
.trade-in__options {
  display: grid;
  gap: 14px;
}
.trade-in__options--cats,
.trade-in__options--models,
.trade-in__options--storage,
.trade-in__options--acc {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.trade-in__options--conditions {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .trade-in__options--cats,
  .trade-in__options--models,
  .trade-in__options--storage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .trade-in__options--acc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .trade-in__options--conditions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .trade-in__options--cats,
  .trade-in__options--models,
  .trade-in__options--storage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .trade-in__options--acc {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .trade-in__options--conditions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* =========================================================
   Trade-In calculator (DamProdam-inspired, TapRetap blue)
   ========================================================= */
.wrap-buyback {
  background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 55%);
  padding-bottom: 48px;
}
.wrap-buyback .section-heading {
  margin-bottom: 12px;
  border: none;
  padding-bottom: 0;
}
.wrap-buyback__lead {
  margin: 0 0 28px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.45;
  opacity: 0.85;
}
.wrap-buyback [data-buyback-host] {
  width: 100%;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 0;
}

/* Trade-in / buyback calculator — BEM block `.ti` (isolated from repair `.calculator`) */
.ti {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.ti__card {
  background: var(--color-bg-elevated, #fff);
  border: 1px solid var(--color-border, rgba(18, 21, 26, 0.1));
  border-radius: var(--radius-xl, 28px);
  box-shadow: var(--shadow-sm, 0 8px 24px rgba(15, 23, 36, 0.06));
  padding: clamp(20px, 4vw, 32px);
  color: var(--color-text, #12151a);
}
.ti__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.ti__top-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.ti__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--color-border, rgba(18, 21, 26, 0.1));
  border-radius: 12px;
  background: var(--color-bg-soft, #f4f6f9);
  color: var(--color-text, #12151a);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ti__back:hover {
  border-color: var(--color-accent, #1578eb);
  background: var(--color-accent-soft, rgba(21, 120, 235, 0.1));
  color: var(--color-accent, #1578eb);
}
.ti__back svg {
  width: 14px;
  height: 11px;
}
.ti__step-title {
  margin: 0;
  font-family: var(--font-family, Gilroy, Arial, sans-serif);
  font-size: clamp(18px, 3.5vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: var(--tracking-tight, -0.02em);
  color: var(--color-text, #12151a);
}
.ti__step-meta {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent, #1578eb);
  padding: 6px 12px;
  border-radius: var(--radius-pill, 999px);
  background: var(--color-accent-soft, rgba(21, 120, 235, 0.1));
  white-space: nowrap;
}
.ti__body {
  min-height: 120px;
}
.ti-empty {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-secondary, #4a5160);
}

.ti-grid {
  display: grid;
  gap: 10px;
}
.ti-grid--cats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ti-grid--models,
.ti-grid--storage,
.ti-grid--acc {
  grid-template-columns: 1fr;
}
.ti-grid--conditions {
  grid-template-columns: 1fr;
}

.ti-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  height: 100%;
  padding: 14px;
  border-radius: var(--radius-md, 14px);
  border: 1px solid var(--color-border, rgba(18, 21, 26, 0.1));
  background: var(--color-bg-soft, #f4f6f9);
  color: var(--color-text, #12151a);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.ti-tile:hover {
  border-color: var(--color-accent, #1578eb);
  background: var(--color-accent-soft, rgba(21, 120, 235, 0.1));
  box-shadow: var(--shadow-xs, 0 1px 0 rgba(15, 23, 36, 0.04));
  transform: translateY(-1px);
}
.ti-tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1c1c1e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ti-tile__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.ti-tile__name {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}

.ti-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: var(--radius-md, 14px);
  border: 1px solid var(--color-border, rgba(18, 21, 26, 0.1));
  background: var(--color-bg-soft, #f4f6f9);
  color: var(--color-text, #12151a);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ti-row:hover,
.ti-row.is-active {
  border-color: var(--color-accent, #1578eb);
  background: var(--color-accent-soft, rgba(21, 120, 235, 0.1));
}
.ti-row__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.ti-row__hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-secondary, #4a5160);
  line-height: 1.35;
}

.ti-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-ring, rgba(21, 120, 235, 0.28));
  flex-shrink: 0;
  position: relative;
}
.ti-row:hover .ti-radio {
  border-color: var(--color-accent, #1578eb);
}

.ti-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-accent, #e8edf4);
  color: var(--color-text-secondary, #4a5160);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.ti-check.is-on {
  background: var(--color-accent, #1578eb);
  color: #fff;
}

.ti-cond {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 148px;
  height: 100%;
  padding: 16px;
  border-radius: var(--radius-lg, 20px);
  border: 1px solid var(--color-border, rgba(18, 21, 26, 0.1));
  background: var(--color-bg-soft, #f4f6f9);
  color: var(--color-text, #12151a);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.ti-cond:hover {
  border-color: var(--color-accent, #1578eb);
  background: var(--color-accent-soft, rgba(21, 120, 235, 0.1));
  box-shadow: var(--shadow-xs, 0 1px 0 rgba(15, 23, 36, 0.04));
  transform: translateY(-1px);
}
.ti-cond__emoji {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1c1c1e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.ti-cond__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}
.ti-cond__text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-secondary, #4a5160);
}

.ti-more {
  display: inline-flex;
  margin: 14px 0 0;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--color-accent, #1578eb);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ti-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.ti-nav .ti-btn {
  width: 100%;
  min-width: 0;
}
.ti-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: var(--radius-md, 14px);
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-family, Gilroy, Arial, sans-serif);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
}
.ti-btn:hover {
  background: var(--gradient-accent-hover);
}
.ti-btn--ghost {
  background: var(--color-bg-accent, #e8edf4);
  color: var(--color-text, #12151a);
  box-shadow: none;
  border: 1px solid var(--color-border, rgba(18, 21, 26, 0.1));
}
.ti-btn--ghost:hover {
  background: var(--color-accent-soft, rgba(21, 120, 235, 0.1));
  border-color: var(--color-accent, #1578eb);
  color: var(--color-accent, #1578eb);
}

.ti-result {
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}
.ti-result__label {
  font-size: 13px;
  color: var(--color-text-secondary, #4a5160);
  margin: 0 0 8px;
}
.ti-result__price {
  font-family: var(--font-family, Gilroy, Arial, sans-serif);
  font-size: clamp(32px, 7vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: var(--tracking-tight, -0.02em);
  color: var(--color-text, #12151a);
  margin: 0 0 4px;
}
.ti-result__battery {
  margin: 14px 0;
  padding: 12px 14px 12px 16px;
  border-radius: var(--radius-md, 14px);
  background: var(--color-accent-soft, rgba(21, 120, 235, 0.1));
  border: 1px solid var(--color-accent-ring, rgba(21, 120, 235, 0.28));
  border-left: 3px solid var(--color-accent, #1578eb);
  color: var(--color-text, #12151a);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}
.ti-result__battery::before {
  content: none;
}
.ti-result__offer {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md, 14px);
  background: var(--color-bg-soft, #f4f6f9);
  border: 1px solid var(--color-border, rgba(18, 21, 26, 0.1));
  color: var(--color-text-secondary, #4a5160);
  text-align: left;
}
.ti-result__offer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-accent, #1578eb);
}
.ti-result__offer p {
  margin: 0;
}
.ti-result__note {
  font-size: 14px;
  color: var(--color-text-secondary, #4a5160);
  margin: 0 0 16px;
}
.ti-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.ti-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border-strong, rgba(18, 21, 26, 0.16));
  border-radius: var(--radius-md, 14px);
  background: var(--color-bg, #fff);
  font: inherit;
  color: var(--color-text, #12151a);
  box-sizing: border-box;
}
.ti-input:focus {
  outline: none;
  border-color: var(--color-accent, #1578eb);
  box-shadow: 0 0 0 3px var(--color-accent-ring, rgba(21, 120, 235, 0.28));
}
.ti-result__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 4px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border, rgba(18, 21, 26, 0.1));
  border-bottom: 1px solid var(--color-border, rgba(18, 21, 26, 0.1));
  text-align: left;
}
.ti-result__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ti-result__cell:last-child {
  padding-left: 12px;
  border-left: 1px solid var(--color-border, rgba(18, 21, 26, 0.1));
}
.ti-result__cell-label {
  font-size: 12px;
  color: var(--color-mute, #6b7280);
}
.ti-result__cell strong {
  font-size: 15px;
  color: var(--color-text, #12151a);
}
.ti-result__bonus {
  color: var(--color-accent, #1578eb) !important;
}
.ti-privacy {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-mute, #6b7280);
  text-align: center;
}
.ti-privacy a {
  color: var(--color-accent, #1578eb);
}

.buyback-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 100%;
  margin: 0;
}
.buyback-benefits__item {
 background: #fff;
 border: 1px solid rgba(51, 51, 51, 0.06);
 border-radius: 16px;
 padding: 16px 18px;
 display: flex;
 flex-direction: column;
 gap: 4px;
}
.buyback-benefits__item strong {
 font-size: 15px;
 font-weight: 700;
}
.buyback-benefits__item span {
 font-size: 13px;
 color: #6e6e73;
 line-height: 1.4;
}

@media (min-width: 640px) {
  .ti-grid--models,
  .ti-grid--storage,
  .ti-grid--acc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ti-grid--conditions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .buyback-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .ti-grid--cats .ti-tile {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 16px 12px;
  }
  .ti-grid--cats .ti-tile__name {
    flex: none;
  }
}
@media (min-width: 768px) {
  .ti-grid--cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ti-grid--conditions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .ti-grid--conditions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .buyback-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =========================================================
   Price calculator (full UI rewrite)
   ========================================================= */
.wrap-calculator {
  overflow: visible;
}
.wrap-calculator--primary {
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 56%);
}
.wrap-calculator--alt {
  background: linear-gradient(180deg, #ffffff 40%, #f5f5f5 100%);
}
.pc-lead {
  margin: -8px 0 28px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.45;
  opacity: 0.85;
}
.pc {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.pc-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  padding: 24px 18px 18px;
}
.pc-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.pc-card__step {
  font-family: Gilroy, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}
.pc-back {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-accent);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.pc-badge {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(21, 120, 235, 0.08);
}
.pc-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(51, 51, 51, 0.08);
  font-size: 12px;
  color: #6e6e73;
}
.pc-secure__icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #6e6e73;
  flex-shrink: 0;
  position: relative;
}
.pc-secure__icon::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 7px;
  border-right: 2px solid #6e6e73;
  border-bottom: 2px solid #6e6e73;
  transform: rotate(40deg);
}

.pc-grid {
  display: grid;
  gap: 10px;
}
.pc-grid--models {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pc-grid--services {
  grid-template-columns: 1fr;
}

.pc-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e6e6ea;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.pc-chip:hover,
.pc-chip.is-active {
  border-color: rgba(21, 120, 235, 0.55);
  background: rgba(21, 120, 235, 0.03);
  box-shadow: 0 6px 18px rgba(21, 120, 235, 0.08);
}

.pc-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(21, 120, 235, 0.35);
  flex-shrink: 0;
}
.pc-chip:hover .pc-radio,
.pc-service:hover .pc-radio {
  border-color: var(--color-accent);
}

.pc-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e6e6ea;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pc-service:hover {
  border-color: rgba(21, 120, 235, 0.5);
  box-shadow: 0 10px 24px rgba(21, 120, 235, 0.08);
}
.pc-service__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pc-service__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.pc-service__meta {
  font-size: 12px;
  color: #6e6e73;
  line-height: 1.35;
}
.pc-service__price {
  flex-shrink: 0;
  font-family: Gilroy, Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--color-accent);
}

.pc-more {
  display: inline-flex;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-accent);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.pc-empty {
  margin: 0 0 12px;
  font-size: 14px;
  color: #6e6e73;
}

.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--gradient-accent);
  color: #fff;
  font-family: Gilroy, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
}
.pc-btn:hover {
  background: var(--gradient-accent-hover);
}
.pc-btn--ghost {
  width: auto;
  min-width: 200px;
  margin-top: 16px;
  background: #ececec;
  color: #333;
  box-shadow: none;
}
.pc-btn--ghost:hover {
  background: #e2e2e2;
}

.pc-result__title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}
.pc-result__layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pc-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}
.pc-row.is-total {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
}
.pc-row__dots {
  flex: 1;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.18);
  margin-bottom: 5px;
}
.pc-row__val {
  font-weight: 700;
}
.pc-result__offer {
  background: #f5f5f7;
  border-radius: 20px;
  padding: 22px 18px;
}
.pc-offer__label {
  font-family: Gilroy, Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}
.pc-offer__text {
  margin: 0 0 14px;
  font-size: 14px;
  color: #6e6e73;
}
.pc-offer__prices {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.12);
}
.pc-offer__discount {
  font-family: Gilroy, Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.pc-offer__totals {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.pc-offer__old {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}
.pc-offer__new {
  font-size: 20px;
  font-weight: 800;
}
.pc-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pc-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  text-align: center;
  font-weight: 700;
}
.pc-input.is-invalid {
  border-color: var(--color-alert);
}
.pc-privacy {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #6e6e73;
  text-align: center;
}
.pc-privacy a {
  color: var(--color-accent);
}
.pc-result--done {
  text-align: center;
  padding: 20px 10px;
}
.pc-result__ok {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
.pc-result--done .pc-result__price {
  margin: 12px 0 18px;
  font-family: Gilroy, Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
}

@media (min-width: 640px) {
  .pc-card {
    padding: 28px 28px 22px;
  }
  .pc-grid--models {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .pc-card {
    padding: 32px 36px 26px;
  }
  .pc-card__step {
    font-size: 24px;
  }
  .pc-grid--models {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pc-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pc-result__layout {
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
  }
  .pc-result__details,
  .pc-result__offer {
    flex: 1 1 0;
  }
  .pc-result__title {
    font-size: 26px;
  }
  .pc-offer__discount {
    font-size: 40px;
  }
}
@media (min-width: 1024px) {
  .pc-grid--models {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ========================================================================
   Site header (contacts bar — as on brand mock)
   ======================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e8e8ec;
}
.site-header .wrap {
  padding: 0;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  min-height: 72px;
  padding: 14px 0;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
}
.site-header .logo {
  display: block;
  width: 150px;
  height: auto;
  max-height: 48px;
}
.site-header__wordmark {
  display: none;
  font-family: var(--font-family, "Gilroy", sans-serif);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text, #12151a);
  white-space: nowrap;
}
.site-header__meta.contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 20px 28px;
  min-width: 0;
  margin: 0;
}
.site-header__meta .contact {
  margin: 0;
}
.site-header__meta .side-icon-box {
  display: none;
  align-items: center;
  gap: 0;
}
.site-header__meta .side-icon-box svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.site-header__meta .side-icon-box .content {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
  color: #5c5c62;
  max-width: none;
}
.site-header__meta .phone {
  display: inline-flex;
  margin-left: auto;
}
.site-header__meta .phone .content {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
}
.site-header__meta .phone .content a {
  font-size: inherit;
  font-weight: inherit;
  white-space: nowrap;
  text-decoration: none;
}

/* Override legacy absolute header when new markup is present */
header.site-header {
  position: relative;
  left: auto;
}
header.site-header .wrap-global-contacts,
header.site-header .main-nav {
  display: none !important;
}

@media (max-width: 899px) {
  .site-header__bar {
    min-height: 60px;
    padding: 10px 0;
  }
  .site-header .logo {
    width: 120px;
  }
  .site-header__meta .phone .content {
    font-size: 14px;
  }
  main .wrap-banner {
    padding-top: 36px;
  }
}

@media (min-width: 900px) {
  .site-header__meta .address,
  .site-header__meta .working-time {
    display: inline-flex;
  }
  .site-header__meta .phone {
    margin-left: 0;
  }
  .site-header__meta .phone .content {
    font-size: 18px;
  }
  .site-header .logo {
    width: 170px;
  }
  main .wrap-banner {
    padding-top: 48px;
  }
}

@media (min-width: 1100px) {
  .site-header__bar {
    min-height: 78px;
    padding: 16px 0;
    gap: 36px;
  }
  .site-header__meta {
    gap: 36px;
  }
  .site-header__meta .side-icon-box .content {
    font-size: 14px;
  }
  .site-header__meta .phone .content {
    font-size: 20px;
  }
  .site-header .logo {
    width: 190px;
  }
}

@media (min-width: 1280px) {
  main .wrap-banner {
    padding-top: 56px;
  }
}


/* === Multi-page site: nav, inner pages, trust blocks === */
.section-lead {
  max-width: 720px;
  margin: -8px auto 28px;
  text-align: center;
  font-size: 17px;
  line-height: 1.55;
  color: #5c5c62;
}
.section-more {
  margin-top: 28px;
  text-align: center;
  font-size: 16px;
}
.section-more a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}
.section-more a:hover { text-decoration: underline; }

.button--ghost {
  background: transparent !important;
  color: var(--color-accent) !important;
  box-shadow: none !important;
  border: 2px solid rgba(21, 120, 235, 0.35);
}
.button--ghost:hover {
  border-color: var(--color-accent);
  background: rgba(21, 120, 235, 0.06) !important;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.hero-lead {
  margin: 14px 0 22px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.55;
  color: #4a4a52;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.site-header__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.site-header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #222;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.site-header__phone {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__phone:hover { color: var(--color-accent); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #e8e8ec;
  box-shadow: 0 18px 40px rgba(15, 23, 36, 0.08);
  padding: 12px 20px 20px;
}
.site-nav.is-open { display: block; }
.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-nav__list a {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.site-nav__list a:hover,
.site-nav__list .is-active a {
  background: #f3f7ff;
  color: var(--color-accent);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}
.site-header .container { position: relative; }
body.nav-open { overflow: hidden; }

.wrap-benefits { padding-top: 8px; padding-bottom: 8px; }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.benefit-card {
  padding: 18px 16px;
  border-radius: 20px;
  background: #f5f8fc;
  border: 1px solid #e7eef8;
}
.benefit-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.15;
}
.benefit-card span {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #5c5c62;
}

.home-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.home-service {
  display: block;
  padding: 22px 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e8e8ec;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-service:hover {
  border-color: rgba(21,120,235,.35);
  box-shadow: 0 16px 36px rgba(21,120,235,.12);
  transform: translateY(-2px);
}
.home-service h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
}
.home-service p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: #5c5c62;
}
.home-service__link {
  font-weight: 700;
  color: var(--color-accent);
}

.buyback-teaser {
  display: grid;
  gap: 24px;
  padding: 28px 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, #153a6b 0%, #1d6fd0 55%, #4ea0ff 100%);
  color: #fff;
}
.buyback-teaser h2 {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
}
.buyback-teaser p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
}
.buyback-teaser__list {
  margin: 0 0 20px;
  padding-left: 18px;
}
.buyback-teaser__list li {
  list-style: disc;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.4;
}
.buyback-teaser .button {
  background: #fff;
  color: #153a6b;
  box-shadow: none;
}
.buyback-teaser__panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.buyback-teaser__stat {
  padding: 16px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  text-align: center;
}
.buyback-teaser__stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
}
.buyback-teaser__stat span {
  font-size: 12px;
  opacity: .85;
}

.reviews-grid {
  display: grid;
  gap: 14px;
}
.review-card {
  margin: 0;
  padding: 22px 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e8e8ec;
}
.review-card p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: #333;
}
.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-card cite {
  font-style: normal;
  font-weight: 700;
}
.review-card span {
  font-size: 13px;
  color: #7a7a82;
}

.cta-band {
  display: grid;
  gap: 18px;
  padding: 28px 22px;
  border-radius: 28px;
  background: #f5f8fc;
  border: 1px solid #e7eef8;
}
.cta-band h2 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 700;
}
.cta-band p {
  font-size: 16px;
  line-height: 1.5;
  color: #5c5c62;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wrap-page-hero {
  padding-top: 28px;
  padding-bottom: 8px;
}
.wrap-page-hero h1 {
  max-width: 900px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}
.page-hero__lead {
  margin-top: 14px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.55;
  color: #5c5c62;
}

.wrap-breadcrumbs { padding-top: 18px; padding-bottom: 0; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: #7a7a82;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #c0c0c6;
}
.breadcrumbs a {
  color: #5c5c62;
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs .is-current { color: #333; font-weight: 600; }

.prose {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.65;
  color: #3a3a40;
}
.prose h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  font-weight: 700;
}
.prose ul { margin: 12px 0 16px; padding-left: 20px; }
.prose li { list-style: disc; margin-bottom: 8px; }
.prose a { color: var(--color-accent); }
.legal-prose h2 { font-size: 20px; }

.feature-grid {
  display: grid;
  gap: 14px;
}
.feature-card {
  padding: 22px 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e8e8ec;
}
.feature-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #5c5c62;
}

.price-cta {
  margin-top: 28px;
  padding: 28px 22px;
  border-radius: 24px;
  background: #f5f8fc;
  text-align: center;
}
.price-cta h2 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 700;
}
.price-cta p {
  margin-bottom: 18px;
  color: #5c5c62;
  line-height: 1.5;
}

.contacts-layout {
  display: grid;
  gap: 18px;
}
.contacts-card,
.contacts-map {
  border-radius: 24px;
  border: 1px solid #e8e8ec;
  background: #fff;
  overflow: hidden;
}
.contacts-card { padding: 24px 20px; }
.contacts-card h2 {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 700;
}
.contacts-list { margin-bottom: 16px; }
.contacts-list li {
  margin-bottom: 14px;
}
.contacts-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #7a7a82;
  font-weight: 600;
}
.contacts-list a,
.contacts-list span {
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-text);
  text-decoration: none;
}
.contacts-list a:hover { color: var(--color-accent); }
.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.contacts-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 20px;
  background: #eef2f7;
}
.contacts-map__link {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--color-mute, #6b7280);
}
.contacts-map__link a {
  color: var(--color-accent);
  text-decoration: none;
}
.contacts-map__link a:hover { text-decoration: underline; }
.contacts-howto {
  margin: 18px 0 14px;
  padding: 14px 0 0;
  border-top: 1px solid #e8e8ec;
}
.contacts-howto h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.contacts-howto p { margin: 0 0 10px; }
.contacts-route { margin-top: 12px; }
.site-header__address {
  text-decoration: none;
  color: inherit;
}
.site-header__address:hover .content span:last-child {
  color: var(--color-accent);
}

.lead-form-card {
  display: grid;
  gap: 20px;
  padding: 28px 22px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #e8e8ec;
}
.lead-form-card h2 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 700;
}
.lead-form-card__copy p {
  color: #5c5c62;
  line-height: 1.5;
}
.lead-form label {
  display: block;
  margin-bottom: 12px;
}
.lead-form label > span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #5c5c62;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dbdbdb;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--color-text);
}
.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(21,120,235,.15);
}
.lead-form__row {
  display: grid;
  gap: 0;
}
.lead-form__check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 16px;
  font-size: 13px;
  line-height: 1.4;
  color: #5c5c62;
}
.lead-form__check input {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin-top: 2px;
  padding: 0 !important;
  flex-shrink: 0;
}
.lead-form__check > span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0 !important;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.lead-form__hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}
.lead-form__status {
  margin-top: 12px;
  font-size: 14px;
}
.lead-form__status.is-ok { color: #1a7f4b; }
.lead-form__status.is-error { color: var(--color-alert); }

.footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-brand p {
  margin-top: 12px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.5;
  color: #5c5c62;
}
.footer-logo img {
  display: block;
  width: 150px;
  height: auto;
}
.footer-col h3 {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a7a82;
}
.footer-col li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.45;
  color: #3a3a40;
}
.footer-col a {
  color: inherit;
  text-decoration: none;
}
.footer-col a:hover { color: var(--color-accent); }
.site-footer .copyright {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #e8e8ec;
  font-size: 13px;
  color: #7a7a82;
}
.site-footer .copyright a {
  color: #5c5c62;
}

@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .home-services { grid-template-columns: 1fr 1fr; gap: 16px; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .buyback-teaser {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    padding: 36px 32px;
  }
  .cta-band {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    padding: 32px;
  }
  .contacts-layout { grid-template-columns: 1fr 1.1fr; }
  .lead-form__row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lead-form-card {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 32px;
    align-items: start;
  }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer .copyright {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .site-header__burger { display: none; }
  .site-nav {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    flex: 1 1 auto;
  }
  .site-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 2px;
  }
  .site-nav__list a {
    padding: 8px 10px;
    font-size: 14px;
  }
  .site-header__brand { flex-shrink: 0; }
  .site-header__wordmark { display: none; }
  .site-header .logo { display: block; }
  .site-header__meta { flex: 0 0 auto; }
  .site-header__address,
  .site-header__hours { display: inline-flex !important; }
  .site-header__bar { gap: 18px; }
}

@media (max-width: 1023px) {
  .site-header__address,
  .site-header__hours { display: none !important; }

  /* Mobile bar: wordmark left, phone + burger right — no icon/logo overlap */
  .site-header__bar {
    gap: 8px 10px;
  }
  .site-header__brand {
    order: 1;
    flex: 0 1 auto;
    min-width: 0;
  }
  .site-header .logo {
    display: none;
  }
  .site-header__wordmark {
    display: inline-block;
  }
  .site-header__meta.contacts {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 0;
    min-width: 0;
  }
  .site-header__phone {
    font-size: 13px;
    padding: 6px 2px;
    flex-shrink: 0;
  }
  .site-header__burger {
    order: 3;
    margin-left: 0;
    flex-shrink: 0;
  }
  .site-nav {
    order: 4;
  }
}

@media (max-width: 360px) {
  .site-header__wordmark {
    font-size: 1rem;
  }
  .site-header__phone {
    font-size: 12px;
  }
}

/* —— Phase 1–5 additions —— */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--color-accent, #1578eb);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--color-accent, #1578eb);
  outline-offset: 2px;
}
.site-nav__list a:focus-visible,
.button:focus-visible,
.pc-btn:focus-visible,
.ti-btn:focus-visible {
  outline: 2px solid var(--color-accent, #1578eb);
  outline-offset: 2px;
}

.home-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}
.home-presets--services { margin-bottom: 18px; }

.reviews-yandex {
  margin: 22px 0 0;
  text-align: center;
}

.find-us-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.find-us-card {
  padding: 18px 16px;
  border: 1px solid #e8e8ec;
  border-radius: 20px;
  background: #fff;
}
.find-us-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.find-us-card p { margin: 0 0 10px; }
.find-us-card a {
  color: var(--color-accent, #1578eb);
  text-decoration: none;
}
.find-us-card a:hover { text-decoration: underline; }

.parts-compare {
  display: grid;
  gap: 14px;
}
.parts-compare__col {
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid #e8e8ec;
  background: #fff;
}
.parts-compare__col h3 { margin: 0 0 10px; font-size: 18px; }
.parts-compare__col ul { margin: 0; padding-left: 18px; }
.parts-compare__col li { margin-bottom: 6px; }

.prices-teaser__table-wrap { overflow-x: auto; }
.prices-teaser__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 16px;
  overflow: hidden;
}
.prices-teaser__table th,
.prices-teaser__table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #eef1f5;
}
.prices-teaser__table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6b7280;
  background: #f8fafc;
}
.prices-teaser__table tr:last-child td,
.prices-teaser__table tr:last-child th { border-bottom: 0; }
.prices-teaser__cards { display: none; gap: 12px; }
.prices-teaser__card {
  padding: 16px;
  border: 1px solid #e8e8ec;
  border-radius: 16px;
  background: #fff;
}
.prices-teaser__card h3 { margin: 0 0 12px; font-size: 17px; }
.prices-teaser__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prices-teaser__card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef1f5;
  font-size: 14px;
}
.prices-teaser__card li:last-child { border-bottom: 0; padding-bottom: 0; }
.prices-teaser__svc { color: #5c5c62; }
.prices-teaser__sum { font-weight: 700; white-space: nowrap; }
@media (max-width: 860px) {
  .prices-teaser__table-wrap { display: none; }
  .prices-teaser__cards { display: grid; }
}

.blog-list { display: grid; gap: 14px; }
.blog-card {
  padding: 18px 16px;
  border: 1px solid #e8e8ec;
  border-radius: 20px;
  background: #fff;
}
.blog-card h2 { margin: 0 0 8px; font-size: 20px; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { color: var(--color-accent, #1578eb); }
.blog-card p { margin: 0; color: #4b5563; }

.lead-form select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid #d7dbe3;
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
.lead-form select:focus {
  border-color: var(--color-accent, #1578eb);
  outline: none;
}
.pc-form__status,
.ti-form__status {
  margin: 8px 0 0;
  font-size: 14px;
}
.pc-form__status.is-error,
.ti-form__status.is-error { color: var(--color-alert, #d64545); }

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.08);
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 14px;
  padding: 12px 10px;
}
.mobile-cta__call {
  background: var(--color-accent, #1578eb);
  color: #fff;
}
.mobile-cta__msg {
  background: #eef2ff;
  color: #1e3a8a;
}
html.has-mobile-cta body { padding-bottom: 72px; }

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 18px;
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { margin: 0; flex: 1 1 220px; font-size: 14px; line-height: 1.45; }
.cookie-banner a { color: #93c5fd; }
.cookie-banner__ok { flex: 0 0 auto; }

.footer-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.footer-messengers[hidden] { display: none !important; }
.footer-messengers__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(51, 51, 51, 0.18);
  border-radius: 999px;
  font-size: 13px;
  color: inherit;
  text-decoration: none;
}
.footer-messengers__link:hover { border-color: var(--color-accent, #1578eb); color: var(--color-accent, #1578eb); }

.feature-card h3 a {
  color: inherit;
  text-decoration: none;
}
.feature-card h3 a:hover { color: var(--color-accent, #1578eb); }

@media (max-width: 1023px) {
  .mobile-cta:not([hidden]) { display: flex; }
  .cookie-banner { bottom: 78px; }
}

@media (min-width: 768px) {
  .find-us-grid { grid-template-columns: 1fr 1fr; }
  .parts-compare { grid-template-columns: 1fr 1fr; }
  .blog-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .find-us-grid { grid-template-columns: repeat(4, 1fr); }
}

/* === Sprint 1–3: hero v2 (text-only), calc UX, trust, motion, a11y === */
.hero-brand {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-accent);
}
/* Banner photo/layout owned by design-system.css (dark bg; mobile PNG / desktop cover) */
.wrap-banner.wrap-banner--v2 {
  position: relative;
  overflow: hidden;
}
.wrap-banner--v2 .banner-content {
  position: relative;
  z-index: 1;
}
.wrap-banner--v2 h1 {
  max-width: 18ch;
  margin-bottom: 14px;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.15;
  color: #f2f4f7;
}
.wrap-banner--v2 .hero-lead {
  margin: 0 0 22px;
  max-width: 40ch;
  font-size: 17px;
  line-height: 1.55;
  color: #a8b0bd;
}
.wrap-banner--v2 .hero-actions {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.wrap-banner--v2 .button--ghost {
  color: #9ec5ff !important;
  border: 1px solid rgba(157, 197, 255, 0.45);
  background: transparent !important;
}
.wrap-banner--v2 .button--ghost:hover {
  border-color: #9ec5ff;
  background: rgba(59, 143, 255, 0.12) !important;
}
.wrap-banner--v2 .advantages { display: none; }

.benefits-advantages {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}
.benefits-advantages li {
  list-style: none;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border: 1px solid #e4eefb;
  font-size: 15px;
  line-height: 1.45;
  color: #3a3a40;
}
@media (min-width: 768px) {
  .benefits-advantages {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }
}

.calc-alt {
  margin-top: 28px;
  border-radius: 20px;
  border: 1px solid #e7eef8;
  background: #f8fafc;
  overflow: hidden;
}
.calc-alt__summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-accent);
}
.calc-alt__summary::-webkit-details-marker { display: none; }
.calc-alt__summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: #7a7a82;
}
.calc-alt[open] .calc-alt__summary::after { content: "−"; }
.calc-alt__body {
  padding: 0 18px 22px;
  animation: calc-step-in .35s ease both;
}
.calc-alt__body .pc-lead { margin-top: 0; text-align: left; }

.pc-agree,
.ti-agree {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #5c5c62;
}
.pc-agree input,
.ti-agree input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.pc-agree a,
.ti-agree a { color: var(--color-accent); }

.reviews-yandex--top {
  margin: 0 0 22px;
  text-align: center;
}
.reviews-yandex__note {
  margin: 10px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.lead-form-card--compact {
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 55%);
}
.wrap-lead-form--home { padding-top: 8px; }

.benefit-card,
.review-card,
.find-us-card,
.feature-card,
.blog-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  box-shadow: 0 1px 0 rgba(15, 23, 36, 0.03);
}
.section-heading h2 {
  letter-spacing: -0.01em;
}
.wrap-process .section-lead,
.wrap-reviews .section-lead,
.wrap-find-us .section-lead {
  margin-bottom: 22px;
}

.cta-band {
  background: linear-gradient(135deg, #eef5ff 0%, #f5f8fc 55%, #ffffff 100%);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cta-band:hover {
  box-shadow: 0 18px 40px rgba(21, 120, 235, 0.1);
}

.pc-card,
.pc-chip,
.pc-service {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pc .pc-chip:active,
.pc .pc-service:active {
  transform: scale(0.98);
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes calc-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
/* .calc__panel must NOT use calc-step-in — soft paint + remounts were flashing opacity 0→1. */

@media (prefers-reduced-motion: reduce) {
  .wrap-banner--v2 .banner-content,
  .calc-alt__body,
  .home-service,
  .cta-band {
    animation: none !important;
    transition: none !important;
  }
}

/* wrap-banner--v2 padding / photo breakpoints: see design-system.css */

.lead-form select:focus-visible,
.lead-form input:focus-visible,
.lead-form textarea:focus-visible,
.calc-input:focus-visible {
  outline: 2px solid var(--color-accent, #1578eb);
  outline-offset: 2px;
}

/* TASK-04: legacy calculator .step / data-step-name adapters removed.
   Active UI lives in design-system.css (.calc / .calc-card). */
/* Hero v2 dark bg + cover/scrim handled in design-system.css */


/* ===== TASK-04: neutralize legacy calculator/game CSS vs .calc UI ===== */
.calc-host .step,
.calculator.calc-host .step,
.calc-host .options,
.calc-host .button-spoiler,
.calc-host .game-heading,
.calc-host .coins,
.calc-host .slot-machine,
.calc-host .wrap-form,
.calc-host .about-prize-box,
.calc-host .book-prizes-box {
  display: none !important;
}
.calculator.calc-host,
#calculator-1.calculator,
#calculator-2.calculator {
  display: block !important;
  position: relative !important;
  left: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.wrap-overflow-x:has(.calc-host) {
  overflow: visible !important;
}
