/* =============================================
   SMA-HOME.CSS — Public page hero/panel/card
   patterns, mirroring the WebServices "Visit"-style
   layout: dark hero banner, white content panel,
   pill feature list, gradient CTA.
   ============================================= */

/* ── Shared page background ── */
body {
    background-color: var(--sma-Newbg-page);
}

/* ── Hero banner (site-wide toolbar under the header) ──
   Sized and aligned to match the Membership-page hero: a tall banner
   with the title pinned to the bottom-left in large display type. */
.toolbar {
    background: linear-gradient(rgba(20,20,20,.55), rgba(20,20,20,.55)),
                url(/Media/images/site-banner.jpg) no-repeat center center / cover;
    border-bottom: 3px solid var(--sma-primary);
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}

    .toolbar #kt_toolbar_container {
        align-items: flex-end !important;
    }

    .toolbar .page-title h1 {
        font-family: var(--sma-font-en);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: clamp(2.25rem, 5vw, 4.75rem);
        line-height: 1.05;
        margin-bottom: .5rem;
    }

    .toolbar .breadcrumb-item.active,
    .toolbar .breadcrumb-item {
        color: rgba(255,255,255,.85) !important;
    }

@media (max-width: 576px) {
    .toolbar {
        min-height: 280px;
    }
}

/* Guaranteed (padding, not margin — never collapses) gap between the
   panel and whatever follows it, most importantly the footer. */
.homecss .content-wrap {
    padding-bottom: 4rem;
}

/* ── White content panel sitting under the hero ──
   Values match the WebServices "Visit"/Membership .sma-panel exactly:
   sharp corners, page background shows through the gap above it. */
.sma-panel {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 2.5rem 2.5rem 1rem;
    box-shadow: 12px 12px 27px rgba(0, 0, 0, 0.36);
    margin-top: 2.5rem;
}

.sma-section-header {
    text-align: start;
    margin-bottom: 3rem;
}

    .sma-section-header h2 {
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.25;
        margin-bottom: 1.25rem;
        color: #111827;
    }

    .sma-section-header p {
        font-size: 1rem;
        line-height: 1.75;
        color: #111827;
        margin: 0 0 1rem;
    }

        .sma-section-header p:last-child {
            margin-bottom: 0;
        }

/* ── Feature pill list (service duration / fee / criteria …) ── */
.sma-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.sma-feature-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    background: #f3f4f6;
    border-radius: 999px;
    color: #111827;
    font-size: .85rem;
    font-weight: 500;
}

    .sma-feature-item .sma-feature-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
        background: var(--sma-primary-100, rgba(205,161,118,.15));
        color: var(--sma-primary-dark);
        font-size: .8rem;
        flex-shrink: 0;
    }

    .sma-feature-item a {
        color: inherit;
        text-decoration: underline;
    }

        .sma-feature-item a:hover {
            color: var(--sma-primary-dark);
        }

/* ── Actions row (CTA button), separated from the pills above ── */
.sma-panel-actions {
    margin-top: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e5e7eb;
}

/* ── Gradient CTA button — matches the WebServices "Start Service" button ── */
.sma-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 2rem;
    border-radius: .5rem;
    background: linear-gradient(90deg, var(--sma-primary) 0%, var(--sma-primary-dark) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    transition: all .25s ease;
    border: none;
}

    .sma-btn-cta:hover {
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    }

@media (max-width: 768px) {
    .sma-panel {
        padding: 2rem 1.75rem .75rem;
        margin-top: 1.75rem;
    }

    .sma-section-header h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 576px) {
    .sma-panel {
        padding: 1.75rem 1.25rem .5rem;
        box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.28);
        margin-top: 1.25rem;
    }

    .sma-section-header h2 {
        font-size: 1.25rem;
    }

    .sma-panel-actions {
        text-align: start !important;
    }

    .sma-btn-cta {
        width: 100%;
        justify-content: center;
    }
}
