@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,800;0,900;1,700&family=Roboto:wght@100;300;400;500;700;900&display=swap");

/* ГЛОБАЛЬНАЯ АНИМАЦИЯ ДЛЯ МЕРЦАНИЯ */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; text-shadow: 0 0 12px #fff; }
    100% { transform: scale(1); opacity: 1; }
}

.mobile__contact,
.mobile-xl__contact {
  display: none;
}

.header.active {
  z-index: 3;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1310px;
  margin: 0 auto;
  padding: 0 10px;
}
.header__top {
  padding: 20px 10px;
  background: var(--blue, #00536F);
  width: 100%;
}
.header__logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__location {
  display: flex;
  align-items: center;
}
.header__location::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("../image/contact.webp");
  margin: 0 10px 0 0;
}
.header__location span {
  color: var(--white, #FFF);
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.header__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.header__bottom {
  padding: 30px 10px;
  width: 100%;
  background: var(--blue-low, #31718E);
}
.header__bottom .header__location {
  display: none;
}
.header__menu {
  width: 600px;
  justify-content: space-between;
  display: flex;
}
.header__menu li {
  cursor: pointer;
}
.header__menu li span,
.header__menu li span a {
  color: var(--white, #FFF);
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.logo__text {
  margin: 0 0 0 20px;
  width: 289px;
}
.logo__text span {
  color: var(--white, #FFF);
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.contact__phone span {
  color: var(--white, #FFF);
  text-align: right;
  font-family: Roboto;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.contact__mail {
  display: flex;
  align-items: center;
  margin: 10px 0 0 0;
}
.contact__mail::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("../image/email.webp");
  margin: 0 10px 0 0;
}
.contact__mail span {
  color: var(--white, #FFF);
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.menu__drop-down {
  z-index: 1;
  display: none;
  position: absolute;
  top: 20px;
  left: 0;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
  border: 2px solid var(--blue, #00536F);
  background: var(--blue-low, #31718E);
  padding: 10px;
}
.menu__drop-down li a {
  margin: 8.4px 0;
  display: flex;
  width: 220px;
  padding-bottom: 0px;
  align-items: flex-start;
  gap: 10px;
  color: var(--white, #FFF);
  padding: 0 0 15px 0;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-bottom: 2px solid var(--blue, #00536F);
}
.menu__drop-down li:last-child a {
  border-bottom: none;
}
.menu__more {
  position: relative;
}
.menu__more span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu__more span::after {
  content: "";
  display: block;
  width: 10px;
  height: 14px;
  background-image: url("../image/arrow.webp");
  margin: 0 0px 0 10px;
}
.menu__more:hover .menu__drop-down {
  display: block;
}

.header__info {
  background-image: url("../image/background/background-fill.webp");
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 20px;
}

.info__row {
  padding: 60px 0;
  display: flex;
  justify-content: space-evenly;
}
.info__title h1 {
  max-width: 633px;
  color: var(--white, #FFF);
  font-family: Roboto;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.info__guarantor {
  margin: 150px 0 0 0;
}
.info__right {
  padding: 0 10px;
}
.info__right .info__guarantor {
  display: none;
}
.info__block {
  border: 2px solid var(--blue, #00536F);
  display: flex;
  align-items: center;
  width: 463px;
  height: 90px;
  flex-shrink: 0;
  background-color: var(--blue-low, #31718E);
  border-radius: 20px;
  transform: skewX(20deg);
}
.info__block span {
  color: var(--white, #FFF);
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.info__block span:last-child {
  color: var(--white, #FFF);
  text-align: right;
  font-family: Roboto;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.info__block:nth-child(2) {
  margin: 10px 0;
}
.info__block > div {
  width: 452px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  transform: skewX(-20deg);
}
.info__block > div:last-child {
  padding: 0 20px;
}
.info__button {
  margin: 50px 0 0 0;
  width: 458px;
  height: 60px;
  flex-shrink: 0;
  background-color: var(--red, #BE3203);
  border-radius: 20px;
  transform: skewX(20deg);
}
.info__button span {
  display: block;
  transform: skewX(-20deg);
  color: var(--white, #FFF);
  font-family: Roboto;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.guarantor__title span {
  color: var(--white, #FFF);
  font-family: Roboto;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.guarantor__text {
  margin: 30px 0 0 0;
  padding: 0 0 0 10px;
  border-left: var(--red, #BE3203) solid 2px;
}
.guarantor__text p {
  color: var(--white, #FFF);
  font-family: Roboto;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* MEDIA */
@media (max-width: 1195px) {
  .header__info {
    background-image: url("../image/background/background-laptop.webp");
  }
  .info__block span:last-child {
    font-size: 32px;
  }
  .info__title {
    margin: 0 0 30px 0;
  }
  .header__info {
    padding: 0 20px;
  }
  .info__block > div {
    width: 100%;
    justify-content: space-between;
  }
  .info__button {
    width: 100%;
  }
  .info__block {
    width: 100%;
  }
  .info__row {
    flex-direction: column;
    justify-content: center;
  }
  .info__right .info__guarantor {
    display: block;
    margin: 50px 0 0 0;
  }
  .info__left .info__guarantor {
    display: none;
  }
  .laptop {
    display: flex;
  }
  .header__location {
    display: none;
  }
  .header__bottom .header__location {
    display: flex;
  }
  .header__menu {
    display: none;
  }
  .burger {
    transition: 1s all;
    z-index: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--white, #FFF);
  }
  .burger span {
    transition: 1s all;
    display: block;
    width: 26px;
    height: 1.5px;
    background-color: #31718E;
  }
  .burger::after, .burger::before {
    transition: 1s all;
    content: "";
    display: block;
    position: absolute;
    width: 26px;
    height: 1.5px;
    background-color: #31718E;
  }
  .burger::after {
    top: 15px;
  }
  .burger::before {
    bottom: 15px;
  }
  .burger.active span {
    transform: scale(0);
  }
  .burger.active::after {
    top: 25px;
    transform: rotate(45deg);
  }
  .burger.active::before {
    bottom: 24px;
    transform: rotate(-45deg);
  }
  .header__top {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 695px) {
  .header__info {
    background-image: url("../image/background/background-mobile-B.webp");
  }
  .info__title h1 {
    font-size: 36px;
  }
  .info__block > div {
    flex-direction: column;
  }
  .info__block {
    padding: 10px;
    height: 100%;
  }
  .info__block span:first-child {
    font-size: 16px;
  }
  .info__block span:last-child {
    padding: 10px 0 0 0;
  }
  .info__block:nth-child(3) div:last-child span:first-child {
    font-size: 10px;
  }
  .laptop__contact {
    display: none;
  }
  .mobile__contact {
    display: flex;
  }
  .mobile__left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .mobile__right {
    margin: 0 0 0 20px;
  }
  .logo__text {
    display: none;
  }
  .header__bottom {
    display: none;
  }
  .header__bottom .laptop {
    position: relative;
    z-index: 1;
  }
  .header__bottom.mobile {
    display: flex;
  }
  .header__bottom .burger {
    display: none;
  }
}

@media (max-width: 540px) {
  .header__info {
    background-image: url("../image/background/background-mobile-M.webp");
  }
  .contact__phone span {
    font-size: 24px;
  }
  .contact__mail span {
    font-size: 16px;
  }
  .laptop {
    display: flex;
    flex-direction: column;
  }
  .header__bottom .header__location {
    margin: 10px 0;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .header__info {
    background-image: url("../image/background/background-mobile-S.webp");
  }
  .mobile__left {
    display: none;
  }
  .mobile-xl__contact {
    display: flex;
    justify-content: space-between;
    padding: 10px 10px 0px 10px;
  }
  .mobile-xl__contact .contact__phone a {
    font-size: 28px;
  }
}

@media (max-width: 460px) {
  .mobile-xl__contact {
    align-items: flex-end;
  }
  .contact__phone span {
    font-size: 19px;
  }
}

@media (max-width: 380px) {
  .mobile-xl__contact .contact__phone a {
    font-size: 20px;
  }
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
@media (max-width: 1195px) {
    .header__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: #31718E;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        margin: 0;
        padding: 70px 20px 40px;
        list-style: none;
        overflow-y: auto;
    }
    .header__menu.active {
        transform: translateX(0);
    }

    .menu-close-item {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        left: auto !important;
        width: 30px !important;
        height: 30px !important;
        cursor: pointer;
        z-index: 1010;
        list-style: none;
    }
    .menu-close {
        width: 100%;
        height: 100%;
        position: relative;
    }
    .menu-close::before,
    .menu-close::after {
        content: '';
        position: absolute;
        top: 14px;
        left: 5px;
        width: 20px;
        height: 2px;
        background: #fff;
        transition: 0.2s;
    }
    .menu-close::before {
        transform: rotate(45deg);
    }
    .menu-close::after {
        transform: rotate(-45deg);
    }
    .menu-close:hover::before,
    .menu-close:hover::after {
        background: #BE3203;
    }

    .header__menu li {
        width: 100%;
        text-align: center;
    }
    .header__menu li a {
        display: inline-block;
        color: #fff;
        font-family: 'Roboto', sans-serif;
        font-size: 20px;
        font-weight: 500;
        text-decoration: none;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        width: 100%;
    }
    .mobile-phone a {
        font-size: 24px;
        font-weight: 600;
        border-bottom: none;
    }
    .mobile-phone a i {
        margin-right: 10px;
        animation: pulse 1.5s infinite;
        text-shadow: 0 0 5px rgba(255,255,255,0.5);
    }

    .mobile-form {
        margin-top: 20px;
        width: 100%;
        max-width: 320px;
    }
    .mobile-form-title {
        color: #fff;
        font-family: 'Roboto', sans-serif;
        font-size: 22px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 15px;
    }
    .mobile-form form {
        display: flex;
        flex-direction: column;
        gap: 15px;
        background: transparent;
        padding: 0;
    }
    .mobile-form input[type="tel"] {
        padding: 14px 16px;
        border-radius: 40px;
        border: none;
        font-size: 16px;
        text-align: center;
        background: #fff;
        color: #1e4663;
        font-family: 'Roboto', sans-serif;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-form .checkbox {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        margin: 10px 0 0 !important;
        position: relative;
    }
    .mobile-form .checkbox .custom-checkbox {
        position: absolute;
        opacity: 0;
        width: 20px;
        height: 20px;
        left: 0;
        top: 0;
        margin: 0;
        cursor: pointer;
        z-index: 1;
    }
    .mobile-form .checkbox .checkbox-label {
        padding-left: 26px;
        margin: 0;
        font-size: 14px;
        white-space: nowrap;
        color: #fff;
    }
    .mobile-form .checkbox .checkbox-label::before {
        left: 0;
        top: 0;
        width: 18px;
        height: 18px;
        background-color: #fff;
        border: 1px solid #ccc;
    }
    .mobile-form .checkbox .custom-checkbox:checked + .checkbox-label::before {
        content: "✓";
        color: #BE3203;
        text-align: center;
        line-height: 18px;
        font-size: 14px;
    }
    @media (max-width: 420px) {
        .mobile-form .checkbox .checkbox-label {
            font-size: 11px;
            white-space: normal;
            text-align: center;
        }
    }

    .mobile-submit {
        background: #BE3203;
        border: none;
        padding: 14px;
        border-radius: 40px;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: 0.2s;
        font-family: 'Roboto', sans-serif;
        width: 100%;
    }
    .mobile-submit:hover {
        background: #9e2a03;
    }

    .header__bottom .laptop {
        display: none;
    }
    .burger {
        display: flex;
        z-index: 1100;
    }
}

/* Скрываем мобильное меню на десктопах */
@media (min-width: 1196px) {
    .header__bottom {
        display: none !important;
    }
}
.mobile-form .checkbox-label a {
    font-size: 14px !important;
}

/* ===== НОВЫЙ БЛОК ПОД МЕНЮ (ЦЕНТРИРОВАННЫЙ) ===== */
.work-banner {
    background: #31718E;
    padding: 10px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.work-banner__container {
    max-width: 1310px;
    margin: 0 auto;
}
.work-banner__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.work-banner__content i {
    font-size: 22px;
    color: #fff;
    animation: pulse 1.5s infinite;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}
.work-banner__content span {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
}
.work-banner__btn {
    background: #BE3203;
    color: #fff;
    padding: 6px 18px;
    border-radius: 40px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
    display: inline-block;
}
.work-banner__btn:hover {
    background: #9e2a03;
}
@media (max-width: 695px) {
    .work-banner { padding: 8px 15px; }
    .work-banner__content i { font-size: 18px; }
    .work-banner__content span { font-size: 14px; }
    .work-banner__btn { padding: 5px 14px; font-size: 12px; }
}
@media (max-width: 460px) {
    .work-banner__content { flex-direction: column; gap: 8px; }
}

/* Жёсткое правило для мобильных: трубка и текст в одной строке */
@media (max-width: 695px) {
    .work-banner__content {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .work-banner__phone-link {
        flex-shrink: 0 !important;
    }
    .work-banner__phone-link i {
        font-size: 28px !important;
    }
    .work-banner__content span {
        display: inline !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: left !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
}