/* =============================================================
   LFL Application Pages — Stylesheet
   Version: 1.0.0
   Brand colours:
     Blue:        #1487cb
     Pink:        #CA1A76
     Light blue:  #c4e9f3
     Light pink:  #fad3e9
     Body text:   #333333
   ============================================================= */

/* ── 1. CONTAINER ──────────────────────────────────────────── */

.lfl-app-page {
    font-family: inherit; /* inherits Divi global font */
    color: #333333;
    line-height: 1.7;
}

.lfl-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

/* ── 2. HERO ───────────────────────────────────────────────── */

.lfl-hero {
    background-color: #1487cb;
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.lfl-hero::before,
.lfl-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.lfl-hero::before {
    width: 260px;
    height: 260px;
    top: -50px;
    right: -50px;
    background: rgba(196, 233, 243, 0.12);
}

.lfl-hero::after {
    width: 160px;
    height: 160px;
    bottom: -70px;
    right: 100px;
    background: rgba(202, 26, 118, 0.14);
}

.lfl-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative; /* stay above pseudo-elements */
    z-index: 1;
}

/* Application tag pill */
.lfl-hero__tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin: 0 0 14px 0;
    font-weight: 500;
}

/* H1 */
.lfl-hero__title {
    font-size: 34px;
    font-weight: 500;
    color: #c4e9f3;
    line-height: 1.25;
    margin: 0 0 10px 0;
}

/* Accent (light blue) part of title */
.lfl-hero__accent {
    color: #ffffff;
}

/* Subtitle */
.lfl-hero__subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 0 26px 0;
}

/* ── 3. PILLS SWITCHER ─────────────────────────────────────── */

.lfl-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.lfl-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    padding: 5px 16px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease;
    line-height: 1.5;
}

.lfl-pill:hover {
    background: rgba(255, 255, 255, 0.26);
    color: #ffffff;
    text-decoration: none;
}

.lfl-pill--active,
.lfl-pill--active:hover {
    background: #CA1A76;
    border-color: #CA1A76;
    font-weight: 600;
    color: #ffffff;
}

/* ── 4. BREADCRUMB ─────────────────────────────────────────── */

.lfl-breadcrumb {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
    font-size: 12px;
    color: #aaaaaa;
}

.lfl-breadcrumb a {
    color: #1487cb;
    text-decoration: none;
}

.lfl-breadcrumb a:hover {
    text-decoration: underline;
}

/* ── 5. MAIN CONTENT AREA ──────────────────────────────────── */

.lfl-main {
    background: #ffffff;
    padding-bottom: 24px;
}

/* Section spacing */
.lfl-section {
    padding-top: 44px;
    padding-bottom: 8px;
}

.lfl-section--impact {
    padding-top: 44px;
    border-top: 1px solid #eaf5fc;
    margin-top: 16px;
}

/* Section label (small uppercase pink) */
.lfl-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #CA1A76;
    font-weight: 600;
    margin: 0 0 7px 0;
}

/* Section H2 */
.lfl-section-heading {
    font-size: 22px;
    font-weight: 500;
    color: #1487cb;
    line-height: 1.35;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #c4e9f3;
}

/* Body text */
.lfl-body {
    font-size: 15px;
    color: #333333;
    line-height: 1.75;
    margin-bottom: 24px;
}

.lfl-body p {
    margin-bottom: 1em;
}

.lfl-body p:last-child {
    margin-bottom: 0;
}

/* ── 6. STRIPED LISTS ──────────────────────────────────────── */

.lfl-stripe-list {
    list-style: none;
    margin: 0 0 32px 0;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
}

.lfl-stripe-list li {
    padding: 12px 20px;
    font-size: 14px;
    color: #333333;
    line-height: 1.55;
    border-left: 3px solid transparent;
    margin: 0;
}

/* Blue variant */
.lfl-stripe-list--blue {
    border: 1px solid #d8eef9;
}

.lfl-stripe-list--blue li {
    border-left-color: #1487cb;
}

.lfl-stripe-list--blue li:nth-child(odd) {
    background: #f4fbff;
}

.lfl-stripe-list--blue li:nth-child(even) {
    background: #e6f4fc;
}

/* Pink variant */
.lfl-stripe-list--pink {
    border: 1px solid #f5d5e9;
}

.lfl-stripe-list--pink li {
    border-left-color: #CA1A76;
}

.lfl-stripe-list--pink li:nth-child(odd) {
    background: #fef8fc;
}

.lfl-stripe-list--pink li:nth-child(even) {
    background: #fceef6;
}

/* ── 7. PROCESS CARDS ──────────────────────────────────────── */

.lfl-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}

.lfl-process-card {
    background: #ffffff;
    border: 1px solid #d8eef9;
    border-top: 3px solid #1487cb;
    border-radius: 8px;
    padding: 18px 20px;
    box-sizing: border-box;
}

.lfl-process-num {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1487cb;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.lfl-process-title {
    font-size: 14px;
    font-weight: 600;
    color: #CA1A76;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.lfl-process-body {
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* ── 8. STAT STRIP ─────────────────────────────────────────── */

.lfl-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #d8eef9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 28px;
}

/* Support 1 or 2 stats gracefully */
.lfl-stat-strip:has(.lfl-stat-cell:only-child) {
    grid-template-columns: 1fr;
}

.lfl-stat-cell {
    background: #ffffff;
    padding: 20px 24px;
    text-align: center;
}

.lfl-stat-num {
    font-size: 30px;
    font-weight: 500;
    color: #CA1A76;
    line-height: 1;
    margin: 0 0 6px 0;
}

.lfl-stat-label {
    font-size: 12px;
    color: #777777;
    line-height: 1.45;
    margin: 0;
}

/* ── 9. QUOTE CARDS ────────────────────────────────────────── */

/* Side-by-side grid */
.lfl-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.lfl-quote-card {
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    border-left: 4px solid transparent;
    box-sizing: border-box;
}

.lfl-quote-card--blue {
    background: #f4fbff;
    border-left-color: #1487cb;
}

.lfl-quote-card--pink {
    background: #fef8fc;
    border-left-color: #CA1A76;
}

.lfl-quote-mark {
    font-size: 38px;
    line-height: 1;
    margin: 0 0 4px 0;
    font-family: Georgia, 'Times New Roman', serif;
}

.lfl-quote-card--blue .lfl-quote-mark { color: #c4e9f3; }
.lfl-quote-card--pink .lfl-quote-mark { color: #fad3e9; }

.lfl-quote-text {
    font-size: 13px;
    color: #333333;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 10px 0;
}

.lfl-quote-attr {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
}

.lfl-quote-card--blue .lfl-quote-attr { color: #1487cb; }
.lfl-quote-card--pink .lfl-quote-attr { color: #CA1A76; }

/* Single large quote (quotes-only variant) */
.lfl-quote-single {
    background: #f4fbff;
    border-left: 5px solid #1487cb;
    border-radius: 0 10px 10px 0;
    padding: 24px 32px;
    margin-bottom: 24px;
}

.lfl-quote-single__text {
    font-size: 17px;
    color: #333333;
    line-height: 1.75;
    font-style: italic;
    margin: 0 0 12px 0;
}

.lfl-quote-single__attr {
    font-size: 13px;
    color: #1487cb;
    font-weight: 600;
    margin: 0;
}

/* ── 10. CTA SECTION ───────────────────────────────────────── */

.lfl-cta {
    background: #CA1A76;
    padding: 52px 0;
    margin-top: 0;
}

.lfl-cta__heading {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.lfl-cta__body {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 0 26px 0;
}

.lfl-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lfl-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    line-height: 1.4;
    border: 2px solid transparent;
}

.lfl-btn--primary {
    background: #ffffff;
    color: #CA1A76;
    border-color: #ffffff;
}

.lfl-btn--primary:hover {
    background: #fdeef6;
    border-color: #fdeef6;
    color: #CA1A76;
    text-decoration: none;
}

.lfl-btn--secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.50);
}

.lfl-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.80);
    color: #ffffff;
    text-decoration: none;
}

/* ── 11. RESPONSIVE ────────────────────────────────────────── */

/* Tablet — 980px and below */
@media (max-width: 980px) {

    .lfl-container,
    .lfl-hero__inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .lfl-hero {
        padding: 40px 0 36px;
    }

    .lfl-hero__title {
        font-size: 26px;
    }

    /* Process cards: 2×2 */
    .lfl-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stat strip: 2 cols */
    .lfl-stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Quotes: stack */
    .lfl-quote-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile — 600px and below */
@media (max-width: 600px) {

    .lfl-container,
    .lfl-hero__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lfl-hero {
        padding: 32px 0 28px;
    }

    .lfl-hero__title {
        font-size: 22px;
    }

    .lfl-hero__subtitle {
        font-size: 14px;
    }

    .lfl-pills {
        gap: 6px;
    }

    .lfl-pill {
        font-size: 11px;
        padding: 4px 11px;
    }

    /* Process cards: single column */
    .lfl-process-grid {
        grid-template-columns: 1fr;
    }

    /* Stat strip: single column */
    .lfl-stat-strip {
        grid-template-columns: 1fr;
    }

    .lfl-section-heading {
        font-size: 19px;
    }

    .lfl-quote-single {
        padding: 18px 20px;
    }

    .lfl-quote-single__text {
        font-size: 15px;
    }

    .lfl-cta {
        padding: 36px 0;
    }

    .lfl-cta__heading {
        font-size: 20px;
    }

    .lfl-cta__buttons {
        flex-direction: column;
    }

    .lfl-btn {
        text-align: center;
    }
}
