/* ==========================================================================
   PM GARAGE (www.peeem.pl) – AUTOMOTIVE INSPECTION STUDIO
   Paleta: #050608 (Lacquer), #11151C (Concrete), #181E28 (Steel) | #2563EB (Cobalt)
   Typografia: Barlow Condensed (Display) + Archivo (Body, lokalne WOFF2 latin-ext)
   Mikrointerakcje: custom easing curves, touch-safe hover, tactile press, GPU-only motion
   ========================================================================== */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin.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: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700-latin.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: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-latin.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;
}

:root {
  --bg-lacquer: #050608;
  --bg-concrete: #11151c;
  --bg-steel: #181e28;
  --bg-steel-hover: #212a38;

  --text-primary: #f5f7fa;
  --text-secondary: #9aa5b4;
  --text-muted: #7f8c9e;

  --accent-cobalt: #2563eb;
  --accent-cobalt-hover: #1d4ed8;
  --accent-ice: #7dd3fc;

  --star-gold: #f5b942;

  --border-subtle: rgba(245, 247, 250, 0.1);
  --border-strong: rgba(245, 247, 250, 0.2);

  --font-display: "Barlow Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Custom easing tokens (Emil Kowalski design engineering) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --radius: 2px;
  --wrap-max: 1280px;
  --header-h: 64px;
}

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

html {
  color-scheme: dark;
  scrollbar-color: #263244 #050608;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background-color: var(--bg-lacquer);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

::selection {
  background-color: rgba(37, 99, 235, 0.42);
  color: #ffffff;
}

body {
  background-color: var(--bg-lacquer);
  color: var(--text-primary);
  caret-color: var(--accent-ice);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 68px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

picture {
  display: block;
  width: 100%;
  height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent-cobalt);
  color: #ffffff;
  padding: 10px 18px;
  z-index: 9999;
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   RÓWNE KRAWĘDZIE (.wrap) I POWIERZCHNIE SEKCJI
   ========================================================================== */

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

@media (min-width: 768px) {
  .wrap {
    padding: 0 36px;
  }
}

@media (min-width: 1200px) {
  .wrap {
    padding: 0 48px;
  }
}

.section {
  padding: 72px 0;
}

@media (min-width: 992px) {
  .section {
    padding: 108px 0;
  }
}

.section--lacquer {
  background-color: var(--bg-lacquer);
}

.section--concrete {
  background-color: var(--bg-concrete);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.014em;
  color: var(--text-primary);
}

.section-lead {
  font-size: clamp(0.96rem, 1.05vw, 1.04rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 34rem;
}

/* ==========================================================================
   PRZYCISKI (TACTILE SCALE(0.97) ON PRESS, TOUCH-GATED HOVER, < 180ms)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition:
    transform 150ms var(--ease-out),
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 160ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background-color: var(--accent-cobalt);
  color: #ffffff;
  border: 1px solid var(--accent-cobalt);
}

.btn--secondary {
  background-color: var(--bg-steel);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background-color: var(--accent-cobalt-hover);
    border-color: var(--accent-cobalt-hover);
    transform: translateY(-1px);
  }

  .btn--primary:active {
    transform: scale(0.97);
  }

  .btn--secondary:hover {
    background-color: var(--bg-steel-hover);
    border-color: rgba(245, 247, 250, 0.36);
    color: #ffffff;
    transform: translateY(-1px);
  }

  .btn--secondary:active {
    transform: scale(0.97);
  }
}

.btn--compact {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.89rem;
}

/* Link z płynnym rysowaniem podkreślenia na GPU (transform: scaleX) */
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-primary);
  padding-bottom: 3px;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: var(--border-strong);
  transform-origin: left center;
  transition: transform 180ms var(--ease-out), background-color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .text-link:hover {
    color: var(--accent-ice);
  }

  .text-link:hover::after {
    background-color: var(--accent-ice);
    transform: scaleX(1.02);
  }
}

/* ==========================================================================
   NAGŁÓWEK STICKY (DELIKATNA ZMIANA TŁA PRZY PRZEWIJANIU + ORIGIN-AWARE MOBILE NAV)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: rgba(5, 6, 8, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.site-header.is-scrolled {
  background-color: rgba(5, 6, 8, 0.92);
  border-bottom-color: var(--border-subtle);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 150ms var(--ease-out), opacity 160ms ease;
}

.brand-logo:active {
  transform: scale(0.97);
}

.brand-logo__img {
  height: 36px;
  width: auto;
  max-width: 152px;
  object-fit: contain;
}

.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
}

.main-nav__link {
  position: relative;
  padding: 8px 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background-color: var(--accent-ice);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms var(--ease-out);
}

.main-nav__link.is-active {
  color: var(--text-primary);
}

.main-nav__link.is-active::after {
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
  .main-nav__link:hover {
    color: var(--text-primary);
  }

  .main-nav__link:hover::after {
    transform: scaleX(1);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  background-color: var(--bg-steel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  white-space: nowrap;
  transition: transform 150ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.header-phone:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .header-phone:hover {
    background-color: var(--accent-cobalt);
    border-color: var(--accent-cobalt);
    color: #ffffff;
  }
}

@media (min-width: 768px) {
  .header-phone {
    display: inline-flex;
  }
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-steel);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease;
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

.mobile-menu-toggle svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Przerywalne menu mobilne z punktem zakotwiczenia u góry (asymetryczny czas wejścia/wyjścia) */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  background-color: rgba(9, 11, 16, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-strong);
  padding: 10px 20px 18px;
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-6px) scale(0.985);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 150ms var(--ease-out),
    transform 150ms var(--ease-out),
    visibility 0ms linear 150ms;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 210ms var(--ease-drawer),
    transform 210ms var(--ease-drawer),
    visibility 0ms linear 0ms;
}

.mobile-nav__item {
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav__item:last-child {
  border-bottom: none;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 150ms ease, transform 150ms var(--ease-out);
}

.mobile-nav__link:active {
  transform: translateX(2px);
  color: var(--accent-ice);
}

/* ==========================================================================
   SEKCJA 1: HERO (100SVH, FOTOGRAFIA FULL-BLEED + SZYBKI STAGGER NA STARCIE)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg-lacquer);
  padding: calc(var(--header-h) + 36px) 0 48px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #080a0f;
}

.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.78) 0%, rgba(5, 6, 8, 0.62) 34%, rgba(5, 6, 8, 0.84) 72%, rgba(5, 6, 8, 0.96) 100%);
}

@media (min-width: 900px) {
  .hero {
    padding: calc(var(--header-h) + 48px) 0 64px;
  }

  .hero__bg img {
    object-position: 62% center;
  }

  .hero__bg::after {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.95) 0%, rgba(5, 6, 8, 0.84) 38%, rgba(5, 6, 8, 0.34) 72%, rgba(5, 6, 8, 0.42) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.55) 0%, rgba(5, 6, 8, 0) 24%, rgba(5, 6, 8, 0.72) 100%);
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Krótki, niejednostajny stagger wejścia Hero (tylko compositor: transform + opacity) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes heroRise {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero__content > * {
    animation: heroRise 320ms var(--ease-out) both;
  }
  .hero__content > :nth-child(1) { animation-delay: 0ms; }
  .hero__content > :nth-child(2) { animation-delay: 50ms; }
  .hero__content > :nth-child(3) { animation-delay: 95ms; }
  .hero__content > :nth-child(4) { animation-delay: 130ms; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.15vw, 3.85rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  max-width: 24ch;
}

.hero__subtitle {
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.58;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

.hero__address {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-top: 4px;
}

/* ==========================================================================
   SEKCJA 2: ZAKRES USŁUG (KATALOG 6 USŁUG, SZYBKI HOVER < 260ms NA DESKTOPIE)
   ========================================================================== */

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 48px;
  align-items: end;
}

@media (min-width: 900px) {
  .services-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    margin-bottom: 56px;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 28px;
}

@media (min-width: 680px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 32px;
  }
}

.service-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.service-item__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--bg-concrete);
  border: 1px solid var(--border-subtle);
  transition: border-color 180ms ease;
}

.service-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms var(--ease-out);
}

.service-item__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 1.55vw, 1.66rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text-primary);
  transition: color 160ms ease;
}

.service-item__desc {
  margin-top: 8px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.58;
  max-width: 32rem;
}

@media (hover: hover) and (pointer: fine) {
  .service-item:hover .service-item__media {
    border-color: rgba(125, 211, 252, 0.28);
  }

  .service-item:hover .service-item__media img {
    transform: scale(1.03);
  }

  .service-item:hover .service-item__title {
    color: #ffffff;
  }
}

/* Otwarty pas indywidualnej wyceny pod siatką usług */
.valuation-band {
  margin-top: 64px;
  padding: 32px 0;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

@media (min-width: 960px) {
  .valuation-band {
    margin-top: 76px;
    padding: 36px 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
  }
}

.valuation-band__text {
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.52;
  max-width: 36rem;
}

.valuation-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 520px) {
  .valuation-band__actions,
  .valuation-band__actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   SEKCJA 3: OPINIE Z GOOGLE (KONTRASTOWY GRAFIT #11151C, UKŁAD REDAKCYJNY 4/8)
   ========================================================================== */

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

@media (min-width: 960px) {
  .reviews-layout {
    grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
    gap: 64px;
  }
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reviews-score-block {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 6px;
}

.reviews-big-score {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 6.4vw, 5.75rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.reviews-score-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reviews-score-caption {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--star-gold);
}

.stars svg {
  width: 17px;
  height: 17px;
}

.stars--sm svg {
  width: 14px;
  height: 14px;
}

.reviews-list {
  border-top: 1px solid var(--border-strong);
}

.review-entry {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .review-entry:hover {
    border-bottom-color: var(--border-strong);
  }
}

.review-entry__quote {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  color: var(--text-primary);
  line-height: 1.62;
  max-width: 38rem;
}

.review-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.review-entry__service {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   SEKCJA 4: NAJCZĘSTSZE PYTANIA (FAQ — EDYTORIALNY UKŁAD 4/8, CZYTELNY AKORDEON)
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
    gap: 64px;
  }
}

.faq-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 180ms ease;
}

.faq-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 160ms ease, transform 140ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

.faq-question:active {
  transform: scale(0.995);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-ice);
  transition: transform 200ms var(--ease-out), color 160ms ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .faq-question:hover {
    color: var(--accent-ice);
  }
}

.faq-answer {
  padding: 0 4px 22px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.62;
  max-width: 38rem;
}

/* ==========================================================================
   SEKCJA 5: DOJAZD I KONTAKT (OTWARTA TYPOGRAFIA 5/7 + CZYSTA MAPA GOOGLE)
   ========================================================================== */

.contact-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.contact-email-link {
  color: var(--accent-ice);
  font-weight: 600;
  width: fit-content;
  transition: color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-email-link:hover {
    color: #ffffff;
    text-decoration: underline;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: stretch;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.contact-primary {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-phone-link {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  transition: color 160ms ease, transform 150ms var(--ease-out);
}

.contact-phone-link svg {
  width: 28px;
  height: 28px;
  color: var(--accent-ice);
  flex-shrink: 0;
  transition: transform 180ms var(--ease-out);
}

.contact-phone-link:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .contact-phone-link:hover {
    color: var(--accent-ice);
  }

  .contact-phone-link:hover svg {
    transform: translateX(2px);
  }
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 520px) {
  .contact-actions,
  .contact-actions .btn {
    width: 100%;
  }
}

.contact-rows {
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.contact-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-row__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-row__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-row__note {
  font-size: 0.91rem;
  color: var(--text-secondary);
  line-height: 1.56;
  max-width: 32rem;
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
}

.contact-map__wrap {
  position: relative;
  flex: 1;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--bg-lacquer);
  border: 1px solid var(--border-subtle);
}

@media (min-width: 960px) {
  .contact-map__wrap {
    min-height: 440px;
  }
}

.contact-map__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  z-index: 0;
  pointer-events: none;
}

.contact-map__fallback strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.contact-map__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

@media (min-width: 960px) {
  .contact-map__frame {
    min-height: 440px;
  }
}

.contact-map__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SEKCJA 5: MINIMALISTYCZNA STOPKA
   ========================================================================== */

.site-footer {
  background-color: var(--bg-lacquer);
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
  margin-top: auto;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  font-size: 0.89rem;
  color: var(--text-muted);
}

.site-footer__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.site-footer__logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-variant-numeric: tabular-nums;
}

.site-footer__links a {
  color: var(--text-secondary);
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__links a:hover {
    color: var(--text-primary);
    text-decoration: underline;
  }
}

/* ==========================================================================
   ELEMENT STAŁY NA MOBILE (ASYMETRYCZNY CZAS WEJŚCIA 260ms / WYJŚCIA 180ms)
   ========================================================================== */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-strong);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 10px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  transform: translateY(0);
  opacity: 1;
  transition: transform 260ms var(--ease-drawer), opacity 220ms var(--ease-out);
}

.mobile-bar.is-hidden-at-top {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms var(--ease-out), opacity 150ms var(--ease-out);
}

@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }
}

.mobile-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: transform 140ms var(--ease-out), background-color 150ms ease;
}

.mobile-bar__btn:active {
  transform: scale(0.97);
}

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

.mobile-bar__btn--primary {
  background-color: var(--accent-cobalt);
  color: #ffffff;
}

.mobile-bar__btn--call {
  background-color: var(--bg-steel);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   PŁYNNE WEJŚCIA PRZY PRZEWIJANIU (GPU-ONLY, KRÓTKI STAGGER, REDUCED-MOTION SAFE)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .has-js [data-reveal] {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 280ms var(--ease-out),
      transform 280ms var(--ease-out);
  }

  .has-js [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Niejednostajny, krótki stagger wewnątrz rzędów (0 / 45 / 85 ms) */
  .has-js .services-grid .service-item:nth-child(3n + 2) { transition-delay: 45ms; }
  .has-js .services-grid .service-item:nth-child(3n + 3) { transition-delay: 85ms; }
  .has-js .reviews-list .review-entry:nth-child(2) { transition-delay: 40ms; }
  .has-js .reviews-list .review-entry:nth-child(3) { transition-delay: 75ms; }
  .has-js .reviews-list .review-entry:nth-child(4) { transition-delay: 105ms; }
  .has-js .reviews-list .review-entry:nth-child(5) { transition-delay: 130ms; }
  .has-js .faq-list .faq-item:nth-child(2) { transition-delay: 35ms; }
  .has-js .faq-list .faq-item:nth-child(3) { transition-delay: 65ms; }
  .has-js .faq-list .faq-item:nth-child(4) { transition-delay: 90ms; }
  .has-js .faq-list .faq-item:nth-child(5) { transition-delay: 110ms; }
}

@media (prefers-reduced-motion: reduce) {
  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 180ms ease;
  }
}

/* ==========================================================================
   PODSTRONA PRAWNA (/POLITYKA-PRYWATNOSCI) ORAZ 404
   ========================================================================== */

.legal-page {
  padding: calc(var(--header-h) + 52px) 0 84px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-ice);
  margin-bottom: 28px;
}

@media (hover: hover) and (pointer: fine) {
  .legal-back:hover {
    color: #ffffff;
    text-decoration: underline;
  }
}

.prose-content {
  max-width: 38rem;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--text-secondary);
}

.prose-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  color: var(--text-primary);
  line-height: 1.06;
}

.prose-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.prose-content p,
.prose-content li {
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.62;
}

.prose-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.link-accent {
  color: var(--accent-ice);
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .link-accent:hover {
    color: #ffffff;
    text-decoration: underline;
  }
}
