/* ==========================================
   БАЗОВІ СТИЛІ
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a24;
    background-color: #ffffff;
}

.container {
    width: 94%;
    max-width: 1440px;
    margin: 0 auto;
}

/* Загальні стилі кнопок */
.btn--blue {
    display: inline-block;
    background: linear-gradient(180deg, #4b7dff 0%, #2b5fed 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 40px;
    padding: 18px 48px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(43, 95, 237, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn--blue a{
    text-decoration: none;
}

.btn--blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(43, 95, 237, 0.4);
}

.top-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2b5fed;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.top-tag img {
    width: 20px;
    height: 20px;
}

/* ==========================================
   ШАПКА
========================================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.logo {
    color: #1b49d5;
    font-size: 20px;
    font-weight: 700;
}

/* ==========================================
   ГЕРОЙ БЛОК (Перший екран)
========================================== */
.hero-section {
    background: #f4f6ff url('../img/hero-bg.png') no-repeat top center;
    background-size: cover;
    border-radius: 32px;
    padding-top: 60px;
    text-align: center;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #1c1c28;
    padding: 0 20px;
}

.hero-section .description {
    font-size: 18px;
    line-height: 1.5;
    color: #555770;
    max-width: 820px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.hero-image-wrapper {
    margin: 40px auto 0;
    position: relative;
}

.hero-image-wrapper img {
    max-width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px 16px 0 0;
}

/* ==========================================
   БЛОК СТАТИСТИКИ
========================================== */
.stats-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 40px 20px 80px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.stat-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-info strong {
    font-size: 24px;
    font-weight: 700;
    color: #1c1c28;
}

.stat-info span {
    font-size: 14px;
    color: #555770;
    font-weight: 500;
}

/* ==========================================
   БЛОК РЕЙТИНГУ (ГРАФІК)
========================================== */
.rating-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    padding-bottom: 100px;
}

.rating-content {
    flex: 1;
    min-width: 320px;
    max-width: 580px;
}

.rating-content h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #1c1c28;
    line-height: 1.1;
}

.rating-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #555770;
    margin-bottom: 40px;
}

/* ==========================================
   КАРТКА З ГРАФІКОМ (GAUGE)
========================================== */
.rating-card {
    flex: 1;
    min-width: 320px;
    max-width: 640px;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 600px;
    background: #f5f0ec url('../img/where-bg.png') no-repeat center center;
    background-size: cover;
    border-radius: 32px;
    position: relative;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

/* Subtle vignette for depth */
.rating-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 90% 80% at 50% 50%,
        transparent 50%,
        rgba(30, 25, 20, 0.03) 100%
    );
    border-radius: 32px;
    pointer-events: none;
    z-index: 1;
}

/* Плашки-бейджі */
.badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.04);
    z-index: 10;
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
}

.badge-orange {
    top: 32px;
    left: 32px;
}

.badge-blue {
    bottom: 32px;
    right: 32px;
}

.badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon--orange {
    background: linear-gradient(135deg, #FFB88C 0%, #FF7E5F 100%);
}

.badge-icon--blue {
    background: linear-gradient(135deg, #89B4FA 0%, #4A7DFF 100%);
}

.badge-icon svg {
    width: 22px;
    height: 22px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.badge-text strong {
    font-size: 18px;
    font-weight: 700;
    color: #1c1c28;
    line-height: 1.2;
}

.badge-text span {
    font-size: 12px;
    color: #777790;
    font-weight: 500;
    line-height: 1.3;
}

/* ==========================================
   GAUGE WRAPPER
========================================== */
.gauge-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -38%);
    width: 78%;
    max-width: 420px;
    z-index: 5;
}

.gauge-wrapper svg {
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
}

/* Текст балів під графіком */
.gauge-score-text {
    position: absolute;
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #bdd0f5;
    opacity: 0.7;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
    z-index: 4;
}

/* ==========================================
   АДАПТИВНІСТЬ
========================================== */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 40px;
    }
    .rating-content h2 {
        font-size: 40px;
    }
    .stats-wrapper {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .rating-section {
        flex-direction: column;
    }

    .legend-badge__desc,
    .legend-badge__meta {
        display: none;
    }
    
    .legend-badge {
        padding: 8px 14px;
        font-size: 14px;
        justify-content: center;
    }

    .rating-content {
        max-width: 100%;
        text-align: center;
    }

    .rating-card {
        aspect-ratio: auto;
        height: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .badge {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 85%;
        margin: 8px 0;
    }

    .badge-orange {
        order: 1;
        margin-top: 20px;
    }

    .gauge-wrapper {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 24px auto;
        width: 85%;
        order: 2;
    }

    .gauge-score-text {
        position: relative;
        bottom: auto;
        text-align: center;
        font-size: 48px;
        margin-top: -10px;
    }

    .badge-blue {
        order: 3;
    }
}

/* ==========================================
   БЛОК ПОРІВНЯННЯ З ІНШИМИ КРАЇНАМИ
========================================== */
.compare-section {
    position: relative;
    text-align: center;
    background:
        linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0.85) 25%, rgba(255,255,255,0) 50%),
        url('../img/map-bg.png') no-repeat bottom center;
    background-size: 100% auto, 100% auto;
    min-height: 900px;
    padding-top: 80px;
    padding-bottom: 0;
    overflow: hidden;
    /* Та сама ширина, що й hero */
    width: 94%;
    max-width: 1440px;
    margin: 0 auto;
    border-radius: 0 0 32px 32px;
}

.compare-header {
    position: relative;
    z-index: 10;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.compare-header h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #1c1c28;
    line-height: 1.1;
}

.compare-header p {
    font-size: 18px;
    line-height: 1.6;
    color: #555770;
    margin-bottom: 36px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.home-world-empty {
    position: absolute;
    left: 50%;
    bottom: 88px;
    transform: translateX(-50%);
    max-width: 420px;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px rgba(43, 95, 237, 0.12);
    color: #1c1c28;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    z-index: 8;
}

/* Картка країни */
.country-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.07),
        0 1px 4px rgba(0, 0, 0, 0.04);
    z-index: 5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: cardFloat 0.6s ease-out both;
}

.country-card:nth-child(2) { animation-delay: 0.08s; }
.country-card:nth-child(3) { animation-delay: 0.16s; }
.country-card:nth-child(4) { animation-delay: 0.24s; }
.country-card:nth-child(5) { animation-delay: 0.32s; }
.country-card:nth-child(6) { animation-delay: 0.40s; }
.country-card:nth-child(7) { animation-delay: 0.48s; }

@keyframes cardFloat {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.country-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.10),
        0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Підсвітка для України */
.country-card--highlight {
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 6px 20px rgba(43, 95, 237, 0.12),
        0 1px 4px rgba(43, 95, 237, 0.06),
        inset 0 0 0 1.5px rgba(43, 95, 237, 0.15);
}

.country-card__flag {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.country-card__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-align: left;
}

.country-card__level {
    font-size: 16px;
    font-weight: 700;
    color: #2b5fed;
    line-height: 1.3;
}

.country-card__name {
    font-size: 14px;
    font-weight: 600;
    color: #1c1c28;
    line-height: 1.3;
}

.country-card__local {
    font-size: 11px;
    color: #92929d;
    font-weight: 500;
    line-height: 1.3;
}

/* ==========================================
   АДАПТИВНІСТЬ — ПОРІВНЯННЯ
========================================== */
@media (max-width: 1024px) {
    .compare-section {
        min-height: 700px;
    }

    .compare-header h2 {
        font-size: 40px;
    }

    .country-card {
        padding: 10px 12px;
        gap: 8px;
    }

    .country-card__flag {
        font-size: 20px;
    }

    .country-card__level {
        font-size: 14px;
    }

    .country-card__name {
        font-size: 13px;
    }

    .country-card__local {
        font-size: 10px;
    }

    .home-world-empty {
        width: calc(100% - 48px);
        max-width: 520px;
        bottom: 54px;
    }
}

@media (max-width: 768px) {
    .compare-section {
        min-height: 560px;
    }

    .compare-header h2 {
        font-size: 32px;
    }

    .compare-header p {
        font-size: 16px;
    }

    .country-card {
        padding: 8px 10px;
        gap: 6px;
        border-radius: 10px;
    }

    .country-card__flag {
        font-size: 16px;
    }

    .country-card__level {
        font-size: 12px;
    }

    .country-card__name {
        font-size: 11px;
    }

    .country-card__local {
        font-size: 9px;
    }

    .home-world-empty {
        width: calc(100% - 36px);
        padding: 16px 18px;
        bottom: 34px;
        font-size: 16px;
    }
}

/* ==========================================
   БЛОК ПРО ТЕСТ
========================================== */
.about-test-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 100px 0;
}

.about-test-content {
    flex: 1;
    min-width: 320px;
    max-width: 560px;
}

.about-test-content h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #1c1c28;
    margin-bottom: 20px;
}

.about-test-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #555770;
    margin-bottom: 36px;
}

/* Список фіч */
.about-test-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.about-test-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    font-weight: 500;
    color: #1c1c28;
    line-height: 1.4;
}

.about-test-features li img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Зображення праворуч */
.about-test-image {
    flex: 1;
    min-width: 320px;
    max-width: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-test-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ==========================================
   АДАПТИВНІСТЬ — ПРО ТЕСТ
========================================== */
@media (max-width: 1024px) {
    .about-test-content h2 {
        font-size: 40px;
    }

    .about-test-section {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-test-section {
        flex-direction: column;
    }

    .about-test-content {
        max-width: 100%;
        text-align: left;
    }

    .about-test-content h2 {
        font-size: 32px;
    }

    .about-test-image {
        max-width: 100%;
    }
}

/* ==========================================
   ЩО ТИ ОТРИМУЄШ ПІСЛЯ ТЕСТУ
========================================== */
.benefits-section {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #ededf0;
}

.benefits-section h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1c1c28;
    margin-bottom: 48px;
    line-height: 1.1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: #f7f7fa;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-card__text {
    padding: 24px 20px;
    font-size: 17px;
    font-weight: 600;
    color: #1c1c28;
    line-height: 1.4;
    text-align: center;
}

/* ==========================================
   ЯК ЦЕ ПРАЦЮЄ — ТАБЛИЧНА СІТКА
========================================== */
.steps-section {
    padding: 80px 0 100px;
    text-align: center;
}

.steps-section h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1c1c28;
    margin-bottom: 48px;
    line-height: 1.1;
}

.steps-table {
    border: 1px solid #e8e8ee;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

/* Заголовки колонок */
.steps-table__header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #e8e8ee;
    background: #fafafc;
}

.steps-table__col-head {
    padding: 18px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #92929d;
    text-transform: uppercase;
    text-align: center;
}

.steps-table__col-head:not(:last-child) {
    border-right: 1px solid #e8e8ee;
}

/* Тіло таблиці */
.steps-table__body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 320px;
}

.steps-table__col {
    padding: 0 24px 24px;
    position: relative;
}

.steps-table__col:not(:last-child) {
    border-right: 1px solid #e8e8ee;
}

/* Картка-пілюля кроку */
.step-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e8e8ee;
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.05),
        0 1px 4px rgba(0, 0, 0, 0.03);
    text-align: left;
    max-width: 100%;
}

.step-pill img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px;
}

.step-pill span {
    font-size: 15px;
    font-weight: 600;
    color: #1c1c28;
    line-height: 1.4;
}

/* ==========================================
   АДАПТИВНІСТЬ — БЕНЕФІТИ + КРОКИ
========================================== */
@media (max-width: 1024px) {
    .benefits-section h2,
    .steps-section h2 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .benefits-section h2,
    .steps-section h2 {
        font-size: 32px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .steps-table__header {
        grid-template-columns: 1fr;
    }

    .steps-table__col-head:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e8e8ee;
    }

    .steps-table__body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .steps-table__col:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e8e8ee;
    }

    .steps-table__col {
        padding: 20px 16px;
    }

    .step-pill {
        margin-top: 0 !important;
    }

    .steps-table__header {
        display: none;
    }

    .steps-table__col::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        color: #92929d;
        text-transform: uppercase;
        margin-bottom: 12px;
    }
}

/* ==========================================
   РОЗПОДІЛ УЧАСНИКІВ ЗА РІВНЕМ
========================================== */
.distribution-section {
    padding: 80px 0 100px;
    text-align: center;
}

.distribution-section h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1c1c28;
    margin-bottom: 48px;
    line-height: 1.1;
}

.distribution-chart {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.distribution-chart svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Легенда — бейджі в один рядок */
.distribution-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.legend-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f4f6fb;
    border-radius: 100px;
    padding: 10px 16px 10px 12px;
    font-size: 14px;
    color: #555770;
    font-weight: 500;
    white-space: normal;
    box-shadow: inset 0 0 0 1px rgba(88, 97, 140, 0.06);
}

.legend-badge strong {
    color: #1c1c28;
    font-weight: 700;
}

.legend-badge__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.legend-badge__main {
    color: #3b4256;
}

.legend-badge__meta {
    font-size: 12px;
    color: #8b91aa;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ==========================================
   АДАПТИВНІСТЬ — РОЗПОДІЛ
========================================== */
@media (max-width: 1024px) {
    .distribution-section h2 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .distribution-section h2 {
        font-size: 32px;
    }

    .distribution-legend {
        gap: 8px;
    }

    .legend-badge {
        font-size: 12px;
        padding: 6px 12px 6px 8px;
    }
}

/* ==========================================
   БАНЕР ПАРТНЕРА
========================================== */
.partner-banner {
    padding: 0 0 80px;
}

.partner-banner__inner {
    position: relative;
    background: url('../img/banner.png') no-repeat center center;
    background-size: cover;
    border-radius: 28px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 40px;
    max-width: 780px;
}

.partner-banner__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 20px;
}

.partner-banner__title {
    font-size: 24px;
    font-weight: 700;
    color: #1c1c28;
    margin-bottom: 12px;
    line-height: 1.3;
}

.partner-banner__text {
    font-size: 16px;
    line-height: 1.6;
    color: #555770;
    max-width: 680px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .partner-banner__content {
        padding: 32px 20px;
    }

    .partner-banner__title {
        font-size: 20px;
    }

    .partner-banner__text {
        font-size: 14px;
    }
}

/* ==========================================
   FAQ СЕКЦІЯ
========================================== */
.faq-section {
    padding: 80px 0 100px;
    text-align: center;
}

.faq-section h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1c1c28;
    margin-bottom: 48px;
    line-height: 1.1;
}

.faq-wrapper {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

/* Декоративні зображення */
.faq-deco {
    position: absolute;
    width: 64px;
    height: 64px;
    object-fit: contain;
    pointer-events: none;
    z-index: 1;
}

.faq-deco--cube {
    left: -100px;
    bottom: 60px;
}

.faq-deco--cursor {
    right: -100px;
    top: 60px;
}

/* Список питань */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #f7f7fa;
    border-radius: 16px;
    overflow: hidden;
    transition: background 0.2s ease;
}

.faq-item.is-open {
    background: #f0f0f5;
}

/* Кнопка-питання */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1c1c28;
    text-align: left;
    gap: 16px;
}

.faq-question:hover {
    color: #2b5fed;
}

.faq-chevron {
    flex-shrink: 0;
    color: #92929d;
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

/* Відповідь */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 28px;
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    color: #555770;
    text-align: left;
}

/* ==========================================
   АДАПТИВНІСТЬ — FAQ
========================================== */
@media (max-width: 1024px) {
    .faq-section h2 {
        font-size: 40px;
    }

    .faq-deco--cube {
        left: -20px;
        bottom: -40px;
        width: 48px;
        height: 48px;
    }

    .faq-deco--cursor {
        right: -20px;
        top: -20px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .faq-section h2 {
        font-size: 32px;
    }

    .faq-question {
        font-size: 17px;
        padding: 18px 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.is-open .faq-answer {
        padding: 0 20px 20px;
    }

    .faq-deco {
        display: none;
    }
}

/* ==========================================
   НИЖНІЙ ГЕРОЙ БЛОК (CTA)
========================================== */
.hero-section--bottom {
    margin-top: 0;
    margin-bottom: 40px;
}

@media (max-width: 760px) {
    .top-tag {
        gap: 6px;
        margin-bottom: 16px;
        font-size: 14px;
    }

    .top-tag img {
        width: 18px;
        height: 18px;
    }

    .btn--blue {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }

    .hero-section {
        padding-top: 40px;
        margin-bottom: 24px;
        border-radius: 24px;
    }

    .hero-section h1 {
        font-size: clamp(32px, 10vw, 40px);
        line-height: 1.08;
        margin-bottom: 18px;
    }

    .hero-section .description {
        padding: 0 4px;
        margin-bottom: 28px;
        font-size: 16px;
    }

    .hero-image-wrapper {
        margin-top: 28px;
    }

    .hero-image-wrapper img {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
    }

    .stats-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 0 56px;
    }

    .stat-item {
        width: 100%;
        gap: 14px;
        padding: 18px;
        border-radius: 20px;
        background: #f7f7fa;
    }

    .stat-icon img {
        width: 52px;
        height: 52px;
    }

    .stat-info strong {
        font-size: 20px;
    }

    .stat-info span {
        font-size: 13px;
        line-height: 1.5;
    }

    .rating-section {
        gap: 24px;
        padding-bottom: 72px;
    }

    .rating-content {
        text-align: left;
    }

    .rating-content p {
        margin-bottom: 24px;
        font-size: 16px;
    }

    .rating-card {
        min-height: 0;
        height: auto;
        padding: 18px 0 24px;
        border-radius: 24px;
    }

    .badge {
        width: calc(100% - 32px);
        gap: 12px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .badge-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .badge-text strong {
        font-size: 16px;
    }

    .badge-text span {
        font-size: 12px;
        line-height: 1.4;
    }

    .gauge-wrapper {
        width: min(100%, 320px);
        margin: 18px auto 12px;
    }

    .gauge-score-text {
        margin-top: 0;
        font-size: 38px;
    }

    .compare-section {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        min-height: auto;
        padding: 56px 20px 24px;
        background-size: 180% auto, 180% auto;
        background-position: top center, bottom center;
        border-radius: 0 0 24px 24px;
    }

    .compare-header {
        grid-column: 1 / -1;
        padding: 0;
    }

    .compare-header p {
        margin-bottom: 24px;
    }

    .country-card {
        position: static;
        min-width: 0;
        padding: 12px 14px;
        border-radius: 16px;
        animation: none;
    }

    .country-card__flag {
        font-size: 20px;
    }

    .country-card__info {
        min-width: 0;
    }

    .country-card__level {
        font-size: 13px;
    }

    .country-card__name {
        font-size: 13px;
    }

    .country-card__local {
        font-size: 10px;
    }

    .home-world-empty {
        position: static;
        transform: none;
        width: 100%;
        margin: 4px 0 0;
        max-width: none;
    }

    .about-test-section {
        gap: 28px;
        padding: 72px 0;
    }

    .about-test-desc {
        margin-bottom: 24px;
        font-size: 16px;
    }

    .about-test-features {
        gap: 16px;
        margin-bottom: 28px;
    }

    .about-test-features li {
        align-items: flex-start;
        font-size: 16px;
    }

    .about-test-features li img {
        width: 28px;
        height: 28px;
        margin-top: 2px;
    }

    .benefits-section,
    .steps-section,
    .distribution-section,
    .faq-section {
        padding-top: 64px;
    }

    .steps-section,
    .distribution-section,
    .faq-section {
        padding-bottom: 80px;
    }

    .benefits-section h2,
    .steps-section h2,
    .distribution-section h2,
    .faq-section h2 {
        margin-bottom: 32px;
        font-size: clamp(28px, 8.5vw, 32px);
    }

    .benefit-card {
        border-radius: 20px;
    }

    .benefit-card__text {
        padding: 20px 18px;
        font-size: 16px;
    }

    .steps-table {
        border-radius: 24px;
    }

    .steps-table__col {
        padding: 18px 16px;
    }

    .steps-table__col::before {
        margin-bottom: 10px;
    }

    .step-pill {
        padding: 14px 16px;
        border-radius: 16px;
    }

    .step-pill span {
        font-size: 15px;
    }

    .distribution-chart {
        overflow: hidden;
        padding: 0;
    }

    .distribution-chart svg {
        min-width: 0;
        width: 100%;
    }

    .distribution-legend {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .legend-badge {
        align-items: center;
        white-space: normal;
        padding: 6px 8px;
        gap: 6px;
        font-size: 11px;
        line-height: 1.3;
    }

    .legend-badge .legend-dot {
        width: 10px;
        height: 10px;
        flex-shrink: 0;
    }

    .legend-badge__content {
        gap: 0;
    }

    .legend-badge__meta {
        font-size: 10px;
        line-height: 1.2;
    }

    .partner-banner {
        padding-bottom: 64px;
    }

    .partner-banner__inner {
        border-radius: 24px;
    }

    .partner-banner__content {
        padding: 28px 18px;
    }

    .partner-banner__logo {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .partner-banner__title {
        font-size: 22px;
    }

    .partner-banner__text {
        font-size: 15px;
    }

    .faq-wrapper {
        max-width: 100%;
    }

    .hero-section--bottom {
        margin-bottom: 24px;
    }
}

@media (max-width: 520px) {
    .btn--blue {
        padding: 15px 20px;
        font-size: 16px;
    }

    .hero-section {
        padding-top: 32px;
        border-radius: 20px;
    }

    .hero-section .description {
        padding: 0;
    }

    .stats-wrapper {
        padding-bottom: 48px;
    }

    .stat-item {
        align-items: flex-start;
    }

    .rating-content h2,
    .about-test-content h2,
    .compare-header h2 {
        font-size: clamp(28px, 9vw, 32px);
    }

    .compare-section {
        grid-template-columns: 1fr;
        padding: 48px 16px 20px;
        background-size: 220% auto, 220% auto;
    }

    .country-card {
        padding: 12px;
    }

    .about-test-section {
        padding: 64px 0;
    }

    .about-test-content,
    .about-test-image {
        min-width: 0;
    }

    .distribution-chart svg {
        min-width: 0;
        width: 100%;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 15px;
    }
}
