/* ═══════════════════════════════════════════════════
   Section: Why Choose Bali
   ═══════════════════════════════════════════════════ */

.sw-why-bali {
    background-color: #fffefc;
}

.sw-why-bali__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 41px;
    padding: 69px 0;
}

/* ─── Header ─── */
.sw-why-bali__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.sw-why-bali__subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 1.8px;
    line-height: 15px;
    text-transform: uppercase;
    color: #a59680;
    margin: 0;
}

.sw-why-bali__heading {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 38.88px;
    letter-spacing: -0.72px;
    color: #2b2722;
    margin: 0;
}

.sw-why-bali__heading em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: #a59680;
}

.sw-why-bali__description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22.4px;
    color: #917e64;
    margin: 0;
    max-width: 711px;
}

/* ─── Columns ─── */
.sw-why-bali__columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* header + 7 data rows */
    grid-template-rows: auto repeat(7, auto);
    width: 100%;
}

.sw-why-bali__col {
    display: grid;
    grid-row: 1 / -1;
    grid-template-rows: subgrid;
    min-width: 0;
}

/* Featured column (Snatched) */
.sw-why-bali__col--featured {
    background-color: #2b2722;
}

/* Column header */
.sw-why-bali__col-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.sw-why-bali__col-header p {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 28px;
    color: #2b2722;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

.sw-why-bali__col--featured .sw-why-bali__col-header p {
    color: #d7d5cd;
}

/* Rows */
.sw-why-bali__row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 24px 17px;
    border-top: 1px solid rgba(226, 219, 210, 0.6);
}

.sw-why-bali__col--featured .sw-why-bali__row {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.sw-why-bali__row img {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.sw-why-bali__row span {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22.75px;
    color: #917e64;
    flex: 1;
    min-width: 0;
}

.sw-why-bali__col--featured .sw-why-bali__row span {
    color: #d7d5cd;
}

/* ─── CTA Button ─── */
.sw-why-bali__cta {
    display: inline-flex;
    align-items: center;
    gap: 38px;
    padding: 14px 30px;
    background-color: #2b2722;
    border-radius: 79px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sw-why-bali__cta:hover {
    opacity: 0.85;
}

.sw-why-bali__cta span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 3.3px;
    text-transform: uppercase;
    color: #fffefc;
    white-space: nowrap;
}

.sw-why-bali__cta img {
    flex-shrink: 0;
}

/* ─── Tab Navigation (Mobile only) ─── */
.sw-why-bali__tabs {
    display: none;
    width: 100%;
}

.sw-why-bali__tab {
    flex: 1;
    border: 1px solid rgba(43, 39, 34, 0.12);
    border-radius: 6px;
    background-color: transparent;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #917e64;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 10px 16px;
    text-align: center;
    white-space: nowrap;
}

.sw-why-bali__tab:hover {
    background-color: rgba(43, 39, 34, 0.05);
}

.sw-why-bali__tab.is-active {
    background-color: #2b2722;
    color: #fffefc;
    border-color: #2b2722;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════ */
@media (max-width: 1240px) {
    .sw-why-bali__inner {
        padding: 69px 32px;
    }
}

@media (max-width: 960px) {
    /* Show tab navigation */
    .sw-why-bali__tabs {
        display: flex;
        gap: 8px;
        width: 100%;
    }

    .sw-why-bali__columns {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        width: 100%;
    }

    .sw-why-bali__col {
        grid-row: auto;
        grid-template-rows: none;
        display: none;
    }

    .sw-why-bali__col.is-active {
        display: grid;
    }

    .sw-why-bali__heading {
        font-size: 36px;
        line-height: 34px;
    }

    .sw-why-bali__inner {
        padding: 50px 20px;
        gap: 32px;
    }
}
