/* =========================================
   Local Fonts (Poppins)
   ========================================= */

/* 300 - Light */
@font-face {
    font-family: 'Poppins';
    src: url('/lib/fonts/Poppins-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* 400 - Regular */
@font-face {
    font-family: 'Poppins';
    src: url('/lib/fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 500 - Medium */
@font-face {
    font-family: 'Poppins';
    src: url('/lib/fonts/Poppins-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* 600 - SemiBold */
@font-face {
    font-family: 'Poppins';
    src: url('/lib/fonts/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* 700 - Bold */
@font-face {
    font-family: 'Poppins';
    src: url('/lib/fonts/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   Custom Properties (Variables)
   ========================================= */
:root {
    /* Типографика */
    --font-main: 'Poppins', sans-serif;

    /* Цветовая палитра из макета */
    --color-white: #FFFFFF;
    --color-bg-light: #FAFAFA;
    --color-text-main: #161618;
    --color-text-muted: rgba(22, 22, 24, 0.6);
    --color-border: #C3C3C4;
    --color-border-light: #D2D2D2;

    --color-accent: #159C2A;
    --color-accent-hover: #1FBE38;

    --color-search-bg: rgba(22, 22, 24, 0.7);
    --color-search-bg-hover: rgba(22, 22, 24, 0.9);
}

/* =========================================
   Reset & Normalize
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 147px;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    body {
        padding-top: 117px;
    }
}

@media (max-width: 992px) {
    body {
        padding-top: 113px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 67px;
    }
}

/* =========================================
   Global Utilities
   ========================================= */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.container {
    max-width: 1644px;
    padding: 0 24px;
    margin: 0 auto;
    width: 100%;
}

/* Универсальный список с галочками */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-list__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.check-list__icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #D0F9D2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-list__text {
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
    color: var(--color-text-main);
}

.check-list__text b,
.check-list__text strong {
    font-weight: 600;
}

/* Адаптив для универсального списка */
@media (max-width: 767px) {
    .check-list__text {
        font-size: 16px;
        line-height: 24px;
    }
}

/* =========================================
   Header Base
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-bg-light);
    z-index: 100;
    font-family: var(--font-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__container {
    max-width: 1644px;
    padding: 0 24px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* === Верхняя часть (PC) === */
.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
}

.header__top-left {
    display: flex;
    align-items: center;
    gap: 55px;
}

.header__logo {
    max-width: 270px;
    display: block;
    transition: opacity 0.3s ease;
}

.header__logo:hover {
    opacity: 0.8;
}

.header__logo img {
    width: 100%;
    height: auto;
    display: block;
}

.header__partners {
    display: flex;
    align-items: center;
    align-content: flex-start;
    gap: 42px;
    height: 37px;
    flex-wrap: wrap;
    /* Разрешаем перенос для скрытия */
    overflow: hidden;
    /* Скрываем не влезшие элементы */
}

.header__partners img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    /* Чтобы картинки не плющило при сужении */
}

.header__top-right {
    display: flex;
    align-items: center;
    gap: 42px;
}

.header__top-nav {
    display: flex;
    gap: 24px;
}

.header__top-link {
    padding: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #000;
    opacity: 0.6;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    /* Запрет на перенос слов */
}

.header__top-link:hover {
    opacity: 1;
    color: var(--color-accent);
}

.header__search {
    display: flex;
}

.header__search-input {
    width: 100%;
    max-width: 205px;
    min-width: 80px;
    /* Позволяет инпуту сжиматься на узких экранах */
    height: 50px;
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    background: var(--color-white);
    padding: 0 16px;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 16px;
    color: var(--color-text-main);
    outline: none;
    box-sizing: border-box;
}

.header__search-input::placeholder {
    color: #999;
}

.header__search-btn {
    width: 50px;
    height: 50px;
    background: var(--color-search-bg);
    border-radius: 0 8px 8px 0;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.header__search-btn:hover {
    background: var(--color-search-bg-hover);
}

.header__burger {
    display: none;
}

/* === Нижняя часть (PC) === */
.header__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.header__bottom-nav {
    display: flex;
    align-items: center;
    gap: 54px;
}

.header__bottom-link {
    padding: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: var(--color-text-main);
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
    white-space: nowrap;
    /* Запрет на перенос слов */
}

.header__bottom-link:hover {
    color: var(--color-accent);
}

/* === Выпадающее Мега-меню (ПК) === */
.has-dropdown {
    position: relative;
}

.header__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    width: max-content;
    max-width: 1300px;
}

.has-dropdown:hover .header__dropdown {
    display: flex;
}

.mega-menu__col {
    padding: 32px 40px;
    flex: 1;
}

.mega-menu__col--highlight {
    background-color: #F4F9F5;
    min-width: 280px;
}

.mega-menu__col--action {
    max-width: 280px;
}

.mega-menu__title {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 24px;
}

.mega-menu__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mega-menu__list a {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.mega-menu__list a:hover {
    color: var(--color-accent);
}

.mega-menu__list--green a {
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mega-menu__list--green img {
    width: 24px;
    height: auto;
    flex-shrink: 0;
}

.mega-menu__text {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.mega-menu__btn {
    height: 40px;
    font-size: 14px;
    padding: 0 24px;
    display: inline-flex;
    width: auto;
}

/* Контакты */
.header__contacts {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header__phone:hover {
    opacity: 0.8;
}

.header__phone-text {
    display: flex;
    flex-direction: column;
}

.header__phone-number {
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    color: var(--color-text-main);
    text-transform: uppercase;
}

.header__phone-desc {
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: var(--color-text-main);
    opacity: 0.8;
    text-transform: uppercase;
    margin-top: 4px;
}

.header__btn {
    height: 50px;
    background: var(--color-accent);
    border-radius: 8px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    color: var(--color-white);
    text-decoration: none;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.header__btn:hover {
    background: var(--color-accent-hover);
}

/* =========================================
   Мобильное полноэкранное меню
   ========================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.is-active {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-bg-light);
    flex-shrink: 0;
}

.mobile-menu__logo {
    max-width: 160px;
}

.mobile-menu__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.mobile-menu__close:hover {
    opacity: 0.6;
}

.mobile-menu__content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px 24px 60px;
}

.mobile-menu__section {
    margin-bottom: 24px;
}

.mobile-menu__title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.mobile-menu__list li {
    margin-bottom: 12px;
}

.mobile-menu__list a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.mobile-menu__list a:hover {
    color: var(--color-accent);
}

.mobile-menu__list--green a {
    color: var(--color-accent);
}

.mobile-menu__list--green img {
    width: 24px;
    height: auto;
}

.mobile-menu__action {
    margin-top: 24px;
}

.mobile-menu__btn {
    width: 100%;
    font-size: 14px;
    height: 44px;
}

.mobile-menu__text {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.mobile-menu__btn-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.mobile-menu__btn-read:hover {
    background: var(--color-accent-hover);
}

.mobile-menu__divider {
    border: none;
    border-top: 1px dashed var(--color-border);
    margin: 24px 0;
    opacity: 0.5;
}

.mobile-menu__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.mobile-menu__phone {
    display: flex !important;
}

.mobile-menu__socials {
    display: flex;
    gap: 16px;
}

.mobile-menu__socials a {
    transition: opacity 0.3s ease;
}

.mobile-menu__socials a:hover {
    opacity: 0.7;
}

/* =========================================
   Media Queries
   ========================================= */

/* Адаптив: Компактный ПК (1201px - 1440px) */
@media (max-width: 1440px) {
    .header__top-left {
        gap: 30px;
    }

    .header__top-right {
        gap: 24px;
    }

    .header__partners {
        gap: 20px;
    }

    .header__bottom-nav {
        gap: 24px;
    }

    .header__contacts {
        gap: 20px;
    }

    .header__logo {
        max-width: 220px;
    }

    .header__phone-number {
        font-size: 20px;
    }

    .header__btn {
        padding: 0 20px;
        font-size: 16px;
    }

    .header__dropdown {
        max-width: calc(100vw - 48px);
    }
}

/* Адаптив: Планшет (до 1200px) */
@media (max-width: 1200px) {
    .header__container {
        /* padding-inline: 80px; */
    }

    .header__top-left {
        gap: 24px;
    }

    .header__logo {
        max-width: 160px;
    }

    .header__partners {
        gap: 18px;
        height: 27px;
    }

    .header__top-nav {
        display: none;
    }

    .header__top-right {
        gap: 24px;
    }

    .header__search-input {
        max-width: 176px;
        height: 39px;
    }

    .header__search-btn {
        width: 39px;
        height: 39px;
    }

    .header__search-btn svg {
        width: 15px;
        height: 15px;
    }

    .header__burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 39px;
        height: 39px;
        border: 1px solid var(--color-border-light);
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .header__burger:hover {
        background: #f0f0f0;
    }

    .header__burger span {
        width: 17px;
        height: 2px;
        background: var(--color-text-main);
        border-radius: 2px;
        display: block;
        transition: all 0.3s ease;
    }

    .header__bottom-nav {
        gap: 17px;
    }

    .header__bottom-link {
        font-size: 14px;
    }

    .header__phone {
        display: none;
    }
}

/* Адаптив: Узкий планшет (768px - 992px) */
@media (max-width: 992px) {
    .header__top-left {
        gap: 16px;
    }

    .header__top-right {
        gap: 16px;
    }

    .header__logo {
        max-width: 140px;
    }

    .header__partners {
        gap: 10px;
    }

    .header__search-input {
        max-width: 130px;
    }
}

/* Адаптив: Мобильные (до 767px) */
@media (max-width: 767px) {
    .header__container {
        padding: 0 24px;
    }

    .header__top {
        padding: 14px 0;
    }

    .header__partners,
    .header__search {
        display: none;
    }

    .header__bottom {
        display: none;
    }
}

/* =========================================
   Секция: Hero 
   ========================================= */
.hero {
    position: relative;
    height: 654px;
    display: flex;
    align-items: center;
    background-color: #0D621A;
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(271.28deg, rgba(11, 104, 26, 0) 43.79%, rgba(17, 119, 33, 0.6205) 54.15%, rgba(13, 98, 26, 0.8075) 71.75%, rgba(12, 78, 22, 0.7735) 99.05%);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    color: var(--color-white);
}

.hero__title {
    font-weight: 600;
    font-size: 70px;
    line-height: 78px;
    margin-bottom: 55px;
}

.hero__text {
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 44px;
}

.hero__text b {
    font-weight: 700;
}

.hero__btn {
    width: 100%;
    max-width: 240px;
    height: 60px;
    background: #64E05B;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text-main);
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.hero__btn:hover {
    background: #50cc48;
}

/* =========================================
   Попап Форма
   ========================================= */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.is-active {
    opacity: 1;
    visibility: visible;
}

.popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.popup__content {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0px 4.07px 15px 0px rgba(35, 35, 35, 0.14);
    z-index: 1;
    overflow-y: auto;
    max-height: 90vh;
}

.popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.popup__close:hover {
    opacity: 0.6;
}

/* Форма: Верх */
.popup__top {
    padding: 44px 24px 24px;
    background: var(--color-white);
}

.popup__title {
    font-weight: 500;
    font-size: 21px;
    line-height: 35px;
    text-align: center;
    color: var(--color-text-main);
    margin-bottom: 17px;
}

.popup__subtitle {
    font-weight: 300;
    font-size: 18px;
    line-height: 35px;
    text-align: center;
    color: var(--color-text-main);
    margin-bottom: 40px;
}

.text-green {
    font-weight: 700;
    color: #106C1E;
}

.popup__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    margin-bottom: 30px;
}

.input-group--full {
    grid-column: 1 / -1;
}

.input-group {
    position: relative;
}

.input-group label {
    display: block;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    color: rgba(22, 22, 24, 0.8);
    margin-bottom: 8px;
}

.input-group input,
.input-group select {
    width: 100%;
    height: 50px;
    background: var(--color-white);
    border: 1px solid rgba(22, 22, 24, 0.3);
    border-radius: 8px;
    padding: 0 16px;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text-main);
    transition: border-color 0.3s ease;
    appearance: none;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--color-accent);
}

.input-group input::placeholder {
    color: rgba(22, 22, 24, 0.8);
}

.select-wrapper {
    position: relative;
}

.select-chevron {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group--currency .currency-symbol {
    position: absolute;
    left: 16px;
    color: var(--color-accent);
    font-weight: 400;
    font-size: 16px;
}

.input-group--currency input {
    padding-left: 30px;
    /* Отступ для знака $ */
}

/* Ошибки валидации (JustValidate) */
.just-validate-error-field {
    border-color: #E74C3C !important;
}

.just-validate-error-label {
    color: #E74C3C !important;
    font-size: 12px !important;
    margin-top: 4px;
    position: absolute;
    top: 100%;
    width: 100%;
}

.popup,
.popup__content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.popup::-webkit-scrollbar,
.popup__content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.popup__actions-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.popup__reset,
.popup__disclosure {
    font-weight: 400;
    font-size: 14px;
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.popup__reset:hover,
.popup__disclosure:hover {
    opacity: 0.7;
}

.popup__divider {
    width: 1px;
    height: 16px;
    background: #CFCFCF;
}

/* Форма: Низ (Калькулятор) */
.popup__bottom {
    background: #F5F8F5;
    padding: 24px 32px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup__calc-label {
    font-weight: 300;
    font-size: 15.26px;
    margin-bottom: 10px;
}

.popup__calc-result {
    font-weight: 600;
    font-size: 32px;
    color: #0D8620;
    margin-bottom: 14px;
}

.popup__info {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 32px;
}

.popup__info svg {
    flex-shrink: 0;
}

.popup__info p {
    font-weight: 300;
    font-size: 12px;
    line-height: 18px;
    color: #696A6C;
}

.popup__info a {
    text-decoration: underline;
}

.popup__submit {
    width: 100%;
    max-width: 278px;
    height: 50px;
    background: #64E05B;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    font-size: 18px;
    color: var(--color-text-main);
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.popup__submit:hover {
    background: #50cc48;
}

.popup__success-msg {
    color: #0D8620;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

/* =========================================
   Адаптив Hero секции
   ========================================= */
@media (max-width: 1200px) {
    .hero {
        height: 550px;
    }

    .hero__content {
        max-width: 600px;
    }

    .hero__title {
        font-size: 56px;
        line-height: 64px;
    }

    .hero__btn {
        background: #A0ED9A;
        /* Цвет кнопки на планшете */
    }
}

@media (max-width: 767px) {
    .hero {
        height: auto;
        flex-direction: column;
        background-color: transparent;
        /* Сбрасываем для обертки */
    }

    .hero__slider {
        position: relative;
        height: auto;
        aspect-ratio: 400 / 185;
    }

    .hero__overlay {
        display: none;
        /* Убираем градиент на мобилке */
    }

    .hero .container {
        padding: 0;
    }

    .hero__content {
        background-color: #0D621A;
        width: 100%;
        max-width: 100%;
        padding: 32px 24px;
    }

    .hero__title {
        font-size: 40px;
        line-height: 45px;
        margin-bottom: 36px;
    }

    .hero__text {
        font-size: 16px;
        line-height: 25px;
    }

    .hero__btn {
        max-width: 290px;
        margin: 0 auto;
    }

    /* Адаптив попапа */
    .popup__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Секція: Features (Під Hero)
   ========================================= */
.features {
    background-color: var(--color-bg-light);
    /* #FAFAFA */
    padding: 60px 0;
}

.features__grid-wrapper {
    max-width: 1150px;
    margin: 0 auto;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.features__item {
    display: flex;
    align-items: center;
    min-height: 118px;
    padding: 0 32px;
    background-color: transparent;
    border: 1px solid rgba(105, 106, 108, 0.5);
    /* #696A6C з прозорістю 50% */
    border-radius: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Hover ефект з підібраним легким зеленим відтінком */
.features__item:hover {
    background-color: #EAF5EC;
    border-color: var(--color-accent);
    /* Додатково виділяємо бордер зеленим */
}

.features__icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-right: 24px;
    flex-shrink: 0;
}

.features__text {
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    color: var(--color-text-main);
    text-align: left;
}

@media (max-width: 1200px) {

    /* Features - Планшет */
    .features {
        padding: 40px 0;
    }

    .features__item {
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        padding: 20px;
        /* Трохи зменшуємо боковий паддінг для симетрії по вертикалі */
    }

    .features__icon {
        margin-right: 0;
        /* Прибираємо відступ справа, бо елементи тепер вертикально */
    }

    .features__text {
        text-align: center;
    }
}

@media (max-width: 767px) {

    /* Features - Мобілка */
    .features {
        padding: 32px 0;
    }

    .features__grid {
        grid-template-columns: 1fr;
        /* Одна колонка */
    }
}

/* =========================================
   Секция: Fast Funding
   ========================================= */
.fast-funding {
    display: flex;
    align-items: center;
    background: linear-gradient(270deg, rgba(230, 246, 216, 0.8) 0%, rgba(236, 244, 239, 0.8) 100%);
    padding: 90px 0;
    /* Динамический отступ: 24px (базовый) + половина свободного пространства от 1920px */
    padding-right: max(24px, calc((100% - 1920px) / 2 + 24px));
    overflow: hidden;
    /* Защита от потенциального скролла из-за теней */
}

.fast-funding__img {
    width: 42vw;
    height: 514px;
    object-fit: cover;
    border-radius: 0 999px 999px 0;
    box-shadow: -1px 43px 0px 0px rgba(255, 255, 255, 0.5);
    /* #FFFFFF80 */
    margin-right: 76px;
    flex-shrink: 0;
}

.fast-funding__content {
    max-width: 765px;
    width: 100%;
}

.fast-funding__title {
    font-weight: 600;
    font-size: 44px;
    line-height: 78px;
    margin-bottom: 20px;
    /* Градиентный текст */
    background: linear-gradient(270deg, #159C2A 0%, #106C1E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* Фолбек */
}

.fast-funding__text p {
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
    color: var(--color-text-main);
    margin-bottom: 32px;
}

.fast-funding__text p:last-child {
    margin-bottom: 0;
}

.fast-funding__text b,
.fast-funding__text strong {
    font-weight: 600;
}

@media (max-width: 1200px) {

    /* Fast Funding - Планшет */
    .fast-funding {
        padding: 60px 24px 60px 0;
        /* Фиксируем правый паддинг, левый - 0 для картинки */
    }

    .fast-funding__img {
        flex: 1 1 calc(100% - 445px);
        width: calc(100% - 445px - 55px);
        margin-right: 55px;
    }

    .fast-funding__content {
        width: 445px;
        flex-shrink: 0;
    }

    .fast-funding__title {
        font-size: 34px;
    }

    .fast-funding__text p {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 767px) {

    /* Fast Funding - Мобілка */
    .fast-funding {
        padding: 32px 0;
        flex-direction: column;
    }

    .fast-funding__img {
        width: 100%;
        height: 514px;
        flex: unset;
        margin-right: 0;
        margin-bottom: 76px;
        border-radius: 0 999px 999px 0;
    }

    .fast-funding__content {
        width: 100%;
        max-width: 100%;
        padding: 0 32px;
        /* Внутренние отступы для текста */
    }

    .fast-funding__title {
        font-size: 32px;
        margin-bottom: 10px;
    }
}

/* =========================================
   Секція: Why Choose Fundshop
   ========================================= */
.why-choose {
    background-color: var(--color-bg-light);
    /* #FAFAFA */
    padding: 90px 0;
}

.why-choose__card {
    max-width: 1260px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 64px 60px;
}

.why-choose__title {
    font-weight: 600;
    font-size: 44px;
    line-height: 78px;
    margin-bottom: 30px;
    color: var(--color-text-main);
}

.why-choose__intro {
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 30px;
    color: var(--color-text-main);
}

.why-choose__list {
    margin-bottom: 44px;
}

.why-choose__outro {
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--color-text-main);
}

.why-choose b,
.why-choose strong {
    font-weight: 600;
}

@media screen and (max-width: 1200px) {

    /* Why Choose - Планшет */
    .why-choose {
        padding: 60px 0;
    }

    .why-choose__card {
        padding: 48px 40px;
        /* Трохи зменшуємо внутрішній відступ для планшета */
    }

    .why-choose__title {
        font-size: 34px;
        line-height: 50px;
    }
}

@media screen and (max-width: 767px) {

    /* Why Choose - Мобілка */
    .why-choose {
        padding: 50px 0;
    }

    /* Прибираємо бічні відступи контейнера, щоб картка торкалася країв екрану */
    .why-choose .container {
        padding: 0;
    }

    .why-choose__card {
        border-radius: 0;
        /* Прибираємо скруглення, бо блок на всю ширину */
        padding: 40px 24px;
        /* Повертаємо внутрішні відступи для контенту */
    }

    .why-choose__title {
        font-size: 32px;
        line-height: 46px;
    }

    .why-choose__intro,
    .why-choose__outro {
        font-size: 16px;
        line-height: 24px;
    }
}

/* =========================================
   Секция: Hassle-Free
   ========================================= */
.hassle-free__layout {
    display: grid;
    grid-template-columns: 35% 65%;
    width: 100%;
}

.hassle-free__image-col {
    width: 100%;
    height: 100%;
}

.hassle-free__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hassle-free__content-col {
    background: linear-gradient(110.83deg, rgba(21, 156, 42, 0.06) 1.08%, rgba(21, 156, 156, 0.06) 98.87%);
    padding: 90px 24px 90px 70px;
    display: flex;
    align-items: center;
}

.hassle-free__content-inner {
    max-width: 1050px;
    width: 100%;
}

.hassle-free__title {
    font-weight: 600;
    font-size: 44px;
    line-height: 55px;
    margin-bottom: 30px;
    /* Градиентный текст */
    background: linear-gradient(270deg, #159C2A 0%, #106C1E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* Фолбек */
}

.hassle-free__intro {
    font-weight: 300;
    font-size: 21px;
    line-height: 30px;
    margin-bottom: 30px;
    color: var(--color-text-main);
}

.hassle-free__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px;
}

.hassle-free__card {
    border-radius: 24px;
    padding: 34px;
}

.hassle-free__card--white {
    background-color: var(--color-white);
}

.hassle-free__card--green {
    background-color: #D0F9D2;
}

.hassle-free__card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.hassle-free__card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.hassle-free__card-icon img {
    width: auto;
    height: auto;
}

.hassle-free__card--white .hassle-free__card-icon {
    background-color: #D0F9D2;
}

.hassle-free__card--green .hassle-free__card-icon {
    background-color: var(--color-white);
}

.hassle-free__card-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 35px;
    color: var(--color-text-main);
}

.hassle-free__card-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: var(--color-text-main);
}

.hassle-free b,
.hassle-free strong {
    font-weight: 600;
}

@media screen and (max-width: 1200px) {

    /* Hassle-Free - Планшет */
    .hassle-free__layout {
        grid-template-columns: 1fr;
        /* Перестраиваем грид в 1 колонку */
    }

    .hassle-free__img {
        height: 450px;
    }

    .hassle-free__content-col {
        padding: 60px 24px;
        /* Меняем вертикальный паддинг, горизонтальный ставим 24px */
    }

    /* Добавляем центрирование контента как в контейнерах */
    .hassle-free__content-inner {
        margin: 0 auto;
    }
}

@media screen and (max-width: 767px) {

    /* Hassle-Free - Мобілка */
    .hassle-free__img {
        height: 420px;
    }

    .hassle-free__title {
        font-size: 32px;
        line-height: 46px;
    }

    .hassle-free__cards {
        grid-template-columns: 1fr;
        /* Карточки перестраиваются в 1 колонку */
    }
}

/* =========================================
   Секция: Types of Small Business Loans
   ========================================= */
.loans {
    background-color: var(--color-bg-light);
    /* #FAFAFA */
    padding: 90px 0;
    position: relative;
    /* Для правильной работы fixed тултипа на мобилке */
}

.loans__title {
    font-weight: 600;
    font-size: 44px;
    line-height: 78px;
    text-align: center;
    color: var(--color-text-main);
    margin-bottom: 30px;
}

.loans__subtitle {
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;
    text-align: center;
    color: var(--color-text-main);
    margin-bottom: 70px;
}

/* Утилиты для текста */
.text-green {
    color: #108823;
}

.text-bold {
    font-weight: 600;
}

.loans__layout {
    display: grid;
    grid-template-columns: 885fr 500fr;
    /* Соотношение из ТЗ */
    gap: 70px;
    max-width: 1450px;
    margin: 0 auto;
}

/* --- Левая часть: Список --- */
.loans__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.loans__item {
    display: flex;
    align-items: flex-start;
    gap: 44px;
    padding: 32px;
    border: 1px solid rgba(105, 106, 108, 0.5);
    /* #696A6C80 */
    border-radius: 16px;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.loans__item.is-active,
.loans__item:hover {
    background-color: var(--color-white);
    border-color: var(--color-accent);
    /* #159C2A */
}

.loans__item-icon {
    width: 100px;
    height: 90px;
    flex-shrink: 0;
}

.loans__item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.loans__item-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
    color: var(--color-text-main);
    margin-bottom: 20px;
}

.loans__item-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--color-text-main);
}

.loans__item-text b,
.loans__item-text strong {
    font-weight: 600;
}

.loans__item-text a {
    text-decoration: underline;
}

/* --- Правая часть: Тултип --- */
.loans__tooltip-wrapper {
    position: relative;
    /* Обертка нужна для липкости на мобилках */
}

.loans__tooltip {
    background-color: #E4F5FD;
    border-radius: 24px;
    padding: 34px;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    position: sticky;
    top: 160px;
    /* Прилипает при скролле (отступ от хедера) */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.loans__tooltip-close {
    display: none;
    /* Скрыт на ПК */
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.loans__tooltip-icon {
    flex-shrink: 0;
}

.loans__tooltip-text {
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
    color: var(--color-text-main);
}

.loans__tooltip-text b,
.loans__tooltip-text strong {
    font-weight: 600;
}

/* =========================================
   Адаптив: Types of Loans
   ========================================= */
@media (max-width: 1200px) {

    /* Планшет */
    .loans {
        padding: 60px 0;
    }

    .loans__title {
        font-size: 34px;
        line-height: 78px;
    }

    .loans__subtitle {
        font-size: 22px;
    }

    .loans__layout {
        grid-template-columns: 496fr 336fr;
        gap: 32px;
    }

    .loans__item {
        align-items: center;
    }

    .loans__item-title,
    .loans__item-text,
    .loans__tooltip-text {
        font-size: 16px;
    }

    .loans__tooltip {
        padding: 34px 24px;
        top: 140px;
        gap: 24px;
    }
}

@media (max-width: 767px) {

    /* Мобілка */
    .loans__title {
        font-size: 32px;
        line-height: 46px;
        margin-bottom: 40px;
    }

    .loans__subtitle {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 40px;
    }

    .loans__layout {
        grid-template-columns: 1fr;
    }

    .loans__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 44px;
    }

    .loans__item-icon img {
        object-position: center;
        /* Центруем иконку */
    }

    /* Мобильный фиксированный тултип */
    .loans__tooltip-wrapper {
        position: static;
        /* Снимаем sticky с обертки */
    }

    .loans__tooltip {
        position: fixed;
        bottom: 0;
        left: 0;
        top: unset;
        width: 100%;
        border-radius: 24px 24px 0 0;
        /* Скругление только сверху */
        gap: 14px;
        padding: 34px 24px;
        z-index: 90;
        /* Поверх контента, но под хедером */
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(120%);
        /* Скрыт по умолчанию */
        opacity: 0;
        visibility: hidden;
    }

    .loans__tooltip.is-visible {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .loans__tooltip-close {
        display: block;
        /* Показываем крестик */
    }
}

/* =========================================
   Секция: Process
   ========================================= */
.process {
    background: linear-gradient(110.83deg, rgba(21, 156, 156, 0.06) 1.08%, rgba(21, 156, 42, 0.06) 98.87%);
    padding: 90px 0;
}

.process__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.process__title {
    font-weight: 600;
    font-size: 44px;
    line-height: 55px;
    text-align: center;
    margin-bottom: 70px;
    /* Градиентный текст */
    background: linear-gradient(270deg, #159C2A 0%, #106C1E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.process__steps {
    display: flex;
    flex-direction: column;
    gap: 75px;
    /* Отступ между шагами */
}

.process__step {
    display: flex;
    position: relative;
    cursor: pointer;
}

.process__step-number {
    width: 106px;
    background: #C3C3C4;
    border-radius: 24px 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 48px;
    line-height: 30px;
    color: var(--color-white);
    /* #FAFAFA */
    flex-shrink: 0;
    transition: background 0.3s ease;
}

/* Hover и активное состояние для цифры */
.process__step:hover .process__step-number,
.process__step.is-active .process__step-number {
    background: var(--color-accent);
    /* #159C2A */
}

.process__step-content {
    background: var(--color-white);
    padding: 32px;
    border-radius: 0 24px 24px 0;
    flex-grow: 1;
}

.process__step-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    color: var(--color-text-main);
    margin-bottom: 20px;
}

.process__step-text {
    font-weight: 400;
    font-size: 21px;
    line-height: 30px;
    color: var(--color-text-main);
}

.process__step-text a {
    color: var(--color-accent);
    /* #159C2A */
    text-decoration: underline;
}

/* Линия-соединитель */
.process__step-line {
    position: absolute;
    width: 1px;
    height: 60px;
    background: #C3C3C4;
    left: 53px;
    /* Ровно по центру от 106px */
    top: 100%;
    margin-top: 7.5px;
    /* Зазор сверху, чтобы до следующего блока оставалось 7.5px снизу (в сумме 15px + 60px линии = 75px gap) */
}

@media screen and (max-width: 1200px) {

    /* Process - Планшет */
    .process {
        padding: 60px 0;
    }

    .process__title {
        font-size: 34px;
        margin-bottom: 50px;
    }

    .process__step-title {
        font-size: 20px;
    }

    .process__step-text {
        font-size: 18px;
        line-height: 24px;
    }
}

@media screen and (max-width: 767px) {

    /* Process - Мобілка */
    .process {
        padding: 40px 0;
    }

    .process__title {
        font-size: 30px;
        line-height: 42px;
        margin-bottom: 40px;
    }

    .process__steps {
        gap: 40px;
        /* Уменьшаем отступы между шагами */
    }

    .process__step-number {
        width: 70px;
        font-size: 32px;
        border-radius: 16px 0 0 16px;
        /* Смягчаем радиус */
    }

    .process__step-content {
        padding: 24px 20px;
        border-radius: 0 16px 16px 0;
    }

    .process__step-title {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 12px;
    }

    .process__step-text {
        font-size: 16px;
        line-height: 24px;
    }

    .process__step-line {
        height: 26px;
        /* Уменьшаем высоту линии для мобилки */
        left: 35px;
        /* Центрируем относительно 70px */
        margin-top: 7px;
    }
}

/* =========================================
   Секция: Easy Qualification Guidelines
   ========================================= */
.qualifications {
    background-color: var(--color-bg-light);
    /* #FAFAFA */
    padding: 90px 0;
    overflow-x: hidden;
    /* Защита от горизонтального скролла из-за вылезающей картинки */
}

/* Ограничиваем контейнер: 1296px + паддинги (24*2) */
.qualifications__container {
    max-width: 1344px;
    position: relative;
}

.qualifications__img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 650px;
    width: 31vw;
    height: auto;
    z-index: 2;
}

.qualifications__img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 650px;
    width: 31vw;
    height: auto;
    z-index: 2;
}

.qualifications__card {
    background-color: rgba(241, 241, 241, 0.4);
    /* #F1F1F166 */
    border-radius: 24px;
    padding: 50px;
    max-width: 750px;
    /* Ограничиваем плашку до 750 на ПК */
    position: relative;
    z-index: 1;
}

.qualifications__title {
    font-weight: 600;
    font-size: 44px;
    line-height: 78px;
    color: var(--color-text-main);
    margin-bottom: 40px;
}

.qualifications__text {
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--color-text-main);
    max-width: 530px;
    margin-bottom: 40px;
}

.qualifications__text b,
.qualifications__text strong {
    font-weight: 600;
}

.qualifications__text-intro {
    font-weight: 400;
    font-size: 18px;
    line-height: 35px;
    color: var(--color-text-main);
    max-width: 530px;
    margin-bottom: 14px;
}

/* Переопределяем некоторые стили списка specifically для этого блока */
.qualifications__list {
    max-width: 530px;
    margin-bottom: 40px;
}

.qualifications__text--full {
    max-width: none;
    /* Последний текст на всю ширину */
    margin-bottom: 0;
}

@media screen and (max-width: 1200px) {

    /* Qualifications - Планшет */
    .qualifications {
        padding: 60px 0;
    }

    .qualifications__card {
        max-width: 615px;
        /* Ограничиваем ширину плашки */
    }

    .qualifications__title {
        font-size: 34px;
        line-height: 44px;
    }

    /* Снимаем ограничения по ширине текстов, так как ограничена сама плашка */
    .qualifications__text,
    .qualifications__text-intro,
    .qualifications__list {
        max-width: none;
    }

    .qualifications__text {
        font-size: 17px;
        line-height: 27px;
    }

    .qualifications__img {
        left: 515px;
        width: 34vw;
    }
}

@media screen and (max-width: 767px) {

    .qualifications__container {
        display: flex;
        flex-direction: column;
    }

    .qualifications__wrapper {
        display: flex;
        flex-direction: column;
    }

    .qualifications__img {
        position: static;
        transform: none;
        width: 100%;
        max-width: 300px;
        height: auto;
        margin-bottom: 20px;
        margin-inline: auto;
    }

    .qualifications__card {
        max-width: 100%;
        /* Плашка на всю ширину */
        padding: 32px 24px;
    }

    .qualifications__title {
        font-size: 32px;
        line-height: 46px;
        text-align: center;
        margin-bottom: 30px;
    }

    .qualifications__text,
    .qualifications__text-intro {
        font-size: 16px;
        line-height: 24px;
    }
}

/* =========================================
   Секція: Application Process
   ========================================= */
.application {
    background-color: var(--color-white);
    padding: 90px 0;
}

.application__title {
    font-weight: 600;
    font-size: 44px;
    line-height: 55px;
    text-align: center;
    margin-bottom: 70px;
    /* Градієнтний текст як скрізь */
    background: linear-gradient(270deg, #159C2A 0%, #106C1E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.application__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.application__card {
    background-color: #F5F6F7;
    border: 1px solid var(--color-border-light);
    /* #D2D2D2 */
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.application__icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-bottom: 32px;
}

.application__card-title {
    font-weight: 600;
    font-size: 26px;
    line-height: 45px;
    color: var(--color-text-main);
    margin-bottom: 30px;
}

.application__card-text {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-main);
    margin-bottom: 24px;
}

.application__card-text b,
.application__card-text strong {
    font-weight: 600;
}

.application__btn {
    margin-top: auto;
    /* Притискає кнопку до самого низу картки */
    width: fit-content;
    height: 60px;
    background-color: var(--color-accent);
    /* #159C2A */
    color: var(--color-white);
    /* #FAFAFA */
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    border-radius: 8px;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.application__btn:hover {
    background-color: var(--color-accent-hover);
}

@media screen and (max-width: 1200px) {

    /* Application Process - Планшет */
    .application {
        padding: 60px 0;
    }

    .application__title {
        font-size: 34px;
        line-height: 55px;
        margin-bottom: 40px;
    }

    .application__grid {
        gap: 32px;
        /* Зменшуємо гап на планшеті */
    }

    .application__card-title {
        font-size: 22px;
        line-height: 28px;
    }

    /* .application__card-text залишається 16px за ТЗ */

    .application__btn {
        width: 100%;
        /* На планшеті розтягуємо кнопку */
        text-align: center;
    }
}

@media screen and (max-width: 767px) {

    /* Application Process - Мобілка */
    .application {
        padding: 60px 0;
        /* За ТЗ тут теж 60px */
    }

    .application__title {
        font-size: 32px;
        /* line-height: 55px; - успадковується від планшета */
    }

    .application__grid {
        grid-template-columns: 1fr;
        /* Одна колонка */
        gap: 80px;
        /* Повертаємо гап 80px між картками */
    }
}

/* =========================================
   Секція: CTA Banner
   ========================================= */
.cta {
    background-color: var(--color-bg-light);
    /* #FAFAFA */
    padding: 90px 0;
}

.cta__banner {
    position: relative;
    height: 640px;
    border-radius: 24px;
    overflow: hidden;
    padding: 164px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.cta__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.cta__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Складний подвійний градієнт з ТЗ */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.58) 44.78%, rgba(0, 0, 0, 0) 75.47%);
    z-index: 2;
}

.cta__content {
    position: relative;
    z-index: 3;
    max-width: 924px;
}

.cta__title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 44px;
    line-height: 60px;
    color: var(--color-white);
    /* #FAFAFA */
    text-shadow: 0px 4px 14px rgba(0, 0, 0, 0.25);
    /* 40 в HEX — це ~25% прозорості */
    margin-bottom: 30px;
}

/* Клас для салатового тексту в заголовку */
.cta__title-highlight {
    color: #1FBE38;
}

/* Окрема незалежна кнопка за ТЗ */
.cta__btn {
    width: 240px;
    height: 60px;
    background-color: var(--color-accent);
    /* #159C2A */
    color: var(--color-white);
    /* #FAFAFA */
    border-radius: 8px;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta__btn:hover {
    background-color: var(--color-accent-hover);
}

/* =========================================
   Адаптив: CTA Banner
   ========================================= */

@media (max-width: 1200px) {

    /* CTA Banner - Планшет */
    .cta {
        padding: 60px 0;
    }

    .cta__banner {
        height: 570px;
        /* Фиксированная высота по макету */
        min-height: auto;
        padding: 60px;
        justify-content: center;
        /* Выравнивание по центру по вертикали */
    }

    .cta__content {
        max-width: 600px;
        /* Ограничение ширины контента */
    }

    .cta__title {
        font-size: 38px;
        line-height: 45px;
    }
}

@media (max-width: 767px) {

    /* CTA Banner - Мобілка */
    .cta {
        padding: 60px 0;
    }

    /* Переопределяем стандартный паддинг контейнера только для этой секции */
    .cta .container {
        padding: 0 14px;
    }

    .cta__banner {
        height: auto;
        padding: 0;
        /* Обнуляем паддинг у обертки */
        border-radius: 24px;
        background-color: #161618;
        /* Темный фон для нижнего блока контента */
    }

    .cta__bg-img {
        position: static;
        /* Возвращаем картинку в нормальный поток */
        height: 410px;
        border-radius: 24px 24px 0 0;
        object-position: right;
        /* Скругляем только верх */
    }

    .cta__overlay {
        display: none;
        /* Убираем градиент */
    }

    .cta__content {
        padding: 32px 32px 60px;
        /* Паддинги для текстового блока снизу */
        max-width: 100%;
    }

    .cta__title {
        font-size: 32px;
        line-height: 41px;
        margin-bottom: 30px;
    }

    .cta__btn {
        width: 100%;
        /* Кнопка на всю ширину */
    }
}

/* =========================================
   Секція: Footer
   ========================================= */
.footer__top-bar {
    width: 100%;
    height: 40px;
    background: linear-gradient(110.83deg, rgba(21, 156, 156, 0.06) 1.08%, rgba(21, 156, 42, 0.06) 98.87%);
}

.footer__main {
    background-color: var(--color-white);
    padding: 90px 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 100px;
}

/* --- Ліва колонка --- */
.footer__info {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    max-width: 270px;
    margin-bottom: 44px;
    display: block;
    transition: opacity 0.3s ease;
}

.footer__logo:hover {
    opacity: 0.8;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 44px;
}

.footer__contacts a {
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: var(--color-text-main);
    transition: color 0.3s ease;
    width: fit-content;
}

.footer__contacts a:hover {
    color: var(--color-accent);
}

.footer__socials {
    display: flex;
    gap: 20px;
    margin-bottom: 44px;
}

.footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer__socials a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.footer__address {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: var(--color-text-main);
}

/* --- Права колонка (Грід меню) --- */
.footer__menus {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 87px;
}

.footer__col-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    color: var(--color-text-main);
    margin-bottom: 24px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer__nav a {
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: var(--color-text-main);
    transition: color 0.3s ease;
    display: inline-block;
}

.footer__nav a:hover {
    color: var(--color-accent);
}

.footer__partners {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.footer__partners img {
    height: 37px;
    width: auto;
    object-fit: contain;
}

/* --- Копірайт --- */
.footer__bottom {
    margin-top: 60px;
    text-align: center;
}

.footer__bottom p {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: var(--color-text-main);
}

.footer__bottom a {
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer__bottom a:hover {
    color: var(--color-accent);
}

@media (max-width: 1200px) {

    /* Footer - Планшет */
    .footer__main {
        padding: 60px 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer__info {
        align-items: center;
        text-align: center;
    }

    .footer__logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__contacts {
        align-items: center;
    }
}

@media (max-width: 767px) {

    /* Footer - Мобілка */
    .footer__grid {
        gap: 40px;
    }

    .footer__address {
        margin-right: auto;
    }

    .footer__contacts {
        align-items: flex-start;
    }

    .footer__menus {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}