html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}


* {
    max-height: 1000000px;
    outline: none
}

input {
    border: none;
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: 400;
    margin: 0
}

img {
    vertical-align: top;
    max-width: 100%;
    height: auto;
    border-style: none
}

a {
    display: inline-block;
    text-decoration: none;
    outline: none;
    color: inherit
}

.footer a[href^="tel"] {
    pointer-events: none;
    color: inherit;
    text-decoration: inherit;
}


body {
    position: relative;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none; 
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400; 
    min-height: 100vh;
    direction: ltr;
    text-align: center;
}


.lang-select {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
    margin: 5px;
    padding: 4px 3px;
    border-radius: 8px;
    border-color: #ff8c4d;
    color: #ff8c4d;
    outline: none;
    cursor: pointer;
}

.wrapper {
    max-width: 1080px;
    margin: auto;
}

.header {
    padding: 4vh 0;
    filter: saturate(1.5);
}

.logo {
    max-width: 230px;
    width: 100%;
    margin: 0 auto;
}

.container {
    min-height: calc(100vh - 86px);
    min-height: calc(var(--vh, 100vh) - 86px);
}

.content {
    padding: 0 4.5em;
}

.btn:togle {
    padding: 18px;
    color: #ff8c4d;
    background-color: #00d0ff;
}
.orange {
    color: #ff8c4d;
    font-size: 2.2em;
    text-align: center;
    margin: 1em 0;
    line-height: 1.4em;
}

.price {
    font-size: 12px;
    color: #808080;
    text-align: center;
}

.form__input {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    padding: 15px 20px;

    font-size: 18px;
    text-align: center;
    line-height: 1;
    font-weight: 500;
    color: #222222;

    border: 2px solid #1890ff;
    
    border-radius: 10px; 
}

.form__input::placeholder {
    color: #5f5f5f;
}


/*--------------------Error message--------------------*/
.attention {
    font-size: 14px;
    line-height: 1;
    text-align: center;
    color: #ff3d3d;
    opacity: 0;
}
.attention--show {
    -webkit-animation: blink 1s ease-in-out both;
    animation: blink 1s ease-in-out both;
}  
  
@-webkit-keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; } 
}



.bottom {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
}

.hide {
    display: none;
}

.footer {
    background: #fff;
}
.footer__text {
    color: #717171;
    padding: 0 5px;
    font-size: 12px;
    line-height: 14px;
        max-width: 300px;
    margin: 0 auto;
}
.footer__link {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 5px;
    font-size: 12px;
    line-height: 14px;
    color: #717171;
    text-decoration: none;
}


.loader {
    /* display: flex; */
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 110;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(3px);
}

.loader__inner {
    display: inline-block;
    width: 30vmin;
    height: 30vmin;
    border: 3vmin solid rgba(255, 255, 255, .3);
    border-radius: 65%;
    border-top-color: #00e2ff;
    border-bottom-color: #ffbb00;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    animation: spin 1s ease-in-out infinite alternate;
    -webkit-animation: spin 1s ease-in-out infinite alternate;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
        border-radius: 20%;
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
        border-radius: 20%;
    }
}


@media screen and (min-width: 1025px) and (max-height: 700px) {
    /*desktop - разные НЕ fullHD */
    .logo {
        max-width: 130px;
    }
}

@media screen and (max-width: 500px) {
    .container {
        min-height: calc(100vh - 71px);
        min-height: calc(var(--vh,100vh) - 71px);
    }
    .content {
        padding: 0 1em;
    }
    .header {
        padding: 4vh 0;
    }
    .logo {
        max-width: 200px;
    }
    .btn {
        font-size: 7vmin;
        padding: 1.3vh;
        width: 90%;
    }
    .orange {
        font-size: 5.7vmin;
    }
}

@media screen and (max-width: 320px) {
    .logo {
        max-width: 150px;
    }
}


@media screen and (orientation: landscape) and (min-width: 480px) and (max-width: 1024px) and (max-height: 800px) {
    /*tab - horizontal*/
    .logo {
        max-width: 130px;
    }
  }


@media screen and (orientation: landscape) and (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
    .container {
        min-height: calc(100vh - 71px);
        min-height: calc(var(--vh,100vh) - 71px);
    }
    .header {
        padding: 6px 0;
    }   
    .logo {
        max-width: 10%;
    }
    .orange {
        font-size: 5.4vmin;
        margin: 2vh 0;
    }
    .bottom {
        position: relative;
    }
    .btn {
        font-size: 6vmin;
        padding: 10px;
    }
}
@media screen and (orientation: landscape) and (min-width: 480px) and (max-width: 950px) and (max-height: 280px) {
    .logo {
        max-width: 9%;
    }
}

@media screen and (orientation: landscape) and (min-width: 480px) and (max-width: 568px) and (max-height: 236px) {
    .logo {
        max-width: 10%;
    }

    .orange {
        font-size: 15px;
    }
    .btn {
        padding: 6px;
    }
}

/*--------------------Message--------------------*/
.messageBox {
    /* display: flex; */
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4.5px);
    background: rgba(0, 0, 0, .85);
    flex-direction: column;
}

.message__content {
    width: 90%;
    max-width: 350px;
    padding: 25px 20px;
    margin-top: calc( var(--vh,100vh) * -0.2);
    color: #000;
    background-color: #fff;
    border-radius: 15px;
    will-change: transform;
    place-self: center;
    animation-name: fadeInDown;
    animation-duration: 0.8s;
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.message__title {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 16px;
    text-align: center;
    color: #222222;
}

.message__title:nth-child(1) { 
    margin-bottom: 20px;
}

.message__btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 32px;
    background: linear-gradient(90deg, #1890ff 0%, #0ecfff 100%);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.message__close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 21px;
    height: 21px;
    font-size: 0;
    color: rgba(0, 0, 0, 0);
    cursor: pointer;
}
.message__close::before,
.message__close::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #393D3F;
    transform: translateX(-50%) rotate(-45deg);
}
  
.message__close::after {
    transform: translateX(-50%) rotate(45deg);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -100%, 0); }
    50% { opacity: 1; }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
 

.card {
    background: #fff;
    border-radius: 20px;
    padding: 24px 20px 20px;
    width: 90%;
    max-width: 360px;
    margin: 0 auto; 
    margin-top: 20px;
}
.card__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #1890ff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.card__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1890ff;
    display: inline-block;
}
.card__title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
    text-align: center; 
    margin-bottom: 18px;
}
.card__title span { color: #1890ff; }
.card__sub {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 16px;
    text-align: right; 
}
.input-wrap {
    position: relative;
    margin-bottom: 10px;
}
.input-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #94a3b8;
    pointer-events: none;
}
.input-wrap .form__input {
    padding-left: 42px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    text-align: left;
    direction: ltr; 
}
.input-wrap .form__input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24,144,255,0.12);
    background: #fff;
}
.btn__arrow {
    margin-right: 8px;
}


 .btn {
     border: none;
     background: linear-gradient(90deg, #1890ff 0%, #0ecfff 100%);
     color: #fff;
     border-radius: 14px;
     font-size: 20px;
     font-weight: 600;
     padding: 14px;
     cursor: pointer;
     width: 100%;
     max-width: 100%;
     letter-spacing: 0.04em;
     position: relative;
     overflow: hidden;
     transition: opacity 0.2s;
     margin-top: 4px;
 }
 .btn:hover { opacity: 0.92; }
 .btn::after {
     content: '';
     position: absolute;
     top: 0; left: -100%;
     width: 60%; height: 100%;
     background: rgba(255,255,255,0.18);
     transform: skewX(-20deg);
     animation: shimmer 2.5s infinite;
 }
 @keyframes shimmer {
     from { left: -100%; }
     to   { left: 200%; }
 }

 .form__input::placeholder {
    color: #b8b8b8; /* Замените на нужный вам цвет */
    opacity: 1;    /* Нужно для Firefox, чтобы цвет был ярким */
}


.phone-prefix-wrap {
    position: relative;
    width: 100%;
}
.phone-prefix {
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #666;
    font-weight: 500;
    pointer-events: none;
    z-index: 2;
}
.input-wrap .form__input {
    padding-left: 90px; /* место под иконку + префикс */
}


/*--------------------Steps--------------------*/
.steps {
    width: 90%;
    max-width: 360px;
    margin: 0 auto 18px;
    text-align: center;
}
.steps__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #000000;
    margin-bottom: 6px;
}
.steps__bars {
    display: flex;
    gap: 6px;
}
.steps__bar {
    flex: 1;
   height: 4px;
    border-radius: 2px;
    background: #d0e4f7;
}
.steps__bar--active {
    background: #1890ff;
}



@keyframes pulse-input {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.04); }
}

.input-wrap {
    animation: pulse-input 1.5s ease-in-out infinite;
}

.input-wrap:focus-within {
    animation: none;
    transform: scale(1);
}