/* ============================================================
   Kapico Premium Tabs — kapico-tabs.css
   Brand: kapicotravels.com.kw
   Palette: #0d0d0d bg • #C8A96E gold accent • #ffffff headings • #999 body
   Font feel: uppercase refined, generous letter-spacing
   ============================================================ */

/* ── CONTAINER ── */
.kpt-wrap {
    background-color: #0d0d0d;
    box-sizing: border-box;
    padding: 48px 40px;
    font-family: inherit;
}

/* ── OPTIONAL SECTION HEADER ── */
.kpt-header {
    margin-bottom: 40px;
    text-align: left;
}

.kpt-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C8A96E;
    margin-bottom: 8px;
}

.kpt-divider {
    width: 36px;
    height: 1px;
    background-color: #C8A96E;
    margin: 10px 0 18px;
    opacity: 0.6;
}

.kpt-heading {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.2;
}

.kpt-subheading {
    font-size: 15px;
    color: #999999;
    line-height: 1.7;
    margin: 0;
    max-width: 560px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* ── TAB BAR ── */
.kpt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.kpt-tab {
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    background-color: #1a1a1a;
    color: #888888;
    border: 1px solid #2e2e2e;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.22s ease;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    white-space: nowrap;
}

.kpt-tab:hover {
    background-color: #222222;
    color: #cccccc;
    border-color: #444444;
}

.kpt-tab.kpt-active {
    background-color: #C8A96E;
    color: #0d0d0d;
    border-color: #C8A96E;
    font-weight: 600;
}

/* ── PANELS ── */
.kpt-panels {
    margin-top: 0;
}

.kpt-panel {
    display: none;
    background-color: #161616;
    border-top: 2px solid #C8A96E;
    padding: 32px;
    color: #cccccc;
    animation: kptIn 0.28s ease;
}

.kpt-panel.kpt-panel-active {
    display: block;
}

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

/* ── RICH TEXT CONTENT ── */
.kpt-content {
    font-size: 15px;
    line-height: 1.75;
    color: #cccccc;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.kpt-content p { margin: 0 0 1em; }
.kpt-content p:last-child { margin-bottom: 0; }
.kpt-content strong { color: #ffffff; font-weight: 500; }
.kpt-content em { color: #C8A96E; font-style: normal; }
.kpt-content a { color: #C8A96E; text-decoration: none; }
.kpt-content a:hover { text-decoration: underline; }
.kpt-content h2, .kpt-content h3, .kpt-content h4 {
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 0.6em;
}
.kpt-content ul, .kpt-content ol {
    padding-left: 1.4em;
    margin: 0 0 1em;
}
.kpt-content li { margin-bottom: 0.5em; }
.kpt-content hr {
    border: none;
    border-top: 1px solid #2a2a2a;
    margin: 1.5em 0;
}

/* ── STAT / BUDGET GRID ── */
.kpt-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 12px;
}

.kpt-stat-card {
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 28px 22px;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.kpt-stat-card:hover {
    background-color: #222222;
    border-color: rgba(200, 169, 110, 0.35);
}

.kpt-stat-value {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 400;
    color: #C8A96E;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.kpt-stat-label {
    font-size: 13px;
    color: #888888;
    line-height: 1.45;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* ── INFO ROWS ── */
.kpt-info-rows {
    display: flex;
    flex-direction: column;
}

.kpt-row-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #222222;
    align-items: flex-start;
}

.kpt-row-item:last-child {
    border-bottom: none;
}

.kpt-row-label {
    font-size: 12px;
    font-weight: 600;
    color: #C8A96E;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 2px;
    flex-shrink: 0;
}

.kpt-row-value {
    font-size: 14px;
    color: #aaaaaa;
    line-height: 1.6;
    font-weight: 300;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .kpt-wrap {
        padding: 32px 20px;
    }
    .kpt-panel {
        padding: 24px 20px;
    }
    .kpt-tab {
        font-size: 11px;
        padding: 9px 14px;
        letter-spacing: 0.04em;
    }
    .kpt-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .kpt-row-item {
        grid-template-columns: 90px 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .kpt-wrap {
        padding: 24px 16px;
    }
    .kpt-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .kpt-stat-value {
        font-size: 1.3rem;
    }
    .kpt-row-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .kpt-tabs {
        gap: 6px;
    }
}
