/* =====================================================================
   Homepage enhance — unify remaining bands with OUA cartoon language
   Soft panels · quieter surfaces · heavier type · brand navy/gold/mint
   Scoped to homepage section shells; does not rewrite card internals.
   ===================================================================== */

:root {
    --sl-hx-ink: #1B2437;
    --sl-hx-muted: #4E5A70;
    --sl-hx-navy: #1E2F66;
    --sl-hx-royal: #3657A4;
    --sl-hx-gold: #F4C542;
    --sl-hx-mint: #D8EEE8;
    --sl-hx-lavender: #E6EAF8;
}

/* ---- Shared section-head polish on homepage bands ---- */
.sl-site .sl-home-areas .sl-section-title,
.sl-site .sl-home-courses .sl-section-title,
.sl-site .sl-dest .sl-section-title,
.sl-site .sl-trust .sl-section-title,
.sl-site .sl-home-scholarships .sl-section-title,
.sl-site .sl-home-articles .sl-section-title,
.sl-site .sl-home-testimonials .sl-section-title,
.sl-site .sl-faq2-main .sl-h2,
.sl-site .sl-logos-title {
    font-family: var(--sl-font-heading, "Plus Jakarta Sans", system-ui, sans-serif);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.18;
    color: var(--sl-hx-ink) !important;
    text-wrap: balance;
}

.sl-site .sl-home-areas .sl-section-lead,
.sl-site .sl-home-courses .sl-section-lead,
.sl-site .sl-dest .sl-section-lead,
.sl-site .sl-trust .sl-section-lead,
.sl-site .sl-home-scholarships .sl-section-lead,
.sl-site .sl-home-articles .sl-section-lead {
    color: var(--sl-hx-muted);
    font-size: clamp(0.975rem, 0.92rem + 0.2vw, 1.0625rem);
    line-height: 1.65;
}

.sl-site .sl-home-areas .sl-eyebrow,
.sl-site .sl-home-courses .sl-eyebrow,
.sl-site .sl-dest .sl-eyebrow,
.sl-site .sl-trust .sl-eyebrow,
.sl-site .sl-faq2-main .sl-eyebrow,
.sl-site .sl-home-scholarships .sl-eyebrow,
.sl-site .sl-home-articles .sl-eyebrow,
.sl-site .sl-home-testimonials .sl-eyebrow {
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Contained pastel stage used by several bands */
.sl-hx-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
    border-radius: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
    border: 3px solid rgba(30, 47, 102, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.75) inset,
        10px 12px 0 rgba(30, 47, 102, 0.07);
}

.sl-hx-stage--lavender {
    background: linear-gradient(165deg, #F0F3FB 0%, var(--sl-hx-lavender) 50%, #D9E0F4 100%);
}

.sl-hx-stage--mint {
    background: linear-gradient(155deg, #EAF6F2 0%, var(--sl-hx-mint) 55%, #CDE8E1 100%);
}

.sl-hx-stage--ice {
    background: linear-gradient(165deg, #F7F9FC 0%, #EEF3FA 100%);
}

.sl-hx-stage > * {
    position: relative;
    z-index: 1;
}

.sl-hx-blob {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 48% 52% 42% 58% / 42% 48% 52% 58%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.7), transparent 72%);
}

.sl-hx-blob--tr {
    right: -10%;
    top: -8%;
    width: min(42%, 18rem);
    height: 55%;
    background:
        radial-gradient(closest-side at 40% 40%, rgba(255, 255, 255, 0.85), transparent 72%),
        radial-gradient(closest-side at 70% 60%, rgba(54, 87, 164, 0.14), transparent 70%);
}

.sl-hx-blob--br {
    right: -8%;
    bottom: -18%;
    width: min(48%, 20rem);
    height: 50%;
    background:
        radial-gradient(closest-side at 45% 40%, rgba(255, 255, 255, 0.65), transparent 70%),
        radial-gradient(closest-side at 60% 70%, rgba(244, 197, 66, 0.18), transparent 72%);
}

/* ---- Study areas ---- */
.sl-site .sl-home-areas .sl-areas-card {
    border: 1px solid rgba(30, 47, 102, 0.1);
    border-radius: 1.15rem;
    box-shadow: 0 8px 22px rgba(17, 28, 68, 0.06);
    background: #fff;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.sl-site .sl-home-areas .sl-areas-icon {
    border: 0;
    border-radius: 50%;
    background: #EEF2FA;
    color: var(--sl-hx-navy);
    box-shadow: none;
}

.sl-site .sl-home-areas .sl-areas-title {
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--sl-hx-ink);
}

.sl-site .sl-home-areas .sl-areas-text {
    font-size: 0.975rem !important;
    line-height: 1.65 !important;
    color: #3F4C66 !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
}

.sl-site .sl-home-areas .sl-areas-card:hover {
    transform: translateY(-2px);
    border-color: rgba(54, 87, 164, 0.28);
    box-shadow: 0 12px 28px rgba(17, 28, 68, 0.1);
}

.sl-site .sl-home-areas .sl-areas-more .sl-btn {
    border-width: 1.5px;
    box-shadow: none;
}

/* ---- Featured courses ---- */
.sl-site .sl-home-courses .sl-ccard,
.sl-site .sl-home-courses .sl-card {
    border: 2.5px solid rgba(30, 47, 102, 0.1) !important;
    border-radius: 1.15rem !important;
    box-shadow: 6px 6px 0 rgba(30, 47, 102, 0.07) !important;
    transition: transform 160ms ease, box-shadow 160ms ease !important;
}

.sl-site .sl-home-courses .sl-ccard:hover,
.sl-site .sl-home-courses li:hover .sl-ccard {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 rgba(54, 87, 164, 0.14) !important;
}

/* ---- Destinations ---- */
.sl-site .sl-dest .sl-dest-mosaic {
    gap: clamp(0.85rem, 0.6rem + 1vw, 1.25rem);
}

.sl-site .sl-dest .sl-dest-card,
.sl-site .sl-dest a.sl-dest-card {
    border: 1.5px solid rgba(30, 47, 102, 0.12);
    border-radius: 1.35rem;
    box-shadow: 0 10px 28px rgba(17, 28, 68, 0.12);
    overflow: hidden;
}

.sl-site .sl-dest .sl-dest-explorer {
    margin-top: 1.75rem;
    padding: 1.25rem 1.35rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 2.5px solid rgba(30, 47, 102, 0.1);
    box-shadow: 6px 6px 0 rgba(30, 47, 102, 0.07);
}

.sl-site .sl-dest .sl-dest-country {
    border: 2px solid rgba(30, 47, 102, 0.12);
    border-radius: 999px;
    background: #F7F9FC;
    box-shadow: 3px 3px 0 rgba(30, 47, 102, 0.06);
}

.sl-site .sl-dest .sl-dest-country:hover {
    border-color: var(--sl-hx-royal);
    background: #fff;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 rgba(54, 87, 164, 0.14);
}

/* Keep chip flags full-bleed — do not reintroduce tiny padded stamps */
.sl-site .sl-dest .sl-dest-country-flag {
    width: 34px;
    height: 26px;
    background: transparent;
    box-shadow: 0 0 0 1.5px rgba(17, 28, 68, 0.16), 0 2px 5px rgba(17, 28, 68, 0.1);
}

.sl-site .sl-dest .sl-dest-country-flag img {
    width: 100%;
    height: 100%;
}

/* ---- Pathway ---- */
.sl-site .sl-path2-card {
    border: 3px solid rgba(17, 28, 68, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        12px 14px 0 rgba(17, 28, 68, 0.14);
}

.sl-site .sl-path2-step {
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
}

.sl-site .sl-path2-float {
    border: 2.5px solid var(--sl-hx-navy);
    border-radius: 1.15rem;
    box-shadow: 6px 6px 0 var(--sl-hx-gold);
}

.sl-site .sl-path2-actions .sl-btn-gold {
    border: 2.5px solid #C9A12A;
    box-shadow: 4px 4px 0 rgba(201, 161, 42, 0.35);
}

.sl-site .sl-path2-actions .sl-btn-outline-light {
    border-width: 2.5px;
    box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.12);
}

/* ---- Trust ---- */
.sl-site .sl-trust .sl-hx-stage {
    margin-top: 0.25rem;
}

.sl-site .sl-trust-item {
    padding: 1.35rem 1.25rem;
    border-radius: 1.15rem;
    background: #fff;
    border: 2.5px solid rgba(30, 47, 102, 0.1);
    box-shadow: 5px 5px 0 rgba(30, 47, 102, 0.08);
}

.sl-site .sl-trust-icon {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    border: 2.5px solid var(--sl-hx-navy);
    background: #fff;
    color: var(--sl-hx-navy);
    box-shadow: 4px 4px 0 var(--sl-hx-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sl-site .sl-trust-title {
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--sl-hx-ink);
}

.sl-site .sl-trust-stats {
    margin-top: 1.75rem;
    padding: 1rem 1.15rem;
    border-radius: 1.15rem;
    background: #fff;
    border: 2.5px solid rgba(30, 47, 102, 0.1);
    box-shadow: 5px 5px 0 rgba(30, 47, 102, 0.07);
}

.sl-site .sl-trust-stats dd {
    font-weight: 800;
    color: var(--sl-hx-navy);
}

/* ---- FAQ ---- */
.sl-site .sl-faq2-main {
    padding: clamp(0.35rem, 0.2rem + 0.6vw, 0.75rem) 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.sl-site .sl-faq2-item {
    border: 0;
    border-bottom: 1px solid rgba(30, 47, 102, 0.12);
    border-radius: 0;
    background: transparent;
    margin-bottom: 0;
    overflow: visible;
    box-shadow: none;
}

.sl-site .sl-faq2-item summary {
    padding: 1.05rem 0.15rem;
    font-weight: 700;
}

.sl-site .sl-faq2-item[open] {
    background: transparent;
    border-color: rgba(30, 47, 102, 0.12);
}

.sl-site .sl-faq2-answer {
    padding: 0 0.15rem 1.1rem;
}

.sl-site .sl-quicklinks {
    border: 1px solid rgba(30, 47, 102, 0.1) !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 10px 28px rgba(17, 28, 68, 0.08) !important;
}

.sl-site .sl-quicklinks-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sl-site .sl-quicklinks a {
    border-radius: 0.85rem;
    border: 1px solid transparent;
}

.sl-site .sl-quicklinks a:hover {
    border-color: rgba(54, 87, 164, 0.18);
    background: rgba(255, 255, 255, 0.65);
}

.sl-site .sl-quicklinks-icon {
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(30, 47, 102, 0.1);
}

/* ---- Credibility logos ---- */
.sl-site .sl-logos {
    padding-block: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem);
}

.sl-site .sl-logos .container {
    padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
    border-radius: clamp(1.35rem, 1rem + 1vw, 2rem);
    background: linear-gradient(165deg, #F0F3FB 0%, var(--sl-hx-lavender) 100%);
    border: 3px solid rgba(30, 47, 102, 0.08);
    box-shadow: 8px 8px 0 rgba(30, 47, 102, 0.07);
}

.sl-site .sl-logos-title {
    margin-bottom: 1.35rem;
    text-align: center;
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
}

.sl-site .sl-logos-list li a,
.sl-site .sl-logos-list li {
    border-radius: 1rem;
    background: #fff;
    border: 2px solid rgba(30, 47, 102, 0.1);
    box-shadow: 3px 3px 0 rgba(30, 47, 102, 0.06);
}

.sl-site .sl-logos-list img {
    filter: none;
    opacity: 0.92;
}

/* ---- Scholarships / articles / testimonials ---- */
.sl-site .sl-home-scholarships .sl-card,
.sl-site .sl-home-scholarships .sl-scholarship-card,
.sl-site .sl-home-articles .sl-article-card,
.sl-site .sl-home-articles .sl-card,
.sl-site .sl-home-testimonials .sl-testimonial-card {
    border: 2.5px solid rgba(30, 47, 102, 0.1) !important;
    border-radius: 1.15rem !important;
    box-shadow: 6px 6px 0 rgba(30, 47, 102, 0.07) !important;
    background: #fff;
}

.sl-site .sl-home-testimonials .sl-testimonial-card {
    position: relative;
}

.sl-site .sl-home-testimonials .sl-testimonial-text {
    font-weight: 600;
    color: var(--sl-hx-ink);
}

.sl-site .sl-home-testimonials .sl-avatar,
.sl-site .sl-home-testimonials .sl-testimonial-author img {
    border: 2.5px solid var(--sl-hx-navy);
    box-shadow: 3px 3px 0 var(--sl-hx-gold);
}

/* ---- Band rhythm ---- */
.sl-site .sl-home-areas,
.sl-site .sl-home-courses,
.sl-site .sl-dest,
.sl-site .sl-trust,
.sl-site .sl-home-scholarships,
.sl-site .sl-home-articles,
.sl-site .sl-home-testimonials {
    padding-top: clamp(1.75rem, 1.1rem + 1.6vw, 2.75rem);
    padding-bottom: clamp(1.75rem, 1.1rem + 1.6vw, 2.75rem);
}

/* ---- Final CTA hierarchy ---- */
.sl-site .sl-cta-section .sl-cta-card {
    gap: clamp(1.5rem, 1.1rem + 1.2vw, 2.5rem);
}

.sl-site .sl-cta-section .sl-cta-title {
    letter-spacing: -0.02em;
}

.sl-site .sl-cta-section .sl-cta-text {
    margin-top: 0.35rem;
    max-width: 34rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
}

.sl-site .sl-cta-section .sl-cta-actions {
    align-items: center;
    gap: 0.75rem 0.85rem;
}

.sl-site .sl-cta-section .sl-cta-actions .sl-btn-gold {
    box-shadow: 0 10px 24px rgba(244, 197, 66, 0.28);
}

.sl-site .sl-cta-section .sl-cta-actions .sl-btn-outline-light {
    border-width: 1.5px;
    font-weight: 600;
    opacity: 0.96;
}

@media (prefers-reduced-motion: reduce) {
    .sl-site .sl-home-areas .sl-areas-card,
    .sl-site .sl-home-courses .sl-ccard,
    .sl-site .sl-dest .sl-dest-country {
        transition: none !important;
        transform: none !important;
    }
}
