:root{
    --branch-blue:#163f82;
    --branch-dark:#092f63;
    --branch-muted:#627287;
    --branch-soft:#f4f9fd;
    --branch-line:#dfe9f3;
    --branch-shadow:0 18px 48px rgba(16,32,51,.1);
}

.branch-hero{
    padding:54px 0 62px;
    background:linear-gradient(135deg,#f5fbff,#fff 54%,#e7f7ff);
}

.branch-kicker{
    display:inline-flex;
    padding:6px 12px;
    border:1px solid rgba(22,63,130,.14);
    border-radius:999px;
    background:#fff;
    color:var(--branch-blue);
    font-size:13px;
    font-weight:950;
    margin:0 0 14px;
}

.branch-hero h1,
.branch-toolbar h2,
.branch-cta h2{
    max-width:850px;
    margin:0;
    color:var(--branch-blue);
    font-size:clamp(2.2rem,4.6vw,4.8rem);
    line-height:1;
    font-weight:950;
    letter-spacing:0;
}

.branch-toolbar h2,
.branch-cta h2{
    font-size:clamp(2rem,3vw,3rem);
}

.branch-hero p,
.branch-toolbar p,
.branch-cta p{
    max-width:760px;
    margin:18px 0 0;
    color:var(--branch-muted);
    line-height:1.75;
    font-size:17px;
}

.branch-primary,
.branch-secondary{
    min-height:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:11px 20px;
    font-weight:950;
    text-decoration:none;
}

.branch-primary{
    margin-top:26px;
    background:var(--branch-blue);
    color:#fff;
    box-shadow:0 14px 30px rgba(22,63,130,.2);
}

.branch-primary:hover{
    color:#fff;
    background:var(--branch-dark);
}

.branch-secondary{
    background:#fff;
    color:var(--branch-blue);
    border:1px solid rgba(22,63,130,.18);
}

.branch-section{
    padding:76px 0;
}

.branch-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    margin-bottom:28px;
}

.branch-toolbar a{
    color:var(--branch-blue);
    font-weight:950;
    white-space:nowrap;
}

.branch-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.branch-card{
    overflow:hidden;
    border:1px solid rgba(22,63,130,.12);
    border-radius:24px;
    background:#fff;
    box-shadow:var(--branch-shadow);
}

.branch-card > img{
    width:100%;
    aspect-ratio:16 / 10;
    object-fit:cover;
    background:#eaf4fb;
}

.branch-body{
    padding:22px;
}

.branch-title-row h3{
    margin:0;
    color:var(--branch-blue);
    font-size:23px;
    font-weight:950;
}

.branch-title-row span{
    display:inline-flex;
    margin-top:6px;
    color:var(--branch-muted);
    font-weight:800;
}

.branch-address{
    margin:14px 0 0;
    color:#334155;
    line-height:1.65;
}

.branch-hours{
    margin-top:18px;
    padding:16px;
    border-radius:16px;
    background:var(--branch-soft);
}

.branch-hours strong{
    display:block;
    color:var(--branch-blue);
    margin-bottom:8px;
}

.branch-hours div{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:7px 0;
    border-bottom:1px solid rgba(22,63,130,.08);
}

.branch-hours div:last-child{
    border-bottom:0;
}

.branch-hours span{
    color:var(--branch-muted);
}

.branch-hours em{
    color:#102033;
    font-style:normal;
    font-weight:900;
}

.branch-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.branch-actions .branch-primary{
    margin-top:0;
}

.branch-empty{
    grid-column:1 / -1;
    padding:28px;
    text-align:center;
    border:1px dashed rgba(22,63,130,.24);
    border-radius:20px;
    background:#fff;
    color:var(--branch-muted);
}

.branch-cta{
    padding:72px 0;
    text-align:center;
    background:var(--branch-soft);
}

.branch-cta h2,
.branch-cta p{
    margin-left:auto;
    margin-right:auto;
}

@media(max-width:991.98px){
    .branch-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .branch-toolbar{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:575.98px){
    .branch-hero,
    .branch-section,
    .branch-cta{
        padding:44px 0;
    }

    .branch-grid{
        grid-template-columns:1fr;
    }

    .branch-actions a,
    .branch-primary{
        width:100%;
    }
}
