:root {
    --main-bg: #4429cd;
    --main-br: 100px;
    --main-color: #0b0b0b;
    --orange-btn: #ff5500;
    --violet-color: #eceafa;
    --gray-color: #f5f5f7;
    --dark-color: #0b0b0b;
    
    --main-bg-dark: #28138f;
    --orange-btn-dark: #c23d00;

    --smally-fontsize: 14px;
    --base-fontsize: 18px;
    --big-fontsize: 90px;
    --medium-fontsize: 58px;
    --small-fontsize: 32px;

    --h1-fontsize: 65px;
    --h2-fontsize: 56px;

    --border-radius: 30px;
}

.iphone_repair {
    background-color: #F5F5F5;
}

html {
    font-size: var(--base-fontsize);
}

#yamap {
	width: 100%;
	height: 100%;
}

body {
    font-family: 'MarbyPro', Arial, sans-serif !important;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    color: var(--main-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    user-select: none;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: var(--main-color);
}

.text-center {
    text-align: center;
}

.underline {
    text-decoration: underline;
}

button, .btn {
    display: inline-block;
    background-color: var(--orange-btn);
    color: white;
    padding: 15px 35px;
    border-radius: var(--main-br);
    font-size: 1rem;
    line-height: 1rem;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
}

button:hover, .btn:hover {
    background-color: var(--orange-btn-dark);
}

.btn-blue {
    background-color: var(--main-bg);
    color: #fff;
}

.btn-blue:hover {
    background-color: var(--main-bg-dark);
    color: #fff;
}

.btn-white {
    background-color: #fff;
    color: var(--main-bg);
}

.btn-white:hover {
    background-color: #becaff;
    color: var(--main-bg);
}

.btn-outline {
    background-color: transparent;
    color: white;
    outline: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #00000024;
}

.center {
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.list-unstyled {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.second-color {
    color: var(--main-bg);
}

.new-line {
    display: block;
}

.star-bg {
    background-image: url('/wa-data/public/site/themes/landings/img/icons/s.svg');
    background-repeat: no-repeat;
    background-position: top 30px right 30px;
}

.captcha-container {
    margin-bottom: 10px;
}

/* Шапка */
header {
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    z-index: 1;
    width: 100%;
}

.logo {
    font-size: 0;
}

.header-list {
    display: flex;
    gap: 40px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: underline;
}


.logo a {
    display: inline-block;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-info {
    position: relative;
    z-index: 0;
    margin-top: 20px;
}

.header-info a {
    display: inline-block;
}

.header-img {
    margin-top: -50px;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    color: var(--main-color);
    font-size: 2rem;
    line-height: 2rem;
    cursor: pointer;
}

.close-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 2rem;
    cursor: pointer;
}

.menu-btn:hover {
    font-weight: bold;
    background: none;
}

.close-btn:hover {
    font-weight: bold;
    background: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    padding: 30px;
    background-color: var(--main-bg);
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
    visibility: visible;
    transform: translateX(0);
}

.mobile-list {
    margin-top: 50px;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-header img{
    filter: invert(1);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

/* Главный баннер */
.hero {
    color: white;
    text-align: center;
    margin-top: 20px;
    padding: 0;
}

.hero-img_mobile {
    display: none;
}

.hero-title {
    position: absolute;
    left: -9999px;
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.hero-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-item:not(:first-child) {
    margin-left: -20px;
}

.hero-item:nth-child(2) {
    transform: rotate(-5deg);
}

.hero-item:nth-child(4) {
    transform: rotate(5deg);
}

.hero-link {
    display: inline-block;
    background-color: var(--main-bg);
    box-shadow: -3px 2px 0px rgba(0, 0, 0, 0.25);
    color: #fff;
    padding: 12px 26px;
    border: 3px solid #ffffff;
    border-radius: var(--main-br);
    transition: all .2s;
}

.hero-link:hover {
    background-color: var(--main-bg-dark);
    box-shadow: -3px 2px 0px rgba(0, 0, 0, 0.5);
}

.hero-info {
    max-width: 330px;
    margin: 0 auto;
}

.hero-info-text {
    font-size: 1rem;
    line-height: 1.3rem;
    color: var(--main-color);
}

.hero-info-btn {
    padding: 15px 50px;
}

/* Секции */
section {
    margin: 0;
    margin-top: 6rem;
}

.section-title {
    margin: 0;
    margin-bottom: 2rem;
    text-align: left;
    font-weight: bold;
    font-size: 70px;
    line-height: 1.2em;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/** карточки **/
.cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.card {
    display: flex;
    background-color: #fff;
    flex-direction: column;
    border: 5px solid var(--main-bg);
    border-radius: 30px;
    padding: 35px;
}

.blue {
    border: none;
    background-color: var(--main-bg);
    color: #fff;
}

.violet {
    border: none;
    background-color: var(--violet-color);
}

.gray {
    border: none;
    background-color: var(--gray-color);
}

.dark {
    border: none;
    background-color: var(--dark-color);
    color: #fff;
}

.light {
    border: none;
    background-color: #fff;
    color: var(--main-color);
}

.card-text {
    margin: 0;
    margin-top: auto;
    text-align: left;
    color: var(--main-color);
    font-size: 1rem;
    line-height: 1.2rem;
}

/* slider */
.scroll-style::-webkit-scrollbar {
    height: 4px;
}

.scroll-style::-webkit-scrollbar-track {
    border-radius: 5px;
    background: rgba(0, 0, 0, .05);
}

.scroll-style::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: rgba(0, 0, 0, .3);
}

.scroll-style::-webkit-scrollbar-thumb:hover {
    background: #696969;
    cursor: pointer;
}

.slider {
    position: relative;
}

.slide-prev, .slide-next {
    cursor: pointer;
    position: absolute;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 5.53984px rgba(0, 0, 0, 0.2);
    font-size: 0;
    padding: 0;
    border: none;
    color: #000;
    top: 50%;
    margin-top: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all .2s;
    display: none;
}

.slide-prev.viewed, .slide-next.viewed{
    display: block;
}

.slide-prev svg, .slide-next svg{
    vertical-align: middle;
}

.slide-prev {
    left: -25px;
}

.slide-next {
    right: -25px;
}

.slide-prev:hover, .slide-next:hover {
    background-color: rgb(204, 204, 204);
}

/* Reviews */
.reviews-cards {
    overflow-y: auto;
    align-items: stretch;
    padding-bottom: 10px;
    scroll-snap-stop: always;
    scroll-snap-type: x mandatory;
}

.reviews-cards .card {
    scroll-snap-align: center;
    flex: 1 1 30%;
    gap: 20px;
}

.review-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.review-photo {
    width: 50px;
}

.review-photo img {
    border-radius: 50%;
}

.review-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.review-text {
    margin-top: 0;
    line-height: 1.5rem;
}

.review-time {
    margin-top: auto;
}

/* Form banner */
.form-banner-card {
    position: relative;
    background-color: var(--main-bg);
    border-radius: 30px;
    color: #fff;
    padding: 60px 50px;
    padding-right: 40%;
}

.form-banner-title {
    margin: 0;
    text-align: left;
    font-weight: 700;
    font-size: var(--h1-fontsize);
    line-height: 1.2em;
}

.form-banner-text {
    margin: 0;
    margin-top: 30px;
    font-size: 1.3rem;
    line-height: 1.4em;
}

.form-banner-button {
    margin-top: 30px;
}

.form-banner-img {
    position: absolute;
    top: 0px;
    bottom: -10px;
    right: 60px;
    max-height: 110%;
}

/* Форма */
form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 15px;
}

.form-success {
    display: none;
}

.form-success.show {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.form-error {
    color: red;
    text-align: center;
}

.custom-select {
    position: relative;
    text-align: left;
    width: 100%;
    max-width: 600px;
    margin-bottom: 1rem;
}

.select-box {
    padding: 1rem;
    border: 1px solid #ddd;
    color: #757575;
    border-radius: 15px;
    cursor: pointer;
    background-color: white;
}

.select-box.selected {
    color: var(--main-color);
}

.select-box.open + .select-options {
    display: block;
}

.select-options {
    display: none;
    position: absolute;
    width: 100%;
    z-index: 99999;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    margin-top: 0.5rem;
    list-style: none;
    padding: .5rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.select-options li {
    padding: .5rem 1rem;
    cursor: pointer;
}

.select-options li:hover {
    background-color: #f0f0f0;
}

/* Стили для модального окна */
.modal {
    visibility: hidden;
    opacity: 0;
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    transition: all .2s;
}

.modal.open {
    visibility: visible;
    opacity: 1;
}

.modal h3 {
    margin-top: 0;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
}

.modal .close {
    color: #aaa;
    float: right;
    margin-top: -20px;
    margin-right: -20px;
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
}

.modal .close:hover,
.modal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* FAQ */
.faq-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: #f5f5f7;
    padding: 32px;
    border-radius: 30px;
    margin-top: 30px;
    transition: all .2s;
    cursor: pointer;
}

.faq-title h4{
    font-weight: normal;
}

.faq-title svg{
    filter: invert(1);
    transition: all .2s;
}

.faq-box.open .faq-title{
    background: #f5f5f7;
    color: black;
    border-radius: 20px 20px 0px 0px;
}

.faq-box.open svg{
    filter: invert(1);
    transform: rotate(180deg);
}

.faq-title h4{
    margin: 0;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    padding: 0px 40px;
    overflow: hidden;
    transition: max-height .2s ease, opacity .2s ease;
}

.faq-box.open .faq-answer {
    max-height: 1000px;
    background: white;
    opacity: 1;
    border-radius: 0px 0px 20px 20px;
}

/* footer */
.footer {
    padding: 30px 0;
    background: #f5f5f7;
    padding-top: 100px;
}

.footer .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer .logo {
    display: inline-block;
    font-size: 0px;
}

.social-media {
    display: flex;
    gap: 10px;
}

.social-media a{
    font-size: 0;
    display: inline-block;
    background-color: #0B72DA;
    border-radius: 10px;
    padding: 6px 25px;
}

.social-media a:hover{
    background-color: #a0a0a0;
}

.social-media a svg{
    vertical-align: middle;
    filter: invert(1);
}

.view-pc {
    display: inline-block;
}

.view-mobile {
    display: none;
}

@media (max-width: 1200px) {
    :root {
        --big-fontsize: 70px;
        --medium-fontsize: 48px;
        --small-fontsize: 24px;
    }

    .form-banner-card {
        display: flex;
        flex-direction: column;
        padding-right: 40px;
        padding: 40px;
    }

    .form-banner-img {
        position: initial;
    }

    .header-btn {
        display: none;
    }
}

@media (max-width: 700px) {
    :root {
        --base-fontsize: 16px;
        --h1-fontsize: 40px;
        --h2-fontsize: 32px;
        --big-fontsize: 48px;
        --medium-fontsize: 36px;
        --small-fontsize: 18px;
    }

    .view-pc {
        display: none;
    }

    .view-mobile {
        display: inline-block;
    }

    .header-list {
        display: none;
    }

    .hero {
        margin-top: 0;
    }

    .hero-img {
        display: none;
    }

    .hero-img_mobile {
        display: block;
        margin-bottom: 30px;
    }

    .menu-btn {
        display: block;
    }

    section {
        margin-top: 4rem;
    }

    .modal-content {
        height: 100%;
        border-radius: 0px;
    }

    .form-banner-title {
        font-size: var(--h2-fontsize);
    }

    .faq-title {
        gap: 20px;
    }

    .faq-title svg{
        flex-shrink: 0;
    }

    .star-bg {
        background-position: top 20px right 20px;
    }

    .card {
        min-height: 140px;
    }

    .card.star-bg {
        padding-top: 80px;
    }

    .reviews-cards .card {
        flex: 0 0 100%;
        min-width: 0px;
        gap: 20px;
    }

    .footer {
        text-align: center;
    }
    
    .footer .container{
        flex-direction: column;
        gap: 30px;
    }

    .social-media {
        width: 100%;
    }

    .social-media a{
        flex: 1 1 30%;
        padding: 10px 14px;
    }
}

/* ---------- PRODUCTS ---------- */
.offers {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
    gap: 20px;
    scroll-snap-stop: always;
    scroll-snap-type: x mandatory;
}

.offer {
    flex: 1 1 25%;
    min-width: 285px;
    border-radius: 20px;
    background-color: #fff;
    border: 2px solid #E8E8E8;
    padding: 15px 20px;
    scroll-snap-align: start;
}

.offer img {
    max-height: 240px;
}

.product-text {
    color: var(--text-color);
    margin: 10px 0;
    max-height: 2.4rem;
    overflow: hidden;
}

.product-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
}

.product-photo img {
    border-radius: 15px;
    width: auto;
    height: auto;
    object-fit: cover;
}

.product-btn {
    background-color: var(--main-bg);
    text-align: center;
    margin-top: 15px;
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    font-size: .9rem;
}

.product-btn:hover {
    background-color: #0b00bc;;
}

.product-bonus {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--main-color);
    font-weight: bold;
    color: white;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    padding: 7px 10px;
    margin-top: 20px;
}

.product-bonus svg {
    filter: invert(1);
    margin-right: 3px;
}


.price {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.old-price {
    margin-left: 5px;
    font-size: 18px;
    color: #aaa;
    text-decoration: line-through;
}

.container-full {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-white {
    position: relative;
    background-color: #ffffff;
    border-radius: 60px;
    padding: 6rem 0;
    z-index: 1;
}


.calculator_section .more_info {
    background-color: #0B72DA;
    background-image: url("/wa-data/public/site/themes/landings/img/iphone-repair/more_info.png");
    background-size: cover;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 30px;
    color: white;
    text-align: center;
    padding-top: 85px;
    width: 49%;
}

.block_submit {

}

.block_submit .social {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 18px;
}

.block_submit .social img {
    width:56px;
    height: 54px;
}

.more_info .head {
    font-size: 40px;
    margin: 0px;
    font-weight: 600;
    line-height: 45px;
}

.more_info .text {
    font-size: 18px;
    margin: 0px;
    line-height: 25px;
}

br.mobile {
    display: none;
}

br.pc {
    display: flex;
}

.calculator_block {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 19px;
    flex-wrap: wrap;
}

.calculator {
    margin: 0;
    color:var(--text);
    background: #E8E8E8;
    display:flex;
    justify-content:center;
    padding:40px;
    flex-direction: column;
    width: 49%;
    border-radius: var(--border-radius);
    box-sizing: border-box;
}

.calc-card{
      width:min(720px, 100%);
      background:var(--card-bg);
      border-radius:var(--radius);
      padding:28px 26px;
    }

    .step{
      margin-bottom:18px;
    }

    .step-title{
      font-size:22px;
      font-weight:800;
      line-height:1.15;
      margin:0 0 10px;
      display:flex;
      gap:10px;
      align-items:baseline;
    }

    .step-num{
      font-weight:900;
    }

    .select-wrap{
      position:relative;
    }

    /* кастомная стрелка */
    .select-wrap::after{
      content:"";
      position:absolute;
      right:18px;
      top:50%;
      width:10px;
      height:10px;
      border-right:2px solid #111;
      border-bottom:2px solid #111;
      transform: translateY(-60%) rotate(45deg);
      pointer-events:none;
      opacity:.9;
      transition: transform .18s ease;
    }

    .select-wrap:focus-within::after{
        transform: translateY(-60%) rotate(225deg);
    }

    select{
      width:100%;
      appearance:none;
      background:white;
      border-radius: 15px;
      font-size:18px;
      color:black;
      border: 0;
      padding: 20px 15px;
    }

    select:focus { 
        outline: 2px solid #0B72DA;
    }

    select:disabled{
      opacity:.55;
      cursor:not-allowed;
    }

    .result-row{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      margin-top:18px;
      gap:16px;
    }

    .result-label{
      font-size:22px;
      font-weight:800;
    }

    .result-value{
      font-size:34px;
      font-weight:900;
      letter-spacing:.02em;
      white-space:nowrap;
    }

    .note{
      margin-top:8px;
      font-size:14px;
      color:var(--muted);
      line-height:1.35;
      opacity: 0.6;
    }
    
.select-wrap{ position: relative; }

.select-wrap::after{ display:none !important; }

.select-wrap select.cs__native{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.select-wrap.cs{
  width: 100%;
}

.select-wrap.cs .cs__control{
  width: 100%;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 20px 20px 20px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  box-sizing: border-box;
}

.select-wrap.cs .cs__value{
  color: #111;
  font-size: 18px;
}

.select-wrap.cs .cs__arrow{
  width: 10px;
  height: 10px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
  opacity: .9;
}

.select-wrap.cs:focus-within .cs__control{
  border-color: #0B72DA;
  box-shadow: 0 0 0 3px rgba(11,114,218,.18);
}

.select-wrap.cs.is-open .cs__control{
  border-color: #0B72DA;
}

.select-wrap.cs.is-open .cs__arrow{
  transform: rotate(225deg);
}

.select-wrap.cs .cs__dropdown{
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 0;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 18px 30px rgba(0,0,0,.14);
  display: none;
  z-index: 50;
  overflow: hidden; 
}

.select-wrap.cs.is-open .cs__dropdown{ display:block; }

.select-wrap.cs .cs__list{
  max-height: 280px;
  overflow: auto;
  padding: 20px 0; 
}

.select-wrap.cs .cs__option{
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 12px 15px;
  font-size: 18px;
  cursor: pointer;
  color: black;
}

.select-wrap.cs .cs__option:hover{
  background: rgba(11,114,218,.08);
}

.select-wrap.cs .cs__option.is-selected{
  font-weight: 600;
}

.select-wrap.cs.is-disabled .cs__control{
  opacity: .55;
  cursor: not-allowed;
}

.select-wrap.cs { 
    position: relative; 
    z-index: 0;
}

.select-wrap.cs .cs__control{
  position: relative;
  z-index: 5;
}

.select-wrap.cs .cs__dropdown{
  top: calc(100% - 10px);
  margin-top: 0 !important;
  z-index: 4;
  border-top: 0;
  border-radius: 0 0 15px 15px;
}

.select-wrap.cs.is-open .cs__dropdown{
  display: block;
}

.select-wrap.cs:focus-within .cs__control{
  border-color: #0B72DA;
}

.select-wrap.cs.is-open{
  z-index: 100; 
}

.what_block {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  padding: 106px 80px;
  border-radius: var(--border-radius);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  --wb-img-a: none;
  --wb-img-b: none;
  --wb-a: 1;
  --wb-b: 0;
  background-image: var(--wb-img, none);
}

.what_block .cat_problem,
.what_block .cat_image{
  position: relative;
  z-index: 2;
}

.what_block .what-bg-layer{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;

  opacity: 0;
  transform: scale(1.04);
  transition: opacity 360ms ease, transform 850ms cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.what_block .what-bg-layer.is-active{
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 700px){
  .what_block .what-bg-layer{
    background-position: center top;
    background-size: 110%;
  }
}

@media (prefers-reduced-motion: reduce){
  .what_block .what-bg-layer{
    transition: none;
    transform: none;
  }
}

.what_block.wb-bg-ready { background-image: none !important; }

.what_block { position: relative; overflow: hidden; }

.what_block > .wb-bg{
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: cover;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}

.what_block > .wb-bg.is-active{ opacity: 1; }

.what_block > *{ position: relative; z-index: 1; }
.what_block > .wb-bg{ z-index: 0; }


.cat_problem {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 37%;
    gap: 16px;
    margin-left: 20px;
}

.cat_problem .faq-title {
    justify-content: flex-start;
    gap: 20px;
    padding: 2px 30px;
    border-radius: 20px;    
    margin-top: 0px;
}

.cat_problem .faq-title p{
    font-size: 24px;
    font-weight: 600;
}

.cat_problem .faq-box.open .faq-title p {
    margin-bottom: 10px;
}

.cat_problem .faq-box.open .faq-answer.collapse p{
    padding-bottom: 30px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 25px;
}

.cat_problem .faq-box.open .faq-answer.collapse {
    background: #f5f5f7;
}

 .cat_problem .faq-box.open .faq-title {
    background: #f5f5f7;
    color: black;
    border-radius: 20px 20px 0px 0px;
}

.cat_problem .faq-box.open svg {
    transform: rotate(180deg);
    filter: invert(1);
}

.cat_problem .faq-answer .collapse {
    background: #f5f5f7;
    border-radius: 20px;
}

.all_cards {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.cards_chet {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #0B72DA;
    color: white;
    border-radius: 20px;
    height: 256px;
    width: 285px;
}

.cards_nechet {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: white;
    color: black;
    border-radius: 20px;
    height: 256px;
    width: 285px;
}

.big_p_card_1 {
    font-size: 64px;
    font-weight: 600;
    text-align: center;
    margin: 0px;
}

.big_p_card {
    font-size: 80px;
    font-weight: 600;
    text-align: center;
    margin: 0px;
}

.small_p_card {
    font-size: 22px;
    text-align: center;
    margin: 0px;
}

.banner_1 .banner {
    background-image: url("/wa-data/public/site/themes/landings/img/iphone-repair/banner_1.png");
    border-radius: 40px;
    background-size: cover;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.banner_2 .banner {
    background-image: url("/wa-data/public/site/themes/landings/img/iphone-repair/banner_2.png");
    border-radius: 40px;
    background-size: cover;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.banner_3 .banner {
    background-image: url("/wa-data/public/site/themes/landings/img/iphone-repair/banner_3.png");
    border-radius: 40px;
    background-size: cover;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

section.big_banner img{
    width: 100%;
    height: 100%
}

.banner_text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    color: white;
    width: 50%;
    margin: 58.5px 65px;
}

.big_p_ban {
    font-size: 55px;
    font-weight: 600;
    margin: 0px;
}

.small_p_ban {
    font-size: 21px;
    margin: 0px;
}

.banner_3 .small_p_ban {
    font-size: 21px;
    margin: 0px;
    margin-bottom: 40px;
}


.banner button {
    background: var(--orange-btn);
    border-radius: 20px;
    width: 65%;
    font-size: 24px;
    height: 62px;
}

.banner a {
    color: white;
    text-decoration: none;
}

.video_big video{
    border-radius: var(--border-radius);
}

.questions .faq-title {
    background: white;
    border-radius: 20px;
    margin-top: 0px;
}

.questions .faq-box.open .faq-title {
    background: white;
    border-radius: 20px 20px 0px 0px;
}

.questions .faq-box.open .faq-answer.collapse p{
    padding: 15px 0px;
    padding-top: 0px;
    margin-top: 0px;
}

.questions .faq-box.open .faq-answer.collapse {
    background-color: white;
}

.questions {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.qa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.questions_block {
    display: flex;
    flex-direction: column;
    width: 60%;
    gap: 20px;
}

.questions_side{
    background: url(/wa-data/public/site/themes/landings/img/iphone-repair/qa_side.png);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
    color: black;
    text-align: center;
    width: 35%;
    background-size: 100%;
    background-repeat: no-repeat;
    height: -webkit-fill-available;
}

.questions_side .social {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.questions_side .head {
    font-size: 40px;
    margin: 0px;
    font-weight: 500;
    padding-top: 50px;
}

.questions_side .text {
    font-size: 18px;
    margin: 0px;
    line-height: 25px;
}

h3.shop-map-title{
    display: none;
}

.reviews-offers{
  gap: 20px;
}

.offer.review-offer{
  flex: 0 0 320px;
  min-width: 320px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  height: 350px;
}

.offer.review-offer .review-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.offer.review-offer .review-photo{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #b9b3ff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.offer.review-offer .review-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offer.review-offer .review-initial{
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

.offer.review-offer .review-name{
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  color: #111;
}

.offer.review-offer .review-stars img{
  height: 14px;
  display: block;
  margin-top: 4px;
}

.offer.review-offer .review-text{
  font-size: 14px;
  line-height: 1.35;
  color: #111;
  overflow: hidden;
}

.offer.review-offer .review-bottom{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  font-size: 12px;
  color: #6b6b6b;
}

.offer.review-offer .review-source{
  display: flex;
  align-items: flex-end;
  gap: 8px;
  white-space: nowrap;
  height: 37px;
  color: #6b6b6b;
  opacity: 65%;
}

.offer.review-offer .review_bottom_left {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.offer.review-offer .review-2gis img{
  height: 16px;
  width: auto;
  display: block;
}

#reviews_fc .slides{
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#reviews_fc .slides::-webkit-scrollbar{
  display:none;
}

br.mobile {
    display: none;
}

br.pc {
    display: flex;
}

.review_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review_title img {
    width: 35%;
}

a.mobile {
    display: none;
    font-size: 15px;
    font-weight: 500;
    opacity: unset;
}

@media (max-width: 576px){
  .reviews_fc .review-card{ flex-basis: 300px; }
}

.info_text p {
    color: black;
    font-size: 13px;
    opacity: 50%;
    margin-bottom: 0px;
}

.service-map-items-container {
    background: white;
}

.service-map-items {
    scrollbar-color: #0B72DA;
}

@media (max-width: 700px) {
    #reviews_fc .slides{
        -webkit-overflow-scrolling: touch;
    }

    .info_text span.mobile { display: none; }
    .info_text a.mobile { display: inline; }

    .info_text.is-open span.mobile { display: inline; }
    .info_text.is-open a.mobile { display: none; }



    .offer {
        min-width: 265px;
    }

    .header-nav {
      display: flex;
      justify-content: center;
      margin-top: 20px;
    }

    .header-info {
        margin-top: 80px;
    }

    br.mobile {
        display: flex;
    }

    br.pc {
        display: none;
    }

    .container {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
	
    .section-white {
        padding-top: 10px;
    }

    .section-title {
        font-size: 32px;
        width: 100%;
        text-align: center;
        text-transform: uppercase;
    }

    .slide-prev.viewed, .slide-next.viewed {
        display: none;
    }  

    #best-price .section-title__link.view-mobile{
        position: absolute;
        top: 8px;
        right: 0;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--main-bg);
        box-shadow: 0 6px 18px rgba(0,0,0,.12);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        text-indent: -9999px;
        white-space: nowrap;

        z-index: 5;
    }

    #best-price .section-title__link.view-mobile::after{
        content: "";
        width: 12px;
        height: 12px;
        border-right: 3px solid #fff;
        border-top: 3px solid #fff;
        transform: rotate(45deg);
        margin-right: 6px;
    }

    #best-price .section-title__link.view-mobile:hover{
        background: var(--main-bg-dark);
    }

    .calculator {
        width: 100%;
        border-radius: 20px;
    }

    .more_info .head {
        font-size: 30px;
        font-weight: 600;
    }

    .more_info .text {
        font-size: 14px;
    }   

    .calculator_section .more_info  {
        gap: 20px;
        padding: 115px 0px;
        width: 100%;
        border-radius: 20px;
    }

    .step-title, .step_num {
        font-size: 20px;
        font-weight: 500;
    }

    .container.slider {
        align-items: unset;
    }

    .select-wrap.cs .cs__value {
        font-size: 16px;
    }

    a.section-title__link.view-mobile {
        display: none;
    }

    .cards_chet {
        width: 90%;
    }

    .cards_nechet {
        width: 90%;
    }

    .all_cards {
        justify-content: center;
    }

    .big_p_ban {
        font-size: 33px;
    }

    .small_p_ban {
        font-size: 17px;
    }

    .review_title img {
        display: none;
    }

    .banner_3 .small_p_ban {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .banner a {
        font-size: 18px;
    }

    .banner_1 .banner {
        background-image: url("/wa-data/public/site/themes/landings/img/iphone-repair/banner_1_mobile.png");
        text-align: center;
        align-items: flex-start;
        justify-content: center;
        height: 500px;
        border-radius: 20px;
    }

    .banner_2 .banner {
        background-image: url("/wa-data/public/site/themes/landings/img/iphone-repair/banner_2_mobile.png");
        text-align: center;
        align-items: flex-start;
        justify-content: center;
        height: 500px;
        border-radius: 20px;
    }

    .video_big video {
        border-radius: 20px;
    }

    .banner_3 .banner {
        background-image: url("/wa-data/public/site/themes/landings/img/iphone-repair/banner_3_mobile.png");
        text-align: center;
        align-items: flex-start;
        justify-content: center;
        height: 500px;
        border-radius: 20px;
    }

    .banner button {
        border-radius: 15px;
        height: 42px;
        width: 160%;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    .banner_text {
        align-items: center;
        padding-top: 35px;
        margin: 0px;
        gap: 18px;
    }

    section.big_banner img{
        width: 100%;
        height: 100%
    }

    section.big_banner{
        margin-bottom: 60px;
    }

    .qa {
        flex-wrap: wrap;
        gap: 20px;
    }

    .questions {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
    }

    .questions_block {
        width: 100%;
    }

    .questions_side {
        width: 100%;
        gap: 25px;
        height: 500px;
        border-radius: 20px;
    }

    .questions_side .head {
        font-size: 30px;
        font-weight: 600;
    }

    section.faq {
        margin-top: 0px;
    }

    .what_block {
        width: 100%;
        flex-direction: column-reverse;
        align-items: flex-end;
        padding: 0px;
        flex-direction: row;
        height: 610px;
        border-radius: 20px;
    }

    .cat_problem {
        flex-direction: row;
    }

    .cat_problem .faq-box.open .faq-answer.collapse p {
        padding-left: 0px;
    }

    .what .cat_problem{
        width: 100%;
        margin-left: 0;
        padding: 0 20px 16px;

        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 12px;

        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;

        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px;
    }

    .what .cat_problem .faq-box{
        flex: 0 0 85%;
        min-width: 260px;
        scroll-snap-align: start;
    }

    /* чуть удобнее размеры на мобилке */
    .what .cat_problem .faq-title{
        width: 100%;
        padding: 16px 18px;
        border-radius: 20px;
    }

    .what .cat_problem .faq-title p{
        font-size: 18px;
    }

    .what .cat_problem .faq-answer{
        padding: 16px 18px;
    }

    /* --- при открытии: скрываем заголовок --- */
    .what .cat_problem .faq-box.open .faq-title{
        display: none;
    }

    /* чтобы ответ выглядел как цельная карточка */
    .what .cat_problem .faq-box.open .faq-answer{
        border-radius: 20px !important;
    }

    .service-map-items-container {
        border-radius: 20px !important;
    }
}   

.service-map-title{
    display: none !important;
}

.service-map-addr {
    font-weight: 400;
    font-size: 1.1em;
    padding-bottom: 8px;
}

.text-secondary {
    font-size: 16px;
    opacity: 50%;
    padding-bottom: 20px;
}

.map .service-map-items{
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #0B72DA rgba(0,0,0,.08);
}

.map .service-map-items::-webkit-scrollbar{
  width: 8px;
  height: 8px;
}

.map .service-map-items::-webkit-scrollbar-track{
  background: rgba(0,0,0,.08);
  border-radius: 999px;
}

.map .service-map-items::-webkit-scrollbar-thumb{
  background: #0B72DA;
  border-radius: 999px;
}

/* === Calculator form additions === */
.calculator .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calculator input#phone,
.calculator textarea#otherIssueText {
    width: 100%;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 16px;
    outline: none;
    background: #fff;
    box-sizing: border-box;
}

.calculator input#phone {
    margin-bottom: 0px;
}

.calculator textarea#otherIssueText {
  min-height: 140px;
  resize: vertical;
}

.calculator .field.is-error input#phone {
  border-color: #FF383C !important;
  border-width: 1px !important;
}

.calculator .field-error {
  color: #FF383C;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
}

.calculator .calculator-submit {
  width: 60%;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 18px;
  cursor: pointer;
  background: #0B72DA;
}

.block_submit {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.calculator .policy-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.6;
  text-align: left;
}

.calculator .policy-note a {
    text-decoration: underline;
}

#successModal .modal-content{
  max-width: 980px;
  width: calc(100% - 80px);
  padding: 70px 70px;
  border-radius: 40px;
  background: white;            
  color: black;
  height: 300px;
}



.modal .close {
    margin-top: -41px;
    margin-right: -40px;
}

#successModal .close{
  color: #8B8B8B;
  font-size: 55px;
  line-height: 42px;
  width: 42px;
  height: 42px;
  background: white;
}

  h3#successTitle{
    text-align: center;
    margin: 0 0 12px;
    font-size: 56px;
    font-weight: 800;
  }

    div.successDiv {
    text-align: center;
    font-size: 28px;
    line-height: 1.25;
  }

  .select-wrap.cs .cs__group{
  padding: 10px 15px 6px;
  font-size: 13px;
  font-weight: 700;
  opacity: .55;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.select-wrap.is-error .cs__control { border: 1px solid #FF383C !important; }


#successModal .close:hover{ opacity: 1; }

@media (max-width: 700px){
  #successModal .modal-content{
    width: calc(100% - 24px);
    padding: 46px 24px 40px;
    border-radius: 28px;
  }
  #successModal .close{
    font-size: 34px;
    line-height: 34px;
    width: 34px;
    height: 34px;
    margin-right: 0px;
  }

  h3#successTitle{
    font-size: 36px !important;
    margin-top: 25px;
  }

  div.successDiv{
    font-size: 18px !important;
  }

}