/* Branch selector and contact card, using the site's corporate type and colours. */
.branch-contact-dialog{width:1000px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:0;border:0;border-top:4px solid var(--red);border-radius:2px;background:#fff;color:var(--ink);overflow:hidden}
.branch-contact-dialog[open]{display:flex;flex-direction:column}
.branch-contact-dialog[data-mode=details]{width:820px}
.branch-contact-dialog::backdrop{background:rgb(0 0 0 / 65%);backdrop-filter:blur(3px)}
body:has(.branch-contact-dialog[open]){overflow:hidden}
.branch-contact-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 27px;border-bottom:1px solid #e6e6e6;flex-shrink:0}
.branch-contact-top img{width:200px;height:auto}
.branch-contact-top .icon-button{color:var(--blue);flex-shrink:0}
.branch-contact-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.branch-contact-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:27px;padding:27px;background:var(--pale)}
.branch-contact-dialog .branch-contact-kicker{font:700 12px/18px Roboto,"Roboto Fallback",Arial,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:var(--red);margin:0 0 9px}
.branch-contact-dialog h2{font-size:35.1562px;line-height:1.3;margin:0;overflow-wrap:break-word}
.branch-contact-dialog h2:focus{outline:none}
.branch-contact-intro h2+p{font-size:16px;line-height:28px;margin:12px 0 0;max-width:540px}
.branch-contact-office{border-left:3px solid var(--red);background:white;padding:16px 18px}
.branch-contact-office>span{display:block;font-size:14px;line-height:22px;color:var(--ink);margin-bottom:6px}
.branch-contact-office a{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:700;line-height:27px;white-space:nowrap;color:var(--red)}
.branch-contact-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:27px}
.branch-contact-choice{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:12px;text-align:left;border:1px solid #ccc;border-radius:2px;padding:15px 12px;min-height:83px;color:var(--blue);background:#fff;transition:border-color .16s,box-shadow .16s}
.branch-contact-choice>.icon:first-child{width:36px;height:36px;font-size:20px;border-radius:50%;background:var(--pale);color:var(--blue);transition:background-color .16s,color .16s}
.branch-contact-choice:is(:hover,:focus-visible){border-color:var(--red);box-shadow:0 6px 18px rgb(48 85 125 / 10%)}
.branch-contact-choice:is(:hover,:focus-visible)>.icon:first-child{background:var(--red);color:#fff}
.branch-contact-choice:is(:hover,:focus-visible)>.icon:last-child{color:var(--red)}
.branch-contact-choice>span:not(.icon){min-width:0}
.branch-contact-choice strong{display:block;font:500 18px/25px Outfit,"Outfit Fallback",Roboto,"Roboto Fallback",Arial,sans-serif}
html[lang=ru] .branch-contact-choice strong{font-family:Roboto,"Roboto Fallback",Arial,sans-serif}
.branch-contact-choice small{display:block;font-size:14px;line-height:22px;font-weight:300;color:#333;margin-top:3px;overflow-wrap:anywhere}
.branch-contact-choice>.icon:last-child{font-size:18px;width:18px}
@media(prefers-reduced-motion:reduce){.branch-contact-choice,.branch-contact-choice>.icon:first-child{transition:none}}
.branch-contact-detail-heading{padding:27px;background:var(--pale)}
.branch-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:27px 27px 0}
.branch-contact-item{display:flex;gap:14px;border:1px solid #ccc;padding:20px;min-width:0}
.branch-contact-item>.icon{font-size:27px;color:var(--blue);width:27px;height:27px;margin-top:2px}
.branch-contact-item>div{min-width:0}
.branch-contact-dialog h3{font-size:18px;line-height:27px;margin:0 0 9px;text-transform:none}
.branch-contact-item p,.branch-contact-links a{font-size:16px;line-height:28px;margin:0;overflow-wrap:anywhere}
.branch-contact-links a{display:block;color:var(--blue);width:fit-content}
.branch-contact-links a:hover,.branch-contact-office a:hover{text-decoration:underline;text-underline-offset:3px;color:var(--red)}
.branch-contact-emergency{border-top:3px solid var(--red);padding-top:18px}
.branch-contact-emergency>.icon,.branch-contact-emergency h3,.branch-contact-emergency a{color:var(--red)}
.branch-contact-hours{margin:18px 27px 27px;padding:20px;background:var(--pale)}
.branch-contact-hours h3{display:flex;align-items:center;gap:12px}
.branch-contact-hours dl{margin:12px 0 0}
.branch-contact-hours dl>div{display:flex;justify-content:space-between;gap:18px;padding:7px 0;font-size:16px;line-height:25px;border-bottom:1px solid #d1dce3}
.branch-contact-hours dl>div:last-child{border-bottom:0}
.branch-contact-hours dd{margin:0;text-align:right;font-weight:500}
.branch-contact-hours p{font-size:14px;line-height:22px;margin:14px 0 0;color:#666}
.branch-contact-actions{display:flex;justify-content:space-between;gap:18px;padding:0 27px 27px}
.branch-contact-actions .button{min-width:0;gap:12px;white-space:normal}
.branch-contact-back-icon{transform:rotate(180deg)}
.mobile-help-contact{display:flex;align-items:center;gap:12px;padding:15px 0;width:100%;text-align:left;color:var(--blue);border-bottom:1px solid var(--line)}
@media(max-width:800px){.branch-contact-intro{grid-template-columns:1fr}.branch-contact-office{width:fit-content}.branch-contact-list{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-contact-actions{flex-direction:column}}
@media(max-width:600px){.branch-contact-dialog{max-width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.branch-contact-top{padding:12px 18px;gap:12px}.branch-contact-top img{width:180px}.branch-contact-intro,.branch-contact-detail-heading{padding:22px 18px}.branch-contact-dialog h2{font-size:28.125px;line-height:1.3}.branch-contact-intro{gap:18px}.branch-contact-list{grid-template-columns:1fr;padding:18px;gap:10px}.branch-contact-choice{min-height:76px}.branch-contact-grid{grid-template-columns:1fr;padding:18px 18px 0;gap:12px}.branch-contact-item{padding:16px}.branch-contact-emergency{padding-top:14px}.branch-contact-hours{margin:12px 18px 18px;padding:16px}.branch-contact-hours dl>div{gap:12px;font-size:15px}.branch-contact-actions{padding:0 18px 22px;gap:12px}}
