/* =========================================================
   Swift Serenity — public site
   Colours come from --brand-* (config/concern.php).
   ========================================================= */
:root {
    --ss-ink: #1d2a22;
    --ss-muted: #5f6f65;
    --ss-line: #e3ece5;
    --ss-soft: #eef7ef;
    --ss-soft-2: #f6faf6;
    --ss-radius: 18px;
    --ss-shadow: 0 10px 30px rgba(20, 60, 30, .08);
}

body.ss-body {
    font-family: 'Inter', sans-serif;
    color: var(--ss-ink);
    background: #fbfdfb;
}
.ss-body h1, .ss-body h2, .ss-body h3, .ss-body h4, .ss-heading {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--ss-ink);
}
.ss-icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.ss-icon--sm { width: 1rem; height: 1rem; vertical-align: -2px; }
.ss-accent { color: var(--brand-primary); }
.ss-section { padding: 2.25rem 0; }

/* ---------- Buttons ---------- */
.ss-btn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .8rem 1.6rem; border-radius: 999px; font-weight: 600;
    border: 2px solid transparent; text-decoration: none; line-height: 1.2;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ss-btn .ss-icon { width: 1.1rem; height: 1.1rem; }
.ss-btn:hover { transform: translateY(-1px); }
.ss-btn--primary { background: var(--brand-primary); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--brand-primary) 30%, transparent); }
.ss-btn--primary:hover { background: var(--brand-primary-dark); color: #fff; }
.ss-btn--outline { border-color: var(--brand-primary); color: var(--brand-primary-dark); background: rgba(255,255,255,.85); }
.ss-btn--outline:hover { background: var(--ss-soft); color: var(--brand-primary-dark); }
.ss-btn--accent { background: var(--brand-accent); color: var(--brand-primary-dark); }
.ss-btn--accent:hover { filter: brightness(.96); color: var(--brand-primary-dark); }
.ss-btn--sm { padding: .55rem 1.2rem; font-size: .9rem; }

/* ---------- Header ---------- */
.ss-header { background: #fff; box-shadow: 0 2px 14px rgba(20, 60, 30, .06); position: sticky; top: 0; z-index: 1030; }
.ss-header__inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }
.ss-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.ss-brand__logo { max-height: 56px; width: auto; }
.ss-brand__mark { width: 46px; height: 46px; }
.ss-brand__text { display: flex; flex-direction: column; line-height: 1; }
.ss-brand__name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: .5px; color: #1b4f9c; }
.ss-brand__name span { color: var(--brand-primary); }
.ss-brand__tag { font-size: .58rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ss-muted); margin-top: .3rem; }
.ss-header__main { flex: 1; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.ss-topbar { display: flex; justify-content: flex-end; gap: 1.6rem; font-size: .82rem; color: var(--ss-ink); }
.ss-topbar a, .ss-topbar span { display: inline-flex; align-items: center; gap: .35rem; color: inherit; text-decoration: none; font-weight: 500; }
.ss-topbar .ss-icon { width: 1rem; height: 1rem; color: var(--brand-primary); }
.ss-nav { display: flex; align-items: center; justify-content: flex-end; gap: .15rem; }
.ss-nav__link {
    display: inline-flex; align-items: center; gap: .2rem;
    padding: .45rem .8rem; border-radius: 8px; font-weight: 500; font-size: .92rem;
    color: var(--ss-ink); text-decoration: none; white-space: nowrap; background: none; border: 0;
}
.ss-nav__link .ss-icon { width: .9rem; height: .9rem; }
.ss-nav__link:hover { color: var(--brand-primary); }
.ss-nav__link.active { background: var(--brand-primary); color: #fff; }
.ss-nav .dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--ss-shadow); padding: .5rem; }
.ss-nav .dropdown-item { border-radius: 8px; padding: .5rem .8rem; }
.ss-nav .dropdown-item:hover { background: var(--ss-soft); color: var(--brand-primary-dark); }
.ss-nav__cta { margin-left: .6rem; }
.ss-burger { display: none; margin-left: auto; background: var(--ss-soft); border: 0; border-radius: 10px; padding: .55rem; color: var(--brand-primary-dark); }
.ss-wing-strip { background: var(--brand-primary-dark); color: rgba(255,255,255,.8); font-size: .75rem; padding: .35rem 0; }
.ss-wing-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ss-wing-strip a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.ss-icon--xs { width: .85rem; height: .85rem; }
.ss-wing-strip a:hover { color: var(--brand-accent); }

@media (max-width: 1199.98px) {
    .ss-topbar { display: none; }
    .ss-burger { display: inline-flex; }
    .ss-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; background: #fff;
        padding: 1rem; box-shadow: 0 12px 24px rgba(20,60,30,.1);
    }
    .ss-nav.is-open { display: flex; }
    .ss-nav__link { padding: .7rem .9rem; }
    .ss-nav__cta { margin: .5rem 0 0; justify-content: center; }
    .ss-nav .dropdown-menu { position: static !important; transform: none !important; box-shadow: none; padding-left: 1rem; }
}

/* ---------- Hero ---------- */
.ss-hero {
    position: relative; overflow: hidden;
    background:
        linear-gradient(90deg, #f4faf4 0%, rgba(244,250,244,.97) 34%, rgba(244,250,244,.35) 58%, rgba(244,250,244,0) 72%),
        var(--ss-hero-image, linear-gradient(160deg, #cfe8f5 0%, #e3f1e0 45%, #9fcf8f 100%)) center right / cover no-repeat;
    padding: 4.5rem 0 7.5rem;
}
.ss-hero::after {
    content: ''; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 120px;
    background: #fbfdfb; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.ss-hero__art { position: absolute; right: 3%; bottom: 70px; width: min(44vw, 600px); pointer-events: none; }
.ss-hero__art svg { width: 100%; height: auto; display: block; }
.ss-hero__title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 600; line-height: 1.15; margin-bottom: .2rem; }
.ss-hero__highlight { display: block; font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 800; color: var(--brand-primary); line-height: 1.05; }
.ss-hero__lead { font-size: 1.08rem; color: #33443a; max-width: 30rem; margin: 1.2rem 0 1.8rem; }
.ss-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Feature strip ---------- */
.ss-features {
    position: relative; z-index: 2; margin-top: -4.5rem;
    background: #fff; border-radius: var(--ss-radius); box-shadow: var(--ss-shadow);
    display: grid; grid-template-columns: repeat(6, 1fr);
}
.ss-feature { display: flex; align-items: center; gap: .75rem; padding: 1.15rem 1.1rem; font-size: .88rem; font-weight: 500; line-height: 1.3; }
.ss-feature + .ss-feature { border-left: 1px solid var(--ss-line); }
.ss-feature .ss-icon { width: 2rem; height: 2rem; color: var(--brand-primary); }
@media (max-width: 991.98px) {
    .ss-features { grid-template-columns: repeat(3, 1fr); }
    .ss-feature:nth-child(4) { border-left: 0; }
    .ss-feature:nth-child(n+4) { border-top: 1px solid var(--ss-line); }
}
@media (max-width: 575.98px) {
    .ss-features { grid-template-columns: repeat(2, 1fr); }
    .ss-feature { border-left: 0 !important; border-top: 1px solid var(--ss-line); }
    .ss-feature:nth-child(-n+2) { border-top: 0; }
    .ss-feature:nth-child(even) { border-left: 1px solid var(--ss-line) !important; }
}

/* ---------- Generic cards ---------- */
.ss-card { background: #fff; border-radius: var(--ss-radius); box-shadow: var(--ss-shadow); padding: 1.6rem; height: 100%; }
.ss-card--soft { background: var(--ss-soft-2); box-shadow: none; border: 1px solid var(--ss-line); }
.ss-card--dark { background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary)); color: #fff; }
.ss-card--dark h2, .ss-card--dark h3 { color: #fff; }
.ss-section-title { display: flex; align-items: center; gap: .6rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; margin-bottom: .25rem; }
.ss-section-title .ss-icon { width: 2rem; height: 2rem; color: var(--brand-primary); }
.ss-card--dark .ss-section-title .ss-icon { color: var(--brand-accent); }
.ss-section-sub { color: var(--ss-muted); margin-bottom: 1.4rem; }
.ss-card--dark .ss-section-sub { color: rgba(255,255,255,.8); }

/* ---------- Photo placeholder ---------- */
.ss-photo {
    border-radius: var(--ss-radius); overflow: hidden; position: relative; height: 100%; min-height: 240px;
    background: linear-gradient(145deg, #dcefdc, #b9dcb7);
    display: flex; align-items: center; justify-content: center; color: color-mix(in srgb, var(--brand-primary) 55%, transparent);
}
.ss-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ss-photo .ss-icon { width: 4.5rem; height: 4.5rem; }

/* ---------- Programs ---------- */
.ss-program {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem;
    background: var(--ss-soft); border: 1px solid #d6ead8; border-radius: 16px; padding: 1.4rem .9rem;
    color: var(--ss-ink); text-decoration: none; height: 100%;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ss-program:hover { transform: translateY(-3px); box-shadow: var(--ss-shadow); background: #fff; color: var(--ss-ink); }
.ss-program .ss-icon { width: 2.6rem; height: 2.6rem; color: var(--brand-primary); }
.ss-program__name { font-weight: 700; line-height: 1.25; }
.ss-program__bn { font-size: .85rem; color: var(--ss-muted); }
.ss-program__desc { font-size: .88rem; color: var(--ss-muted); }

/* ---------- Admission steps ---------- */
.ss-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-top: .5rem; }
.ss-step { flex: 1; text-align: center; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.ss-step small { display: block; font-weight: 400; opacity: .85; }
.ss-step__circle {
    width: 74px; height: 74px; border-radius: 50%; background: #fff; color: var(--brand-primary-dark);
    display: flex; align-items: center; justify-content: center; margin: 0 auto .8rem;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.ss-step__circle .ss-icon { width: 2rem; height: 2rem; }
.ss-step__arrow { color: rgba(255,255,255,.8); margin-top: 26px; }
.ss-step__arrow .ss-icon { width: 1.4rem; height: 1.4rem; }
.ss-steps--light .ss-step__circle { background: var(--brand-primary); color: #fff; }
.ss-steps--light .ss-step__arrow { color: var(--brand-primary); }
@media (max-width: 575.98px) {
    .ss-steps { flex-wrap: wrap; }
    .ss-step { flex: 0 0 45%; margin-bottom: 1rem; }
    .ss-step__arrow { display: none; }
}

/* ---------- Fees ---------- */
.ss-fee-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--ss-line); border-radius: 12px; overflow: hidden; font-size: .93rem; }
.ss-fee-table th { background: var(--ss-soft); font-weight: 700; padding: .7rem 1rem; }
.ss-fee-table td { padding: .7rem 1rem; border-top: 1px solid var(--ss-line); }
.ss-fee-table td:last-child, .ss-fee-table th:last-child { text-align: right; font-weight: 700; white-space: nowrap; border-left: 1px solid var(--ss-line); }
.ss-fee-table tr.is-featured td { background: #f3fbf2; }
.ss-fee-table .ss-fee-name { color: var(--ss-muted); font-size: .85rem; }
.ss-includes { background: #e6f4e4; border-radius: 12px; padding: 1rem 1.1rem; height: 100%; }
.ss-includes h4 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.ss-includes ul { list-style: none; padding: 0; margin: 0; }
.ss-includes li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; padding: .22rem 0; }
.ss-includes .ss-icon { width: 1.05rem; height: 1.05rem; color: #fff; background: var(--brand-primary); border-radius: 50%; padding: 2px; }

/* ---------- Facilities ---------- */
.ss-facility { text-align: center; text-decoration: none; color: var(--ss-ink); display: block; }
.ss-facility .ss-photo { min-height: 0; aspect-ratio: 4 / 3; border-radius: 12px; }
.ss-facility .ss-photo .ss-icon { width: 2.6rem; height: 2.6rem; }
.ss-facility__title { font-size: .88rem; font-weight: 600; margin-top: .5rem; }
.ss-facility__desc { font-size: .85rem; color: var(--ss-muted); }

/* ---------- Testimonial ---------- */
.ss-story {
    position: relative; overflow: hidden; border-radius: var(--ss-radius); min-height: 260px; height: 100%;
    background: linear-gradient(120deg, #fffaf0 0%, #fbe7c2 55%, #f4b860 100%);
    padding: 1.8rem; display: flex; flex-direction: column; justify-content: center;
}
.ss-story__quote-mark { width: 2.4rem; height: 2.4rem; color: var(--brand-primary); }
.ss-story blockquote { font-size: 1.1rem; font-style: italic; line-height: 1.55; margin: .8rem 0; max-width: 24rem; color: var(--ss-ink); }
.ss-story cite { font-style: normal; font-weight: 700; color: var(--brand-primary-dark); }
.ss-story__sun { position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,214,140,.2) 70%); }
.ss-story-card { background: #fff; border-radius: var(--ss-radius); box-shadow: var(--ss-shadow); padding: 1.6rem; height: 100%; display: flex; flex-direction: column; }
.ss-story-card blockquote { font-style: italic; color: #33443a; flex: 1; }
.ss-stars { color: #f2b01e; letter-spacing: 2px; }

/* ---------- CTA band ---------- */
.ss-cta {
    background: linear-gradient(90deg, var(--brand-primary-dark), color-mix(in srgb, var(--brand-primary-dark) 80%, var(--brand-primary)));
    color: #fff; border-radius: var(--ss-radius); padding: 1.3rem 1.8rem;
    display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 2rem;
}
.ss-cta__item { display: flex; align-items: center; gap: .8rem; }
.ss-cta__item .ss-icon { width: 2.2rem; height: 2.2rem; color: var(--brand-accent); }
.ss-cta__title { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 700; color: #fff; }
.ss-cta__sub { color: rgba(255,255,255,.8); font-size: .9rem; }
.ss-cta__divider { width: 1px; align-self: stretch; background: rgba(255,255,255,.25); }
.ss-cta a { color: #fff; text-decoration: none; }
.ss-cta .ss-btn { margin-left: auto; }
@media (max-width: 991.98px) { .ss-cta__divider { display: none; } .ss-cta .ss-btn { margin-left: 0; } }

/* ---------- Inner page hero ---------- */
.ss-page-hero { background: linear-gradient(120deg, #eef7ef 0%, #dff0de 100%); padding: 3rem 0 2.6rem; position: relative; overflow: hidden; }
.ss-page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: .4rem; }
.ss-page-hero p { color: var(--ss-muted); max-width: 40rem; margin: 0; }
.ss-page-hero .breadcrumb { font-size: .85rem; margin-bottom: .8rem; }
.ss-page-hero .breadcrumb a { color: var(--brand-primary); text-decoration: none; }
.ss-page-hero__art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 180px; color: rgba(30,123,52,.12); }

/* ---------- Forms ---------- */
.ss-form .form-label { font-weight: 600; font-size: .9rem; }
.ss-form .form-control, .ss-form .form-select { border-radius: 10px; border-color: #d5e3d7; padding: .7rem .9rem; }
.ss-form .form-control:focus, .ss-form .form-select:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 15%, transparent); }
.ss-form-section { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; margin: 1.4rem 0 .9rem; padding-bottom: .5rem; border-bottom: 1px solid var(--ss-line); }
.ss-success { background: #e8f6e7; border: 1px solid #bfe3bc; border-radius: var(--ss-radius); padding: 2rem; text-align: center; }
.ss-success .ss-icon { width: 3.5rem; height: 3.5rem; color: var(--brand-primary); }
.ss-ref { display: inline-block; font-family: monospace; font-size: 1.2rem; font-weight: 700; background: #fff; border-radius: 8px; padding: .3rem .8rem; margin: .5rem 0; }

/* ---------- Prose ---------- */
.ss-prose p { color: #33443a; line-height: 1.75; }
.ss-contact-line { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.ss-contact-line .ss-icon { color: var(--brand-primary); margin-top: .1rem; }
.ss-contact-line a { color: var(--ss-ink); text-decoration: none; font-weight: 600; }

/* ---------- FAQ ---------- */
.ss-faq .accordion-item { border: 1px solid var(--ss-line); border-radius: 12px !important; overflow: hidden; margin-bottom: .7rem; }
.ss-faq .accordion-button { font-weight: 600; }
.ss-faq .accordion-button:not(.collapsed) { background: var(--ss-soft); color: var(--brand-primary-dark); box-shadow: none; }

/* ---------- Footer ---------- */
.ss-footer { background: #10391b; color: rgba(255,255,255,.75); padding: 3rem 0 0; margin-top: 2.5rem; font-size: .92rem; }
.ss-footer h5 { color: #fff; font-family: 'Poppins', sans-serif; font-size: 1rem; margin-bottom: 1rem; }
.ss-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.ss-footer a:hover { color: var(--brand-accent); }
.ss-footer ul { list-style: none; padding: 0; margin: 0; }
.ss-footer li { margin-bottom: .45rem; }
.ss-footer .ss-brand__name { color: #fff; }
.ss-footer .ss-brand__name span { color: var(--brand-accent); }
.ss-footer .ss-brand__tag { color: rgba(255,255,255,.6); }
.ss-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding: 1rem 0; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.ss-footer .ss-contact-line .ss-icon { color: var(--brand-accent); width: 1.1rem; height: 1.1rem; }
.ss-footer .ss-contact-line a { color: rgba(255,255,255,.85); font-weight: 500; }

/* ---------- Floating call button (mobile) ---------- */
.ss-float-call {
    position: fixed; right: 16px; bottom: 16px; z-index: 1020; width: 56px; height: 56px; border-radius: 50%;
    background: var(--brand-primary); color: #fff; display: none; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.ss-float-call .ss-icon { width: 1.5rem; height: 1.5rem; }
@media (max-width: 767.98px) { .ss-float-call { display: flex; } }
