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 {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    background: #fff;
    direction: ltr;
    text-align: center;
    margin: 0;
      padding: 0;
      min-height: 100vh;
      background: linear-gradient(120deg, #d9e7ff, #f6f9ff, #e0f7fa);
      background-size: 300% 300%;
      animation: subtleMove 20s ease infinite;
      font-family: 'Segoe UI', sans-serif;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #333;
    }

    @keyframes subtleMove {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
}

.wrapper {
    max-width: 1080px;
    margin: auto;
}

.header {
    
    background-position: 0 100%;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 7vh 0;
}

.logo {
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
}

.container {
    min-height: calc(100vh - 86px);
    min-height: calc(var(--vh, 100vh) - 86px);
}

.content {
    padding: 0 4.5em;

}
.btn {
  background-color: #4ba3c7;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  padding: 16px 64px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
}

.btn:hover {
  background-color: #e36a4d;
  transform: scale(1.03);
}
.btn:togle {
  background-color: #e36a4d;
  transform: scale(1.03);
}
.orange {
    color: #ff5300;
    font-size: 2.2em;
    text-align: center;
    margin: 1em 0;
    line-height: 1.4em;
}


.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: #5f5f5f;

    border: 1px solid #5f5f5f;
    
    border-radius: 10px;
    background: #FFFCF6;
}

.form__input::placeholder {
    color: #5f5f5f;
}


/*--------------------Error message--------------------*/
.attention {
    margin-top: 2px;
    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;
}
.footer__link {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 5px;
    font-size: 12px;
    line-height: 14px;
    color: #717171;
    text-decoration: none;
}

.price {
    text-align: center;
    font-size: 12px;
    color: #717171;
}


.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: 150px;
    }
}

@media screen and (max-width: 500px) {
    .container {
        min-height: calc(100vh - 71px);
        min-height: calc(var(--vh,100vh) - 71px);
    }
    .content {
        padding: 0 1em;
        margin-bottom: 25%;
    }
    .header {
        padding: 4vh 0;
    }
    .logo {
        max-width: 220px;
    }
    .btn {
        font-size: 7vmin;
        padding: 1.3vh;
        width: 90%;
    }
    .orange {
        font-size: 5.7vmin;
    }
}

@media screen and (max-width: 320px) {
    .logo {
        max-width: 170px;
    }
    .content {
        margin-bottom: 25%;
    }
}


@media screen and (orientation: landscape) and (min-width: 480px) and (max-width: 1024px) and (max-height: 800px) {
    /*tab - horizontal*/
    .logo {
        max-width: 150px;
    }
  }


@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: 12%;
    }
    .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;
    }
}

/* === Уникализированные стили === */
body {
    background: #fcfcff;
    color: #2f2f2f;
}
.btn {
    background-color: #c0392b;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.btn:hover {
    background-color: #2f2f2f;
    color: #fcfcff;
}
.orange {
    color: #c0392b;
}
