@font-face {
    font-family: Manrope;
    src: url('fonts/manrope-variable.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
:root {
    --red: #e2001a;
    --ink: #202a30;
    --muted: #626c72;
    --line: #e1e5e5;
    --soft: #f5f6f5;
    --green: #23734b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--ink); font: 14px/1.65 Manrope, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid #256da8; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.2; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.icon { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 2000; background: var(--ink); color: #fff; padding: 12px 20px; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 30px; min-height: 88px; }
.brand { display: block; width: 145px; flex-shrink: 0; }
.brand img { display: block; width: 100%; height: auto; }
.brand-caption { border-left: 1px solid var(--line); padding-left: 28px; color: var(--muted); font-size: 12px; }
.header-contact { display: inline-flex; align-items: center; gap: 14px; margin-left: auto; font-size: 12px; font-weight: 700; padding: 12px 0; }
.header-contact:hover { color: var(--red); }
.header-contact .icon { width: 17px; height: 17px; }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 43px 0 30px; }
.eyebrow { color: var(--red); letter-spacing: 1.6px; font-size: 10px; font-weight: 800; margin-bottom: 12px; }
h1 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 800; letter-spacing: -1.8px; }
h1 span { color: var(--red); }
.intro > p { color: var(--muted); font-size: 12px; line-height: 1.9; padding-bottom: 3px; }
.branch-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.branch { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.branch.is-selected { border-color: #52646f; box-shadow: 0 0 0 1px #52646f; }
.branch-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.branch-number { display: grid; place-items: center; height: 29px; width: 32px; background: var(--soft); border-radius: 5px; font-size: 11px; font-weight: 800; }
.branch-region { font-size: 10px; color: var(--muted); }
.branch h2 { font-size: clamp(18px, 1.75vw, 23px); font-weight: 800; letter-spacing: -.65px; margin-bottom: 12px; }
.branch-address { min-height: 57px; font-size: 12px; }
.branch-note { font-size: 10px; color: var(--muted); margin-top: 4px; }
.branch-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.photo-thumbnail { position: relative; display: block; height: 92px; overflow: hidden; border-radius: 6px; background: var(--soft); }
.photo-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.photo-thumbnail:hover img { transform: scale(1.04); }
.photo-thumbnail:focus-visible { outline-offset: 3px; }
.photo-label { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 9px 7px; background: linear-gradient(transparent, #10191ed9); color: #fff; font-size: 10px; font-weight: 700; }
.photo-label .icon { width: 15px; height: 15px; }
.lightbox-open { overflow: hidden; scrollbar-gutter: stable; }
.photo-lightbox { padding: 0; border: 0; border-radius: 12px; color: #fff; background: #182126; width: min(1080px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 28px); overflow: auto; overscroll-behavior: contain; }
.photo-lightbox::backdrop { background: #0b1319e6; }
.lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 16px 12px 24px; }
.lightbox-header h2 { font-size: 16px; font-weight: 700; }
.lightbox-button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff30; border-radius: 6px; background: transparent; color: #fff; font-size: 23px; }
.lightbox-button:hover { background: #ffffff15; }
.lightbox-button:disabled { opacity: .35; cursor: default; }
.lightbox-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; height: min(65dvh, 660px); background: #10181c; }
.lightbox-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lightbox-message { padding: 20px; text-align: center; color: #dde3e5; font-size: 13px; }
.lightbox-stage > a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 12px 20px; }
#lightbox-counter { min-width: 38px; text-align: center; font-size: 12px; color: #dde3e5; }
.hours { border-top: 1px solid var(--line); padding-top: 17px; margin: 16px 0 20px; }
.opening-status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; min-height: 25px; }
.status-label { font-size: 11px; font-weight: 800; background: #f0f2f2; color: var(--muted); border-radius: 4px; padding: 3px 8px; }
.opening-status[data-state="open"] .status-label { background: #eaf5ee; color: var(--green); }
.opening-status[data-state="closed"] .status-label { background: #f7f0e3; color: #795510; }
.status-detail { color: var(--muted); font-size: 11px; }
.hours-schedule { color: var(--muted); font-size: 10px; margin-top: 9px; }
.branch-actions { display: grid; grid-template-columns: 1.1fr 1fr; gap: 9px; margin-top: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px; border: 1px solid var(--red); border-radius: 6px; color: #fff; background: var(--red); font-size: 11px; font-weight: 800; white-space: nowrap; transition: background .2s; }
.button:hover { background: #b90016; border-color: #b90016; }
.button .icon { width: 16px; height: 16px; }
.button-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button-secondary:hover { background: var(--soft); border-color: #b6bfc3; }
.show-on-map { display: inline-flex; align-items: center; justify-content: center; gap: 6px; align-self: center; border: 0; padding: 10px 6px 0; background: none; color: var(--muted); font-size: 10px; min-height: 36px; }
.show-on-map .icon { width: 13px; height: 13px; }
.show-on-map:hover, .show-on-map[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hours-note { color: var(--muted); font-size: 10px; text-align: right; margin-top: 12px; }
.map-section { padding: 29px 0 37px; }
.map-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.map-heading h2 { font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.map-heading button { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; font-size: 11px; padding: 8px 0 8px 10px; }
.map-heading button .icon { width: 16px; height: 16px; }
.map-heading button:hover { color: var(--red); }
.map-panel { position: relative; height: 310px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; isolation: isolate; background: #e5ebe7; scroll-margin-top: 22px; }
#map { height: 100%; width: 100%; background: #e5ebe7; font-family: Manrope, Arial, sans-serif; }
.map-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 15px; padding: 30px; text-align: center; background: #edf1ee; color: var(--muted); font-size: 13px; }
.map-fallback > .icon { width: 30px; height: 30px; }
.map-message { position: absolute; z-index: 600; bottom: 30px; left: 16px; right: 60px; background: #fff; padding: 12px 16px; border-radius: 6px; font-size: 12px; box-shadow: 0 2px 10px #1d252b14; }
.map-marker { background: none; border: 0; }
.pin-shape { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid #fff; background: #33464f; color: #fff; box-shadow: 0 3px 10px #18262b30; border-radius: 50% 50% 50% 5px; transform: rotate(-45deg); }
.pin-shape span { transform: rotate(45deg); font: 800 11px Manrope, Arial, sans-serif; }
.map-marker.is-selected .pin-shape { background: #111e25; box-shadow: 0 0 0 3px #33464f30; }
.leaflet-tooltip.branch-tooltip { background: white; border: 1px solid #dce1e2; border-radius: 4px; box-shadow: 0 2px 7px #1d252b12; color: var(--ink); font: 800 10px Manrope, Arial, sans-serif; padding: 5px 8px; }
.leaflet-tooltip.branch-tooltip:before { display: none; }
.leaflet-popup-content-wrapper { border-radius: 9px; }
.leaflet-popup-content { margin: 18px; line-height: 1.6; }
.popup-title { display: block; font-size: 16px; margin-bottom: 6px; font-weight: 800; }
.popup-address { display: block; color: var(--muted); font-size: 11px; margin-bottom: 10px; }
.popup-actions { display: flex; gap: 18px; margin-top: 12px; }
.leaflet-popup-content a { font-size: 12px; color: var(--red); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.leaflet-control-zoom a { color: var(--ink); }
.leaflet-control-attribution { font-size: 10px !important; }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; gap: 35px; padding-block: 25px; font-size: 12px; }
.footer-main strong { font-size: 13px; }
.footer-main p { margin-top: 5px; color: var(--muted); font-size: 11px; }
.footer-contact { display: grid; grid-template-columns: auto auto; align-items: start; gap: 3px 25px; }
.footer-contact > a:first-child { font-weight: 800; }
.footer-contact .icon { width: 15px; height: 15px; margin-right: 4px; }
.footer-contact span { font-size: 10px; color: var(--muted); }
.footer-contact a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); padding-block: 12px; font-size: 9px; }
@media (max-width: 1000px) {
    .container { width: calc(100% - 48px); }
    .intro { align-items: start; flex-direction: column; gap: 14px; padding-top: 32px; }
    .intro > p br { display: none; }
    .branch-list { gap: 13px; }
    .branch { padding: 20px 16px; }
    .branch h2 { min-height: 44px; font-size: 19px; }
    .branch-address { min-height: 76px; }
    .branch-actions { grid-template-columns: 1fr; gap: 7px; }
    .hours { min-height: 88px; }
    .footer-contact { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .container { width: calc(100% - 36px); }
    .header-inner { min-height: 78px; gap: 16px; }
    .brand { width: 126px; }
    .brand-caption { display: none; }
    .intro { padding-block: 29px 24px; gap: 14px; }
    h1 { font-size: 34px; letter-spacing: -1.4px; max-width: 350px; }
    .eyebrow { font-size: 9px; }
    .intro > p { font-size: 12px; }
    .branch-list { grid-template-columns: 1fr; gap: 14px; }
    .branch { padding: 20px; }
    .branch-top { margin-bottom: 13px; }
    .branch-region { font-size: 11px; }
    .branch h2 { min-height: 0; font-size: 24px; margin-bottom: 10px; }
    .branch-address { min-height: 0; font-size: 12px; }
    .branch-note { font-size: 11px; }
    .photo-thumbnail { height: 90px; }
    .photo-lightbox { width: calc(100vw - 20px); border-radius: 9px; }
    .lightbox-header { padding: 10px 12px; gap: 10px; }
    .lightbox-header h2 { font-size: 13px; }
    .lightbox-stage { height: min(58dvh, 66vw); }
    .lightbox-toolbar { padding: 10px; }
    .hours { min-height: 0; padding-top: 13px; margin-block: 15px 17px; }
    .hours-schedule { font-size: 11px; }
    .status-label, .status-detail { font-size: 12px; }
    .branch-actions { grid-template-columns: 1.1fr 1fr; gap: 9px; }
    .button { font-size: 12px; }
    .show-on-map { font-size: 11px; min-height: 38px; }
    .hours-note { text-align: left; font-size: 10px; line-height: 1.8; }
    .map-section { padding-block: 24px 28px; }
    .map-heading { gap: 10px; }
    .map-heading h2 { font-size: 17px; }
    .map-heading button { font-size: 10px; }
    .map-panel { height: 320px; }
    .leaflet-tooltip.branch-tooltip { font-size: 9px; padding: 5px 6px; }
    .footer-main { flex-direction: column; gap: 20px; padding-block: 24px; }
    .footer-contact { gap: 7px; }
    .footer-contact span { font-size: 11px; }
    .footer-main p { font-size: 12px; }
    .footer-bottom { flex-direction: column; gap: 5px; font-size: 10px; padding-block: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
