/* ==========================================================================
   ACM MACIEJEWSKI (e-acm.pl) — Modern Automotive Design
   Kolorystyka: Żółty (#fcfc58), Czerwony (#D22622), Ciemny Szary (#22262E), Biały (#FFFFFF)
   Zasada projektowa: Zaokrąglone rogi (border-radius), nowoczesna głębia i cienie, maksymalna czytelność
   ========================================================================== */

:root {
  /* Kolory bazowe */
  --yellow: #f7f739;
  --yellow-bright: #ffff6b;
  --yellow-muted: #fffedf;
  --red: #D22622;
  --red-dark: #B51E1A;
  --red-light: #FEE2E2;

  /* Ciemny szary zastępujący surową czerń (#0F0F0F) */
  --black: #22262E;
  --dark-gray: #22262E;
  --black-elevated: #2D323C;
  --dark-gray-elevated: #2D323C;
  --black-border: #3E4654;
  --dark-gray-border: #3E4654;

  --white: #FFFFFF;
  --paper: #FAF9F6;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --green-open: #16A34A;

  /* Typografia */
  --font-brand: 'Barlow Condensed', 'Arial Narrow', 'Impact', sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Impact', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Nowoczesne, subtelniejsze obramowania */
  --border-thin: 1px solid rgba(34, 38, 46, 0.12);
  --border-std: 1.5px solid rgba(34, 38, 46, 0.16);
  --border-thick: 2px solid var(--black);

  /* Nowoczesne cienie z głębią */
  --shadow-xs: 0 1px 2px rgba(34, 38, 46, 0.05);
  --shadow-sm: 0 2px 6px rgba(34, 38, 46, 0.06);
  --shadow-md: 0 6px 18px rgba(34, 38, 46, 0.08), 0 2px 6px rgba(34, 38, 46, 0.04);
  --shadow-lg: 0 12px 30px rgba(34, 38, 46, 0.10), 0 4px 12px rgba(34, 38, 46, 0.05);
  --shadow-xl: 0 20px 42px rgba(34, 38, 46, 0.12), 0 8px 18px rgba(34, 38, 46, 0.06);

  /* Aliasy cieni zaktualizowane na nowoczesne miękkie cienie */
  --shadow-hard: var(--shadow-md);
  --shadow-hard-lg: var(--shadow-xl);
  --shadow-red: 0 6px 20px rgba(210, 38, 34, 0.28);
  --shadow-yellow: 0 6px 20px rgba(252, 252, 88, 0.35);

  /* Zaokrąglone rogi (Border Radius Tokens) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  --container-max: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--yellow);
  color: var(--black);
  -webkit-text-size-adjust: 100%;
}

html[lang="uk"] {
  --font-display: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--yellow);
  background-image:
    linear-gradient(to right, rgba(34, 38, 46, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 38, 46, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* Ukryty nagłówek pomocniczy dla czytników ekranu i semantyki SEO */
.sr-only {
  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 dla dostępności */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
  left: 10px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. PASEK TECHNICZNY GÓRNY (TOP BAR)
   ========================================================================== */
.topbar {
  background-color: var(--black);
  color: var(--white);
  border-bottom: 2px solid var(--red);
  font-size: 0.875rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.status-badge {
  display: none !important;
}

.status-badge__dot {
  width: 8px;
  height: 8px;
  background-color: var(--yellow);
  display: inline-block;
  border-radius: 50%;
}

.status-badge--open {
  border-color: rgba(34, 197, 94, 0.5);
  color: #86EFAC;
}

.status-badge--open .status-badge__dot {
  background-color: #22C55E;
  box-shadow: 0 0 8px #22C55E;
}

.status-badge--closed {
  border-color: rgba(210, 38, 34, 0.5);
  color: #FCA5A5;
}

.status-badge--closed .status-badge__dot {
  background-color: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.topbar__item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--yellow);
}

.topbar__item strong {
  font-family: var(--font-mono);
  color: var(--yellow);
}

.topbar__item:hover {
  color: var(--yellow);
}

/* Przełącznik języków (PL / EN / UA) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background-color: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--gray-300);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-switch__link:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.lang-switch__link.is-active {
  background-color: var(--yellow);
  color: var(--black);
}

.lang-switch__flag {
  width: 15px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   2. NAGŁÓWEK GŁÓWNY (HEADER) Z WEKTOROWYM LOGO
   ========================================================================== */
.site-header {
  background-color: var(--yellow);
  border-bottom: 2px solid rgba(34, 38, 46, 0.16);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--black);
}

.brand:hover {
  color: var(--black);
  text-decoration: none;
}

.brand__logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand__text {
  font-family: var(--font-brand);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}

.brand__tagline {
  display: none !important;
}

.brand__year {
  display: none !important;
}

.header-cta {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--white);
  border: var(--border-std);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 8px 18px;
  text-decoration: none;
  color: var(--black);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-phone-box:hover {
  background-color: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--black);
}

.header-phone-box:hover .header-phone-box__label {
  color: var(--yellow);
}

.header-phone-box:hover .header-phone-box__num {
  color: var(--white);
}

.header-phone-box__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
}

.header-phone-box__num {
  font-family: var(--font-brand);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--red);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   3. NAWIGACJA GŁÓWNA (WERSJA WEKTOROWA)
   ========================================================================== */
.main-nav {
  background-color: var(--black);
  border-bottom: 2px solid var(--black-border);
  box-shadow: var(--shadow-sm);
}

.main-nav__bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  width: 100%;
  background-color: var(--black);
  color: var(--yellow);
  border: none;
  border-bottom: 1px solid var(--black-border);
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-sm);
}

.nav-toggle__icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border-radius: var(--radius-xs);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  border-left: 1px solid var(--black-border);
}

.nav-item {
  border-right: 1px solid var(--black-border);
  position: relative;
}

.nav-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 14px;
  color: var(--white);
  text-decoration: none;
  text-align: left;
  min-height: 52px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link__icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black-elevated);
  border: 1.5px solid var(--yellow);
  border-radius: var(--radius-sm);
  color: var(--yellow);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link__icon svg {
  width: 20px;
  height: 20px;
}

.nav-link__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-link__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.nav-link__sub {
  display: none !important;
}

.nav-link:hover {
  background-color: var(--black-elevated);
  color: var(--yellow);
  border-bottom-color: var(--red);
}

.nav-link:hover .nav-link__icon {
  background-color: var(--red);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(210, 38, 34, 0.4);
}

.nav-item--active .nav-link {
  background-color: var(--red);
  color: var(--white);
  border-bottom-color: var(--yellow);
}

.nav-item--active .nav-link__icon {
  background-color: var(--yellow);
  border-color: var(--black);
  color: var(--black);
}

/* Podmenu serwisu samochodowego (usunięte) */
.subnav {
  display: none !important;
}

/* ==========================================================================
   4. PRZYCISKI (BUTTONS — ZAOKRĄGLONE ROGI, NOWOCZESNA GŁĘBIA)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

.btn--red {
  background-color: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(210, 38, 34, 0.3);
}

.btn--red:hover {
  background-color: var(--red-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(210, 38, 34, 0.45);
}

.btn--yellow {
  background-color: var(--yellow);
  color: var(--black);
  box-shadow: 0 4px 14px rgba(247, 226, 36, 0.35);
}

.btn--yellow:hover {
  background-color: var(--yellow-bright);
  color: var(--black);
  box-shadow: 0 6px 20px rgba(247, 226, 36, 0.5);
}

.btn--black {
  background-color: var(--black);
  color: var(--yellow);
  border-color: var(--black-border);
  box-shadow: 0 4px 14px rgba(34, 38, 46, 0.25);
}

.btn--black:hover {
  background-color: var(--black-elevated);
  color: var(--white);
  border-color: var(--yellow);
  box-shadow: 0 6px 20px rgba(34, 38, 46, 0.35);
}

.btn--white {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--gray-300);
}

.btn--white:hover {
  background-color: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   5. UKŁAD STRONY (MAIN CONTENT + SIDEBAR)
   ========================================================================== */
.site-main {
  flex: 1;
  padding: 32px 0 56px;
}

/* Sekcja Hero na stronie głównej */
.hero-box {
  background-color: var(--white);
  border: var(--border-std);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
}

.hero-box__main {
  padding: 38px 42px;
  border-right: var(--border-thin);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--black);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  margin-bottom: 16px;
  align-self: flex-start;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--red);
}

.hero-box__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.04;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.hero-box__title span {
  background-color: var(--yellow);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-box__lead {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 24px;
  color: var(--black);
  max-width: 64ch;
}

.hero-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

/* Prawa kolumna Hero: Wizytówka techniczna / Szybki Kontakt */
.hero-box__aside {
  background-color: var(--black);
  color: var(--white);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.contact-panel__header {
  border-bottom: 2px solid var(--red);
  padding-bottom: 12px;
}

.contact-panel__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.contact-panel__phone {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  line-height: 1.05;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.contact-panel__phone:hover {
  color: var(--yellow);
}

.contact-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-panel__row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 3px solid var(--yellow);
  padding-left: 14px;
}

.contact-panel__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-300);
}

.contact-panel__val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.contact-panel__val a {
  color: var(--yellow);
  text-decoration: underline;
}

.contact-panel__val a:hover {
  color: var(--white);
}

/* Nowy, przejrzysty panel atutów w sekcji Hero */
.hero-features {
  background-color: var(--black);
  color: var(--white);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.hero-features__header {
  border-bottom: 2px solid var(--red);
  padding-bottom: 12px;
}

.hero-features__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.hero-features__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-features__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-features__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hero-features__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black-elevated);
  border: 1.5px solid var(--yellow);
  border-radius: var(--radius-sm);
  color: var(--yellow);
  flex-shrink: 0;
}

.hero-features__icon svg {
  width: 18px;
  height: 18px;
}

.hero-features__item strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 2px;
  line-height: 1.25;
}

.hero-features__item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-300);
  line-height: 1.4;
}

.hero-features__footer {
  border-top: 1px solid var(--black-border);
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   6. SIATKA 3 FILARÓW DZIAŁALNOŚCI (SERWIS / CZĘŚCI / OPONY)
   ========================================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  background-color: var(--black);
  color: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--black-border);
  border-left: 6px solid var(--red);
  box-shadow: var(--shadow-md);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.1;
}

.section-header__sub {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--yellow);
  margin: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.pillar-card {
  background-color: var(--white);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(34, 38, 46, 0.25);
}

.pillar-card__top {
  background-color: var(--black);
  color: var(--white);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--black-border);
}

.pillar-card__num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  background-color: var(--red);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.pillar-card__icon {
  color: var(--yellow);
  width: 32px;
  height: 32px;
}

.pillar-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: var(--border-thin);
  background-color: var(--gray-100);
}

.pillar-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  display: block;
}

.pillar-card:hover .pillar-card__img-wrap img {
  transform: scale(1.04);
}

.pillar-card__body {
  padding: 24px 22px;
  flex: 1;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1.15;
}

.pillar-card__title a {
  text-decoration: none;
  color: var(--black);
  transition: color 0.15s ease;
}

.pillar-card__title a:hover {
  color: var(--red);
}

.pillar-card__desc {
  margin: 0 0 18px;
  color: var(--black);
  font-size: 1rem;
}

.tech-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--border-thin);
}

.tech-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
}

.tech-list li::before {
  content: "■";
  color: var(--red);
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 0.75rem;
  line-height: 1.45;
}

.tech-list li a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--red);
}

.tech-list li a:hover {
  background-color: var(--yellow);
  color: var(--black);
  border-radius: var(--radius-xs);
}

.pillar-card__footer {
  padding: 16px 22px;
  background-color: var(--paper);
  border-top: var(--border-thin);
}

.pillar-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--black);
}

.pillar-card__link span {
  background-color: var(--black);
  color: var(--yellow);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-radius: var(--radius-xs);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.pillar-card:hover .pillar-card__link span {
  background-color: var(--red);
  color: var(--white);
  transform: translateX(2px);
}

/* ==========================================================================
   7. DWUKOLUMNOWY UKŁAD PODSTRON (CONTENT + SIDEBAR)
   ========================================================================== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  margin-bottom: 36px;
}

.content-panel {
  background-color: var(--white);
  border: var(--border-std);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.breadcrumb {
  background-color: var(--black);
  color: var(--white);
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--black-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--yellow);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb__sep {
  color: var(--red);
  font-weight: 700;
}

.content-panel__body {
  padding: 34px 38px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.08;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 4px solid var(--yellow);
  position: relative;
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 96px;
  height: 4px;
  background-color: var(--red);
  border-radius: var(--radius-xs);
}

.content-panel__body h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 28px 0 12px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-panel__body h2::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 22px;
  background-color: var(--red);
  border-radius: 3px;
}

.content-panel__body p {
  margin: 0 0 16px;
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Siatka podkategorii lub list technicznych wewnątrz artykułu */
.spec-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 20px 0 28px;
}

.spec-box {
  background-color: var(--paper);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.spec-box > .btn {
  margin-top: auto;
  align-self: flex-start;
}

.spec-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(34, 38, 46, 0.25);
}

.spec-box__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}

/* ==========================================================================
   8. PANEL BOCZNY (SIDEBAR — ZAOKRĄGLONY, CZYTELNY)
   ========================================================================== */
.sidebar-card {
  background-color: var(--white);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: sticky;
  top: 20px;
}

.sidebar-card__header {
  background-color: var(--red);
  color: var(--white);
  padding: 14px 22px;
  border-bottom: 2px solid var(--red-dark);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-card__body {
  padding: 24px 22px;
}

.sidebar-phone {
  display: block;
  background-color: var(--yellow);
  border: 1.5px solid rgba(34, 38, 46, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--black);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-phone__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 2px;
}

.sidebar-phone__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1.05;
}

.sidebar-phone:hover {
  background-color: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--black);
}

.sidebar-phone:hover .sidebar-phone__label {
  color: var(--yellow);
}

.sidebar-phone:hover .sidebar-phone__number {
  color: var(--white);
}

.sidebar-info-block {
  border-top: var(--border-thin);
  padding: 12px 0;
}

.sidebar-info-block:last-of-type {
  border-bottom: var(--border-thin);
  margin-bottom: 20px;
}

.sidebar-info-block__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.sidebar-info-block__value {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--black);
}

.sidebar-info-block__value a {
  color: var(--red);
  font-weight: 700;
}

/* Siatka marek samochodów */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.brands-grid li {
  background-color: var(--paper);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.brands-grid li:hover {
  transform: translateY(-2px);
  border-color: var(--red);
}

.brands-grid li::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: var(--red);
  display: inline-block;
  flex-shrink: 0;
  border-radius: 2px;
}

/* Galeria zdjęć warsztatu */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.photo-frame {
  margin: 0;
  background-color: var(--paper);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.photo-frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--gray-200);
}

.photo-frame figcaption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
  justify-content: space-between;
}

/* Sekcja FAQ (GEO & Rich Results — natywny HTML bez zależności od JS) */
.faq-section {
  background-color: var(--white);
  border: var(--border-std);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 36px;
}

.faq-section > .section-header {
  border-radius: 0;
  margin-bottom: 0;
  border: none;
  border-bottom: 1px solid var(--black-border);
  border-left: 6px solid var(--red);
}

.faq-list {
  padding: 20px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--paper);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  background-color: var(--white);
  border-color: rgba(34, 38, 46, 0.28);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  list-style: none;
  cursor: pointer;
  padding: 15px 20px;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: "+";
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: var(--radius-xs);
  background-color: var(--black);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.faq-item[open] .faq-item__question::after {
  content: "−";
  background-color: var(--red);
  color: var(--white);
}

.faq-item__answer {
  padding: 0 20px 16px;
  color: var(--gray-700);
  font-size: 0.98rem;
  line-height: 1.6;
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
}

.faq-item__answer p {
  margin: 0;
}

/* ==========================================================================
   9. SEKCJA DOJAZDU I MAPY (JAK DO NAS TRAFIĆ)
   ========================================================================== */
.location-section {
  background-color: var(--white);
  border: var(--border-std);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.location-section > .section-header {
  border-radius: 0;
  margin-bottom: 0;
  border: none;
  border-bottom: 1px solid var(--black-border);
  border-left: 6px solid var(--red);
}

.location-section__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
}

.location-section__info {
  padding: 28px;
  border-right: var(--border-thin);
  background-color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.location-section__photo {
  border: var(--border-thin);
  border-radius: var(--radius-md);
  background-color: var(--white);
  padding: 6px;
  overflow: hidden;
}

.location-section__photo img {
  width: 100%;
  height: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}

.location-section__photo-cap {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  text-transform: uppercase;
  padding-top: 6px;
  color: var(--gray-600);
}

.location-section__map {
  position: relative;
  min-height: 380px;
  background-color: var(--gray-100);
}

.location-section__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ==========================================================================
   10. FORMULARZ KONTAKTOWY (STATIC CLOUDFLARE PAGES READY)
   ========================================================================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background-color: var(--paper);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
}

.form-label span {
  color: var(--red);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--black);
  background-color: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(34, 38, 46, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-status {
  padding: 14px 16px;
  border: 1px solid rgba(34, 38, 46, 0.15);
  border-radius: var(--radius-md);
  background-color: var(--yellow);
  color: var(--black);
  font-weight: 700;
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* ==========================================================================
   11. STOPKA (FOOTER)
   ========================================================================== */
.site-footer {
  background-color: var(--black);
  color: var(--white);
  border-top: 4px solid var(--red);
  padding: 40px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--black-border);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
  color: var(--white);
}

.site-footer__brand:hover {
  color: var(--yellow);
  text-decoration: none;
}

.site-footer__logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.site-footer__brand-text {
  font-family: var(--font-brand);
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
  white-space: nowrap;
}

.site-footer__desc {
  color: var(--gray-300);
  font-size: 0.95rem;
  margin: 0 0 16px;
  max-width: 44ch;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow);
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.site-footer__bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-300);
}

.site-footer__bottom a {
  color: var(--yellow);
}

/* ==========================================================================
   12. DOLNY PASEK SZYBKIEGO KONTAKTU NA TELEFONIE (MOBILE QUICK BAR)
   ========================================================================== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background-color: var(--black);
  border-top: 1px solid var(--black-border);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(34, 38, 46, 0.15);
  grid-template-columns: 1.2fr 0.8fr;
}

.mobile-action-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
}

.mobile-action-bar__btn--call {
  background-color: var(--red);
  color: var(--white);
  border-right: 1px solid var(--black-border);
}

.mobile-action-bar__btn--map {
  background-color: var(--yellow);
  color: var(--black);
}

.mobile-action-bar__btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   13. RESPONSYWNOŚĆ (TABLET & TELEFON)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-box {
    grid-template-columns: 1fr;
  }

  .hero-box__main {
    border-right: none;
    border-bottom: var(--border-thin);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

  .location-section__grid {
    grid-template-columns: 1fr;
  }

  .location-section__info {
    border-right: none;
    border-bottom: var(--border-thin);
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 56px;
  }

  .topbar__right > .topbar__item {
    display: none;
  }

  .topbar__inner {
    gap: 8px;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .brand__logo {
    height: 44px;
  }

  .brand__text {
    font-size: 1.8rem;
  }

  .site-footer__logo {
    height: 42px;
  }

  .site-footer__brand-text {
    font-size: 1.7rem;
  }

  .header-cta {
    width: 100%;
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    grid-template-columns: 1fr;
    border-left: none;
    border-top: 1px solid var(--black-border);
  }

  .nav-list.is-open {
    display: grid;
  }

  .nav-item {
    border-right: none;
    border-bottom: 1px solid var(--black-border);
  }

  .nav-link {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 12px 14px;
    gap: 12px;
  }

  .nav-link__text {
    display: flex;
    flex-direction: column;
  }

  .hero-box__main,
  .content-panel__body {
    padding: 24px 20px;
  }

  .faq-list {
    padding: 16px 18px 20px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .mobile-action-bar {
    display: grid;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 10px;
  }

  .brand__logo {
    height: 36px;
  }

  .brand__text {
    font-size: 1.45rem;
  }

  .site-footer__brand {
    gap: 10px;
  }

  .site-footer__logo {
    height: 36px;
  }

  .site-footer__brand-text {
    font-size: 1.45rem;
  }

  .container {
    padding: 0 12px;
  }

  .header-cta {
    grid-template-columns: 1fr;
  }

  .hero-box__actions .btn {
    width: 100%;
  }
}
