/* main.css
 * Globalne style dla strony DOMURAT.
 * Tutaj trzymamy reset, kolory, typografię, kontenery i ogólne komponenty (np. przyciski).
 */

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

/* ============================================
   ELEGANCKI GRANATOWY PASEK PRZEWIJANIA
   ============================================ */

/* Firefox */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #0f2a64 #e2e8f0; /* thumb | tło */
}

/* WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #e2e8f0; /* jasny, neutralny — ładnie kontrastuje */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #0f2a64;  /* głęboki granat */
  border-radius: 10px;
  border: 2px solid #e2e8f0; /* robi eleganiczne obramowanie */
  box-shadow: 0 0 6px rgba(15, 42, 100, 0.4); /* delikatny glow */
}

::-webkit-scrollbar-thumb:hover {
  background: #173b8e; /* jaśniejszy navy po najechaniu */
}



body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #0f172a;
  background-color: #f3f4f6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Zmienne (CSS custom properties)
   ----------------------------------------- */
:root {
  --color-bg: #f3f4f6;
  --color-surface: #ffffff;
  --color-surface-soft: #e5edf5;
  --color-brand: #0b3c67;
  --color-brand-dark: #06243f;
  --color-accent: #e11d48; /* czerwony z przycisku */
  --color-text-main: #0f172a;
  --color-text-muted: #6b7280;
  --color-border-soft: rgba(148, 163, 184, 0.35);

  --color-header-text: #0f172a;
  --color-header-text-on-hero: #f9fafb;

  --radius-pill: 999px;
  --radius-md: 0.75rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);

  --header-height: 72px;
}

/* Layout
   ----------------------------------------- */
.container {
  width: min(1120px, 100% - 2rem);  /* ta sama logika co w container-home-hero */
  margin-inline: auto;
}
.center {
justify-content: center;
display: flex;
align-items: center;
}
.site-main {
  padding-top: 0;
}


/* Buttons
   ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background-color: transparent;
  color: var(--color-text-main);
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.08s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

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

/* Główny CTA – wypełniony */
.btn-primary {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #be123c;
  border-color: #be123c;
}

/* Obrysowany (telefon w headerze) */
.btn-outline {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: #ffffff;
}

/* Ghost – tylko tekst / lekki */
.btn-ghost {
  border-color: transparent;
  background-color: transparent;
  color: var(--color-text-muted);
  box-shadow: none;
}

.btn-ghost:hover {
  background-color: rgba(148, 163, 184, 0.15);
  color: var(--color-text-main);
}

/* Mniejszy rozmiar (np. przycisk raportu) */
.btn-small {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
}

/* Utility
   ----------------------------------------- */
.text-muted {
  color: var(--color-text-muted);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

/* ===============================
   GLOBAL HERO: .page-hero
   =============================== */

/* Sekcja hero – wspólne tło, kolorystyka, obramowanie */
.page-hero {
  position: relative;
  padding-top: 8.5rem;          /* jednolita wysokość względem headera */
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(239, 68, 68, 0.14), transparent 55%),
    #020617;
  color: #f9fafb;
  overflow: hidden;
}

/* Hero z wideo w tle – home / oferta */
.page-hero--video {
  padding-top: 0;
  padding-bottom: 0;
  min-height: clamp(420px, 75vh, 520px);
  display: flex;
  align-items: stretch;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Większy odstęp hero od góry strony */
.page-hero-layer {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.96) 0%,
    rgba(15, 23, 42, 0.82) 52%,
    rgba(15, 23, 42, 0.45) 100%
  );

  /* TU DODANE */
  padding-top: 6rem;   /* zwiększ/zmniejsz jak chcesz */
  padding-bottom: 3rem;
}


/* Wewnętrzny layout – domyślnie jedna kolumna, wycentrowana w pionie */
.page-hero-inner {
  display: flex;
  align-items: center;
  min-height: clamp(280px, 60vh, 420px);
}

/* Wariant z dwiema kolumnami (np. Realizacje: tekst + panel z boku) */
.page-hero-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 3rem);
}

/* Blok tekstu */
.page-hero-text {
  max-width: 40rem;
}

/* Górna linijka – „eyebrow” / kicker */
.page-hero-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #38bdf8;
}

/* Tytuł */
.page-hero-title {
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
}

/* Lead / główny tekst opisowy */
.page-hero-lead {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #cbd5f5;
}

/* Przyciski w hero */
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

/* Linijka z „zaufaniem” / meta-info */
.page-hero-meta-text {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* Prawa kolumna w hero (np. Realizacje) */
.page-hero-aside {
  max-width: 22rem;
}

.page-hero-meta {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem 1.4rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.6);
  backdrop-filter: blur(6px);
}

.page-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.page-hero-stat__value {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-hero-stat__label {
  font-size: 0.86rem;
  color: #e5e7eb;
}

.page-hero-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.page-hero-aside-list li::before {
  content: '';
  display: inline-block;
  width: 0.32rem;
  height: 0.32rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
  vertical-align: middle;
}

/* Realizacje – ciut większy margines na dole */
.page-hero--realizations {
  padding-bottom: 3.5rem;
}

/* Podstrony oferty – bez wideo */
.page-hero--suboffer .page-hero-layer {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 55%),
              #020617;
}

/* ===============================
   RESPONSYWNOŚĆ
   =============================== */

@media (max-width: 1024px) {
  .page-hero-inner--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-aside {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: 7rem;
    padding-bottom: 2.7rem;
  }

    .page-hero-layer {
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }
  .page-hero-inner {
    min-height: auto;
  }

  .page-hero-title {
    font-size: clamp(2rem, 6vw, 2.4rem);
  }

  .page-hero-lead {
    font-size: 0.96rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding-top: 6rem;
    padding-bottom: 2.4rem;
  }

  .page-hero-text {
    max-width: 100%;
  }

  .page-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Animacje sekcji / kart – ogólny system */

[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

[data-anim].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Opóźnienia – możesz dodawać data-anim-delay="0.05", "0.1" itd. */
[data-anim-delay="0.05"] { transition-delay: 0.05s; }
[data-anim-delay="0.1"]  { transition-delay: 0.1s; }
[data-anim-delay="0.15"] { transition-delay: 0.15s; }
[data-anim-delay="0.2"]  { transition-delay: 0.2s; }
[data-anim-delay="0.25"] { transition-delay: 0.25s; }

/* Hover dla kart – delikatne uniesienie i cień */

/* ============================
   GLOBAL: delikatne uniesienie kart
   ============================ */

/* wszystkie elementy, które mają reagować jak karta */
.u-card-hover,
.home-card,
.home-feature-item,
.home-step {
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out,
    background-color 0.25s ease-out;
}

.u-card-hover:hover,
.home-card:hover,
.home-feature-item:hover,
.home-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
}


/* ============================
   GLOBAL: zoom zdjęć / wideo
   ============================ */

/* element-y źródłowe: img / video w środku */
.u-media-zoom img,
.u-media-zoom video,
.home-feature-item-media img,
.home-section-media img,
.home-video-wrapper video {
  transition: transform 0.4s ease-out;
}

/* po najechaniu – delikatny zoom */
.u-media-zoom:hover img,
.u-media-zoom:hover video,
.home-feature-item:hover .home-feature-item-media img,
.home-section-split:hover .home-section-media img,
.home-video-card:hover .home-video-wrapper video {
  transform: scale(1.04);
}

/* Drugi – spokojniejszy, nie krzyczy */
.hero-cta-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(248, 250, 252, 0.6);
  box-shadow: 0 0 0 transparent; /* bez grubego cienia */
}

.hero-cta-secondary:hover {
  background: rgba(15, 23, 42, 0.377);
  border-color: rgba(248, 250, 252, 0.884);
}

/* ===========================
   COOKIES – ROOT
   =========================== */

#cookie-root {
  position: relative;
  z-index: 40;
}

/* ===========================
   BANER COOKIES (DÓŁ EKRANU)
   =========================== */

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9500;
  background: var(--color-brand); /* ciemne tło jak reszta strony */
  color: #e5e7eb;
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
}

.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  flex: 1 1 260px;
  margin: 0;
  line-height: 1.55;
}

.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-banner .btn {
  font-size: 0.8rem;
  padding-inline: 1rem;
  padding-block: 0.55rem;
}

/* ===========================
   PANEL COOKIES (MODAL)
   =========================== */

.cookie-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(2px);
}

/* schowane – nie pokazuj */
.cookie-panel-backdrop[hidden] {
  display: none;
}

.cookie-panel {
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #020617;
  color: #e5e7eb;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.85);
  padding: 1.4rem 1.6rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;

  animation: cookie-panel-in 0.22s ease-out;
}

@keyframes cookie-panel-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* nagłówek panelu */

.cookie-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.cookie-panel__header h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-panel__close {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.1s ease;
}

.cookie-panel__close:hover {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  transform: translateY(-1px);
}

/* treść panelu */

.cookie-panel__intro {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5f5;
}

.cookie-panel__section {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 0.85rem;
  margin-top: 0.3rem;
}

.cookie-panel__section h3 {
  margin: 0 0 0.4rem;
  font-size: 0.96rem;
  font-weight: 600;
}

.cookie-panel__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5f5;
}

/* kategorie */

.cookie-category {
  padding: 0.7rem 0;
}

.cookie-category + .cookie-category {
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
  margin-top: 0.4rem;
}

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.cookie-category__header strong {
  font-size: 0.93rem;
}

.cookie-category__pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.65);
}

/* toggle */

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.8rem;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-toggle__slider {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: #020617;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.65);
  flex-shrink: 0;
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #e5e7eb;
  transform: translateX(0);
  transition: transform 0.18s ease;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: #16a34a;
  box-shadow: none;
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(18px);
}

.cookie-toggle__label {
  font-size: 0.8rem;
  color: #cbd5f5;
}

/* lista cookies – SCHOWANA, żeby nie straszyć dev-danymi */

.cookie-panel__section--tech {
  display: none;
}

/* stopka panelu */

.cookie-panel__footer {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.cookie-panel__footer .btn {
  font-size: 0.82rem;
  padding-inline: 1rem;
  padding-block: 0.5rem;
}

/* ===========================
   RESPONSYWNOŚĆ
   =========================== */

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .cookie-panel {
    padding-inline: 1.25rem;
  }
}
/* Pływające przyciski (FAB) */
.fab-button {
  position: fixed;
  right: 1.25rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 0.2s ease-out,
    transform 0.2s ease-out,
    box-shadow 0.15s ease-out,
    background-color 0.15s ease-out,
    color 0.15s ease-out;
  background: var(--color-accent, #0f172a);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

/* Powrót na górę – niżej */
.fab-button--top {
  bottom: 1.25rem;
}

/* Kontakt – trochę wyżej, żeby się nie nachodziły */
.fab-button--contact {
  bottom: 4rem;
}

/* Pokazywanie po przewinięciu */
.fab-button.is-visible,
.fab-button--contact {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fab-button:hover {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.45);
  transform: translateY(-2px);
}

/* Na bardzo małych ekranach przyklej bliżej środka */
@media (max-width: 480px) {
  .fab-button {
    right: 0.75rem;
  }
}
.fab-button__icon {
  font-size: 1rem;
  line-height: 1;
}

.fab-button__label {
  margin-left: 0.4rem;
}

/* Na bardzo małych ekranach pokaż tylko ikonkę, bez tekstu */
@media (max-width: 480px) {
  .fab-button--contact .fab-button__label {
    display: none;
  }
}
/* =========================================
   Małe okienko "Skontaktuj się z nami"
   ========================================= */

.contact-nudge {
  position: fixed;
  right: 1.25rem;
  bottom: 7rem; /* nad FAB-ami */
  max-width: 260px;
  padding: 0.85rem 0.95rem 0.9rem;
  border-radius: 0.9rem;
  background: #020617;
  color: #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  font-size: 0.85rem;
  z-index: 998;

  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.22s ease-out,
    transform 0.22s ease-out;
}

.contact-nudge.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contact-nudge__text {
  margin: 0 0 0.55rem;
  line-height: 1.5;
}

.contact-nudge__close {
  position: absolute;
  top: 0.25rem;
  right: 0.4rem;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
  border-radius: 999px;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.08s ease;
}

.contact-nudge__close:hover {
  background-color: rgba(148, 163, 184, 0.25);
  color: #f9fafb;
  transform: translateY(-1px);
}

.contact-nudge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.contact-nudge__btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.08s ease;
}

.contact-nudge__btn span:first-child {
  font-size: 0.95em;
}

/* warianty tel / mail */
.contact-nudge__btn--phone {
  background-color: var(--color-accent, #e11d48);
  border-color: var(--color-accent, #e11d48);
  color: #ffffff;
}

.contact-nudge__btn--phone:hover {
  background-color: #be123c;
  border-color: #be123c;
  box-shadow: 0 10px 24px rgba(248, 113, 113, 0.35);
  transform: translateY(-1px);
}

.contact-nudge__btn--email {
  background-color: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.contact-nudge__btn--email:hover {
  background-color: rgba(30, 64, 175, 0.8);
  border-color: rgba(191, 219, 254, 0.9);
  color: #f9fafb;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.55);
  transform: translateY(-1px);
}

/* Mobile – trochę szerzej i wyżej */
@media (max-width: 480px) {
  .contact-nudge {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 6rem;
    max-width: none;
  }

  .fab-button--contact .fab-button__label {
    display: none; /* na małych – sama ikonka */
  }
}
.home-block--light {
  background-color: var(--color-bg);
}

.home-block--soft {
  background-color: var(--color-surface-soft) !important;
}

/* =========================================
   HERO VIDEO: overlay na 100% wysokości + brak "paska" na dole
   ========================================= */

.page-hero--video{
  position: relative; /* pewny stacking */
  overflow: hidden;
  background: #020617; /* jak video się ładuje */
}

/* usuwa mikro-szczeliny (inline video potrafi robić "pasek") */
.page-hero-media{
  line-height: 0;
  background: #020617;
}

.page-hero-video{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay ZAWSZE na całe hero (nie zależy od wysokości .page-hero-layer) */
.page-hero--video::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  /* Twój obecny klimat (lewo->prawo), tylko wymuszony na całość */
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.96) 0%,
    rgba(15, 23, 42, 0.82) 52%,
    rgba(15, 23, 42, 0.45) 100%
  );
}

/* content zawsze nad overlay */
.page-hero--video .page-hero-layer,
.page-hero--video .page-hero-inner{
  position: relative;
  z-index: 2;
}

/* NIE dubluj overlay (bo teraz robi go ::before) */
.page-hero--video .page-hero-layer{
  background: transparent !important;
}

/* lepsze vh na mobile (iOS/Chrome mobile) */
.page-hero--video{
  min-height: clamp(420px, 75svh, 520px);
}
@supports (height: 100dvh){
  .page-hero--video{
    min-height: clamp(420px, 75dvh, 520px);
  }
}
/* =========================================
   MOBILE: hero startuje pod fixed headerem
   ========================================= */
@media (max-width: 960px){

  /* Dopasuj, jeśli header na Twoim tel ma inną wysokość */
  :root{
    --mobile-header-h: 176px;
  }

  /* Hero przesunięte w dół o wysokość headera */
  .page-hero--home.page-hero--image,
  .page-hero--video{
    margin-top: var(--mobile-header-h) !important;
    padding-top: 0 !important; /* żeby nie było podwójnego odsunięcia */
    min-height: calc(100svh - var(--mobile-header-h)) !important;
  }

  /* fallback gdy svh nie działa */
  @supports not (height: 100svh){
    .page-hero--home.page-hero--image,
    .page-hero--video{
      min-height: calc(100vh - var(--mobile-header-h)) !important;
    }
  }
}
