
/* FLOW-09: public solution / template website flow.
   Scoped to public flow classes so Customer/Admin/Franchise UI is unaffected. */

.flow-section {
    padding: 88px 0;
}

.flow-section-soft {
    background: #f6f9fc;
}

.flow-section-heading {
    max-width: 820px;
    margin: 0 auto;
}

.flow-section-heading h2,
.flow-info-card h2 {
    color: #0b1f33;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.flow-section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.flow-section-heading p {
    color: #657486;
    font-size: 1.05rem;
}

.flow-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .8rem;
    color: #0b66c3;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.flow-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background:
        radial-gradient(circle at 88% 16%, rgba(36, 132, 255, .19), transparent 33%),
        linear-gradient(135deg, #f8fbff 0%, #eef5ff 56%, #ffffff 100%);
}

.flow-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -120px;
    bottom: -190px;
    border-radius: 50%;
    border: 60px solid rgba(5, 61, 118, .05);
}

.flow-hero h1 {
    max-width: 850px;
    color: #08213b;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.65rem);
    font-weight: 800;
    line-height: 1.03;
}

.flow-hero h1 span {
    color: #0b66c3;
}

.flow-hero .lead {
    max-width: 760px;
    color: #56687a;
    font-size: 1.15rem;
    line-height: 1.8;
}

.flow-hero-subtitle {
    margin: 1rem 0;
    color: #0b66c3;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 700;
}

.flow-hero-visual {
    min-height: 370px;
    padding: 2rem;
    border: 1px solid rgba(21, 85, 150, .14);
    border-radius: 34px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 28px 70px rgba(19, 65, 110, .13);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-content: center;
}

.flow-hero-visual span {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 1rem;
    border-radius: 18px;
    background: #f3f8ff;
    color: #183c60;
    font-weight: 700;
}

.flow-hero-visual span i {
    width: 2rem;
    color: #0b66c3;
    font-size: 1.25rem;
}

.flow-hero-visual strong {
    grid-column: 1 / -1;
    padding-top: 1rem;
    color: #0b1f33;
    font-family: "Manrope", sans-serif;
    font-size: 1.35rem;
    text-align: center;
}

.solution-card {
    display: flex;
    min-height: 320px;
    height: 100%;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid #e3eaf2;
    border-radius: 26px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(18, 57, 91, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(11, 102, 195, .28);
    box-shadow: 0 26px 58px rgba(18, 57, 91, .13);
    color: inherit;
}

.solution-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 1.5rem;
    border-radius: 18px;
    background: #edf5ff;
    color: #0b66c3;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
}

.solution-eyebrow {
    color: #75879a;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.solution-card h3 {
    margin: .55rem 0 .75rem;
    color: #0b1f33;
    font-family: "Manrope", sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
}

.solution-card p {
    flex: 1;
    color: #657486;
    line-height: 1.7;
}

.solution-link {
    color: #0b66c3;
    font-weight: 800;
}

.solution-theme-green .solution-icon,
.solution-theme-green .solution-focus-icon {
    background: #ebfbf2;
    color: #138a50;
}

.solution-theme-orange .solution-icon,
.solution-theme-orange .solution-focus-icon {
    background: #fff3e6;
    color: #d96b00;
}

.solution-theme-violet .solution-icon,
.solution-theme-violet .solution-focus-icon {
    background: #f4efff;
    color: #7047c7;
}

.solution-theme-teal .solution-icon,
.solution-theme-teal .solution-focus-icon {
    background: #eafafa;
    color: #087d82;
}

.solution-theme-indigo .solution-icon,
.solution-theme-indigo .solution-focus-icon {
    background: #eef0ff;
    color: #4b57bf;
}

.solution-focus-card {
    padding: 2rem;
    border: 1px solid rgba(11, 102, 195, .16);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 25px 65px rgba(18, 57, 91, .12);
}

.solution-focus-icon {
    width: 78px;
    height: 78px;
    margin-bottom: 1.25rem;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: #edf5ff;
    color: #0b66c3;
    font-size: 2rem;
}

.solution-focus-card strong {
    display: block;
    color: #0b1f33;
    font-family: "Manrope", sans-serif;
    font-size: 1.5rem;
}

.solution-focus-card p {
    margin: .75rem 0 0;
    color: #657486;
    line-height: 1.7;
}

.flow-info-card {
    padding: 2.2rem;
    border: 1px solid #e3eaf2;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(18, 57, 91, .06);
}

.flow-check-list {
    display: grid;
    gap: 1rem;
    padding: 0;
    margin: 1.6rem 0 0;
    list-style: none;
}

.flow-check-list li {
    display: flex;
    gap: .9rem;
    color: #4e6175;
    line-height: 1.65;
}

.flow-check-list i {
    margin-top: .25rem;
    color: #158b54;
}

.flow-problem-list i {
    color: #d96b00;
}

.solution-product-card {
    display: flex;
    height: 100%;
    gap: 1.2rem;
    padding: 1.6rem;
    border: 1px solid #e1e9f2;
    border-radius: 22px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.solution-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(17, 59, 99, .1);
    color: inherit;
}

.solution-product-card > span {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 16px;
    background: #edf5ff;
    color: #0b66c3;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.solution-product-card h3 {
    color: #0b1f33;
    font-size: 1.15rem;
    font-weight: 800;
}

.solution-product-card p {
    color: #657486;
    line-height: 1.6;
}

.solution-product-card strong {
    color: #0b66c3;
    font-size: .9rem;
}

.home-solution-card {
    display: flex;
    height: 100%;
    gap: 1rem;
    padding: 1.45rem;
    border: 1px solid #e2eaf3;
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(21, 60, 98, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-solution-card:hover {
    transform: translateY(-4px);
    color: inherit;
    box-shadow: 0 18px 38px rgba(21, 60, 98, .1);
}

.home-solution-card > i {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #edf5ff;
    color: #0b66c3;
    font-size: 1.1rem;
}

.home-solution-card h3 {
    color: #0b1f33;
    font-size: 1.08rem;
    font-weight: 800;
}

.home-solution-card p {
    margin: 0;
    color: #718296;
    font-size: .92rem;
    line-height: 1.55;
}

.public-solutions-dropdown {
    position: static;
}

.public-solutions-menu {
    width: min(720px, calc(100vw - 2rem));
    padding: .65rem;
    border: 1px solid #e1e8f0;
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(14, 48, 80, .14);
}

.public-solutions-menu > a {
    display: flex;
    gap: .8rem;
    align-items: center;
    padding: .85rem 1rem;
    border-radius: 12px;
    color: #263b50;
    font-weight: 700;
    text-decoration: none;
}

.public-solutions-menu > a:hover {
    background: #f2f7fd;
    color: #0b66c3;
}

.public-solutions-menu > a i {
    width: 24px;
    color: #0b66c3;
    text-align: center;
}

.public-solutions-menu-footer {
    margin-top: .45rem;
    padding-top: .65rem;
    border-top: 1px solid #e8eef5;
}

.public-solutions-menu-footer a {
    color: #0b66c3;
    font-weight: 800;
    text-decoration: none;
}

.flow-templates-hero {
    padding-bottom: 74px;
}

.template-hero-stack {
    position: relative;
    min-height: 390px;
}

.template-hero-stack img {
    position: absolute;
    width: 190px;
    max-height: 350px;
    object-fit: cover;
    border: 7px solid #fff;
    border-radius: 24px;
    box-shadow: 0 20px 55px rgba(24, 61, 99, .18);
}

.template-hero-stack img:nth-child(1) {
    left: 0;
    top: 40px;
    transform: rotate(-7deg);
}

.template-hero-stack img:nth-child(2) {
    left: 31%;
    top: 0;
    z-index: 2;
}

.template-hero-stack img:nth-child(3) {
    right: 0;
    top: 52px;
    transform: rotate(7deg);
}

.template-filter-bar {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.template-filter-bar h2 {
    margin: 0;
    color: #0b1f33;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.template-filter-pills {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
}

.template-filter-pills a {
    padding: .58rem .9rem;
    border: 1px solid #dce6f0;
    border-radius: 999px;
    background: #fff;
    color: #536679;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
}

.template-filter-pills a:hover,
.template-filter-pills a.active {
    border-color: #0b66c3;
    background: #0b66c3;
    color: #fff;
}

.template-showcase-card {
    overflow: hidden;
    border: 1px solid #e2e9f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 13px 34px rgba(18, 58, 96, .07);
}

.template-showcase-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #edf3f9;
}

.template-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.template-showcase-image span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: .38rem .62rem;
    border-radius: 999px;
    background: rgba(8, 33, 59, .86);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
}

.template-showcase-body {
    padding: 1.25rem;
}

.template-showcase-body h3 {
    color: #0b1f33;
    font-size: 1.1rem;
    font-weight: 800;
}

.template-showcase-body p {
    min-height: 72px;
    color: #718296;
    font-size: .9rem;
    line-height: 1.55;
}

.flow-final-cta {
    padding: 0 0 88px;
}

.flow-final-cta-inner {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
    border-radius: 30px;
    background: linear-gradient(135deg, #073a6d, #0b66c3);
    color: #fff;
    box-shadow: 0 24px 58px rgba(7, 58, 109, .24);
}

.flow-final-cta-inner .flow-eyebrow {
    color: #bcdcff;
}

.flow-final-cta-inner h2 {
    max-width: 760px;
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

@media (min-width: 1400px) {
    .public-solutions-menu.show {
        display: grid;
        grid-template-columns: 1fr 1fr;
        left: 50%;
        transform: translateX(-50%);
    }

    .public-solutions-menu.show .public-solutions-menu-footer {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .flow-section,
    .flow-hero {
        padding: 64px 0;
    }

    .flow-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .template-hero-stack {
        min-height: 320px;
        max-width: 560px;
        margin: 0 auto;
    }

    .template-hero-stack img {
        width: 160px;
        max-height: 285px;
    }
}

@media (max-width: 575.98px) {
    .flow-hero-visual {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .flow-hero-visual strong {
        grid-column: 1;
    }

    .template-hero-stack {
        min-height: 260px;
    }

    .template-hero-stack img {
        width: 125px;
        max-height: 230px;
    }

    .template-filter-pills {
        width: 100%;
    }

    .template-showcase-body p {
        min-height: 0;
    }
}
