@charset "UTF-8";
@font-face {
  font-family: 'Conv_MazzardH-SemiBold';
  src: url("../fonts/MazzardH-SemiBold.eot");
  src: local("☺"), url("../fonts/MazzardH-SemiBold.woff") format("woff"), url("../fonts/MazzardH-SemiBold.ttf") format("truetype"), url("../fonts/MazzardH-SemiBold.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Conv_MazzardH-Regular';
  src: url("../fonts/MazzardH-Regular.eot");
  src: local("☺"), url("../fonts/MazzardH-Regular.woff") format("woff"), url("../fonts/MazzardH-Regular.ttf") format("truetype"), url("../fonts/MazzardH-Regular.svg") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.main-container {
  max-width: 425px;
  margin: auto;
  background-color: #fff;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  margin: auto;
  background-color: #031421;
  color: #031421;
  font-family: "Conv_MazzardH-Regular", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -ms-overflow-style: scrollbar;
}

a, a:hover, a:active, a:link, a:focus {
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
  font-size: 15px;
}

div, span, article, nav, section, main, header {
  padding: 0;
  margin: 0;
}

input, button, select, textarea {
  border: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  font-size: 13px;
  color: #031421;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

input[type="text"], input[type="tel"], input[type="password"], input[type="email"] {
  -webkit-box-shadow: none;
          box-shadow: none;
  width: 100%;
  padding: 10px 15px;
}

textarea {
  resize: none;
  width: 100%;
  max-height: 100px;
  padding: 10px 15px;
  border: 1px solid #e7e7e7;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

input[type="text"], input[type="tel"], input[type="submit"], button {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  padding: 10px 15px;
  width: 100%;
  border: none;
}

input[type="submit"], button {
  cursor: pointer;
}

input:focus, textarea:focus, select:focus, button:focus, select:focus {
  outline: none;
}

h1, h2, h3, h4, h5 {
  font-family: "Conv_MazzardH-SemiBold", sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: 425px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

input[type="checkbox"] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  height: 14px;
  width: 14px;
  background-color: #fff;
  position: relative;
  margin-top: 20px;
  cursor: pointer;
  -webkit-box-shadow: none;
          box-shadow: none;
}

input[type="checkbox"]:checked::after {
  position: absolute;
  content: '';
  height: 12px;
  width: 12px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-image: url(../img/icons/checkbox.svg);
  -webkit-background-size: cover;
          background-size: cover;
}

input[type="radio"] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  height: 14px;
  width: 14px;
  background-color: #fff;
  position: relative;
  margin-top: 20px;
  -webkit-box-shadow: none;
          box-shadow: none;
  cursor: pointer;
  -webkit-border-radius: 50%;
          border-radius: 50%;
}

input[type="radio"]:checked::after {
  position: absolute;
  content: '';
  height: 10px;
  width: 10px;
  background-color: #000;
  -webkit-border-radius: 50%;
          border-radius: 50%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-image: url(../img/icons/checkbox.svg);
  -webkit-background-size: cover;
          background-size: cover;
}

select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 10px 15px;
  font-size: 14px;
  width: 100%;
  max-width: 320px;
  cursor: pointer;
  position: relative;
}

select::after {
  position: absolute;
  content: '';
  height: 10px;
  width: 10px;
  background-color: #000;
  top: 10px;
  right: 10px;
}

section, footer {
  padding-bottom: 80px;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.hide {
  display: none;
}

.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.title {
  font-size: 32px;
  margin-bottom: 15px;
}

.button {
  font-size: 18px;
  color: #fff;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
  -webkit-border-radius: 20px;
          border-radius: 20px;
  -webkit-box-shadow: 0px 10px 30px rgba(19, 141, 225, 0.32);
          box-shadow: 0px 10px 30px rgba(19, 141, 225, 0.32);
  background-color: #38A3EE;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  height: 60px;
  cursor: pointer;
}

.button:hover {
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
  background-color: #138DE2;
}

.button-white {
  background-color: #fff;
  color: #031421;
  font-weight: 600;
  font-size: 16px;
  height: 45px;
  -webkit-border-radius: 15px;
          border-radius: 15px;
}

.button-white:hover {
  color: #138DE2;
  background-color: #fff;
}

/* Стили для фиксированного хедера */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
            background: rgb(255 255 255);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between; /* Это важно - распределяет пространство */
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 50px;
    /* Логотип автоматически прижмется к левому краю благодаря justify-content: space-between */
}

.header-logo img {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover img {
    transform: scale(1.05);
}

.header-cta {
    color: #142430;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    padding: 10px 16px;
    text-align: center;
    background: rgb(184 228 247 / 36%);
    cursor: pointer;
    margin-left: auto;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-height: 50px;
    justify-content: center;
    width: 156px;
    
}


.cta-main-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    
}

.cta-sub-text {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.8;
    white-space: nowrap;
}





/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .header-cta {
        padding: 8px 12px;
        min-height: 45px;
        width: 156px;
    }
    
    .cta-main-text {
        font-size: 13px;
    }
    
    .cta-sub-text {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .header-cta {
        padding: 6px 10px;
        min-height: 40px;
            width: 156px;
    }
    
    .cta-main-text {
        font-size: 15px;
    }
    
    .cta-sub-text {
        font-size: 12px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .header-cta {
        padding: 5px 8px;
        min-height: 38px;
    }
    
    .cta-main-text {
        font-size: 13px;
    }
    
    .cta-sub-text {
        font-size: 10px;
    }
}
.header-logo img {
  width: 200px;
}

.header a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  color: #6E757C;
  font-size: 16px;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
}

.header a:hover {
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
  color: #138DE2;
}

.menu {
  background: rgba(239, 245, 248, 0.827983);
  -webkit-backdrop-filter: blur(24.0353px);
          backdrop-filter: blur(24.0353px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
          align-items: flex-end;
  padding: 8px 25px;
  padding-bottom: 20px;
  position: fixed;
  z-index: 50;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 425px;
  max-width: 100%;
}

.menu-nav {
  position: fixed;
  z-index: 40;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(100%);
      -ms-transform: translateX(-50%) translateY(100%);
          transform: translateX(-50%) translateY(100%);
  bottom: 0;
  width: 425px;
  max-width: 100%;
  -webkit-transition: all 0s;
  -o-transition: all 0s;
  transition: all 0s;
  height: 100%;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.menu-nav-active {
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  -webkit-transform: translateX(-50%) translateY(0%);
      -ms-transform: translateX(-50%) translateY(0%);
          transform: translateX(-50%) translateY(0%);
}

.menu-nav .overlay {
  background: rgba(238, 243, 246, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
}

.menu-nav-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  padding-bottom: 110px;
}

.menu-nav-container div {
  width: 100%;
}

.menu-nav-social {
  background-color: #fff;
  width: -webkit-calc(100% - 10px);
  width: calc(100% - 10px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
          justify-content: space-around;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-border-radius: 10px;
          border-radius: 10px;
  -webkit-filter: drop-shadow(0px 10px 30px rgba(122, 122, 122, 0.2));
          filter: drop-shadow(0px 10px 30px rgba(122, 122, 122, 0.2));
  height: 60px;
  min-height: 60px;
  max-width: 100%;
  margin-top: 10px;
}

.menu-nav-social a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.menu-nav ul {
  width: -webkit-calc(100% - 10px);
  width: calc(100% - 10px);
  overflow-y: auto;
}

.menu-nav ul li {
  width: 100%;
}

.menu-nav ul li a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  background-color: #fff;
  font-size: 24px;
  color: #031421;
  margin-top: 8px;
  -webkit-filter: drop-shadow(0px 10px 30px rgba(122, 122, 122, 0.2));
          filter: drop-shadow(0px 10px 30px rgba(122, 122, 122, 0.2));
  -webkit-border-radius: 10px;
          border-radius: 10px;
  height: 60px;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
}

.menu-nav ul li a:hover {
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
  background-color: #138DE2;
  color: #fff;
}

.menu a, .menu div {
  font-size: 12px;
  color: #031421;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
  cursor: pointer;
}

.menu a:hover, .menu div:hover {
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
  color: #138DE2;
}

.menu-services {
  position: relative;
}

.menu-services .open {
  display: none;
}

.menu-services .close {
  display: block;
}

.menu-services:nth-child(2) {
  margin-right: 70px;
}

.menu-services .img {
  height: 30px;
  width: 30px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 4px;
}

.menu-callback {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: 13px;
  cursor: pointer;
}

.menu-callback:hover .img {
  background-color: #138DE2;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
}

.menu-callback .img {
  background-color: #38A3EE;
  -webkit-border-radius: 50%;
          border-radius: 50%;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
  height: 58px;
  width: 58px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-shadow: 0px 20px 30px rgba(56, 163, 238, 0.35);
          box-shadow: 0px 20px 30px rgba(56, 163, 238, 0.35);
  margin-bottom: 7px;
}

.offer {
  padding: 200px 25px 30px 25px;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
          background-size: cover;
  color: #fff;
  margin-top: 60px;
}

.offer h1 {
  font-size: 36px;
  line-height: 46px;
  margin-bottom: 25px;
}

.offer p {
  font-size: 13px;
  line-height: 22px;
  margin-top: 20px;
}

.offer.lazyloaded {
  background-image: url(../img/main.jpg);
}

.b24-form-padding-side, .b24-form-header-padding {
  padding: 0 !important;
}

.b24-form-control-icon-after .b24-form-control, .b24-form-control-icon-after .b24-form-control-label {
  background-color: #fff !important;
  -webkit-border-radius: 10px !important;
          border-radius: 10px !important;
}

.b24-form-btn-block button {
  -webkit-border-radius: 10px !important;
          border-radius: 10px !important;
}



/* Стили для модального окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.modal-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}

.messenger-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.messenger-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    gap: 10px;
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.telegram-button {
    background: linear-gradient(135deg, #0088cc 0%, #005c8a 100%);
    color: white;
}

.telegram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.messenger-icon {
    font-size: 18px;
}

.modal-close {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.modal-close:hover {
    background: #f5f5f5;
    border-color: #999;
}

/* Анимация появления модального окна */
@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content {
    animation: modalAppear 0.3s ease-out;
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 375px) {
    .modal-content {
        max-width: 300px;
        padding: 20px;
    }
    
    .messenger-button {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .modal-title {
        font-size: 16px;
    }
}
