/* ============================================
   DISTRIGO — szablon strony
   Design system + komponenty (statyczny mockup)
   ============================================ */

/* ---------- BryantPro web font (licencjonowane od grafików) ---------- */
@font-face {
  font-family: "BryantPro";
  src:
    url("../fonts/BryantPro-Bold.woff2") format("woff2"),
    url("../fonts/BryantPro-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BryantPro";
  src:
    url("../fonts/BryantPro-Regular.woff2") format("woff2"),
    url("../fonts/BryantPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
/* <picture> jako transparentny wrapper — img zachowuje layout rodzica (WebP fallback) */
picture {
  display: contents;
}
/* <source> nie może być itemem grid/flex (display:contents promuje dzieci picture);
   bez tego <source> zajmuje komórkę grid → np. brand-strip łamie się na 2 rzędy */
picture source {
  display: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
input,
select,
textarea {
  font: inherit;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: only light; /* twardy opt-out z Auto Dark Theme (Edge/Chrome Android); "only" wyłącza auto-ciemnienie i zapobiega flashowi ciemnej treści */
  --c-orange: #e84e10;
  --c-orange-dark: #c13f0a;
  --c-black: #1a1a1a;
  --c-text: #000;
  --c-muted: #000;
  --c-bg: #f0f0f0;
  --c-bg-alt: #fafafa;
  --c-border: #e5e5e5;
  --radius-pill: 999px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --container: 1280px;
  --header-h: 55px;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);
  /* Font families zgodne z PDF projektowym (Adobe Illustrator):
     - Body: ArialMT (font 6/7/8/16/19/22/29/32 w fontspec PDF)
     - Display: BryantPro (font 0-5/9-15/17-31/33-39 w fontspec PDF) */
  --font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-display: "BryantPro", "Arial Black", Arial, sans-serif;
}

/* ---------- Layout ---------- */
/* Design fix: 1440 viewport → 80px margines (1280 content, auto-centered).
   24px safety padding na mobile, max-width chroni czytelność na wide screens. */
.container {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}
/* Węższy container — content margins ~220pt na 1440 (WITAMY, OGÓLNOPOLSKI, DLACZEGO, kontakt locator) */
.container--narrow {
  width: min(100% - 48px, 1100px);
}
/* Najwęższy container — TWOJE KORZYŚCI */
.container--narrower {
  width: min(100% - 48px, 730px);
}
/* Asymetryczny container: lewy margines jak narrow (~220pt), prawy jak outer (~80pt).
   Używany w promocje — content rozciąga się od narrow margin po lewej do outer po prawej. */
.container--asym {
  margin-left: max(24px, calc((100% - 1280px) / 2 + 140px));
  margin-right: max(24px, calc((100% - 1280px) / 2));
  max-width: 1280px;
}
.section {
  padding: 80px 0;
}
.section--gray {
  background: var(--c-bg);
}
.section--dark {
  background: var(--c-black);
  color: #fff;
}
.section--tight {
  padding: 56px 0;
}

/* ---------- Typography ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 37px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--c-orange);
  text-align: center;
  margin: 0 0 12px;
}
.section-subtitle {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--c-text);
  margin: 0 0 48px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-orange);
}
.section-lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 720px;
  margin: 0 auto 48px;
}

/* ---------- Header / nav (2 poziomy: białe logo + czarny nav) ---------- */
/* display: contents na .header — dzieci stają się direct children <body>,
   żeby sticky .header__bottom nie był uwięziony w bounding boxie .header */
.header {
  display: contents;
}
.header__top {
  background: #fff;
  padding: 26px 0;
}
.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.header__bottom {
  background: var(--c-black);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__bottom-inner {
  display: flex;
  align-items: stretch;
  height: 55px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand__img {
  height: 48px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: stretch;
  flex: 1;
  height: 100%;
}
.nav__list {
  display: flex;
  align-items: center;
  height: 100%;
  flex: 1;
  gap: 4px;
}
.nav__link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 22px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s var(--easing);
}
.nav__list > li:first-child .nav__link {
  padding-left: 0;
}
.nav__link:hover {
  color: var(--c-orange);
}
.nav__link[aria-current="page"] {
  color: var(--c-orange);
}
.nav__home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  color: #fff;
}
.nav__home svg {
  width: 18px;
  height: 18px;
}
.nav__home:hover {
  color: var(--c-orange);
}
.nav__contact {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  font-size: 11px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 1280px) {
  .nav__contact {
    display: none;
  }
}
.nav__contact a:hover {
  color: var(--c-orange);
}
.nav__cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition:
    transform 0.15s var(--easing),
    background 0.2s var(--easing),
    color 0.2s var(--easing);
  white-space: nowrap;
}
.btn--blue {
  background: #1f4e96;
  color: #fff;
}
.btn--blue:hover {
  background: #173a72;
}
.btn--green {
  background: #2bb95c;
  color: #fff;
}
.btn--green:hover {
  background: #209847;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--c-orange);
  color: #fff;
}
.btn--primary:hover {
  background: var(--c-orange-dark);
}
.btn--dark {
  background: var(--c-black);
  color: #fff;
}
.btn--dark:hover {
  background: #000;
}
.btn--ghost {
  background: #fff;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn--ghost:hover {
  border-color: var(--c-text);
}
.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}
.btn--wide {
  min-width: 220px;
  justify-content: center;
}
.btn--header {
  height: 100%;
  padding: 0 32px;
  border-radius: 0;
  align-self: stretch;
  flex-shrink: 0;
  margin: 0;
  font-size: 14px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--c-black);
  border-radius: var(--radius-sm);
  position: relative;
}
.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s var(--easing),
    opacity 0.2s var(--easing),
    top 0.2s var(--easing);
}
.burger::before {
  top: calc(50% - 7px);
}
.burger::after {
  top: calc(50% + 7px);
}
.burger.is-open span {
  opacity: 0;
}
.burger.is-open::before {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.burger.is-open::after {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ---------- Hero banner full (grafika tła + nakładka tekstu) ---------- */
.hero-banner-full {
  display: block;
  background: var(--c-bg);
  line-height: 0;
  position: relative;
}
.hero-banner-full img,
.hero-banner-full__link img {
  display: block;
  width: 100%;
  /* Naturalna szerokość obrazów hero = 1440px — bez skalowania ponad 100% */
  max-width: 1440px;
  height: auto;
  margin: 0 auto;
}
.hero-banner-full__link {
  display: block;
}
.hero-banner-full__overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* Padding alignment z container global (1280px).
     Cap = (1440 - 1280) / 2 = 80px — bo overlay ma max-width 1440px.
     Bez capa padding rósłby z viewportem i wpychał tekst do środka. */
  padding: 24px clamp(24px, calc((100vw - 1280px) / 2), 80px);
  pointer-events: none;
}
.hero-banner-full__overlay > * {
  pointer-events: auto;
}
.hero-banner-full__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 14px;
}
.hero-banner-full__subtitle {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 24px;
}
.hero-banner-full__overlay .btn {
  align-self: flex-start;
}
.hero-banner-full__overlay--light .hero-banner-full__title,
.hero-banner-full__overlay--light .hero-banner-full__subtitle {
  color: #fff;
}

/* ---------- Hero slider (2 banery z osobnym overlayem) ---------- */
.hero-slider {
  position: relative;
  /* Dopasowane do tła grafik hero (#E6E6E6) — bez szwu na ekranach >1440px */
  background: #e6e6e6;
  overflow: hidden;
  line-height: 0;
}
.hero-slider__viewport {
  overflow: hidden;
}
.hero-slider__track {
  display: flex;
  transition: transform 0.6s var(--easing);
  will-change: transform;
}
.hero-slider__slide {
  flex: 0 0 100%;
  position: relative;
  min-width: 0;
}
.hero-slider__slide img {
  display: block;
  width: 100%;
  /* Naturalna szerokość obrazów hero = 1440px — bez skalowania ponad 100% */
  max-width: 1440px;
  height: auto;
  margin: 0 auto;
}
.hero-slider__overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* Padding alignment z container global (1280px).
     Cap = (1440 - 1280) / 2 = 80px — bo overlay ma max-width 1440px.
     Bez capa padding rósłby z viewportem i wpychał tekst do środka. */
  padding: 24px clamp(24px, calc((100vw - 1280px) / 2), 80px);
  line-height: 1.2;
  pointer-events: none;
}
.hero-slider__overlay > * {
  pointer-events: auto;
}
.hero-slider__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 14px;
}
.hero-slider__subtitle {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 24px;
}
.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--easing);
  z-index: 2;
}
.hero-slider__nav:hover {
  background: rgba(0, 0, 0, 0.6);
}
.hero-slider__nav--prev {
  left: 16px;
}
.hero-slider__nav--next {
  right: 16px;
}
.hero-slider__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-slider__dots .hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s var(--easing);
}
.hero-slider__dots .hero__dot.is-active {
  background: #fff;
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  background: var(--c-bg);
  overflow: hidden;
}
.hero__viewport {
  position: relative;
}
.hero__track {
  display: flex;
  transition: transform 0.6s var(--easing);
}
.hero__slide {
  flex: 0 0 100%;
  min-height: 410px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 40px 0;
}
.hero__slide-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 24px;
}
.hero__text {
  max-width: 100%;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--c-text);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .hero__title {
    white-space: normal;
  }
}
.hero__title--orange {
  color: var(--c-orange);
}
.hero__subtitle {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 20px;
}
.hero__lead {
  font-size: 16px;
  color: var(--c-text);
  margin: 0 0 28px;
  max-width: 480px;
}
.hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__media img {
  width: 100%;
  height: auto;
  display: block;
}
.hero--orange {
  background: linear-gradient(135deg, var(--c-orange) 0%, #f49027 100%);
  color: #fff;
}
.hero--orange .hero__title {
  color: #fff;
}
.hero--orange .hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
}
.hero--orange .hero__lead {
  color: rgba(255, 255, 255, 0.95);
}
.hero--orange .btn--primary {
  background: #fff;
  color: var(--c-text);
}
.hero--orange .btn--primary:hover {
  background: var(--c-black);
  color: #fff;
}

/* Mapa Google jako image (kontakt) */
.locator__map-image {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
}
.locator__map-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero banner — pełny obraz z PDF jako tło (np. promocje) */
.hero--banner {
  background: var(--c-orange);
}
.hero__slide--banner {
  background-size: cover;
  background-position: right center;
  background-color: var(--c-orange);
  background-repeat: no-repeat;
  min-height: 380px;
  position: relative;
}
.hero__slide--banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--c-orange) 0%,
    var(--c-orange) 30%,
    rgba(232, 78, 16, 0.3) 60%,
    transparent 100%
  );
  pointer-events: none;
}
.hero__slide-inner--banner {
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}
.hero__slide--banner .hero__title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}
.hero__slide--banner .hero__subtitle {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.hero__slide--banner .btn--primary {
  background: #fff;
  color: var(--c-text);
}
.hero__slide--banner .btn--primary:hover {
  background: var(--c-black);
  color: #fff;
}

/* slider controls */
.hero__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-text);
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  z-index: 5;
  box-shadow: var(--shadow-sm);
  transition:
    background 0.2s var(--easing),
    color 0.2s var(--easing);
}
.hero__nav:hover {
  background: var(--c-orange);
  color: #fff;
}
.hero__nav--prev {
  left: 24px;
}
.hero__nav--next {
  right: 24px;
}
.hero__nav svg {
  width: 18px;
  height: 18px;
}

.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  transition:
    background 0.2s var(--easing),
    width 0.2s var(--easing);
}
.hero__dot.is-active {
  background: var(--c-orange);
  width: 28px;
  border-radius: var(--radius-pill);
}
.hero--orange .hero__dot {
  background: rgba(255, 255, 255, 0.5);
}
.hero--orange .hero__dot.is-active {
  background: #fff;
}

/* ---------- Welcome / intro ---------- */
.intro {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}
.intro p {
  color: var(--c-text);
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Brand strip (4 marki części — osobne loga w gridzie) ---------- */
.brand-strip-section {
  background: #f0f0f0;
  padding: 32px 0;
}
.brand-strip {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.brand-strip__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

/* ---------- Reach / Polska map ---------- */
.reach {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}
.reach__map img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}
.reach__copy p {
  color: var(--c-muted);
  margin: 0 0 16px;
}
.reach__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--c-black);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.newsletter__icon {
  width: 44px;
  height: 44px;
  background: var(--c-orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.newsletter__icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}
.newsletter__title {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-orange);
  font-size: 14px;
}
.newsletter__sub {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}
.newsletter__input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  min-width: 260px;
}
.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Why distrigo (8 ikon) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.feature {
  text-align: center;
  padding: 12px;
}
.feature__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}
.feature__icon img {
  width: 96px;
  height: 96px;
  display: block;
  transition: transform 0.2s var(--easing);
}
.feature:hover .feature__icon img {
  transform: scale(1.05);
}
.feature__text {
  font-size: 16px;
  color: var(--c-text);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* ---------- Offer 360 widget ---------- */
.widget-360 {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.widget-360__circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--c-orange) 0 90deg,
    #1f4e96 90deg 180deg,
    #00a09a 180deg 270deg,
    #4a4a4a 270deg 360deg
  );
  -webkit-mask: radial-gradient(circle, transparent 35%, #000 36%);
  mask: radial-gradient(circle, transparent 35%, #000 36%);
  opacity: 0.15;
}
.widget-360__center {
  position: absolute;
  inset: 32%;
  background: var(--c-orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.04em;
}
.widget-360__quad {
  position: absolute;
  width: 130px;
  display: grid;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text);
  text-align: center;
}
.widget-360__quad--tl {
  top: 8%;
  left: 0;
}
.widget-360__quad--tr {
  top: 8%;
  right: 0;
  text-align: center;
}
.widget-360__quad--bl {
  bottom: 8%;
  left: 0;
  text-align: center;
}
.widget-360__quad--br {
  bottom: 8%;
  right: 0;
  text-align: center;
}

/* ---------- Offer tabs ---------- */
.offer-tabs {
  background: #a7a7a5;
}
.offer-tabs__list {
  display: flex;
  justify-content: center;
}
.offer-tabs__link {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 28px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Offer brand block ---------- */
.offer-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
}
/* Image col WIDER when image is on LEFT (HTML: image first) — MOPAR */
.offer-block--image-left {
  grid-template-columns: 1.2fr 1fr;
}
/* Image col WIDER when image is on RIGHT (HTML: content first) — EUROREPAR, INNI */
.offer-block--image-right {
  grid-template-columns: 1fr 1.7fr;
}
/* EUROREPAR — szersza kolumna treści (tekst nie zawijał się jak na projekcie) */
#eurorepar .offer-block--image-right {
  grid-template-columns: 1fr 1.31fr;
}
#eurorepar .offer-block__lead {
  max-width: none;
}
#eurorepar .offer-block {
  padding-bottom: 32px;
}
.offer-block--reverse {
  direction: rtl;
}
.offer-block--reverse > * {
  direction: ltr;
}
/* Image full-bleed do lewej krawędzi viewport (SUSTAINera) — bez white space */
.offer-block--bleed-left {
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 0;
}
.offer-block--bleed-left .offer-block__media {
  /* Anchor to viewport left edge AND extend width by container margin
     so image scales with viewport on screens >1280. */
  margin-left: calc(-1 * max(24px, (100vw - 1280px) / 2));
  width: calc(100% + max(24px, (100vw - 1280px) / 2));
  display: block;
}
.offer-block--bleed-left .offer-block__media img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: unset;
  display: block;
}
.offer-block--bleed-left > div:last-child {
  padding: 96px 0 24px;
  align-self: start;
}
.offer-block--bleed-left .offer-block__lead {
  max-width: none;
}

/* Image full-bleed do prawej krawędzi viewport (EUROREPAR) — całe zdjęcie widoczne */
.offer-block--bleed-right {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.offer-block--bleed-right .offer-block__media {
  display: flex;
  justify-content: flex-end;
  margin-right: calc(50% - 50vw);
}
.offer-block--bleed-right .offer-block__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 380px;
  display: block;
}
.offer-block__media img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
}
/* Wariant z logo brandu pod imageem (EUROREPAR) */
.offer-block__media--with-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.offer-block__media--with-logo .offer-block__media-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}
.offer-block__brand-logo {
  width: auto;
  max-width: 100px;
  height: auto;
}
.offer-block__brand-logo--wide {
  max-width: 240px;
}
.offer-block__media--h320 .offer-block__media-img {
  max-height: 320px;
}
/* Wariant z logo NA imageu w lewym dolnym rogu (MOPAR) */
.offer-block__media--logo-left {
  display: block;
  position: relative;
}
.offer-block__media--logo-left .offer-block__media-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
}
.offer-block__media--logo-right .offer-block__media-img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  display: block;
}
.offer-block__media--logo-left .offer-block__brand-logo {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 85px;
}
/* Wariant z logo NA imageu w prawym dolnym rogu (INNI) */
.offer-block__media--logo-right {
  display: block;
  position: relative;
}
.offer-block__media--logo-right .offer-block__brand-logo {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 180px;
}
.offer-block__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 20px;
}
.offer-block__lead {
  color: var(--c-muted);
  margin: 0 0 24px;
  max-width: 460px;
}
.warranty-badge-img {
  display: block;
  margin: 0 0 24px;
  width: 191px;
  height: 61px;
}
.offer-block__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.benefits {
  padding: 56px 0 32px;
  background: #f0f0f0;
}
.benefits__title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin: 0 0 32px;
}
.benefits--green .benefits__title {
  color: #2bb95c;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  max-width: 1050px;
  margin: 0 auto;
}
.benefits__grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}
.benefit {
  text-align: center;
  padding: 0;
}
.benefit__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}
.benefit__icon img {
  width: 88px;
  height: 88px;
  display: block;
}
.benefit__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 2px;
}
.benefit__text {
  font-size: 12px;
  color: var(--c-muted);
  margin: 0;
}
#inni .benefit__text {
  max-width: 300px;
  margin: 0 auto;
}

.offer-block__sep {
  height: 2px;
  background: var(--c-orange);
  border: 0;
  margin: 0;
}
/* Linia przed SUSTAINera — zielona (motyw eco, zgodnie z makietą) */
.offer-block__sep--green {
  background: #57a866;
}

/* ---------- Car brands strip (Mopar section — Stellantis brands) ---------- */
/* 2 połowy po 5 marek: desktop stykają się w 1 rzędzie, mobile zawijają na 2 rzędy */
.car-brands {
  padding: 20px 0 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 0;
}
.car-brands__half {
  display: block;
  /* desktop: rozmiar jak w makiecie (~40px wys, pasek ~44% szerokości) — nigdy >100% natural */
  height: 40px;
  width: auto;
  max-width: 50%;
}
@media (max-width: 720px) {
  .car-brands__half {
    /* mobile: 2 rzędy po 5 (flex-wrap), wysokość kontroluje rozmiar — loga umiarkowane, nie rozciągane na full width */
    height: 42px;
    max-width: 100%;
  }
  /* Box "TWOJE KORZYŚCI" — 1 kolumna na mobile; repeat(3,1fr) nie zawijał i wychodził poza ekran */
  .benefits__grid,
  .benefits__grid--2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Product groups (oferta — szara sekcja z 14 ikonami) ---------- */
.product-groups {
  background: #333333;
  padding: 64px 0 72px;
  color: #fff;
}
.product-groups__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin: 0 0 48px;
  line-height: 1.2;
}
.product-groups__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px 16px;
}
.product-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.product-group__icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.product-group__icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}
.product-group__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

/* ---------- Promotions ---------- */
.promo {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 56px;
  align-items: start;
  padding: 60px 0;
  border-bottom: 2px solid var(--c-orange);
}
.promo:last-of-type {
  border-bottom: 0;
}
.promo--reverse > .promo__media {
  order: 2;
}
.promo__media {
  display: flex;
  width: 500px;
  height: 375px;
}
.promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: var(--c-bg);
}
.promo__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 6px;
  line-height: 1.1;
}
.promo__discount {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--c-orange);
  margin: 0 0 14px;
}
.promo__lead {
  color: var(--c-muted);
  margin: 0 0 10px;
  max-width: 540px;
}
.promo__valid {
  font-weight: 700;
  margin: 0 0 16px;
}
.promo__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.promo__details {
  /* Tymczasowo ukryte — martwy anchor (#slug do tego samego bloku). Przywrócić po dodaniu widoku szczegółów promocji. */
  display: none;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  color: var(--c-text);
}
.promo__details:hover {
  color: var(--c-orange);
}

/* ---------- Locator (kontakt) ---------- */
.locator {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.locator__searchbar {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.locator__gmap {
  grid-column: 1;
  grid-row: 2;
}
.locator__list {
  grid-column: 2;
  grid-row: 2;
}
.locator__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.locator__row--input {
  justify-content: space-between;
}
.locator__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 14px;
}
.locator__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.locator__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--c-muted);
}
.locator__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.locator__legend-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.locator__legend-item--relay::before {
  background: var(--c-orange);
}
.locator__legend-item--market::before {
  background: var(--c-black);
}
.locator__submit {
  flex-shrink: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}
.chip:hover {
  border-color: var(--c-text);
}
.chip--relays.is-on,
.chip--hubs.is-on {
  background: var(--c-orange);
  color: #fff;
  border-color: var(--c-orange);
}
.chip--markets.is-on {
  background: var(--c-black);
  color: #fff;
  border-color: var(--c-black);
}
.chip input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1.5px solid var(--c-border);
  border-radius: 3px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px 11px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.chip.is-on input[type="checkbox"] {
  background-color: #fff;
  border-color: #fff;
}
.chip--relays.is-on input[type="checkbox"],
.chip--hubs.is-on input[type="checkbox"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='none' stroke='%23E84E10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5 L5 9 L9.5 3.5'/></svg>");
}
.chip--markets.is-on input[type="checkbox"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5 L5 9 L9.5 3.5'/></svg>");
}
.locator__gmap {
  width: 100%;
  min-height: 480px;
  flex: 1;
  border: 0;
  border-radius: var(--radius-sm);
  background: #e9eef3;
}
.map-placeholder {
  display: grid;
  place-items: center;
  color: var(--c-muted);
  font-size: 14px;
}
.locator__list {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  max-height: 480px;
  overflow-y: auto;
  padding: 8px;
}
.dist-card {
  padding: 16px 14px;
  border-bottom: 1px solid var(--c-border);
}
.dist-card:last-child {
  border-bottom: 0;
}
.dist-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.dist-card__name {
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 6px;
}
.dist-card__type {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--c-black);
  color: #fff;
}
.dist-card__type--hub,
.dist-card__type--relay {
  background: var(--c-orange);
}
.dist-card__type--market {
  background: var(--c-black);
}
.dist-card__meta {
  font-size: 12px;
  color: var(--c-muted);
  margin: 6px 0 4px;
}
.dist-card__meta a {
  color: var(--c-text);
}
.dist-card__meta a:hover {
  color: var(--c-orange);
}
.dist-card__contact {
  margin: 5px 0;
}
.dist-card__contact + .dist-card__contact {
  padding-top: 5px;
  border-top: 1px dashed var(--c-border);
}
.dist-card__person {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-text);
}
.dist-card__brands {
  font-size: 11px;
  color: var(--c-orange);
  font-weight: 600;
}
.dist-card__distance {
  font-size: 11px;
  color: var(--c-muted);
  margin-top: 6px;
  font-weight: 600;
}
.dist-card {
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.dist-card:hover {
  background: rgba(232, 78, 16, 0.04);
}
.dist-card:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: -2px;
}
.dist-card.is-highlighted {
  background: rgba(232, 78, 16, 0.08);
  border-left: 3px solid var(--c-orange);
  padding-left: 11px; /* 14px padding - 3px border, żeby treść się nie przesuwała */
}
.locator__empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--c-muted);
  font-size: 13px;
}

/* ---------- Google Maps InfoWindow content ---------- */
.info-window {
  font-family: inherit;
  color: var(--c-text);
  min-width: 220px;
  max-width: 280px;
  padding: 4px 4px 6px;
}
.info-window__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.info-window__name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
  color: var(--c-text);
}
.info-window__type {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}
.info-window__type--relay,
.info-window__type--hub {
  background: var(--c-orange);
}
.info-window__type--market {
  background: var(--c-black);
}
.info-window__meta {
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-muted);
  margin: 4px 0;
}
.info-window__meta a {
  color: var(--c-text);
  text-decoration: none;
  word-break: break-word;
}
.info-window__meta a:hover {
  color: var(--c-orange);
  text-decoration: underline;
}
.info-window__contact {
  margin: 4px 0;
}
.info-window__contact + .info-window__contact {
  padding-top: 4px;
  border-top: 1px dashed var(--c-border);
}
.info-window__person {
  font-weight: 600;
  color: var(--c-text);
}
.info-window__address {
  color: var(--c-text);
  font-weight: 500;
  margin-top: 0;
}
.info-window__offer {
  border-top: 1px solid var(--c-border);
  padding-top: 6px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--c-orange);
  font-weight: 600;
}
.info-window__distance {
  font-size: 11px;
  color: var(--c-muted);
  font-weight: 600;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--c-border);
}

/* ---------- Form (Dołącz do nas) ---------- */
.form-section {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  text-align: left;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__field {
  display: grid;
  gap: 6px;
}
.form__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text);
}
.form__control {
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color 0.2s var(--easing);
}
.form__control:focus {
  outline: none;
  border-color: var(--c-orange);
}
.form__control--textarea {
  min-height: 120px;
  resize: vertical;
}

/* Native select reset — żeby miał tę samą wysokość co input */
select.form__control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%232B2B2B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1.5 L6 6.5 L11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}
select.form__control::-ms-expand {
  display: none;
}
.form__submit {
  justify-self: center;
  margin-top: 8px;
}

/* ---------- Service box (placeholder) ---------- */
.placeholder-page {
  text-align: center;
  padding: 120px 0;
}
.placeholder-page__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--c-orange);
  display: grid;
  place-items: center;
  color: #fff;
}
.placeholder-page__icon svg {
  width: 44px;
  height: 44px;
}
.placeholder-page h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-orange);
  margin: 0 0 16px;
}
.placeholder-page p {
  color: var(--c-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ---------- Customer service banner (kontakt bottom) ---------- */
.cs-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 0;
}
.cs-banner__icon {
  display: grid;
  place-items: center;
  color: var(--c-orange);
}
.cs-banner__icon svg {
  width: 56px;
  height: 56px;
}
.cs-banner__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0;
}
.cs-banner__phone {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-orange);
  margin: 0;
}
.cs-banner__hours {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-muted);
}
.cs-banner__email {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
}
.cs-banner__email a {
  color: var(--c-orange);
  text-decoration: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--c-black);
  color: #fff;
  padding: 40px 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.footer__brand img {
  display: block;
  height: 56px;
  width: auto;
}
.footer__col {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.footer__col a:hover {
  color: var(--c-orange);
}
.footer__heading {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 4px;
}
.footer__legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.4);
  text-align: justify;
}
.footer__legal p {
  margin: 0 0 10px;
}
.footer__legal p:last-child {
  margin-bottom: 0;
}

/* ---------- 3 Tiles (Magazyn / Relay / Market — home) ---------- */
.tiles-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tile-3 {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tile-3__media {
  aspect-ratio: 380 / 210;
  max-height: 220px;
  overflow: hidden;
  background: var(--c-bg);
  border: 2px solid var(--c-orange);
  border-radius: 20px;
}
.tile-3__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile-3__title {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 18px 0 8px;
}
.tile-3__text {
  font-size: 16px;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.5;
  max-width: 420px;
}

/* ---------- Intro narrow (Dołącz strona) ---------- */
.intro--narrow {
  max-width: 580px;
}
.intro--narrow .section-title {
  text-align: left;
}
.intro--narrow p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ---------- Form dark (Dołącz do nas — czarne tło) ---------- */
.form-dark {
  padding: 64px 0;
}
.form-dark__title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(24px, 2.6vw, 37px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 36px;
}
.form--dark {
  max-width: 450px;
  margin: 0 auto;
}
.form--dark .form__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.form--dark .form__control {
  background: #fff;
  border: 1px solid #fff;
  color: var(--c-text);
}
.form--dark .form__control:focus {
  border-color: var(--c-orange);
}
.form--dark .form__submit {
  justify-self: center;
  min-width: 280px;
  padding: 16px 56px;
  margin-top: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-groups__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 880px) {
  .header__inner {
    gap: 12px;
  }
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    height: auto;
    flex-direction: column;
    padding: calc(var(--header-h) + 32px) 28px
      max(28px, env(safe-area-inset-bottom));
    background: var(--c-black);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.22s var(--easing),
      transform 0.22s var(--easing);
    transform: translateY(-6px);
  }
  .nav.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 auto;
    height: auto;
    gap: 0;
  }
  .nav__list > li:first-child .nav__link {
    padding-left: 0;
  }
  .nav__list > li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav__link {
    display: flex;
    align-items: center;
    padding: 22px 0;
    height: auto;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    position: relative;
  }
  .nav__link[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-orange);
  }
  .nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 18px 24px;
    background: var(--c-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    transition: background 0.2s var(--easing);
  }
  .nav__cta:hover {
    background: var(--c-orange-dark);
  }
  .nav__home,
  .nav__contact {
    display: none;
  }
  .burger {
    display: block;
    margin-left: auto;
    align-self: center;
    position: relative;
    z-index: 110;
  }
  .btn--header {
    display: none;
  }

  .hero__slide-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .hero__text {
    max-width: none;
  }
  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__media {
    order: -1;
  }
  .hero__media img {
    max-height: 240px;
  }
  .hero__nav {
    width: 40px;
    height: 40px;
  }
  .hero__nav--prev {
    left: 8px;
  }
  .hero__nav--next {
    right: 8px;
  }

  .brand-strip {
    grid-template-columns: 1fr 1fr;
  }
  .brand-strip__item:nth-child(2) {
    border-right: 0;
  }
  .brand-strip__item:nth-child(1),
  .brand-strip__item:nth-child(2) {
    border-bottom: 1px solid var(--c-border);
  }

  .reach {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .newsletter {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .newsletter__icon {
    margin: 0 auto;
  }
  .newsletter__input {
    min-width: 0;
  }

  .features {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .tiles-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tile-3__text {
    max-width: none;
  }

  .offer-block,
  #eurorepar .offer-block--image-right,
  #inni .offer-block--image-right {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }
  .offer-block--reverse {
    direction: ltr;
  }
  .benefits {
    grid-template-columns: 1fr;
  }

  /* Mopar — logo pod zdjęciem zamiast overlay, żeby nie nachodziło (mobile) */
  .offer-block__media--logo-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .offer-block__media--logo-left .offer-block__brand-logo {
    position: static;
  }

  /* Klient: bez dodatkowego menu grup części w wersji mobilnej */
  .offer-tabs {
    display: none;
  }

  .product-groups__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .promo__media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .promo--reverse > .promo__media {
    order: 0;
  }

  .locator {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .locator__searchbar,
  .locator__gmap,
  .locator__list {
    grid-column: 1;
    grid-row: auto;
  }
  .locator__list {
    max-height: 320px;
  }
  .locator__input {
    max-width: none;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .section {
    padding: 56px 0;
  }
}

/* Brand strip O nas — 2×2 na mobile (osobne loga, nie jeden pasek) */
@media (max-width: 720px) {
  .brand-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
  .brand-strip__logo {
    max-height: 96px;
  }
}

/* Hero mobilny — układ kolumnowy zgodny z mockupem klienta:
   tekst+CTA u góry (białe tło), obraz pod spodem o wyraźnej wysokości */
@media (max-width: 650px) {
  /* HERO SLIDER (index, oferta) — slajd jako kolumna */
  .hero-slider__slide {
    display: flex;
    flex-direction: column;
  }
  .hero-slider__slide img {
    order: 2;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    margin: 0;
  }
  .hero-slider__overlay {
    order: 1;
    position: static;
    transform: none;
    inset: auto;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    padding: 36px 24px 32px;
    background: #fff;
  }
  .hero-slider__title {
    font-size: 28px;
    margin: 0 0 14px;
  }
  .hero-slider__subtitle {
    font-size: 12px;
    margin: 0 0 24px;
  }
  .hero-slider__nav {
    display: none;
  }
  .hero-slider__dots {
    bottom: 8px;
  }

  /* HERO BANNER FULL (promocje) — ten sam układ */
  .hero-banner-full {
    display: flex;
    flex-direction: column;
  }
  .hero-banner-full img,
  .hero-banner-full__link img {
    order: 2;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    margin: 0;
  }
  .hero-banner-full__overlay {
    order: 1;
    position: static;
    transform: none;
    inset: auto;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    padding: 36px 24px 32px;
    background: #fff;
  }
  .hero-banner-full__title {
    font-size: 28px;
    margin: 0 0 14px;
  }
  .hero-banner-full__subtitle {
    font-size: 12px;
    margin: 0 0 24px;
  }
  /* Overlay --light na mobile zostaje na białym tle — kolor tekstu czarny */
  .hero-banner-full__overlay--light .hero-banner-full__title,
  .hero-banner-full__overlay--light .hero-banner-full__subtitle {
    color: var(--c-text);
  }

  /* Per-page object-position — żeby pokazać kluczowy element obrazu */
  .page-index .hero-slider__slide img {
    object-position: right center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .product-groups__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Form: honeypot anti-spam + feedback (api/join) ---------- */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-feedback {
  padding: 12px 16px;
  border-radius: 4px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.4;
}
.form-feedback--success {
  background: rgba(31, 138, 58, 0.15);
  color: #d4edda;
  border: 1px solid rgba(31, 138, 58, 0.5);
}
.form-feedback--error {
  background: rgba(198, 40, 40, 0.15);
  color: #f8d7da;
  border: 1px solid rgba(198, 40, 40, 0.5);
}
.section:not(.section--dark) .form-feedback--success {
  background: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}
.section:not(.section--dark) .form-feedback--error {
  background: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

/* =============================================================
   LEGAL PAGE — industrial editorial layout (polityka prywatności)
   ============================================================= */

.legal-page {
  --legal-mono:
    ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --legal-sidebar: 240px;
  --legal-gap: 64px;
}

/* ---------- Hero ---------- */
.legal-hero {
  background: var(--c-black);
  color: #fff;
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(238, 114, 3, 0.12) 0%, transparent 38%),
    radial-gradient(ellipse at 80% 0%, rgba(238, 114, 3, 0.18), transparent 55%);
  pointer-events: none;
}
.legal-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.legal-hero__eyebrow {
  font-family: var(--legal-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-orange);
}
.legal-hero__title {
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #fff;
}
.legal-hero__title span {
  display: block;
}
.legal-hero__lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  max-width: 620px;
  margin: 0;
}
.legal-hero__meta {
  font-family: var(--legal-mono);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 22px;
}
.legal-hero__meta strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

/* ---------- Breadcrumb ---------- */
.legal-breadcrumb {
  font-family: var(--legal-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 24px 0 0;
}
.legal-breadcrumb a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.legal-breadcrumb a:hover {
  color: var(--c-orange);
}
.legal-breadcrumb span[aria-current] {
  color: var(--c-text);
}
.legal-breadcrumb__sep {
  display: inline-block;
  margin: 0 10px;
  color: var(--c-orange);
}

/* ---------- Main grid ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: var(--legal-sidebar) minmax(0, 1fr);
  gap: var(--legal-gap);
  padding: 48px 0 96px;
  align-items: start;
}

/* ---------- TOC (sticky sidebar) ---------- */
.legal-toc {
  position: sticky;
  top: 32px;
  align-self: start;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding-right: 8px;
}
.legal-toc__label {
  font-family: var(--legal-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e5e5;
}
.legal-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: legal-toc;
}
.legal-toc__item {
  counter-increment: legal-toc;
  margin: 0;
}
.legal-toc__link {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 9px 0 9px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--c-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition:
    color 0.18s,
    border-color 0.18s,
    padding-left 0.18s;
}
.legal-toc__link::before {
  content: counter(legal-toc, decimal-leading-zero);
  font-family: var(--legal-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  transition: color 0.18s;
}
.legal-toc__link:hover {
  color: var(--c-text);
  border-left-color: #d4d4d4;
  padding-left: 14px;
}
.legal-toc__link.is-active {
  color: var(--c-orange);
  border-left-color: var(--c-orange);
  font-weight: 600;
}
.legal-toc__link.is-active::before {
  color: var(--c-orange);
}

/* Mobile TOC toggle (ukryty na desktop) */
.legal-toc__toggle {
  display: none;
}

/* ---------- Content ---------- */
.legal-content {
  font-family: "Inter", sans-serif;
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.75;
}
.legal-content > *:first-child {
  margin-top: 0;
}
/* Padding na końcu dokumentu — pozwala scrollować ostatnie sekcje na górę viewportu */
.legal-content {
  padding-bottom: 60vh;
}

.legal-content .legal-section {
  margin: 0 0 56px;
  scroll-margin-top: 32px;
}
.legal-content .legal-section__num {
  display: block;
  font-family: var(--legal-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 10px;
}
.legal-content h2 {
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--c-black);
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--c-orange);
}
.legal-content h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-black);
  margin: 32px 0 12px;
}
.legal-content p {
  margin: 0 0 16px;
}
.legal-content ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.legal-content ul li {
  position: relative;
  padding-left: 26px;
  margin: 0 0 12px;
}
.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 1px;
  background: var(--c-orange);
}
.legal-content a {
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-color: var(--c-orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.legal-content a:hover {
  color: var(--c-orange);
}
.legal-content code {
  font-family: var(--legal-mono);
  font-size: 0.88em;
  padding: 2px 7px;
  background: rgba(238, 114, 3, 0.1);
  color: var(--c-orange-dark);
  border-radius: 2px;
}
.legal-content strong {
  font-weight: 700;
  color: var(--c-black);
}

/* Callout box — wyróżnienie ważnych informacji */
.legal-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 24px;
  margin: 24px 0 32px;
  background: #faf8f6;
  border-left: 4px solid var(--c-orange);
  font-size: 15px;
  line-height: 1.65;
}
.legal-callout__tag {
  font-family: var(--legal-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-orange);
  padding-top: 2px;
  white-space: nowrap;
}
.legal-callout p {
  margin: 0;
}
.legal-callout p + p {
  margin-top: 10px;
}

/* Definition table — okresy retencji jako tabela */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid #e8e8e8;
}
.legal-table th {
  font-family: var(--legal-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}
.legal-table strong {
  display: block;
  margin-bottom: 4px;
}

/* Footer CTA */
.legal-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin: 56px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid #e5e5e5;
  font-family: var(--legal-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.legal-cta a {
  color: var(--c-orange);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.15s;
}
.legal-cta a:hover {
  color: var(--c-orange-dark);
}

/* Placeholder marker — wizualnie wyraźny TODO przed publikacją */
.legal-placeholder {
  display: inline-block;
  font-family: var(--legal-mono);
  font-size: 0.85em;
  padding: 1px 8px;
  background: #fff3cd;
  color: #856404;
  border: 1px dashed #d4a72c;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 0 64px;
  }
  .legal-toc {
    position: relative;
    top: 0;
    max-height: none;
    margin: 0 0 32px;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
  }
  .legal-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: var(--legal-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-text);
  }
  .legal-toc__toggle::after {
    content: "+";
    font-size: 18px;
    color: var(--c-orange);
    transition: transform 0.2s;
  }
  .legal-toc[aria-expanded="true"] .legal-toc__toggle::after {
    content: "−";
  }
  .legal-toc__label {
    display: none;
  }
  .legal-toc__panel {
    display: none;
    padding: 0 18px 18px;
  }
  .legal-toc[aria-expanded="true"] .legal-toc__panel {
    display: block;
  }
}
@media (max-width: 720px) {
  .legal-hero {
    padding: 56px 0 40px;
  }
  .legal-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-hero__meta {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 22px 0 0;
    white-space: normal;
  }
  .legal-content h2 {
    font-size: 20px;
    padding-left: 14px;
  }
  .legal-cta {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   COOKIE BANNER — prosty, 2 przyciski (1 kategoria opcjonalna)
   ============================================================= */
.cookie-banner {
  --cb-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  background: #1a1a1a;
  color: #fff;
  border-top: 2px solid #ee7203;
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 18px 0;
}
.cookie-banner__eyebrow {
  font-family: var(--cb-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ee7203;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-banner__eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: #ee7203;
}
.cookie-banner__text {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 820px;
}
.cookie-banner__text strong {
  color: #fff;
  font-weight: 600;
}
.cookie-banner__text a {
  color: #ee7203;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner__text a:hover {
  color: #ff8a1f;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner__btn {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  white-space: nowrap;
  min-width: 160px;
}
.cookie-banner__btn--primary {
  background: #ee7203;
  color: #fff;
}
.cookie-banner__btn--primary:hover {
  background: #c95e00;
}
.cookie-banner__btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.cookie-banner__btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Reopen pill */
.cookie-reopen {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 998;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.cookie-reopen:hover {
  color: #ee7203;
  border-color: #ee7203;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(238, 114, 3, 0.2);
}
.cookie-reopen svg {
  width: 20px;
  height: 20px;
}
.cookie-reopen[hidden] {
  display: none;
}

/* Map placeholder (click-to-load) */
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 48px 32px;
  max-width: 480px;
  margin: 0 auto;
  color: var(--c-text);
}
.map-consent__icon {
  width: 44px;
  height: 44px;
  color: var(--c-orange);
  margin-bottom: 4px;
  stroke-width: 1.4;
}
.map-consent__title {
  font-family: "Nunito", "Inter", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--c-black);
  margin: 0;
  line-height: 1.2;
}
.map-consent__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
  max-width: 380px;
}
.map-consent__btn {
  margin-top: 6px;
  letter-spacing: 0.1em;
}
.locator__gmap.map-placeholder:has(.map-consent) {
  background:
    linear-gradient(135deg, rgba(238, 114, 3, 0.04), transparent 60%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 14px,
      rgba(238, 114, 3, 0.04) 14px,
      rgba(238, 114, 3, 0.04) 15px
    ),
    #fafafa;
  border: 1px solid #e8e8e8;
}

/* Mobile */
@media (max-width: 720px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0 16px;
  }
  .cookie-banner__actions {
    width: 100%;
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .cookie-banner__btn {
    width: 100%;
    padding: 14px 20px;
    min-width: 0;
  }
  .cookie-reopen {
    bottom: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
  }
}
