@font-face { font-family: "Hero Display"; src: url("assets/fonts/rc-italic.ttf") format("truetype"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hero Display"; src: url("assets/fonts/rc.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
/* KyivType Serif Bold: self-hosted. Place the licensed file at assets/fonts/KyivTypeSerif-Bold.woff2 */
@font-face { font-family: "KyivType Serif"; src: local("KyivType Serif Bold"), local("KyivTypeSerif-Bold"), url("assets/fonts/KyivTypeSerif-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Hero Sans"; src: url("assets/fonts/inter.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* Business-card palette: slate-blue -> petrol -> teal, adapted to the dark site */
  --bg: #0D171D;
  --surface: #142329;
  --surface-hover: #1B313A;
  --border: #2B424C;
  --border-strong: #3E5B67;
  --text: #F2F7F6;
  --text-muted: #B5C7CB;
  --teal: #65C5AD;        /* accent text, icons, primary CTA fill, focus ring */
  --teal-hover: #8AD8C4;  /* CTA hover fill (ink on it stays >= 9:1) */
  --teal-soft: #A6E3D3;   /* link hover */
  --on-teal: #102229;     /* text and icons on teal */
  --brand-gradient: linear-gradient(90deg, #505C7A 0%, #2D6277 50%, #377F73 100%);
  --font-display: "Hero Display", "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-serif: "KyivType Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Hero Sans", Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* One continuous photographic background with a single directional gradient
   (dark behind the text on the left, lighter toward the tools on the right). */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 23, 29, 0.72) 0%, rgba(13, 23, 29, 0.80) 100%),
    url("assets/hero-workshop.webp") 88% center / cover no-repeat;
}

.hero-inner {
  position: relative; z-index: 10;
  flex: 1; display: flex; align-items: center;
  width: 100%; max-width: 80rem; margin: 0 auto;
  padding: 3rem 1rem;
}
.hero-copy { max-width: 44rem; text-align: left; }

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 8.2vw, 3rem); line-height: 1.08;
  font-weight: 700; font-style: normal; text-transform: none;
  letter-spacing: -0.01em;
  color: var(--text);
}
.hero-title-accent {
  display: block;
  margin-top: 0.2em;
  font-size: 0.5em; line-height: 1.2; letter-spacing: 0;
  color: var(--teal);
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem; line-height: 1.625; font-weight: 400;
  color: rgba(242, 247, 246, 0.9);
}

.hero-shop-link {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-top: 0.75rem;
  font-size: 1.0625rem; font-weight: 600; line-height: 1.4;
  color: var(--teal);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em;
}
.hero-shop-link:hover { color: var(--teal-soft); }

.hero-actions {
  margin-top: 0.75rem;
  display: flex; flex-direction: column; align-items: stretch; gap: 1rem;
  width: 100%;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none;
  border-radius: 4px;
  transition: background-color .15s, color .15s;
}
.btn-icon { flex: none; }
.btn-primary {
  gap: 0.75rem; padding: 1rem 2rem;
  background: var(--teal); color: var(--on-teal); /* dark label/icon on orange: 6.1:1 (hover 4.7:1) */
  font-size: 1.25rem; line-height: 1.75rem;
  box-shadow: 0 0 35px -8px rgba(101, 197, 173, 0.30);
}
.btn-primary:hover { background: var(--teal-hover); }
.btn-secondary {
  gap: 0.625rem; padding: 1rem 1.75rem;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  font-size: 1.125rem; line-height: 1.75rem;
}
.btn-secondary:hover { background: var(--surface-hover); border-color: var(--border-strong); color: var(--text); }
.btn-icon-accent { color: var(--teal); }

a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.hero-line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, transparent, rgba(101, 197, 173, 0.7) 35%, rgba(242, 247, 246, 0.8) 50%, rgba(101, 197, 173, 0.7) 65%, transparent);
}

@media (min-width: 640px) {
  .hero-inner { padding: 3.5rem 1.5rem; }
  .hero-title { font-size: 3.75rem; }
  .hero-lead { font-size: 1.25rem; }
  .hero-actions { flex-direction: row; align-items: center; width: auto; }
}
@media (min-width: 768px) {
  .hero-title { font-size: 4rem; }
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(13, 23, 29, 0.88) 0%, rgba(13, 23, 29, 0.84) 62%, rgba(13, 23, 29, 0.12) 90%, rgba(13, 23, 29, 0) 100%),
      url("assets/hero-workshop.webp") 100% center / cover no-repeat;
  }
}
@media (min-width: 1024px) {
  .hero { min-height: 600px; }
  .hero-title { font-size: 4.5rem; }
  .hero-inner { padding: 4rem 2rem; }
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(13, 23, 29, 0.82) 0%, rgba(13, 23, 29, 0.76) 48%, rgba(13, 23, 29, 0) 72%),
      url("assets/hero-workshop.webp") 85% center / cover no-repeat;
  }
}
@media (min-width: 1280px) {
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(13, 23, 29, 0.50) 0%, rgba(13, 23, 29, 0.28) 45%, rgba(13, 23, 29, 0) 70%),
      url("assets/hero-workshop.webp") 75% center / cover no-repeat;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { transition-duration: 0.01ms !important; }
}

/* ===== Page chrome & sections (added after hero approval; hero rules above are unchanged) ===== */
html { scroll-behavior: smooth; }

/* Shared content edge: same max-width and gutters as .hero-inner */
.wrap { width: 100%; max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 60; padding: .75rem 1rem; background: var(--teal); color: var(--on-teal); font-weight: 600; border-radius: 4px; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* Header */
.site-header { background: rgba(13, 23, 29, 0.96); border-bottom: 1px solid var(--border); z-index: 40; }
.site-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; padding-top: .5rem; padding-bottom: .25rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.5rem; letter-spacing: -0.015em; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--teal-soft); }
/* Same box as the former single <img>: height 3.25rem, width from the 249:297 ratio. Clips the car. */
.brand-logo-frame { position: relative; display: block; height: 3.25rem; aspect-ratio: 249 / 297; overflow: hidden; }
.brand-logo-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.brand-logo-car { pointer-events: none; }
.logo-anim .brand-logo-car { opacity: 0; }
.brand:hover .brand-logo-frame { opacity: .85; }
.site-nav { order: 3; width: 100%; display: flex; flex-wrap: wrap; column-gap: 1.25rem; font-weight: 600; font-size: .9375rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.header-call { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-width: 44px; min-height: 44px; padding: 0 .75rem; background: var(--teal); color: var(--on-teal); border-radius: 4px; text-decoration: none; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.0625rem; box-shadow: 0 0 35px -8px rgba(101, 197, 173, .30); }
.header-call:hover { background: var(--teal-hover); }
.header-call-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sections */
section[id] { scroll-margin-top: 0; }
.section { padding: 4rem 0; background: var(--bg); }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { margin: 0; font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.08; color: var(--text); font-size: 2.25rem; }
.eyebrow { margin: 0 0 .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.section-copy { margin: 1.25rem 0 0; max-width: 38rem; font-size: 1.0625rem; line-height: 1.65; color: rgba(242, 247, 246, .9); }

.card-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; padding: 1.5rem; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; transition: border-color .15s; }
.card:hover { border-color: var(--border-strong); }
/* Full-bleed 3:2 frame above the title; source files are 3:2, so cover crops nothing */
.card-img { display: block; width: calc(100% + 3rem); max-width: none; margin: -1.5rem -1.5rem 0; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: 50% 50%; background: var(--surface); }
.card-title { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 1.5rem; line-height: 1.15; color: var(--text); overflow-wrap: anywhere; }
.card-text { margin: .625rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--text-muted); }
.card-link { display: inline-flex; align-items: center; align-self: flex-start; gap: .5rem; min-height: 44px; padding-top: 1rem; border-top: 1px solid var(--border); width: 100%; font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); text-decoration: none; }
.card-link:hover { color: var(--teal-soft); }
.link-arrow { flex: none; }

.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.note { position: relative; overflow: hidden; margin: 0; padding: 1rem 1.25rem 1rem calc(1.25rem + 2px); border: 1px solid var(--border); border-radius: 4px; background: var(--surface); font-size: 1rem; line-height: 1.55; color: var(--text); }
.actions { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
.split-side > .btn { width: 100%; }
.address { margin: 1.25rem 0 0; font-style: normal; font-size: 1.25rem; line-height: 1.4; font-weight: 500; color: var(--text); }
.status { margin: .5rem 0 0; font-size: 1.0625rem; color: var(--teal); font-weight: 600; }
.list-title { margin: 0 0 .75rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.125rem; color: var(--text-muted); }
.phone-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.phone-list li { border-bottom: 1px solid var(--border); }
.phone-link { display: flex; flex-direction: column; gap: .25rem; min-height: 44px; padding: .875rem 0; text-decoration: none; }
.phone-label { font-size: .9375rem; line-height: 1.4; color: var(--text-muted); }
.phone-num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .03em; color: var(--text); }
.phone-link:hover .phone-num { color: var(--teal); }

@media (min-width: 640px) {
  .wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
  .header-call-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .header-call { padding: 0 1.25rem; }
  .section { padding: 5rem 0; }
  .section-title { font-size: 3rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .split-side > .btn { width: auto; }
  .phone-link { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 1.5rem; row-gap: .25rem; }
  .phone-label { flex: 1 1 11rem; }
  .phone-num { white-space: nowrap; }
}
@media (min-width: 1024px) {
  .wrap { padding-left: 2rem; padding-right: 2rem; }
  .site-header { position: sticky; top: 0; backdrop-filter: blur(12px); background: rgba(13, 23, 29, .85); }
  .brand-logo-frame { height: 4rem; }
  .site-header-row { flex-wrap: nowrap; padding-top: .5rem; padding-bottom: .5rem; }
  .site-nav { order: 0; width: auto; column-gap: 2rem; }
  section[id] { scroll-margin-top: 5.5rem; }
  .section-title { font-size: 3.75rem; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: repeat(12, 1fr); gap: 3rem; }
  .split-main { grid-column: span 7; }
  .split-side { grid-column: 9 / span 4; }
}


/* ===== Service ticker ===== */
.ticker { display: flex; align-items: stretch; /* dark scrim keeps text >= 4.5:1 over the lightest (teal) end */ background: linear-gradient(rgba(10, 20, 25, 0.14), rgba(10, 20, 25, 0.14)), var(--brand-gradient); border-bottom: 1px solid var(--border); color: var(--text); overflow: hidden; }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker-marquee { display: flex; width: max-content; animation: ticker-scroll 90s linear 3s infinite; }
.ticker-marquee.is-paused { animation-play-state: paused; }
.ticker-list { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.ticker-item { display: flex; align-items: center; flex: none; padding: 0.875rem 0; font-size: 0.9375rem; line-height: 1.3; white-space: nowrap; }
.ticker-item::after { content: ""; flex: none; width: 6px; height: 6px; margin: 0 1.25rem; background: rgba(242, 247, 246, .75); transform: rotate(45deg); }
.ticker-item-shop { color: var(--text); font-weight: 700; } /* teal text would fail contrast on the gradient; weight carries the emphasis */
.ticker-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; margin: 0; padding: 0; background: var(--surface); color: var(--text); border: 0; border-left: 1px solid var(--border); cursor: pointer; }
.ticker-toggle[hidden] { display: none; }
.ticker-toggle:hover { color: var(--teal-soft); background: var(--surface-hover); }
.ticker-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: -4px; }
.ticker-icon-play { display: none; }
.ticker-toggle[aria-pressed="true"] .ticker-icon-pause { display: none; }
.ticker-toggle[aria-pressed="true"] .ticker-icon-play { display: block; }
@media (max-width: 479px) { .ticker-item { font-size: 0.875rem; } .ticker-item::after { margin: 0 1rem; } }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Reduced motion: static, wrapping list; no duplicate, no pause control */
@media (prefers-reduced-motion: reduce) {
  .ticker-marquee { animation: none; display: block; width: 100%; min-width: 0; transform: none; }
  .ticker-dup, .ticker-toggle { display: none !important; }
  .ticker-list { flex: 0 1 auto; flex-wrap: wrap; padding: 0.5rem 1rem; max-width: 80rem; margin: 0 auto; }
  .ticker-item { flex: 0 1 auto; }
  .ticker-item { white-space: normal; padding: 0.5rem 0; }
  .ticker-item:last-child::after { display: none; }
}

/* ===== Auto shop: restrained brand-gradient accents ===== */
#shop { background: linear-gradient(90deg, #505C7A, #2D6277 50%, #377F73) top / 100% 3px no-repeat, var(--bg); }
#shop .note::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #505C7A, #2D6277 50%, #377F73); }

/* ===== Contacts: two columns + map ===== */
.contacts-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.contacts-phones-title { margin-top: 2rem; }
.contacts-info .actions { margin-top: 1.5rem; }
@media (min-width: 1024px) {
  .contacts-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.contact-map { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: #3a3f42; isolation: isolate; }
.map-canvas { position: absolute; inset: 0; z-index: 0; visibility: hidden; background: #3a3f42; font-family: var(--font-sans); }
.contact-map.is-interactive .map-canvas { visibility: visible; }
/* preview = real OpenStreetMap data at zoom 17, shown 1:1 and centred on the pin */
.map-preview { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: none; object-position: 50% 50%; }
.map-pin { position: absolute; z-index: 2; left: 50%; top: 50%; width: 36px; height: 48px; margin: -48px 0 0 -18px; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.map-pin svg { display: block; }
.map-attrib { position: absolute; z-index: 3; right: 0; bottom: 0; margin: 0; padding: 2px 6px; font-size: 11px; line-height: 1.5; background: rgba(13, 23, 29, .85); color: var(--text); border-top-left-radius: 4px; }
.map-attrib a { color: var(--teal-soft); }
.map-open { position: absolute; z-index: 3; left: 50%; bottom: 2.25rem; transform: translateX(-50%); width: max-content; max-width: calc(100% - 1.5rem); padding: .75rem 1.25rem; font-size: 1rem; line-height: 1.3; text-align: center; box-shadow: 0 2px 12px rgba(0, 0, 0, .45); cursor: pointer; }
.map-open[hidden] { display: none; }
.map-open[disabled] { cursor: progress; opacity: .85; }
.map-error { position: absolute; z-index: 4; left: .75rem; right: .75rem; top: .75rem; margin: 0; padding: .625rem .875rem; font-size: .9375rem; line-height: 1.45; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-left: 3px solid var(--teal); border-radius: 4px; }
.map-error[hidden] { display: none; }
/* once the interactive map has rendered, the preview layer is removed from view */
.contact-map.is-interactive .map-preview,
.contact-map.is-interactive .map-pin,
.contact-map.is-interactive .map-attrib,
.contact-map.is-interactive .map-open { visibility: hidden; }
.map-hint { display: none; position: absolute; z-index: 1000; left: .5rem; bottom: 1.75rem; margin: 0; padding: 2px 8px; font-size: 12px; line-height: 1.5; background: rgba(13, 23, 29, .85); color: var(--text); border-radius: 4px; pointer-events: none; }
@media (pointer: coarse) { .contact-map.is-interactive .map-hint { display: block; } }

/* Leaflet theming: grayscale tiles, dark/green controls */
.contact-map .leaflet-tile-pane { filter: grayscale(1) brightness(.85); }
.contact-map .leaflet-container { background: #3a3f42; font-family: var(--font-sans); }
.contact-map .leaflet-container:focus-visible { outline: 2px solid var(--teal); outline-offset: -3px; }
.contact-map .leaflet-bar { border: 1px solid var(--border-strong); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.contact-map .leaflet-container .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; font-size: 22px; background: var(--surface); color: var(--text); border-bottom-color: var(--border-strong); }
.contact-map .leaflet-container .leaflet-bar a:hover { background: var(--surface-hover); color: var(--teal-soft); }
.contact-map .leaflet-container .leaflet-bar a:focus-visible { outline: 2px solid var(--teal); outline-offset: -4px; }
.contact-map .leaflet-container .leaflet-bar a.leaflet-disabled { color: var(--text-muted); opacity: .5; cursor: default; background: var(--surface); }
.contact-map .leaflet-container .leaflet-control-attribution { font-size: 11px; background: rgba(13, 23, 29, .85); color: var(--text); }
.contact-map .leaflet-container .leaflet-control-attribution a { color: var(--teal-soft); }
.contact-map .map-marker { background: none; border: 0; }
.contact-map .map-marker svg { display: block; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }

/* ===== Auto shop photos ===== */
.shop-photo { margin: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); }
.shop-photo img { display: block; width: 100%; height: auto; }
/* Mobile/tablet: copy, interior photo, then note > entrance photo > route button */
#shop .split-side .shop-photo { margin-top: 1.25rem; }
@media (min-width: 1024px) {
  /* Desktop: copy | interior photo, then entrance photo | note + route button */
  #shop .split { align-items: center; row-gap: 0; }
  #shop .split-main, #shop .shop-photo-interior { margin-bottom: 3rem; }
  #shop .split-main { grid-column: 1 / span 5; grid-row: 1; }
  #shop .shop-photo-interior { grid-column: 7 / span 6; grid-row: 1; }
  #shop .split-side { display: contents; }
  #shop .split-side .shop-photo { grid-column: 1 / span 6; grid-row: 2 / span 2; margin-top: 0; }
  #shop .split-side .note { grid-column: 8 / span 5; grid-row: 2; align-self: end; }
  #shop .split-side .actions { grid-column: 8 / span 5; grid-row: 3; align-self: start; }
}

/* ===== Footer (compact, dark green) ===== */
:root { --footer-bg: #0E2623; --footer-border: #24433D; }
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--footer-border); padding: 2rem 0 1.25rem; overflow-x: hidden; overflow-x: clip; /* the driving car is clipped at the footer edge */ }
.site-footer-row { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.footer-logo { position: relative; flex: none; display: block; width: 4.5rem; aspect-ratio: 249 / 297; }
.footer-logo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.footer-logo-car.is-away { opacity: 0; }
.footer-contacts { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; font-size: 1rem; line-height: 1.5; color: var(--text); }
.footer-address { margin: 0; font-style: normal; }
.footer-hours { margin: 0; color: var(--text-muted); }
.footer-phone { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .03em; color: var(--teal); text-decoration: none; }
.footer-phone:hover { color: var(--teal-soft); }
@media (min-width: 640px) {
  .site-footer-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-contacts { align-items: flex-end; text-align: right; }
  /* keeps the car's lane (the logo's car line) clear of the contact text */
  .footer-phone { margin-top: 2.125rem; }
}
.footer-copy { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--footer-border); font-size: .875rem; line-height: 1.5; color: var(--text-muted); }
