/* =========================================================
   UKMB BRANCH DETAIL PAGES — MODERN INTERACTIVE / OPTION 3
   Shared across all branch slugs; theme follows the site setting.
========================================================= */
@import url('/pages/appointment/design.css?v=20261017-phase10-booking-slots');
@import url('/core/payment-system/assets/payment-component.css?v=20260906-1');
@import url('/assets/css/components/ukmb-cropper.css?v=20261009-final-polish-v5.1');

.branch-main{
    --br-bg:#f7f5ef;--br-surface:#fffefa;--br-surface-2:#f0f4ef;--br-ink:#173d3a;
    --br-muted:#647773;--br-teal:#075b53;--br-teal-2:#0c7468;--br-gold:#d6ad50;
    --br-line:rgba(16,77,68,.13);--br-shadow:0 18px 48px rgba(17,55,49,.09);
    background:var(--br-bg);color:var(--br-ink);overflow:hidden;
    font-family:Inter,Arial,sans-serif;
}
html[data-ukmb-theme="dark"] .branch-main{
    --br-bg:#101f1b;--br-surface:#182c26;--br-surface-2:#20372f;--br-ink:#edf4ef;
    --br-muted:#b2c2b9;--br-teal:#064b45;--br-teal-2:#087264;--br-gold:#e2bd65;
    --br-line:rgba(226,189,101,.2);--br-shadow:0 18px 48px rgba(0,0,0,.23);
}
.branch-container,.branch-consultation-shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.branch-main *{box-sizing:border-box}
.branch-main a{transition:transform .2s ease,box-shadow .2s ease,background .2s ease}

/* HERO */
.branch-hero{
    min-height:440px;position:relative;display:flex;align-items:center;justify-content:center;
    isolation:isolate;overflow:hidden;color:#fff;
    background-image:linear-gradient(110deg,rgba(3,31,30,.88),rgba(4,65,59,.69) 56%,rgba(5,39,37,.74)),var(--branch-cover-image);
    background-position:center 46%;background-size:cover;border-top:2px solid var(--br-gold);
}
.branch-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 78% 22%,rgba(221,185,99,.22),transparent 27%),linear-gradient(0deg,rgba(2,24,23,.28),transparent 55%)}
.branch-hero-overlay{position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0 1px,transparent 1px 13px)}
.branch-hero-content{width:min(1120px,calc(100% - 40px));padding:68px 0 86px;text-align:center}
.branch-hero-layout{display:flex;align-items:stretch;justify-content:center;gap:12px;width:100%;margin:16px auto 0}
.branch-flag-frame{width:150px;height:140px;flex:0 0 150px;display:flex;align-items:center;justify-content:center;padding:10px;background:rgba(255,255,255,.96);border:1px solid rgba(226,189,101,.58);border-radius:3px;box-shadow:0 9px 24px rgba(0,0,0,.22)}
.branch-country-flag{display:block;width:100%;height:100%;max-width:130px;max-height:120px;object-fit:contain}
.branch-hero-eyebrow,.branch-kicker,.branch-card-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.63rem;font-weight:850;letter-spacing:.15em}
.branch-hero-eyebrow{padding:9px 15px;border:1px solid rgba(234,204,132,.42);border-radius:999px;color:#f5d98e;background:rgba(5,40,37,.45);backdrop-filter:blur(8px)}
/* Compact title panel: match the flag height and let the title carry the emphasis. */
.branch-main .branch-hero-copy-strip{
    display:flex;flex:0 1 auto;min-width:0;width:max-content;max-width:calc(100% - 162px);height:140px;margin:0;padding:12px 26px;
    flex-direction:column;align-items:center;justify-content:center;gap:5px;
    border:1px solid rgba(240,213,140,.34);border-radius:14px;
    background:linear-gradient(135deg,rgba(2,65,54,.48),rgba(4,83,68,.40));
    box-shadow:0 8px 20px rgba(0,0,0,.13);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
}
.branch-main .branch-hero-title{margin:0;color:#e5c36f!important;font:700 clamp(1.8rem,4.1vw,3.55rem)/1.04 'Playfair Display',Georgia,serif;letter-spacing:-.035em;white-space:nowrap;-webkit-text-stroke:.45px rgba(18,15,8,.72);text-shadow:0 2px 2px rgba(0,0,0,.95),0 4px 7px rgba(0,0,0,.78)}
.branch-main .branch-hero-title span{color:#e5c36f!important}
.branch-main .branch-hero-tagline{margin:0;color:#fff!important;font:600 .88rem/1.35 Inter,Arial,sans-serif;text-shadow:0 1px 5px rgba(0,0,0,.42)}
.branch-main .branch-hero-description{max-width:760px;margin:10px auto 0;padding:0 10px;color:rgba(255,255,255,.94)!important;font-size:.9rem;line-height:1.6;text-shadow:0 1px 7px rgba(0,0,0,.48)}
.branch-hero-actions,.branch-cta-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:25px}
.branch-btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 21px;border-radius:999px;text-decoration:none!important;font-size:.75rem;font-weight:850;letter-spacing:.01em}
.branch-btn:hover{transform:translateY(-2px)}
.branch-btn-gold{background:linear-gradient(135deg,#f0d58c,#c99a37);color:#193b35!important;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.branch-btn-glass{border:1px solid rgba(255,255,255,.46);background:rgba(255,255,255,.1);color:#fff!important;backdrop-filter:blur(8px)}
.branch-hero-bottom{position:absolute;left:0;right:0;bottom:25px;display:flex;justify-content:center;align-items:center;gap:22px;flex-wrap:wrap;color:rgba(255,255,255,.8);font-size:.7rem;font-weight:700}
.branch-status-pill,.branch-hero-trust{display:inline-flex;align-items:center;gap:8px}
.branch-status-pill{padding:8px 13px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(3,34,31,.55);backdrop-filter:blur(7px)}
.branch-status-pill i{font-size:.48rem}.branch-status-pill.is-active i{color:#75d7a3}.branch-status-pill.is-upcoming i{color:#f0c86a}.branch-hero-trust i{color:#f0cf7d}

/* QUICK FACTS + BRANCH SELECTOR */
.branch-overview-strip{position:relative;z-index:2;margin-top:-1px;padding:20px 0;background:var(--br-surface);border-bottom:1px solid var(--br-line);box-shadow:0 8px 25px rgba(0,0,0,.035)}
.branch-overview-inner{display:grid;grid-template-columns:1fr 1.35fr .8fr 1.2fr;gap:18px;align-items:center}
.branch-overview-item{display:flex;align-items:center;gap:11px;min-width:0;padding:6px 12px;border-right:1px solid var(--br-line)}
.branch-overview-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:13px;background:rgba(9,112,99,.1);color:var(--br-teal-2)}
.branch-overview-item small,.branch-detail-row small{display:block;margin-bottom:5px;color:var(--br-muted);font-size:.55rem;font-weight:850;letter-spacing:.11em}
.branch-overview-item strong{display:block;color:var(--br-ink);font-size:.72rem;line-height:1.45}
.branch-overview-switch{min-width:0}
.branch-overview-switch label{display:block;margin-bottom:7px;color:var(--br-muted);font-size:.58rem;font-weight:850;letter-spacing:.08em}
.branch-overview-switch label i{color:var(--br-gold);margin-right:5px}
.branch-overview-switch select{width:100%;height:42px;padding:0 12px;border:1px solid var(--br-line);border-radius:11px;background:var(--br-surface-2);color:var(--br-ink);font:600 .7rem Inter,Arial,sans-serif;outline:none}
.branch-overview-switch select:focus{border-color:var(--br-gold);box-shadow:0 0 0 3px rgba(214,173,80,.16)}

/* PROFILE */
.branch-profile-section,.branch-services-section,.branch-location-section{padding:76px 0;background:var(--br-bg)}
.branch-section-intro{max-width:760px;margin:0 auto 31px;text-align:center}
.branch-kicker{color:#a77d2d}
html[data-ukmb-theme="dark"] .branch-kicker{color:#e2bd65}
.branch-section-intro h2{margin:11px 0 8px;color:var(--br-ink);font:700 clamp(1.85rem,3.7vw,2.75rem)/1.15 'Playfair Display',Georgia,serif}
.branch-section-intro h2 em{color:var(--br-teal-2);font-style:normal}
html[data-ukmb-theme="dark"] .branch-section-intro h2 em{color:#e2bd65}
.branch-section-intro p{margin:0;color:var(--br-muted);font-size:.8rem;line-height:1.65}
.branch-profile-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:20px;align-items:stretch}
.branch-manager-card,.branch-contact-panel{overflow:hidden;border:1px solid var(--br-line);border-radius:22px;background:var(--br-surface);box-shadow:var(--br-shadow)}
.branch-manager-card{display:grid;grid-template-columns:minmax(190px,.78fr) minmax(0,1.22fr);min-height:300px}
.branch-manager-photo{position:relative;min-height:300px;background:var(--br-surface-2);overflow:hidden}
.branch-manager-photo img{width:100%;height:100%;position:absolute;inset:0;display:block;object-fit:cover;object-position:center top}
.branch-manager-photo-badge{position:absolute;left:15px;bottom:15px;padding:8px 11px;border-radius:999px;background:rgba(4,65,57,.9);color:#fff;font-size:.58rem;font-weight:800}
.branch-manager-photo-badge i{color:#e7c36e;margin-right:4px}
.branch-manager-content{display:flex;flex-direction:column;justify-content:center;padding:27px}
.branch-card-eyebrow{color:#a77d2d;font-size:.55rem}
html[data-ukmb-theme="dark"] .branch-card-eyebrow{color:#e2bd65}
.branch-manager-content h3{margin:12px 0 3px;color:var(--br-ink);font:700 1.55rem/1.2 'Playfair Display',Georgia,serif}
.branch-manager-role{margin:0;color:var(--br-teal-2);font-size:.7rem;font-weight:800}
html[data-ukmb-theme="dark"] .branch-manager-role{color:#e2bd65}
.branch-manager-description{margin:15px 0 20px;color:var(--br-muted);font-size:.72rem;line-height:1.7}
.branch-manager-actions{display:flex;gap:9px;flex-wrap:wrap}
.branch-icon-action{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid var(--br-line);border-radius:999px;color:var(--br-teal-2)!important;background:var(--br-surface-2);text-decoration:none;font-size:.65rem;font-weight:800}
html[data-ukmb-theme="dark"] .branch-icon-action{color:#f0d58c!important}
.branch-icon-action:hover{transform:translateY(-2px);box-shadow:0 7px 16px rgba(0,0,0,.1)}
.branch-contact-panel{padding:25px 28px}
.branch-contact-panel-head{padding-bottom:15px;margin-bottom:8px;border-bottom:1px solid var(--br-line)}
.branch-contact-panel-head h3{margin:7px 0 0;color:var(--br-ink);font:700 1.35rem 'Playfair Display',Georgia,serif}
.branch-detail-row{display:flex;align-items:flex-start;gap:12px;padding:13px 0;border-bottom:1px solid var(--br-line)}
.branch-detail-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;background:rgba(9,112,99,.1);color:var(--br-teal-2)}
.branch-detail-row strong{display:block;color:var(--br-ink);font-size:.7rem;line-height:1.55;overflow-wrap:anywhere}
.branch-panel-link{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding:12px 14px;border-radius:11px;background:var(--br-teal);color:#fff!important;text-decoration:none;font-size:.68rem;font-weight:850}
.branch-panel-link:hover{background:var(--br-teal-2);transform:translateY(-1px)}

/* CONSULTATION COMPONENT: preserve the shared booking and payment workflow */
.branch-consultation{padding:55px 0 65px;background:var(--br-surface-2);border-block:1px solid var(--br-line)}
.branch-consultation-shell{width:min(1180px,calc(100% - 48px));margin:auto}
.branch-consultation .appointment-page{background:transparent}
.branch-consultation .appointment-form-section{padding:8px 0 0}
.branch-consultation .section-header{margin-bottom:25px}
.branch-consultation .section-header h2{font-size:2.2rem;color:var(--br-ink)}
.branch-consultation .appointment-layout{grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:20px}
.branch-consultation .form-card,.branch-consultation .consultation-benefits-card{background:var(--br-surface);border-color:var(--br-line);box-shadow:var(--br-shadow)}
.branch-consultation .form-card-heading h3{color:var(--br-ink)}
.branch-consultation .consultation-benefits-card{top:18px}
.branch-consultation .selected-payment-panel,.branch-consultation .payment-proof-inline{scroll-margin-top:22px}
html[data-ukmb-theme="dark"] .branch-consultation .section-header h2{color:#edf4ef}
html[data-ukmb-theme="dark"] .branch-consultation .form-card,html[data-ukmb-theme="dark"] .branch-consultation .consultation-benefits-card{background:#182c26;border-color:rgba(226,189,101,.2)}
html[data-ukmb-theme="dark"] .branch-consultation .form-card-heading h3,html[data-ukmb-theme="dark"] .branch-consultation .benefits-heading h3{color:#edf4ef}

/* SERVICES */
.branch-services-section{background:var(--br-surface);border-block:1px solid var(--br-line)}
.branch-services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.branch-service-card{position:relative;min-height:220px;overflow:hidden;padding:25px 21px;border:1px solid var(--br-line);border-radius:18px;background:var(--br-surface-2);box-shadow:0 8px 24px rgba(0,0,0,.035);transition:transform .25s ease,box-shadow .25s ease}
.branch-service-card:hover{transform:translateY(-5px);box-shadow:var(--br-shadow)}
.branch-service-icon{width:49px;height:49px;display:grid;place-items:center;margin-bottom:17px;border-radius:15px;background:linear-gradient(145deg,var(--br-teal),var(--br-teal-2));color:#f1d58f;font-size:1.05rem}
.branch-service-card h3{margin:0 0 9px;color:var(--br-ink);font:700 1.05rem 'Playfair Display',Georgia,serif}
.branch-service-card p{margin:0;color:var(--br-muted);font-size:.68rem;line-height:1.7}
.branch-service-number{position:absolute;right:14px;bottom:6px;color:var(--br-line);font:700 2.8rem 'Playfair Display',Georgia,serif}

/* LOCATION / REVIEWS */
.branch-location-section{background:var(--br-bg)}
.branch-location-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);min-height:365px;overflow:hidden;border:1px solid var(--br-line);border-radius:22px;background:var(--br-surface);box-shadow:var(--br-shadow)}
.branch-location-map{min-height:365px;background:var(--br-surface-2)}
.branch-map{display:block;width:100%;height:100%;min-height:365px}
.branch-map-placeholder{height:100%;min-height:365px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:25px;color:var(--br-muted);text-align:center}
.branch-map-placeholder i{font-size:2.3rem;color:var(--br-gold)}
.branch-map-placeholder strong{color:var(--br-ink);font:700 1.2rem 'Playfair Display',Georgia,serif}
.branch-map-placeholder span{font-size:.7rem}
.branch-location-content{display:flex;flex-direction:column;justify-content:center;padding:34px}
.branch-location-content h3{margin:12px 0 7px;color:var(--br-ink);font:700 1.55rem 'Playfair Display',Georgia,serif}
.branch-location-content>p{margin:0 0 19px;color:var(--br-muted);font-size:.72rem;line-height:1.7}
.branch-review-widget{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 21px;padding:13px 14px;border:1px solid var(--br-line);border-radius:13px;background:var(--br-surface-2)}
.branch-review-score{display:flex;align-items:center;gap:7px}
.branch-review-score strong{color:var(--br-ink);font-size:1.15rem}
.branch-rating-stars{color:#d6a938;font-size:.68rem;letter-spacing:1px}
.branch-review-count{color:var(--br-muted);font-size:.63rem;font-weight:700}
.branch-review-live{width:100%;color:var(--br-muted);font-size:.55rem}
.branch-review-live i{margin-right:5px;font-size:.43rem}
.branch-review-live.is-live{color:#2d9a67}
.branch-location-content .branch-btn{align-self:flex-start}

/* CTA */
.branch-cta-section{padding:10px 0 78px;background:var(--br-bg)}
.branch-cta-card{position:relative;overflow:hidden;width:min(1000px,100%);margin:auto;padding:55px 28px;text-align:center;border:1px solid rgba(230,196,115,.26);border-radius:25px;background:radial-gradient(circle at 85% 12%,rgba(238,205,129,.18),transparent 28%),linear-gradient(130deg,#064a43,#0d6a5d 58%,#084a43);box-shadow:0 22px 55px rgba(0,0,0,.16)}
.branch-cta-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(135deg,rgba(255,255,255,.018) 0 1px,transparent 1px 14px)}
.branch-cta-card>*{position:relative}
.branch-cta-card .branch-kicker{color:#f1d58f}
.branch-cta-card h2{margin:12px 0 8px;color:#fff;font:700 clamp(1.9rem,3.8vw,2.8rem)/1.15 'Playfair Display',Georgia,serif}
.branch-cta-card p{max-width:690px;margin:0 auto;color:rgba(255,255,255,.78);font-size:.78rem;line-height:1.7}
.branch-cta-card .branch-btn-glass{background:rgba(255,255,255,.09)}

/* REVEAL + ACCESSIBILITY */
.branch-reveal{opacity:1;transform:none;transition:opacity .6s ease,transform .6s ease}
.branch-reveal.is-pending{opacity:0;transform:translateY(18px)}
.branch-reveal.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.branch-reveal,.branch-main *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.branch-reveal{opacity:1;transform:none}}

/* RESPONSIVE */
@media(max-width:1050px){
    .branch-overview-inner{grid-template-columns:1fr 1.2fr 1fr}
    .branch-overview-switch{grid-column:1/-1;max-width:420px;margin:4px auto 0;width:100%}
    .branch-overview-item:nth-child(3){border-right:0}
    .branch-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .branch-consultation .appointment-layout{grid-template-columns:1fr}
    .branch-consultation .consultation-benefits-card{position:static}
}
@media(max-width:760px){
    .branch-hero-layout{flex-direction:column;align-items:center;gap:10px}
    .branch-flag-frame{width:118px;height:105px;flex:0 0 auto;padding:8px}
    .branch-main .branch-hero-copy-strip{width:100%;max-width:100%;height:auto;min-height:94px;padding:13px 10px;border-radius:12px}
    .branch-main .branch-hero-title{font-size:clamp(1.55rem,6.5vw,2.7rem)}
    .branch-main .branch-hero-tagline{font-size:.76rem}
    .branch-main .branch-hero-description{margin-top:9px;font-size:.78rem}
    .branch-container,.branch-consultation-shell{width:calc(100% - 28px)}
    .branch-hero{min-height:410px;background-position:center}
    .branch-hero-content{padding:58px 0 94px}
    .branch-main .branch-hero-copy-strip{padding:13px 8px;border-radius:12px}
    .branch-main .branch-hero-title{font-size:clamp(1.45rem,6.2vw,2.35rem)}
    .branch-main .branch-hero-description{font-size:.76rem}
    .branch-hero-bottom{bottom:17px;gap:10px;font-size:.62rem}
    .branch-overview-inner{grid-template-columns:1fr 1fr;gap:8px}
    .branch-overview-item{padding:8px 5px;border-right:0}
    .branch-overview-item strong{font-size:.65rem}
    .branch-overview-switch{grid-column:1/-1;max-width:none;padding:5px}
    .branch-profile-section,.branch-services-section,.branch-location-section{padding:55px 0}
    .branch-profile-layout,.branch-location-card{grid-template-columns:1fr}
    .branch-manager-card{grid-template-columns:140px minmax(0,1fr);min-height:235px}
    .branch-manager-photo{min-height:235px}
    .branch-manager-content{padding:19px}
    .branch-manager-content h3{font-size:1.25rem}
    .branch-manager-description{font-size:.66rem;margin:10px 0 14px}
    .branch-contact-panel{padding:21px}
    .branch-consultation{padding:42px 0 48px}
    .branch-services-grid{gap:11px}
    .branch-service-card{min-height:205px;padding:20px 16px}
    .branch-service-card h3{font-size:.96rem}
    .branch-location-map,.branch-map{min-height:290px}
    .branch-location-content{padding:25px 21px}
    .branch-cta-section{padding:0 0 55px}
    .branch-cta-card{padding:42px 20px}
}
@media(max-width:440px){
    .branch-flag-frame{width:108px;height:96px}
    .branch-main .branch-hero-copy-strip{padding:12px 6px;min-height:84px}
    .branch-main .branch-hero-title{font-size:clamp(1.32rem,6vw,1.9rem)}
    .branch-hero-actions{flex-direction:column;align-items:stretch;width:min(270px,100%);margin:22px auto 0}
    .branch-hero-actions .branch-btn{width:100%}
    .branch-overview-inner{grid-template-columns:1fr}
    .branch-overview-item{border-bottom:1px solid var(--br-line);padding:9px 4px}
    .branch-overview-switch{grid-column:auto}
    .branch-manager-card{grid-template-columns:1fr}
    .branch-manager-photo{min-height:260px}
    .branch-manager-photo img{object-position:center 28%}
    .branch-manager-content{padding:22px}
    .branch-services-grid{grid-template-columns:1fr}
    .branch-service-card{min-height:0}
    .branch-section-intro{margin-bottom:23px}
    .branch-location-map,.branch-map{min-height:250px}
}

/* Content remains visible if JavaScript is unavailable. */

/* LIGHT THEME CONTRAST FIX — preserve the premium dark-green panels while keeping
   branch hero and final CTA copy as readable as the approved dark-theme version. */
html[data-ukmb-theme="light"] .branch-main .branch-hero-copy-strip .branch-hero-title,
html[data-ukmb-theme="light"] .branch-main .branch-hero-copy-strip .branch-hero-tagline,
html[data-ukmb-theme="light"] .branch-main .branch-hero-copy-strip .branch-hero-description {
    color: #fff !important;
}
html[data-ukmb-theme="light"] .branch-main .branch-hero-copy-strip .branch-hero-title span {
    color: #fff !important;
}
html[data-ukmb-theme="light"] .branch-main .branch-cta-card .branch-kicker {
    color: #f1d58f !important;
}
html[data-ukmb-theme="light"] .branch-main .branch-cta-card h2 {
    color: #f4d17d !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .22);
}
html[data-ukmb-theme="light"] .branch-main .branch-cta-card p {
    color: rgba(255, 255, 255, .94) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .18);
}


/* Light-mode branch hero and CTA styling only. Global site chrome is intentionally untouched. */
/* Hero copy sits on a dark glass strip in both themes. */
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-hero-copy-strip {
    background: linear-gradient(135deg, rgba(2,54,45,.78), rgba(4,73,59,.68)) !important;
    border-color: rgba(3,65,51,.88) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.24), inset 0 0 0 1px rgba(2,53,43,.34) !important;
}
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-hero-copy-strip .branch-hero-title,
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-hero-copy-strip .branch-hero-tagline,
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-hero-copy-strip .branch-hero-description {
    color: #fff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.42) !important;
}
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-hero-copy-strip .branch-hero-title span {
    color: #fff !important;
}

/* Final CTA keeps its dark emerald panel; all copy remains high-contrast. */
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-cta-card {
    background: radial-gradient(circle at 85% 12%, rgba(238,205,129,.18), transparent 28%), linear-gradient(130deg,#064a43,#0d6a5d 58%,#084a43) !important;
    border-color: rgba(230,196,115,.32) !important;
}
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-cta-card .branch-kicker,
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-cta-card h2 {
    color: #f4d17d !important;
    opacity: 1 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.28) !important;
}
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-cta-card p {
    color: rgba(255,255,255,.96) !important;
    opacity: 1 !important;
    text-shadow: 0 1px 7px rgba(0,0,0,.24) !important;
}
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-cta-card .branch-btn-glass {
    color: #fff !important;
    border-color: rgba(255,255,255,.55) !important;
    background: rgba(255,255,255,.12) !important;
}

/* Light-mode CTA refinement only; no header or navigation selectors here. */
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-cta-section .branch-cta-card {
    background: radial-gradient(circle at 85% 12%, rgba(238,205,129,.18), transparent 28%), linear-gradient(130deg,#064a43,#0d6a5d 58%,#084a43) !important;
    border-color: rgba(230,196,115,.38) !important;
}
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-cta-section .branch-cta-card .branch-kicker,
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-cta-section .branch-cta-card h2 {
    color: #f4d17d !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #f4d17d !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.32) !important;
}
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-cta-section .branch-cta-card p {
    color: #fff !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 1px 7px rgba(0,0,0,.28) !important;
}
html[data-ukmb-theme="light"] body:has(.branch-main) .branch-main .branch-cta-section .branch-cta-card .branch-btn-glass {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border-color: rgba(255,255,255,.62) !important;
    background: rgba(255,255,255,.12) !important;
}


/* FINAL BRANCH HERO COPY CONTRAST — both themes */
.branch-main .branch-hero-copy-strip .branch-hero-title,
.branch-main .branch-hero-copy-strip .branch-hero-title span,
.branch-main .branch-hero-copy-strip .branch-hero-tagline,
.branch-main .branch-hero-copy-strip .branch-hero-description {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
}
.branch-main .branch-hero-copy-strip .branch-hero-title,
.branch-main .branch-hero-copy-strip .branch-hero-tagline,
.branch-main .branch-hero-copy-strip .branch-hero-description {
    text-shadow: 0 2px 10px rgba(0,0,0,.32) !important;
}
