:root {
  --ink: #263d52;
  --muted: #5b7084;
  --accent: #355f84;
  --accent-hover: #254762;
  --surface: #edf5fc;
  --line: #d8e3ed;
  --white: #fff;
  --focus: #355f84;
  --red: #a85862;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
::selection { background: #dbeaf8; color: var(--ink); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color 160ms ease-out, background-color 160ms ease-out; }
a:hover { color: var(--accent); }
a:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
svg { display: block; flex-shrink: 0; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-wordmark { display: inline-flex; align-items: baseline; gap: 6px; color: var(--accent); font-size: 22px; line-height: 1.2; font-weight: 750; letter-spacing: .035em; white-space: nowrap; }
.brand-wordmark span:last-child { color: var(--red); }
.header-right { display: flex; align-items: center; gap: 32px; }
.header-phone { font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.languages { display: flex; gap: 3px; }
.languages a { display: grid; place-items: center; width: 38px; min-height: 40px; border-radius: 4px; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.languages a:hover, .languages a:focus-visible { background: var(--surface); color: var(--accent); }
.subheading { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact h2 { margin: 0 0 4px; font-size: 24px; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; }
.contact-links { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.contact-links a { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 16px; font-weight: 600; text-decoration: none; }
.contact-links svg { color: var(--red); width: 20px; height: 20px; }
.branches { padding-block: 44px 48px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 14px; }
.section-heading h2 { margin: 0 0 4px; font-size: 26px; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; }
.city { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.city svg { width: 15px; height: 15px; }
.branch-grid { border-top: 1px solid var(--line); }
.branch { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(320px, 1.3fr) minmax(190px, .8fr); grid-template-rows: auto 1fr; gap: 12px 38px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.branch-heading { display: flex; align-items: center; gap: 9px; grid-column: 1; grid-row: 1; }
.branch-heading svg { width: 18px; height: 18px; color: var(--red); }
.branch h3 { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 650; letter-spacing: -.015em; }
.address { grid-column: 1; grid-row: 2; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; font-style: normal; }
.hours { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-variant-numeric: tabular-nums; }
.hours div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 5px; }
.hours dt { color: var(--muted); font-size: 12px; }
.hours dd { margin: 0; font-size: 13px; font-weight: 600; white-space: nowrap; }
.hours .closed { font-size: 12px; font-weight: 400; color: var(--muted); }
.branch-phone { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; font-size: 16px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.map { grid-column: 3; grid-row: 2; justify-self: end; align-self: start; display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 11px; color: var(--accent); text-decoration: none; }
.map svg { width: 15px; height: 15px; color: var(--red); }
.hours-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.footer { padding: 32px 0 20px; background: var(--surface); border-top: 1px solid var(--line); }
.company { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; gap: 36px; padding-bottom: 28px; }
.footer .brand-wordmark { font-size: 18px; }
.company-name { margin: 0 0 6px; font-size: 13px; font-weight: 650; }
.company p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.company-meta { display: flex; flex-direction: column; gap: 8px; }
.company-meta span { display: block; color: var(--muted); font-size: 11px; }
.company-meta strong { font-size: 12px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 11px; }
.socials { display: flex; gap: 22px; }
.socials a { display: flex; align-items: center; min-height: 32px; text-decoration: none; }
@media (max-width: 1050px) {
  .container { width: calc(100% - 48px); }
  .contact { align-items: flex-start; }
  .contact-links { gap: 8px; flex-direction: column; }
  .branch { grid-template-columns: minmax(170px, 1fr) minmax(290px, 1.4fr); gap: 12px 24px; }
  .branch-phone { grid-column: 1; grid-row: 3; justify-self: start; }
  .map { grid-column: 2; grid-row: 3; justify-self: start; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .header { min-height: 76px; gap: 12px; }
  .brand-wordmark { gap: 5px; font-size: 17px; letter-spacing: .02em; }
  .header-phone { display: none; }
  .header-right { gap: 0; }
  .languages { gap: 0; }
  .languages a { width: 32px; }
  .contact { flex-direction: column; gap: 18px; padding-block: 26px; }
  .contact h2 { font-size: 22px; }
  .contact-links a { font-size: 15px; }
  .branches { padding-block: 32px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .section-heading h2 { font-size: 24px; }
  .branch { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 24px; }
  .branch-heading { grid-column: 1; grid-row: 1; }
  .address { grid-column: 1; grid-row: 2; }
  .hours { grid-column: 1; grid-row: 3; padding-block: 5px; }
  .hours dt { font-size: 11px; }
  .branch-phone { grid-column: 1; grid-row: 4; }
  .map { grid-column: 1; grid-row: 5; }
  .hours-note { font-size: 11px; }
  .hours-note span { display: block; }
  .company { grid-template-columns: 1fr; gap: 22px; }
  .company-meta { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  body { background: white; }
  .header-right, .map, .socials { display: none; }
  .site-header, .footer { background: white; }
  .branch { break-inside: avoid; }
}
