/* Three approved service identities, each a direct service link. */
.header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px 24px}
.service-brands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0;width:100%;max-width:650px;direction:ltr}
.service-brand{display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;text-decoration:none;border-radius:5px;transition:background-color .15s}
.service-brand svg{display:block;width:100%;height:auto;overflow:hidden}
.service-brand:hover{background:#f5f5f0}
.service-brand:focus-visible{outline:3px solid #0000ee;outline-offset:4px}
.header>.service-brands{grid-column:1;grid-row:1}
.header>.header-phone{grid-column:2;grid-row:1;margin:0;max-width:none}
.header>.header-pay{grid-column:3;grid-row:1}
.header>#navigation{grid-column:1/-1;grid-row:2;flex-wrap:wrap;justify-content:center;gap:10px 22px;width:100%;min-width:0}
.header>.reading-controls{grid-column:1/-1;grid-row:3;margin:0}
@media(max-width:1100px) and (min-width:801px){
 .header{padding-inline:24px;gap:12px 18px}
 .service-brands{gap:10px}
 .header .header-phone-number{font-size:23px}
 .header .header-phone>span{font-size:9px}
 .header .header-pay{font-size:16px;padding:9px 12px}
}
@media(max-width:800px){
 .header{grid-template-columns:minmax(0,1fr) 40px;padding:8px 16px;gap:3px 10px;min-height:0}
 .header>.service-brands{grid-column:1/-1;grid-row:1;max-width:560px;justify-self:center;gap:10px}
 .service-brand{min-height:44px}
 .header>.header-phone{grid-column:1;grid-row:2;justify-self:start;text-align:start;min-height:44px;padding:0}
 .header .header-phone>span{font-size:7px;max-width:none;line-height:1.3}
 .header-phone .header-phone-number{font-size:20px;line-height:1.5}
 .header>.menu-toggle{grid-column:2;grid-row:2}
 .header>.header-pay,.header>.reading-controls{display:none}
 .header #navigation.open{grid-column:1/-1;grid-row:3;margin:8px 0 0}
 .header:has(#navigation.open)>.reading-controls{grid-row:4}
 .header:has(#navigation.open)>.header-pay{grid-row:5}
}
@media(max-width:360px){
 .header{padding-inline:12px;grid-template-columns:minmax(0,1fr) 36px}
 .service-brands{gap:6px}
}
@media(prefers-reduced-motion:reduce){.service-brand{transition:none}}

/* Center the phone and menu as one balanced row, with separate touch areas. */
@media(max-width:800px){
 .header{grid-template-columns:minmax(0,1fr) auto 40px minmax(0,1fr);column-gap:12px}
 .header>.header-phone{grid-column:2;justify-self:center;text-align:center}
 .header>.menu-toggle{grid-column:3;margin-left:0}
}
@media(max-width:360px){
 .header{grid-template-columns:minmax(0,1fr) auto 36px minmax(0,1fr);column-gap:8px}
 .header>.menu-toggle{margin-left:0}
}

/* A compact service switcher; the mobile phone lives in the menu. */
.header #navigation>.menu-phone{display:none}
@media(max-width:800px){
 .header{grid-template-columns:minmax(0,1fr) 40px;gap:8px 12px;padding-block:10px}
 .header>.service-brands{grid-column:1;grid-row:1;gap:8px;max-width:none}
 .header>.header-phone{display:none}
 .header>.menu-toggle{grid-column:2;grid-row:1;margin:0}
 .header #navigation.open{grid-row:2}
 .header #navigation.open>.menu-phone{display:flex;grid-column:1/-1;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-height:64px;margin:0 0 8px;padding:6px 0 14px;border-bottom:1px solid var(--line);text-decoration:none}
 .header #navigation.open>.menu-phone>span{font-size:clamp(12px,3.5vw,15px);font-weight:900;letter-spacing:.035em;line-height:1.45;color:var(--deep-red);text-align:center}
 .header #navigation.open>.menu-phone>strong{font-size:28px;line-height:1.5;font-weight:900;color:#0000ee;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;white-space:nowrap}
 .header:has(#navigation.open)>.reading-controls{grid-row:3}
 .header:has(#navigation.open)>.header-pay{grid-row:4}
}
@media(max-width:360px){
 .header{grid-template-columns:minmax(0,1fr) 36px;column-gap:8px}
 .header>.service-brands{gap:5px}
}

.service-brand{position:relative}
.service-mark{position:absolute;right:0;top:0;color:var(--ink);font:700 12px/1 Arial,sans-serif;letter-spacing:0;text-decoration:none}
@media(max-width:800px){.service-mark{font-size:8px;top:4px;right:0}}
