@font-face {
  font-family: "Akshar";
  src: url("../fonts/Akshar-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Akshar";
  src: url("../fonts/Akshar-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Akshar";
  src: url("../fonts/Akshar-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
    --font-main: "Akshar", sans-serif;
    --max-width: 1920px;
    --background: #FFFFFF;
    --head-foot: #1D3066;
    --bg2: #EFF6FF;
    --bg3: #FEF2F2;
    --bg4: linear-gradient(90deg, #1E3A8A 0%, #1E40AF 50%, #064E3B 100%);
    --between-block: #E92D2D;
    --card1: #FACC15;
    --card2: #D1D5DB;
    --card3: #B45309;
    --text1: #FF8A15;
    --text2: #323232;
    --text3: #6B7280;
    --text4: #1E3A8A;
    --text5: #B91C1C;
    --text6: #E9912D;
    --link: #0055FF;
    --button1: #EAB308;
    --button1-hover: #CAA01B;
    --button2: #059669;
    --button2-hover: #16795A;
    --button3: #4B5563;
    --button3-hover: #303842;
    
    
    --bcg1: url("../img/background_1.png");
    --bcg2: url("../img/background_2.png");
    --bcg3: url("../img/background_3.png");
    --bcg4: url("../img/background_4.png");
    --bcg5: url("../img/background_5.png");
}

html {
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

a {
    text-decoration: none;
    color: var(--text);
}

body {
    display: flex;
    max-width: 1920px;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;

    box-sizing: border-box;
    background: var(--background);
    color: var(--background);
    margin: 0;
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: flex-start;
    padding: 80px 15%;

    @media (max-width: 1550px) {
        padding: 80px 5%;
    }

    @media (max-width: 700px) {
        padding: 80px 15px 80px 15px;
    }
}

img {
    display: inline-block;
}

h1 {
    font-weight: 400;
    font-size: 46px;
    line-height: 120%;
}

h2 {
    font-weight: 400;
    font-size: 34px;
    line-height: 120%;
    width: 100%;
    text-align: center;
}

h3 {
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    text-transform: uppercase;
}

h4 {
    font-weight: 400;
    font-size: 20px;
}

h5 {
    font-weight: 400;
    font-size: 18px;
}

p {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 0;
}

.notusethis_text2 {
    font-weight: 400;
    font-size: 14px;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 40px 15%;
    text-align: center;
    background-color: var(--head-foot);

    @media (max-width: 1550px) {
        padding: 40px 5%;
    }

    @media (max-width: 700px) {
        padding: 40px 15px;
    }
}

button {
    color: var(--text);
}

ol {
    margin-bottom: 30px;
}

ul:where(:not([class])) {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 20px;
}

header {
    display: flex;
    padding: 10px 15%;
    align-items: center;
    justify-content: space-between;
    background-color: var(--head-foot);
    width: 100%;

    @media (max-width: 1550px) {
        padding: 10px 5%;
    }

    @media (max-width: 700px) {
        padding: 10px 15px;
    }
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;

    @media (max-width: 900px) {
        display: none;
    }
}

.burger {
    display: none;

    @media (max-width: 900px) {
        display: block;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--head-foot);
    z-index: 1000;
    flex-direction: column;
    padding: 10px 16px;
    gap: 40px;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu__nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.mobile-menu__nav a {
    color: var(--background);
    font-size: 18px;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-menu__nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.first-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: var(--bg4);
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 9px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    background-color: var(--button1);
    border-radius: 4px;
    font-size: 18px;
    font-weight: 400;
    height: 52px;
}

.btn:hover {
    background-color: var(--button1-hover);
}

.second-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background-color: #F3F3F3;

    h2 {
        color: var(--text2);
    }
}

.operators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;

    @media (max-width: 1400px) {
        flex-direction: column;
    }
}

.operator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.operator:nth-child(2) .operator__header {
    background-color: var(--card2);
}

.operator:nth-child(2) .operator__content {
    background-color: white;
}

.operator:nth-child(3) .operator__header {
    background-color: var(--card3);
}

.operator:nth-child(3) .operator__content {
    background-color: white;
}

.operator__header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 60px;
    background-color: var(--card1);
    position: relative;
    border-radius: 10px 10px 0 0;
    color: var(--text2);
}

.promo {
    width: 90px;
    height: 90px;
    position: absolute;
    top: -45px;
    right: -16px;
}

.operator__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background-color: #FACC1533;
    width: 100%;
    border-radius: 0 0 10px 10px;
}

.operator__features {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;

    @media (max-width: 700px) {
        flex-direction: column;
        align-items: center;
    }
}

.operator__feature {
    font-size: 14px;
    padding-left: 25px;
    background-image: url("../img/icon_advantage_1.svg");
    background-repeat: no-repeat;
    background-position: left center;
    color: var(--text3);
}

.operator__logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.operator__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-weight: 500;
    font-size: 20px;
    color: var(--text1);
}

.operator__bonus {
    font-size: 18px;
    color: var(--text4);
    text-align: center;
}

.operator__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    width: 100%;
    background-color: var(--button2);
    border-radius: 4px;
    font-size: 20px;
    font-weight: 400;
    height: 52px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.operator__btn:hover {
    background-color: var(--button2-hover);
}

.third-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background-color: var(--bg2);
    color: var(--text4);
}

.features {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    width: 100%;

    @media (max-width: 700px) {
        flex-direction: column;
    }
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--background);
}

.feature__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature__text {
    font-size: 16px;
    line-height: 20px;
    color: var(--text3);
}

.disclaimer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 23px;
    width: 100%;
    padding: 40px 15px;
    background-color: var(--bg3);
    color: var(--text5);
    border-top: 1px solid var(--between-block);
}

.disclaimer__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.disclaimer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.footer__text {
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;

    @media (max-width: 700px) {
        flex-wrap: wrap;
    }
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    @media (max-width: 700px) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;

        .footer__logo {
            grid-column: 1 / 3;
            align-items: center;
            justify-content: center;
        }
    }
}

.footer__links {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__table {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 10px;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__content {
    background-color: var(--head-foot);
    color: var(--background);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal__content {
    transform: scale(1);
}

.modal__header {
    margin-bottom: 20px;
    text-align: center;
}

.modal__header h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.modal__body {
    margin-bottom: 25px;
}

.modal__body p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.modal__btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.modal__btn--primary {
    background-color: var(--button1);
    color: var(--background);
}

.modal__btn--primary:hover {
    background-color: var(--button1-hover);
}

.modal__btn--secondary {
    background-color: var(--button3);
    color: var(--background);
}

.modal__btn--secondary:hover {
    background-color: var(--button3-hover);
}

.modal__link {
    color: var(--text1);
    text-decoration: underline;
    font-size: 14px;
    margin-top: 10px;
}

.modal__link:hover {
    color: var(--text6);
}

@media (max-width: 600px) {
    .modal__content {
        padding: 20px;
        margin: 20px;
    }
    
    .modal__header h3 {
        font-size: 20px;
    }
    
    .modal__body p {
        font-size: 14px;
    }
    
    .modal__btn {
        min-width: 180px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

.advice-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: start;
    gap: 10px;
}

.yellow-disclaimer {
    background-color: #E9912D1A;
    padding: 14px 0 14px 20px;
    border-left: 3px solid var(--text6);
    color: var(--text6);
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    width: 100%;
    margin-top: 30px;
}

.contact-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    justify-content: center;
    gap: 60px;
    width: 100%;
    color: var(--text3);
    background-color: #F3F3F3;

    @media (max-width: 700px) {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 2px;
    width: 100%;
    margin-top: 20px;
}

.contact-form {
    background-color: var(--head-foot);
    padding: 20px;
    border-radius: 10px;
    color: var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.contact-form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.main-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

input {
    width: 100%;
    padding: 13px 20px;
    margin-top: 4px;
}

.main-form-submit {
    color: var(--background);
    border: none;
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    @media (max-width: 700px) {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background-color: var(--background);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    color: var(--text3);
    gap: 20px;

    h5 {
        padding-bottom: 20px;
        border-bottom: 1px solid var(--text3);
        color: var(--text4);
        width: 100%;
    }
}