/* =========================================================
   IMPORT FONTÓW
   =========================================================
   Baloo 2 — bardziej miękki, przyjazny font dla nagłówków i UI.
   Inria Sans — prosty font pomocniczy do dłuższych opisów.
*/
/* Główna czcionka strony */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
/* =========================================================
   ZMIENNE GLOBALNE
   =========================================================
   Tu trzymasz kolory, promienie zaokrągleń, cienie i szerokość kontenera.

   Dzięki temu później nie szukasz kolorów po całym CSS.
   Zmieniasz np. --color-accent i wszystkie przyciski CTA zmieniają kolor.
*/
:root {
  /* Kolory bazowe */
  --color-bg: #FBFDFC;
  --color-white: #FFFFFF;

  /* Tekst */
  --color-text: #12343B;
  --color-text-soft: #2A4B52;
  --color-muted: #6E858B;

  /* Kolory marki */
  --color-primary: #1FA6A8;
  --color-primary-dark: #0F7779;

  /* Kolor akcentu — używany głównie dla CTA */
  --color-accent: #F66A5B;

  /* Jasne tła sekcji */
  --color-cream: #eafffc;
  --color-mint: #EAF7F5;

  /* Linie i obramowania */
  --color-border: #D9EAE8;

  /* Cień */
  --shadow-soft: 0 18px 45px rgba(18, 52, 59, 0.10);

  /* Zaokrąglenia */
--radius-lg: 42px;
--radius-md: 26px;
--radius-sm: 16px;
--hero-card-radius: 36px;


  /* Maksymalna szerokość treści */
  --container: 1300px;
}


/* =========================================================
   RESET / PODSTAWY
   ========================================================= */

/* 
  box-sizing: border-box sprawia, że padding i border wliczają się w szerokość elementu.
  To bardzo ułatwia budowanie layoutu.
*/
* {
  box-sizing: border-box;
}

/* 
  Płynne przewijanie po kliknięciu w linki typu #formularz.
*/
html {
  scroll-behavior: smooth;
}

/* 
  Główne ustawienia strony.
*/
/* Główna czcionka całej strony */
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Poppins", sans-serif;
  line-height: 1.35;
}

/* 
  Obrazy nie powinny wychodzić poza kontener.
*/
img {
  max-width: 100%;
  display: block;
}

/* 
  Linki domyślnie bez podkreślenia.
*/
a {
  color: inherit;
  text-decoration: none;
}

/* 
  Główny kontener strony.
  Utrzymuje treść w jednej szerokości i dodaje odstęp po bokach.
*/
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}


/* =========================================================
   TYPOGRAFIA
   ========================================================= */

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* Globalna kontrola grubości nagłówków */
h1,
h2,
h3 {
  font-weight: 600;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.12;
}

/* Akapity — ta sama czcionka dla spójności */
p {
  font-family: "Poppins", sans-serif;
  color: var(--color-text-soft);
  line-height: 1.55;
}


/* =========================================================
   PRZYCISKI
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 25px;

  border: 2px solid transparent;
  border-radius: 999px;

  font-size: 17px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;

  /*
    Transition odpowiada za płynność zmiany koloru,
    przesunięcia i cienia.
  */
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}


/* 
  Przycisk główny.
  Normalnie: koralowe tło, biały tekst.
*/
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 10px 22px rgba(246, 106, 91, 0.22);
}


/* 
  Hover dla przycisku głównego.
  Odwrócenie kolorów:
  - tło robi się białe,
  - tekst i obrys robią się koralowe.
*/
.btn-primary:hover {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 12px 28px rgba(246, 106, 91, 0.20);
  transform: translateY(-2px);
}


/* 
  Active działa w momencie kliknięcia.
  Na mobile jest istotniejsze niż hover.
*/
.btn-primary:active {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(246, 106, 91, 0.18);
}


/* 
  Przycisk drugorzędny.
  Normalnie: białe tło, morski tekst i obrys.
*/
.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}


/* 
  Hover dla przycisku drugorzędnego.
  Odwrócenie kolorów:
  - tło robi się morskie,
  - tekst robi się biały.
*/
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(31, 166, 168, 0.18);
  transform: translateY(-2px);
}


/* 
  Active dla mobile / kliknięcia.
*/
.btn-secondary:active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(31, 166, 168, 0.14);
}

/* 
  Widoczny focus dla osób poruszających się klawiaturą.
  Nie usuwaj tego — to poprawia dostępność strony.
*/
.btn:focus-visible {
  outline: 3px solid rgba(31, 166, 168, 0.35);
  outline-offset: 4px;
}

.text-link {
  color: var(--color-primary-dark);
  font-weight: 700;
}


/* =========================================================
   SEKCJE
   ========================================================= */

.section {
  padding: 70px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--color-muted);
  font-size: 19px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 14px;
  z-index: 200;

  width: min(var(--container), calc(100% - 32px));
  margin: 14px auto 0;

  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  box-shadow: 0 12px 35px rgba(18, 52, 59, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 84px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
  height: 52px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;

  color: var(--color-text-soft);
  font-size: 16px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--color-primary-dark);
}

/* =========================================================
   HEADER — SUBMENU POD "CENNIK"
   ========================================================= */

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
}

/* Mała strzałka przy pozycji z submenu */
.nav-item-has-submenu > a::after {
  margin-left: 6px;
  font-size: 11px;
  content: "▼";
}

/* Ukryte submenu */
.submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 300;

  min-width: 210px;
  padding: 10px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(18, 52, 59, 0.12);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateX(-50%) translateY(8px);

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

/* Linki w submenu */
.submenu a {
  display: block;
  padding: 12px 14px;

  border-radius: 12px;

  color: var(--color-text-soft);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.submenu a:hover {
  background: var(--color-mint);
  color: var(--color-primary-dark);
}

/* Pokazanie submenu po najechaniu */
.nav-item-has-submenu:hover .submenu,
.nav-item-has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateX(-50%) translateY(0);
}

/* 
  Hamburger jest ukryty na desktopie.
  Pokażemy go dopiero na mobile.
*/
.hamburger {
  display: none;

  width: 42px;
  height: 42px;

  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
  cursor: pointer;
}

/* 
  Kreska hamburgera.
*/
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;

  background: var(--color-text);
  border-radius: 2px;

  content: "";
}

.hamburger span::before {
  transform: translateY(-6px);
}

.hamburger span::after {
  transform: translateY(4px);
}


/* =========================================================
   HERO — NOWY UKŁAD
   =========================================================
   Założenie:
   - prawa kolumna to osobny kontener ze zdjęciem,
   - lewa kolumna ma dwa osobne kontenery,
   - górny kontener zajmuje ok. 2/3 wysokości,
   - dolny kontener zajmuje ok. 1/3 wysokości,
   - odstęp między lewą i prawą kolumną jest taki sam
     jak odstęp między kartami po lewej.
*/

.hero {
    padding: 42px 0 24px;
}

/* 
  Główna siatka hero:
  - lewa kolumna: tekst + karta rekrutacyjna,
  - prawa kolumna: zdjęcie.
*/
.hero-layout {
  /*
    Ten odstęp jest wspólny:
    - między lewą i prawą stroną hero,
    - między górną i dolną kartą po lewej.
  */
  --hero-gap: 24px;

  /*
    Wysokość desktopowa.
    Ta wysokość NIE będzie już rosła po przekroczeniu 1200px szerokości ekranu.
  */
  --hero-height: 620px;

  display: grid;
  gap: var(--hero-gap);

  /*
    Domyślnie: desktop i tablet mają układ 50% / 50%.
    Zdjęcie po prawej jest połową hero.
  */
  grid-template-columns: 1fr 1fr;

  height: var(--hero-height);
  min-height: 0;
}

/*
  Ekrany powyżej 1200px:
  - wysokość hero zostaje 620px,
  - prawa kolumna zdjęcia zostaje stała,
  - dodatkowa szerokość idzie tylko w lewą kolumnę.

  Wyliczenie:
  przy szerokości layoutu 1200px i gapie 24px:
  (1200px - 24px) / 2 = 588px

  Czyli zdjęcie zostaje na 588px, a lewa kolumna może się rozszerzać.
*/
@media (min-width: 1201px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 588px;
  }
} 

/* 
  Lewa kolumna.
  Ma mieć tę samą wysokość co zdjęcie po prawej.
*/
.hero-left {
  display: grid;
  grid-template-rows: 2fr 1fr;
  gap: var(--hero-gap);

  /*
    Jeżeli używasz height na .hero-layout,
    lewa kolumna powinna mieć 100% tej wysokości.
  */
  height: 100%;

  /*
    Ważne dla responsywnego tekstu w CSS Grid.
  */
  min-width: 0;
  min-height: 0;
}
/* 
  Górna karta tekstowa.
*/
.hero-main-card {
  /*
    Było: padding: 56px;
    To zabierało za dużo miejsca przy węższej lewej kolumnie.
  */
  padding: clamp(30px, 4vw, 56px);

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: linear-gradient(135deg, var(--color-cream), #ffffff);
  border: 1px solid var(--color-border);
  border-radius: var(--hero-card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);

  /*
    Ważne w gridzie: pozwala treści realnie się kurczyć
    zamiast rozpychać kolumnę.
  */
  min-width: 0;
  min-height: 0;
}


/* =========================================================
   HERO — RESPONSYWNA TYPOGRAFIA
   ========================================================= */


/* Główny nagłówek hero — zostaje jako h2 */
.hero-main-card h2 {
  max-width: 780px;
  margin-bottom: clamp(14px, 1.6vw, 22px);
  font-size: clamp(30px, 4.4vw, 42px);
  line-height: 1;
  letter-spacing: -0.035em;

  overflow-wrap: break-word;
}

/*
  Opis pod H1.
  Zmniejsza się płynnie na tabletach i mniejszych desktopach.
*/
.hero-lead {
  max-width: 680px;

  color: var(--color-text-soft);
  font-family: "Poppins", sans-serif;

  /*
    Było sztywne 21px.
    Teraz tekst skaluje się płynnie.
  */
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.5;
}

/* 
  Kontener na przyciski w górnej karcie.
*/
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  /*
    Było 32px.
    Na mniejszych szerokościach to też zabierało miejsce.
  */
  margin-top: clamp(18px, 2.4vw, 32px);
}

/* 
  Dolna karta rekrutacyjna.
  Jest mocniejsza kolorystycznie, bo ma przyciągać wzrok.
*/
.hero-recruitment-card {
  position: relative;
  overflow: hidden;

  /*
    Było: padding: 34px;
    Teraz karta lepiej pracuje przy mniejszych wysokościach.
  */
  padding: clamp(22px, 2.6vw, 34px);

  display: flex;
  align-items: center;

  background: var(--color-accent);
  border-radius: var(--hero-card-radius);
  box-shadow: 0 18px 40px rgba(246, 106, 91, 0.22);

  min-width: 0;
  min-height: 0;
}

/* 
  Dekoracyjny okrąg w tle karty.
  Daje efekt podobny do przesłanego przykładu,
  ale bez dokładania dodatkowego koloru.
*/
.hero-recruitment-card::before {
  position: absolute;
  right: -70px;
  top: -90px;

  width: 260px;
  height: 260px;

  background: rgba(139, 0, 20, 0.13);
  border-radius: 50%;

  content: "";
}

/* 
  Drugi, mniejszy kształt dekoracyjny.
*/
.hero-recruitment-card::after {
  position: absolute;
  right: 80px;
  bottom: -100px;

  width: 220px;
  height: 220px;

  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;

  content: "";
}

.hero-recruitment-content {
  position: relative;
  z-index: 1;
}

.hero-recruitment-card h2 {
  max-width: 460px;
  margin-bottom: 8px;

  color: var(--color-white);

  /*
    Było 34px.
    Teraz skaluje się razem z kartą.
  */
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.hero-recruitment-card p {
  max-width: 460px;
  margin-bottom: clamp(14px, 1.8vw, 22px);

  color: var(--color-white);
 font-family: "Poppins", sans-serif;

  /*
    Było 19px.
  */
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.42;
}


/* 
  Jasny przycisk na czerwonej karcie.
*/
.btn-light {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

/* 
  Hover dla jasnego przycisku.
  Odwraca kolory: biały background, czerwony tekst.
*/
.btn-light:hover {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-white);
}

/* 
  Active dla mobile / kliknięcia.
*/
.btn-light:active {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-white);
}

/* 
  Prawa karta zdjęcia.
  To jest osobny kontener, a nie część wspólnej karty.
*/
.hero-photo-card {
  /*
    Zdjęcie ma dokładnie wysokość hero.
    Nie może rozpychać sekcji.
  */
  height: 100%;
  min-height: 0;

  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--hero-card-radius);
  box-shadow: var(--shadow-soft);
  background: var(--color-mint);
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}


/* =========================================================
   SEKCJA ZAUFANIA
   ========================================================= */

.trust-section {
  position: relative;
  z-index: 2;
  margin-top: 0px;
}

.trust-grid {
  overflow: hidden;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(18, 52, 59, 0.08);
}

.trust-item {
  padding: 24px 28px;
  border-right: 1px solid var(--color-border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;

  color: var(--color-text);
  font-size: 20px;
}

.trust-item span {
  color: var(--color-muted);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.35;
}


/* =========================================================
   ŚCIEŻKI: ŻŁOBEK / PRZEDSZKOLE
   ========================================================= */

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.path-card {
  position: relative;
  overflow: hidden;

  min-height: 240px;
  padding: 34px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 32px;
}

/* 
  Kolorowy pasek po lewej.
  Daje akcent bez robienia całej karty kolorowej.
*/
.path-card::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;

  width: 8px;
  background: var(--color-primary);

  content: "";
}

.path-card-accent::before {
  background: var(--color-accent);
}

.path-card p {
  max-width: 480px;
  margin-bottom: 18px;
}


/* =========================================================
   DLACZEGO OKSFORDZIK
   ========================================================= */

.reasons-panel {
  padding: 54px;

  background: var(--color-mint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.reason-card {
  min-height: 170px;
  padding: 26px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.reason-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 16px;
}

/* =========================================================
   SEKCJA WIDEO
   ========================================================= */

.video-section {
  overflow: hidden;
}

.video-panel {
  position: relative;

  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: center;

  min-height: 520px;
}

/* Dekoracyjne tło po prawej */
.video-panel::before {
  position: absolute;
  right: -120px;
  top: 0;

  width: 520px;
  height: 190px;

  background: var(--color-accent);
  border-radius: 0 0 0 80px;

  content: "";
  z-index: -1;
}

.section-kicker {
  display: block;
  margin-bottom: 22px;

  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
}

.video-content h2 {
  max-width: 460px;
  margin-bottom: 22px;

  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: var(--font-heading-weight, 600);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.video-content p {
  max-width: 470px;
  margin-bottom: 22px;

  font-size: 18px;
}

.video-box {
  position: relative;
  z-index: 1;

  display: grid;
  justify-items: center;
  gap: 22px;
}

.video-placeholder {
  position: relative;
  overflow: hidden;

  width: 100%;
  aspect-ratio: 16 / 9;

  padding: 0;
  border: 0;
  border-radius: 26px;
  background: var(--color-mint);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.video-placeholder img,
.video-placeholder iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 86px;
  height: 86px;

  background: var(--color-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 34px rgba(246, 106, 91, 0.34);
}

.video-play::before {
  position: absolute;
  left: 35px;
  top: 27px;

  width: 0;
  height: 0;

  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--color-white);

  content: "";
}

.video-placeholder:hover .video-play {
  transform: translate(-50%, -50%) scale(1.06);
}

.video-open-button {
  min-width: 190px;
}

/* =========================================================
   VIDEO MODAL / LIGHTBOX
   ========================================================= */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(18, 52, 59, 0.72);
  backdrop-filter: blur(3px);
}

.video-modal-content {
  position: relative;
  z-index: 1;

  width: min(960px, 100%);
}

.video-modal-frame {
  overflow: hidden;

  width: 100%;
  aspect-ratio: 16 / 9;

  background: #000;
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.video-modal-frame iframe {
  width: 100%;
  height: 100%;

  display: block;
  border: 0;
}

.video-modal-close {
  position: absolute;
  right: -14px;
  top: -46px;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;

  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.video-modal-close:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

body.video-modal-open {
  overflow: hidden;
}

/* =========================================================
   DZIEŃ DZIECKA
   ========================================================= */

.day-panel {
  padding: 54px;

  background: var(--color-text);
  border-radius: var(--radius-lg);
  color: var(--color-white);
}

.day-panel p {
  color: #CFE0E0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;

  margin-top: 34px;
}

.time-card {
  min-height: 140px;
  padding: 24px;

  background: var(--color-white);
  border-radius: 24px;
  color: var(--color-text);
}

.time-card strong {
  display: block;
  margin-bottom: 10px;

  color: var(--color-primary-dark);
  font-size: 24px;
}

.time-card span {
  color: var(--color-text-soft);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.4;
}


/* =========================================================
   OFERTA
   ========================================================= */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.offer-item {
  min-height: 88px;
  padding: 24px;

  display: flex;
  align-items: center;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;

  font-size: 21px;
  font-weight: 600;
}


/* =========================================================
   PODEJŚCIE WYCHOWAWCZE
   ========================================================= */

.approach-panel {
  padding: 54px;

  display: grid;
  grid-template-columns: 1fr 0.46fr;
  gap: 34px;
  align-items: center;

  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.approach-content p {
  font-size: 21px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 28px;
}

.chip {
  padding: 11px 16px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;

  font-weight: 600;
}

.note-card {
  padding: 30px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 28px;
}

.note-card h3 {
  color: var(--color-accent);
}

.note-card p {
  margin-bottom: 0;
}


/* =========================================================
   OPINIE — GOOGLE STYLE SLIDER
   ========================================================= */

.reviews-panel {
  padding: 24px 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.reviews-slider-wrap {
  position: relative;
}

.reviews-slider {
  display: flex;
  gap: 20px;

  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  padding: 10px 4px 18px;

  scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;

  min-height: 250px;
  padding: 22px 24px;

  display: flex;
  flex-direction: column;

  background: var(--color-white);
  border: 1px solid rgba(217, 234, 232, 0.75);
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(18, 52, 59, 0.08);
}

.review-top {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  gap: 12px;
  align-items: center;

  margin-bottom: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--color-text-soft);
  border-radius: 999px;

  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
}

.review-meta strong {
  display: block;

  color: var(--color-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-meta span {
  display: block;

  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.25;
}

.review-google {
  color: #4285f4;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.stars {
  margin-bottom: 12px;

  color: #fbbc04;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.stars span {
  color: #1a73e8;
  font-size: 12px;
  vertical-align: middle;
}

.review-card p {
  margin-bottom: 14px;

  color: var(--color-text);
  font-size: 16px;
  line-height: 1.45;
}

.review-link {
  margin-top: auto;

  color: var(--color-muted);
  font-size: 15px;
  font-weight: 500;
}

.review-link:hover {
  color: var(--color-accent);
}


.reviews-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.reviews-arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* =========================================================
   REVIEWS SLIDER
   ========================================================= */

.reviews-slider-wrap {
  position: relative;
}

.reviews-slider {
  display: flex;
  gap: 24px;

  overflow-x: auto;
  scroll-behavior: smooth;

  padding: 6px 4px 14px;

  scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

/* CARD */

.review-card {
  flex: 0 0 calc((100% - 48px) / 3);

  min-width: 0;
  min-height: 320px;

  padding: 28px;

  display: flex;
  flex-direction: column;

  background: var(--color-white);
  border: 1px solid rgba(217, 234, 232, 0.9);
  border-radius: 24px;

  box-shadow: 0 8px 24px rgba(18, 52, 59, 0.06);
}

/* STRZAŁKI */

.reviews-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--color-accent);
  border: 0;
  border-radius: 999px;

  color: var(--color-white);
  font-size: 34px;
  line-height: 1;

  cursor: pointer;

  transform: translateY(-50%);

  box-shadow: 0 12px 28px rgba(246, 106, 91, 0.28);

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.reviews-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.reviews-arrow-prev {
  left: -28px;
}

.reviews-arrow-next {
  right: -28px;
}

.reviews-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}



/* =========================================================
   FORMULARZ REKRUTACYJNY
   ========================================================= */

.recruitment-panel {
  padding: 54px;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;

  background: var(--color-mint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.recruitment-info p {
  color: var(--color-muted);
  font-size: 19px;
}

.steps {
  display: grid;
  gap: 16px;

  margin-top: 26px;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.step-number {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--color-primary);
  border-radius: 999px;

  color: var(--color-white);
  font-weight: 600;
}

.step strong {
  display: block;
  font-size: 20px;
}

.step span {
  display: block;
  color: var(--color-muted);
  font-family: "Poppins", sans-serif;
}

.recruitment-form {
  padding: 32px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* 
  Wspólne style pól formularza.
*/
input,
select,
textarea {
  width: 100%;
  min-height: 52px;

  padding: 13px 15px;

  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 15px;

  color: var(--color-text-soft);
  font: inherit;
}

textarea {
  min-height: 96px;
  margin-top: 12px;
  resize: vertical;
}

.recruitment-form .btn {
  width: 100%;
  margin-top: 14px;
}


/* =========================================================
   LOKALIZACJA + FAQ
   ========================================================= */

.location-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.location-card,
.faq-card {
  min-height: 320px;
  padding: 34px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 32px;
}

.map-placeholder {
  position: relative;

  min-height: 170px;
  margin-top: 20px;

  background: var(--color-mint);
  border-radius: 22px;
}

/* 
  Prosty znacznik mapy.
  Później można zastąpić całość iframe Google Maps.
*/
.map-placeholder::after {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 34px;
  height: 34px;

  background: var(--color-primary);
  border-radius: 50% 50% 50% 4px;
  transform: translate(-50%, -50%) rotate(45deg);

  content: "";
}

.faq-list {
  display: grid;
  gap: 10px;

  margin-top: 18px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  gap: 18px;

  padding: 14px 16px;

  border: 1px solid var(--color-border);
  border-radius: 16px;

  color: var(--color-text-soft);
  font-weight: 600;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  margin-top: 70px;
  padding: 48px 0;

  background: var(--color-text);
  color: #D8E9E8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.footer-logo {
  margin-bottom: 14px;

  color: var(--color-white);
  font-size: 30px;
  font-weight: 600;
}

.site-footer p {
  margin-bottom: 0;
  color: #D8E9E8;
}

/* =========================================================
   STICKY CONTACT BAR — DESKTOP + MOBILE
   ========================================================= */

/* Desktop: pionowy pasek po prawej stronie */
.mobile-bar {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 190;

  display: grid;
  grid-template-columns: 1fr;
  overflow: visible;

  width: 64px;
  padding: 10px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(18, 52, 59, 0.14);

  transform: translateY(-50%);
}

/* Pojedynczy przycisk desktop */
.mobile-bar a {
  position: relative;

  width: 44px;
  height: 44px;
  margin-bottom: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;

  color: var(--color-text);
  text-decoration: none;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.mobile-bar a:last-child {
  margin-bottom: 0;
}

/* Ikona desktop */
.mobile-bar-icon {
  color: var(--color-text);
  font-size: 20px;
  line-height: 1;
}

/* Tekst ukryty na desktopie */
.mobile-bar-text {
  display: none;
}

/* Etykieta pojawiająca się po najechaniu */
.mobile-bar-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;

  min-width: max-content;
  padding: 12px 18px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(18, 52, 59, 0.14);

  color: var(--color-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(8px);

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.mobile-bar-btn {
  position: relative;

  width: 44px;
  height: 44px;
  margin-bottom: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;

  color: var(--color-text);
  cursor: pointer;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.mobile-bar-btn:last-child {
  margin-bottom: 0;
}

.mobile-bar-btn:hover .mobile-bar-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.mobile-bar-btn:hover,
.mobile-bar-btn.is-active {
  background: var(--color-bg);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}
.mobile-bar {
  z-index: 300;
}

.mobile-bar-btn {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;

  cursor: pointer;
}

.mobile-bar-btn:last-child {
  margin-bottom: 0;
}

.mobile-bar-btn.is-active {
  background: var(--color-bg);
  border-color: var(--color-accent);
}

.contact-flyout {
  position: fixed;
  right: 96px;
  top: 50%;
  z-index: 299;

  width: min(326px, calc(100vw - 126px));
  padding: 28px 26px 24px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(18, 52, 59, 0.14);

  text-align: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(24px);

  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.contact-flyout.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.contact-flyout-close {
  position: absolute;
  right: 14px;
  top: 12px;

  width: 32px;
  height: 32px;

  background: transparent;
  border: 0;
  border-radius: 999px;

  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contact-flyout-kicker {
  margin-bottom: 16px;

  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
}

.contact-flyout h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.contact-flyout p {
  margin-bottom: 20px;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.45;
}

.contact-flyout-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.contact-action-main,
.contact-action {
  min-height: 44px;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 999px;

  color: var(--color-accent);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;

  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.contact-action-main {
  flex-basis: 100%;
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 10px 22px rgba(246, 106, 91, 0.18);
}

.contact-action-main:hover {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(246, 106, 91, 0.20);
}

.contact-action:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(246, 106, 91, 0.18);
}

.contact-action:active,
.contact-action-main:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(246, 106, 91, 0.14);
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 600;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.form-modal.is-open {
  display: flex;
}

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 52, 59, 0.72);
}

.form-modal-content {
  position: relative;
  z-index: 1;

  width: min(680px, 100%);
}

.form-modal-close {
  position: absolute;
  right: -12px;
  top: -44px;

  width: 38px;
  height: 38px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;

  font-size: 28px;
  cursor: pointer;
}

body.form-modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .contact-flyout {
    right: 88px;
    width: calc(100vw - 112px);
    padding: 24px 18px 20px;
  }

  .contact-action-main,
  .contact-action {
    font-size: 13px;
  }
}


/* =========================================================
   HERO — MAŁY DESKTOP / DUŻY TABLET
   =========================================================
   Zakres 901–1200px:
   - hero nadal ma dwie kolumny,
   - tekst i padding są mniejsze,
   - treść nie powinna wychodzić poza kartę.
*/
@media (max-width: 1200px) and (min-width: 901px) {
  .hero-main-card {
    padding: 34px;
  }

  .hero-main-card h1 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-recruitment-card {
    padding: 26px;
  }

  .hero-recruitment-card h2 {
    font-size: 27px;
  }

  .hero-recruitment-card p {
    font-size: 16px;
    margin-bottom: 16px;
  }
}
/* =========================================================
   RESPONSYWNOŚĆ — TABLET
   ========================================================= */

@media (max-width: 900px) {
  /*
    Na tabletach chowamy menu, ale hero dalej zostaje w dwóch kolumnach.
    Zdjęcie nie wskakuje nad tekst.
  */
  .main-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: block;
  }

  /*
    Zmniejszamy wysokość hero.
    Dzięki temu zdjęcie nie zajmuje całego pierwszego ekranu.
  */
  .hero-layout {
    --hero-gap: 18px;

    /*
      Tablet:
      zdjęcie dalej zostaje połową hero.
    */
    --hero-height: 520px;

    grid-template-columns: 1fr 1fr;

    height: var(--hero-height);
  }

  .hero-main-card {
  padding: 28px;
}

.hero-main-card h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.05;
}

.hero-lead {
  font-size: 15.5px;
  line-height: 1.42;
}

.hero-actions {
  margin-top: 16px;
}

.hero-recruitment-card {
  padding: 22px;
}

.hero-recruitment-card h2 {
  font-size: 24px;
}

.hero-recruitment-card p {
  font-size: 15px;
  margin-bottom: 14px;
}

.hero-recruitment-card .btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

  /*
    Pozostałe większe sekcje mogą przechodzić w jedną kolumnę.
    Hero zostaje osobno kontrolowane przez .hero-layout.
  */
  .approach-panel,
  .recruitment-panel,
  .location-faq-grid {
    grid-template-columns: 1fr;
  }

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

  .trust-item {
    border-bottom: 1px solid var(--color-border);
  }

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

  .reason-grid,
  .offer-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

    .video-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  .video-panel::before {
    right: -180px;
    top: 220px;
    width: 420px;
    height: 160px;
  }

  .video-content h2 {
    max-width: 620px;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .reviews-panel {
    padding: 34px;
  }

  .review-card {
    flex-basis: calc((100% - 18px) / 2);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   RESPONSYWNOŚĆ — TELEFON
   ========================================================= */

@media (max-width: 640px) {
  body {
    padding-bottom: 70px;
  }

  .container {
    padding: 0 16px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    border-radius: 24px;
  }

  .header-inner {
    height: 68px;
  }

  .logo {
    font-size: 24px;
  }

  .hero {
    padding-top: 24px;
  }

  /*
    Na telefonie hero nie ma już zdjęcia.
    Zostają tylko:
    - karta tekstowa,
    - karta rekrutacyjna.
  */
  .hero-layout {
    --hero-gap: 16px;
    --hero-height: auto;

    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

.hero-left {
  grid-template-rows: auto auto;
  height: auto;
  min-height: 0;
}

  .hero-photo-card {
    display: none;
  }

  .hero-main-card {
    padding: 32px 22px;
    border-radius: 30px;
  }

  .hero-recruitment-card {
    padding: 28px 22px;
    border-radius: 30px;
  }

 h1 {
  font-size: 36px;
}

.hero-main-card h2 {
  font-size: clamp(29px, 8vw, 36px);
  line-height: 1.05;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.45;
}

.hero-main-card {
  padding: 28px 20px;
}

.hero-recruitment-card {
  padding: 24px 20px;
}

  .hero-lead,
  .section-head p,
  .recruitment-info p {
    font-size: 17px;
  }

  .hero-actions {
    gap: 10px;
  }

  /*
    Na telefonie przyciski w hero mogą mieć pełną szerokość.
    To zwiększa klikalność.
  */
  .hero-actions .btn {
    width: 100%;
  }

  .hero-recruitment-card h2 {
    font-size: 30px;
  }

  .hero-recruitment-card p {
    font-size: 17px;
  }

  .trust-section {
    margin-top: 18px;
  }

  .trust-grid,
  .reason-grid,
  .offer-grid,
  .reviews-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .reasons-panel,
  .day-panel,
  .approach-panel,
  .recruitment-panel {
    padding: 28px;
    border-radius: 30px;
  }

  .video-panel {
    gap: 24px;
  }

  .video-content h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .video-content p {
    font-size: 16px;
  }

  .video-play {
    width: 68px;
    height: 68px;
  }

  .video-play::before {
    left: 28px;
    top: 22px;

    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 19px;
  }                                                       

  .reviews-slider {
    gap: 16px;
    padding-bottom: 4px;

    scroll-snap-type: x mandatory;
  }

  .review-card {
    flex: 0 0 88%;
    scroll-snap-align: start;

    min-height: auto;
  }

  .reviews-arrow {
    display: none;
  }
}

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

/* =========================================================
   MOBILE CONTACT BAR — FINAL
   ========================================================= */

@media (max-width: 640px) {
  body {
    padding-bottom: 90px;
  }

  .mobile-bar {
    left: 5px;
    right: 5px;
    top: auto;
    bottom: 5px;

    width: auto;
    padding: 10px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;

    background: var(--color-text-soft);
    border: 0;
    border-radius: 18px;
    box-shadow: 0 -12px 28px rgba(18, 52, 59, 0.16);

    transform: none;
  }

  .mobile-bar-btn {
    width: auto;
    height: 64px;
    margin-bottom: 0;
    padding: 8px 6px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    background: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 9px;

    color: var(--color-text);
    font: inherit;
    cursor: pointer;
  }

  .mobile-bar-icon {
    font-size: 18px;
    color: var(--color-text);
    line-height: 1;
  }

  .mobile-bar-label {
    display: none;
  }

  .mobile-bar-text {
    display: block;

    color: var(--color-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
  }

  .mobile-bar-btn:hover,
  .mobile-bar-btn:active,
  .mobile-bar-btn.is-active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
  }

  .mobile-bar-btn:hover .mobile-bar-icon,
  .mobile-bar-btn:active .mobile-bar-icon,
  .mobile-bar-btn.is-active .mobile-bar-icon,
  .mobile-bar-btn:hover .mobile-bar-text,
  .mobile-bar-btn:active .mobile-bar-text,
  .mobile-bar-btn.is-active .mobile-bar-text {
    color: var(--color-white);
  }

  .contact-flyout {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 92px;

    width: auto;

    transform: translateY(18px);
  }

  .contact-flyout.is-open {
    transform: translateY(0);
  }
}