/* Manrope © 2019 The Manrope Project Authors, SIL OFL 1.1. See /fonts/OFL.txt */

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Paleta warsztatu: błękit Q Service i zieleń szyldu.
   --bg, --surface, --primary, --accent, --text, --muted oraz --dark, --cta, --on-accent.
   Pasek nagłówka jest ciemnym błękitem --dark (#0F2B5B): jasna zieleń --accent (#4BB345)
   ma na nim kontrast AA (podpis MIKUSZEWO i pasek po lewej). Hero zostaje białe.
   Ten sam --dark jest w stopce. Na #4BB345 tylko ciemny tekst (--on-accent).
   Biały tekst jest na --primary, --dark i --cta.
   Tekst i ikony na jasnym tle używają --cta, bo #4BB345 nie ma kontrastu AA na bieli.
   Favicon i obraz OG są plikami — po zmianie hexów uruchom scripts/generate_assets.py. */
:root {
  --bg: #ffffff;
  --surface: #f3f6fa;
  --primary: #1c4488;
  --accent: #4bb345;
  --text: #1f2933;
  --muted: #394553;
  --dark: #0f2b5b;
  --cta: #00843d;
  --anthracite: #394553;
  --on-primary: #ffffff;
  --on-accent: #0f2b5b;
  --on-dark: #ffffff;

  --bg-2: var(--surface);
  --surface-2: #ffffff;
  --footer-bg: var(--dark);
  --nav-bg: var(--dark);
  --header-bg: var(--dark);
  --header-hover: color-mix(in srgb, white 34%, transparent);
  --header-muted: color-mix(in srgb, white 82%, var(--dark));

  --line: color-mix(in srgb, var(--anthracite) 28%, var(--bg));
  --line-strong: color-mix(in srgb, var(--anthracite) 48%, var(--bg));
  --ghost-border: color-mix(in srgb, var(--anthracite) 55%, transparent);
  --header-line: color-mix(in srgb, white 18%, transparent);

  --primary-hover: color-mix(in srgb, var(--primary) 84%, black);
  --cta-hover: color-mix(in srgb, var(--cta) 86%, black);
  --link-hover: color-mix(in srgb, var(--primary) 78%, black);
  --accent-soft: color-mix(in srgb, var(--accent) 14%, var(--bg));
  --primary-soft: color-mix(in srgb, var(--primary) 8%, var(--bg));
  --primary-ring: color-mix(in srgb, var(--primary) 28%, transparent);
  --focus: var(--primary);

  --badge-bg: var(--surface-2);
  --price-bg: var(--bg);
  --sheen: color-mix(in srgb, white 70%, transparent);
  --overlay: color-mix(in srgb, white 8%, transparent);
  --overlay-strong: color-mix(in srgb, white 12%, transparent);

  --danger: #b42318;
  --danger-strong: #b42318;
  --ok: #067647;
  --ok-soft: color-mix(in srgb, var(--ok) 12%, var(--bg));
  --danger-soft: color-mix(in srgb, var(--danger) 10%, var(--bg));

  --shadow: 0 14px 34px color-mix(in srgb, var(--dark) 12%, transparent);
  --shadow-soft: 0 8px 20px color-mix(in srgb, var(--dark) 7%, transparent);
  --shadow-header: 0 10px 24px color-mix(in srgb, black 28%, transparent);
  --radius: 18px;
  --radius-sm: 16px;
  --max: 1120px;
  --header-offset: 6rem;
  --font: Manrope, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  overflow-wrap: break-word;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.nav-open { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; }

h1, h2, h3 {
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
  color: var(--primary);
}

h1 { font-size: clamp(1.85rem, 4.2vw, 3.2rem); margin: 0 0 0.85rem; }
h2 { font-size: clamp(1.45rem, 2.7vw, 2.05rem); margin: 0 0 0.65rem; }
h3 { font-size: 1.18rem; line-height: 1.3; margin: 1.05rem 0 0.45rem; letter-spacing: -0.02em; }

p { margin: 0 0 1rem; }

a {
  color: var(--primary);
  text-underline-offset: 0.16em;
}

a:hover { color: var(--link-hover); }

p > a:only-child:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

a[href^="tel:"],
a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
}

.btn[href^="tel:"],
.btn[href^="mailto:"] { min-height: 48px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.ribbon :focus-visible { outline-color: var(--on-accent); }

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--on-dark);
}

.btn:focus-visible,
.gallery-open:focus-visible,
.nav a:focus-visible,
.footer-links a:focus-visible {
  outline-offset: 3px;
}

::selection { background: var(--primary); color: var(--on-primary); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 10px;
}

.skip:focus { top: 1rem; }

.container {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
}

@media (min-width: 700px) {
  .container { width: min(var(--max), calc(100% - 2.5rem)); }
}

.ribbon { background: var(--accent); color: var(--on-accent); }

.ribbon a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  min-height: 48px;
  padding: 0.55rem 1rem;
}

.ribbon a:hover { text-decoration: underline; text-underline-offset: 0.16em; }

.ribbon-kicker {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  color: var(--on-dark);
  border-bottom: 1px solid var(--header-line);
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  bottom: -1px;
  width: 8px;
  background: var(--accent);
  pointer-events: none;
}

.site-header.is-stuck { box-shadow: var(--shadow-header); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 4.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  margin-right: auto;
  min-height: 48px;
}

.logo-mark { width: 40px; height: 40px; flex: none; display: block; }

/* Biały kafelek i niebieskie TK: znak zostaje czytelny na ciemnym pasku. Favicon bez zmian. */
.logo-mark rect { fill: var(--on-dark); }
.logo-mark path { fill: var(--primary); }

.logo-name { display: block; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--on-dark); }
.logo-place {
  display: block;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav ul { list-style: none; margin: 0; padding: 0; }

.nav a {
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 700;
}

.nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, white 45%, transparent);
  background: transparent;
  color: var(--on-dark);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: var(--header-hover);
  border-color: var(--on-dark);
  color: var(--on-dark);
}

.site-header .btn-call { border-color: var(--on-dark); }

.nav-toggle svg { width: 22px; height: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  max-width: 100%;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover,
.btn-primary:active { background: var(--primary-hover); color: var(--on-primary); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--ghost-border);
}

.btn-ghost:hover,
.btn-ghost:active { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

.btn-call,
.btn-cta {
  background: var(--cta);
  color: var(--on-primary);
  border-color: var(--cta);
  white-space: nowrap;
  padding-inline: 1.05rem;
}

.btn-call:hover,
.btn-cta:hover,
.btn-call:active,
.btn-cta:active { background: var(--cta-hover); color: var(--on-primary); }

.btn-call svg, .btn svg { width: 18px; height: 18px; flex: none; }

.btn[disabled] { opacity: 0.72; cursor: progress; }

.btn-block { width: 100%; }

.spinner { width: 1.1rem; height: 1.1rem; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 519px) {
  /* Pełna szerokość paska: 8px pasek zostaje odsunięty od znaku, a nazwa „TK Auto Serwis” mieści się bez obcinania. */
  .site-header .header-inner {
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    min-height: 4.5rem;
    padding: 0.3rem 0.65rem 0.3rem 1rem;
  }
  .logo { min-width: 0; margin-right: auto; gap: 0.4rem; min-height: 44px; }
  .logo-word { min-width: 0; }
  .logo-name,
  .logo-place { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-toggle { display: inline-flex; flex: none; }
  .btn-call {
    flex: none;
    min-height: 48px;
    padding-inline: 0.55rem;
    gap: 0.3rem;
    font-size: 0.9rem;
  }
  .btn-call svg { width: 16px; height: 16px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 0.95rem; }
  .logo-place { font-size: 0.62rem; letter-spacing: 0.08em; }
  .ribbon a { font-size: 0.95rem; line-height: 1.3; padding: 0.45rem 0.85rem; gap: 0.45rem; }
  .ribbon-kicker { font-size: 0.68rem; letter-spacing: 0.06em; }
}

/* Bardzo wąskie ekrany: przycisk telefonu jako ikona 48×48, numer zostaje dla czytników ekranu. */
@media (max-width: 374px) {
  .btn-call {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding-inline: 0;
  }
  .btn-call span:not(.visually-hidden) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (min-width: 520px) and (max-width: 1079px) {
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 1079px) {
  .header-inner { position: static; }
  .nav {
    display: none;
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--header-line);
    padding: 0.35rem 0 0.8rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: block; }
  .nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.35rem 1.15rem;
  }
  .nav a:hover {
    color: var(--on-dark);
    background: var(--header-hover);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
  }
  .nav a[aria-current="page"]:hover {
    color: var(--accent);
    background: transparent;
  }
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .nav { display: block; }
  .nav ul { display: flex; align-items: center; gap: 0.1rem; }
  .nav a {
    color: var(--on-dark);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .nav a:hover {
    color: var(--on-dark);
    background: var(--header-hover);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
  }
  .nav a[aria-current="page"],
  .nav a[aria-current="page"]:hover {
    color: var(--accent);
    background: transparent;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
  }
}

.section { padding: 2.75rem 0; }
@media (min-width: 800px) { .section { padding: 4.25rem 0; } }

.hero + .section,
.section + .section {
  border-top: 1px solid color-mix(in srgb, var(--anthracite) 14%, var(--bg));
}

.band { background: var(--bg-2); }
.band-warm {
  background: var(--accent-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, var(--bg));
  border-top-color: color-mix(in srgb, var(--accent) 40%, var(--bg));
}
.band-warm + .section { border-top-color: transparent; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.85rem 0 2.4rem;
  background: var(--bg);
  color: var(--text);
}

.hero-grid, .about-grid, .split, .contact-grid, .footer-grid {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  line-height: 1.35;
}

.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

.lead { color: var(--muted); font-size: 1.075rem; line-height: 1.65; max-width: 40rem; }

.hours-inline { font-weight: 700; margin: 0.15rem 0 0; line-height: 1.45; }
.hours-inline span { color: var(--muted); font-weight: 700; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.cta-row .btn { flex: 1 1 11.5rem; }

.hero-more { margin: 1rem 0 0; font-weight: 700; line-height: 1.4; }
.hero-more a { display: inline-flex; align-items: center; min-height: 44px; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  border: 1px solid var(--line);
  background: var(--badge-bg);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.badges svg { width: 16px; height: 16px; color: var(--cta); flex: none; }

.hero-panel { display: grid; gap: 0.9rem; align-content: start; }

.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.hours-card,
.card,
.form-card,
.info-card {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hours-card, .info-card, .form-card { padding: 1.25rem 1.3rem 1.35rem; }

.panel-title { margin: 0 0 0.5rem; font-weight: 700; font-size: 1.2rem; line-height: 1.3; }

.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; }
.hours th, .hours td {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.35;
}
.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; padding-bottom: 0.15rem; }
.hours th { text-align: left; color: var(--muted); font-weight: 700; }
.hours td { text-align: right; }

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  margin: 0.85rem 0 0;
}

.open-status::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--ok);
}

.open-status.is-closed::before { background: var(--danger-strong); }

.panel-address { margin: 0.85rem 0 0; color: var(--muted); line-height: 1.45; }
.info-card address { margin: 0 0 0.35rem; line-height: 1.55; }
.info-card > .btn,
.info-card p .btn { margin-top: 0.2rem; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.12fr 0.88fr; gap: 2.4rem; align-items: center; }
  .hours-card { margin-top: -2.2rem; margin-inline: 1.1rem; position: relative; }
  .about-grid, .split { grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: start; }
  .contact-grid { grid-template-columns: 0.92fr 1.08fr; gap: 1.75rem; align-items: start; }
}

.section-head { max-width: 42rem; margin-bottom: 1.7rem; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); line-height: 1.6; }

.facts { display: grid; gap: 0.75rem; margin: 1.15rem 0 0; padding: 0; list-style: none; }
.facts li {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-soft);
  line-height: 1.45;
}
.facts strong { display: block; margin-bottom: 0.1rem; }

.amenity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.85rem; }
.amenity {
  margin: 0;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  line-height: 1.35;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}
.amenity svg { width: 22px; height: 22px; color: var(--cta); flex: none; margin-top: 0.1rem; }

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards { grid-template-columns: 1fr 1fr 1fr; gap: 1.05rem; } }

.card { padding: 1.25rem 1.25rem 1.35rem; }
.card h3 { margin: 0.85rem 0 0.45rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }
.info-card > h3:first-child,
.form-card h3:first-of-type,
.split > div > h3:first-child { margin-top: 0; }

@media (hover: hover) {
  .card { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
  .card:hover {
    border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
    box-shadow: 0 16px 36px color-mix(in srgb, var(--dark) 14%, transparent);
  }
}

.icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
}
.icon-wrap svg { width: 26px; height: 26px; }

.note {
  margin-top: 1.35rem;
  border-left: 3px solid var(--accent);
  padding: 0.95rem 1.1rem;
  background: var(--accent-soft);
  border-radius: 0 12px 12px 0;
  line-height: 1.55;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  margin: 0 0 0.8rem;
}

.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--price-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 0.85rem 1rem;
  line-height: 1.4;
}
.price-list span { flex: 1; }
.price-list strong {
  flex: none;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fine { color: var(--muted); font-size: 0.95rem; }

.distances { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0.85rem 0 0.35rem; list-style: none; }
.distances li {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
}

.map-frame {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
}
.map-placeholder {
  display: grid;
  justify-items: start;
  gap: 0.55rem;
  min-height: 220px;
  align-content: center;
  padding: 1.35rem 1.3rem;
}
.map-placeholder p { margin: 0; }
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; }
@media (min-width: 768px) {
  .map-placeholder { min-height: 280px; }
  .map-frame iframe { height: 420px; }
}

.field { display: grid; gap: 0.4rem; margin-bottom: 0.95rem; }
.field label { font-weight: 700; }
.req { color: var(--primary); font-weight: 700; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 16px;
  min-height: 48px;
}

textarea { min-height: 140px; resize: vertical; }

::placeholder { color: var(--muted); opacity: 1; }

input:not([type="checkbox"]):focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: 3px solid var(--primary-ring);
  outline-offset: 1px;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger-strong);
  box-shadow: inset 0 0 0 1px var(--danger-strong);
}

input:not([type="checkbox"])[aria-invalid="true"]:focus,
select[aria-invalid="true"]:focus,
textarea[aria-invalid="true"]:focus {
  border-color: var(--danger-strong);
  outline: 3px solid var(--danger-strong);
}

input[type="checkbox"][aria-invalid="true"] {
  outline: 2px solid var(--danger-strong);
  outline-offset: 2px;
  box-shadow: none;
}

.field-error { color: var(--danger); font-size: 0.92rem; font-weight: 700; margin: 0; }
.char-count { margin: 0; color: var(--muted); font-size: 0.88rem; text-align: right; }
.char-count.is-over { color: var(--danger); }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0.2rem 0 0.85rem; }
.consent input {
  width: 44px;
  height: 44px;
  margin-top: 0;
  accent-color: var(--primary);
  flex: none;
}
.consent label { font-weight: 700; padding-top: 0.45rem; line-height: 1.45; }

.banner { border-radius: 12px; padding: 0.9rem 1rem; margin-bottom: 1rem; font-weight: 700; }
.banner-ok { background: var(--ok-soft); color: var(--ok); }
.banner-err { background: var(--danger-soft); color: var(--danger); }

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--header-muted);
  border-top: 1px solid color-mix(in srgb, white 14%, transparent);
  padding: 2.85rem 0 1.35rem;
}

.site-footer .footer-title { color: var(--on-dark); }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--accent); }

.footer-grid { gap: 1.85rem 2.25rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 0.9fr 0.9fr; } }

.footer-title { margin: 0 0 0.7rem; font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.02em; }
.site-footer address,
.site-footer p { line-height: 1.55; }
.footer-links { list-style: none; padding: 0; margin: 0.15rem 0 0; display: grid; }
.footer-links a {
  color: var(--header-muted);
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding-inline: 0.15rem;
  margin-inline: -0.15rem;
  border-radius: 8px;
}
.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.footer-links a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

address { font-style: normal; }
.email-link { overflow-wrap: anywhere; }

.legal {
  color: var(--header-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  border-top: 1px solid color-mix(in srgb, white 16%, transparent);
  margin-top: 1.75rem;
  padding-top: 1.1rem;
}
.legal p { margin: 0 0 0.35rem; }
.legal p:last-child { margin-bottom: 0; }
.legal .credit { font-size: 0.85rem; }
.legal .credit a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.legal .credit a:hover { color: var(--accent); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 700;
}
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--muted); }

.gallery {
  display: grid;
  gap: 1.25rem 1rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }

.gallery figure { margin: 0; }
.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  color: inherit;
}
.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  border: 0;
}
@media (hover: hover) {
  .gallery img { transition: transform 0.25s ease; }
  .gallery-open:hover img { transform: scale(1.025); }
}
.gallery figcaption {
  margin-top: 0.55rem;
  padding: 0 0.15rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
}

.lightbox {
  width: min(960px, calc(100% - 1.5rem));
  max-height: calc(100vh - 2rem);
  border: 0;
  padding: 0;
  background: transparent;
}
.lightbox::backdrop { background: color-mix(in srgb, var(--dark) 84%, transparent); }
.lightbox [data-lightbox-frame] img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 5.5rem);
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: var(--dark);
}
.lightbox-close {
  margin: 0 0 0.5rem auto;
  display: flex;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 0;
  background: var(--on-dark);
  color: var(--dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.35rem; margin-top: 1.65rem; margin-bottom: 0.55rem; }
.prose p, .prose li { color: var(--muted); line-height: 1.65; }
.prose li + li { margin-top: 0.35rem; }
.prose ul { padding-left: 1.2rem; }
.prose .btn { margin-top: 0.25rem; }

.page-hero { padding: 2.15rem 0 0.75rem; }
.error-page { min-height: 52vh; display: grid; align-content: center; padding: 3rem 0 4rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 519px) {
  .section { padding: 2.35rem 0; }
  .hero { padding: 1.35rem 0 1.7rem; }
  .section-head { margin-bottom: 1.25rem; }
  .lead { font-size: 1.02rem; }
  .badges { gap: 0.4rem; margin-top: 1rem; }
  .badges li { font-size: 0.84rem; padding: 0.35rem 0.65rem; }
  .cards { gap: 0.8rem; }
  .card,
  .hours-card,
  .info-card,
  .form-card { padding: 1.05rem 1rem 1.15rem; }
  .card h3 { margin-top: 0.7rem; }
  .card p { line-height: 1.5; }
  .icon-wrap { width: 42px; height: 42px; border-radius: 12px; }
  .icon-wrap svg { width: 22px; height: 22px; }
  .gallery { gap: 1.15rem; }
  .gallery img { height: 188px; }
  .facts { gap: 0.6rem; }
  .amenity-grid { gap: 0.6rem; }
  .amenity { padding: 0.8rem 0.75rem; }
  .note { margin-top: 1rem; }
  .map-frame { margin-top: 1.1rem; }
  .map-placeholder { min-height: 200px; padding: 1.1rem 1rem; }
  .eyebrow { letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .gallery-open:hover img { transform: none; }
}
