@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --main-color: oklch(.852 .199 91.936);
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    background-color: #fff;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

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

.header,
.footer {
    padding: 30px 0;
    background-color: #f3f3f3;
}

.header-wrap .logo,
.header-wrap,
.header-menu,
.banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-wrap .logo {
    gap: 5px;
    color: var(--main-color);;
}

.header-menu {
    gap: 10px;
}

.header-menu li a,
.header-btn a {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    transition: .3s;
}

.header-menu li a:hover,
.header-btn a:hover {
    color: var(--main-color);;
}

.header-btn a {
    padding: 5px 10px;
    background-color: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.banner-content,
.banner-img__wrap {
    flex: 0 0 48%;
}

.banner-content h1 {
    font-size: 58px;
}

.banner-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.banner-btn span {
    padding: 8px 30px;
    background-color: var(--main-color);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.banner-img__wrap img {
    border-radius: 30px;
    width: 100%;
}

.section-header {
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    font-size: 42px;
    font-weight: 500;
    line-height: 1;
    color: #000;
}

.about-wrap,
.skid-wrap,
.rate-list {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

.reverse {
    flex-direction: row-reverse;
}

.about-img,
.about-content,
.skid-list,
.skid-img {
    flex: 0 0 48%;
}

.about-img img,
.skid-img img {
    width: 100%;
    border-radius: 30px;
}

.about-content p {
    margin-bottom: 20px;
}

.skid {
    background-color: #DCEBFE;
}

.skid-list ul,
.about-content ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content ul li,
.skid-list ul li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.green-icon {
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: oklch(.723 .219 149.579);
    border-radius: 50%;
}

.rate-list {
    justify-content: center;
    gap: 30px;
}

.rate-item {
    padding: 30px;
    flex: 0 0 33.3%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 430px;
    border-radius: 30px;
}

.rate-item-first {
    background-color: #EBD7FF;
}

.rate-item-second {
    background-color: #FFDCB2;
}

.rate-name {
    font-size: 26px;
    margin-bottom: 15px;
}

.rate-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
}

.rate-item__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rate-item__list li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rate-item__btn {
    text-align: center;
}

.rate-item__btn span {
    padding-top: 5px;
    padding-bottom: 5px;
    display: inline-block;
    width: 100%;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}

.rate-item-first .rate-item__btn span {
    background-color: #8200DB;
}

.rate-item-second .rate-item__btn span {
    background-color: #CA3500;
}

.footer-callback__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.footer-callback__list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-callback__list li .callback-icon {
    padding: 10px;
    background-color: #2B7FFF;
    max-height: 44px;
    border-radius: 50%;
}

.footer-callback__list li svg {
    color: #fff;
}

.footer-callback__list li a {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    color: #000;
}

.footer-callback__list li a span {
    font-size: 14px;
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
}

.footer-header p {
    font-size: 30px;
}

/* Стили модалки */
/* Затемнённый фон */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

/* Контейнер модалки */
.modal-dialog {
    background: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: slideIn 0.3s ease-in-out;
}

/* Шапка */
.modal-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

.modal-header h2 {
    font-size: 20px;
    margin: 0;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
    color: #888;
}
.close-btn:hover {
    color: #000;
}

/* Тело */
.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 14px;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0d6efd;
}

/* Кнопка */
.btn-submit {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #0b5ed7;
}

/* Ответ */
.form-response {
    margin-top: 10px;
    color: green;
    display: none;
    font-size: 14px;
}

.footer-menu {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.footer-menu a {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    transition: .3s;
}

.footer-menu a:hover {
    color: var(--main-color);
}

.requisites {
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Анимации */
@keyframes fadeIn {
    from { background: rgba(0,0,0,0); }
    to { background: rgba(0,0,0,0.6); }
}
@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (min-width: 768px) {
    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    .header-menu {
        display: none;
    }
    .header-wrap .header-wrap, .header-menu, .banner-inner {
        flex-direction: column;
        gap: 30px;
    }
    .header-wrap {
        flex-direction: row;
    }
    .about-wrap, .skid-wrap, .rate-list {
        flex-direction: column;
        gap: 30px;
    }
    .footer-callback__list {
        flex-direction: column;
    }
}

.rate-item-price-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px 0;
}

.rate-item-price-wrap span {
    font-weight: 700;
}
