/* ================================================================
   APP PAGE — Stonebridge (My Mortgage Partner)
   Scoped entirely to #app-banner / #app-video / #app-features /
   #app-testimonials / #app-faqs / .app-*
   Does NOT affect any other page template
   Bootstrap 4 breakpoints: sm 576 | md 768 | lg 992 | xl 1200
   ================================================================ */

/* ─────────────────────────────────────────
   BANNER — curved gradient panel over photo
   (same shape/colours as .proposition-banner-panel)
───────────────────────────────────────── */
#app-banner {
    position: relative;
    min-height: 472px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #e9e4e3;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.app-banner-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    min-width: 340px;
    max-width: 662px;
    min-height: 472px;
    padding: 0 40px 0 50px;
    background: linear-gradient(to left, rgba(237, 114, 26, .7) 0%, #ed721a 100%);
    border-radius: 0 200px 200px 0;
}

.app-banner-title {
    color: #fff;
    font-size: 60px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 0;
}

.app-banner-divider {
    display: block;
    width: 204px;
    height: 3px;
    background-color: #fff;
}

.app-banner-text {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 767px) {
    #app-banner,
    .app-banner-panel {
        min-height: 197px;
    }

    .app-banner-panel {
        min-width: 220px;
        max-width: 280px;
        padding: 0 20px 0 20px;
        border-radius: 0 215px 215px 0;
        gap: 5px;
    }

    .app-banner-title {
        font-size: 20px;
    }

    .app-banner-divider {
        width: 68px;
    }

    .app-banner-text {
        font-size: 12px;
    }
}

/* ─────────────────────────────────────────
   VIDEO — clickable thumbnail + play button
───────────────────────────────────────── */
.app-video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #e9e4e3;
    aspect-ratio: 16 / 9;
}

.app-video-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-video-frame iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.app-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 63px;
    height: 63px;
    padding: 0;
    background: #ed721a;
    color: #fff;
    font-size: 22px;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: background-color .2s;
}

.app-video-play:hover {
    background: #d24218;
}

/* ─────────────────────────────────────────
   FEATURES — "Stay Front Of Mind" card grid
───────────────────────────────────────── */
.app-feature-card {
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .25);
}

.app-feature-icon {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.app-feature-heading {
    font-size: 18px;
    font-weight: 600;
    color: #8d2c10;
    margin-bottom: 12px;
}

.app-feature-text {
    font-size: 14px;
    margin-bottom: 16px;
}

.app-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
}

.app-feature-link:hover {
    color: #d24218;
    text-decoration: none;
}

.app-feature-link-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 767px) {
    .app-feature-card {
        padding: 20px;
    }

    .app-feature-icon {
        width: 60px;
        height: 60px;
    }

    .app-feature-heading {
        font-size: 16px;
    }
}

/* ─────────────────────────────────────────
   TESTIMONIALS — "What Our Members Are Saying"
───────────────────────────────────────── */
.app-testimonial-card {
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .25);
}

.app-testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.app-testimonial-star {
    width: 16px;
    height: 16px;
}

.app-testimonial-quote {
    font-size: 14px;
    margin-bottom: 20px;
}

.app-testimonial-divider {
    height: 1px;
    margin-bottom: 20px;
    background: #d24218;
}

.app-testimonial-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 49px;
    margin-right: 10px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.app-testimonial-name {
    font-size: 14px;
    font-weight: 600;
}

.app-testimonial-role {
    font-size: 12px;
}

.app-testimonial-tenure {
    font-size: 12px;
    font-weight: 500;
}

/* ─────────────────────────────────────────
   FAQ ACCORDION — rounded pill rows
   (same pattern as .proposition-faq-*)
───────────────────────────────────────── */
.app-faq-row {
    margin-bottom: 20px;
}

.app-faq-row:last-child {
    margin-bottom: 0;
}

.app-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 20px;
    box-shadow: -1px -1px .5px rgba(0, 0, 0, .25), 1px 1px .5px rgba(0, 0, 0, .25);
    text-align: left;
    text-decoration: none !important;
}

.app-faq-question {
    color: #d24218;
    font-size: 20px;
    font-weight: 600;
}

.app-faq-chevron {
    flex-shrink: 0;
    width: 9px;
    height: 16px;
    transform: rotate(90deg);
    transition: transform .2s;
}

.app-faq-toggle:not(.collapsed) .app-faq-chevron {
    transform: rotate(-90deg);
}

.app-faq-body {
    padding: 20px 20px 5px;
}

@media (max-width: 767px) {
    .app-faq-toggle {
        padding: 10px 15px;
    }

    .app-faq-question {
        font-size: 14px;
    }
}
