/* ==========================================================================
   KATALOG MARZEŃ — Oferta dla firm (B2B)
   Design tokens wygenerowane z KM Design System (Brand Style, str. 62–72)
   ========================================================================== */

:root {
  /* Primary — KM Blue */
  --color-primary: #3d00d2;
  --color-primary-dark: #2e0593;
  --color-primary-darker: #1b005c;
  --color-primary-light: #acb4ef;
  --color-primary-lighter: #e7ecfa;
  --color-primary-contrast: #ffffff;

  /* Secondary — KM Orange */
  --color-secondary: #ff8e48;
  --color-secondary-dark: #dd7434;
  --color-secondary-light: #ffa771;
  --color-secondary-contrast: #ffffff;

  /* Tertiary — KM Yellow */
  --color-tertiary: #fff51d;
  --color-tertiary-dark: #ddd40c;
  --color-tertiary-light: #fff983;
  --color-tertiary-contrast: #3d00d2;

  /* Quaternary — KM Pink / Quinary — KM Violet (akcenty dekoracyjne) */
  --color-quaternary: #f99eef;
  --color-quinary: #a081ff;

  /* Tekst */
  --color-text-primary: #212212;
  --color-text-secondary: #666666;
  --color-text-disabled: #9e9e9e;
  --color-text-on-dark: #ffffff;

  /* Tła / powierzchnie */
  --color-bg-default: #ffffff;
  --color-bg-paper: #f9fafb;
  --color-divider: #e0e0e0;

  /* Neutralne grey-violet (brandowy szary) */
  --color-grey-violet-900: #403a55;
  --color-grey-violet-700: #67607e;
  --color-grey-violet-500: #a6a3b2;
  --color-grey-violet-200: #dcdcdf;
  --color-grey-violet-50: #f8f9fd;

  /* Typografia */
  --font-display: 'Gilda Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, Segoe UI, sans-serif;

  /* Skala typu (fluid, clamp) — H1 skalibrowany na realny Hero z Figmy: 40px desktop */
  --fs-h1: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-h2: 32px;
  --fs-h3: 22px;
  --fs-body-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Odstępy — siatka 8px */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  /* Layout */
  --container-max: 1440px;
  --container-pad: clamp(20px, 9vw, 145px);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Cień */
  --shadow-sm: 0 1px 3px rgba(33, 34, 18, 0.10), 0 1px 2px rgba(33, 34, 18, 0.06);
  --shadow-md: 0 8px 24px rgba(61, 0, 210, 0.12);

  /* Czas trwania animacji */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

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

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

html {
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[class], ol[class] {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   BASE
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text-primary);
  background: var(--color-primary-lighter);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  line-height: 1.15;
  font-weight: 400;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  color: var(--color-text-secondary);
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-7);
}

.section--paper {
  /* celowo bez własnego tła — niebieskie tło strony ma być widoczne wszędzie */
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary-dark);
  margin-bottom: var(--space-2);
}

/* Widoczny focus (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 8px 32px;
  height: 42px;
  border-radius: 20px; /* pill — zgodnie z Figmą (button/large) */
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 26px;
  letter-spacing: 0.46px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-secondary-contrast);
}
.btn--secondary:hover {
  background: var(--color-secondary-dark);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary-lighter);
}

/* ==========================================================================
   PASEK INFORMACYJNY (górny, nad Nav)
   ========================================================================== */

.info-bar {
  background: #f5f5f5; /* kMGrey50 */
  padding: 9px var(--container-pad);
  text-align: center;
  font-size: var(--fs-small);
}

.info-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-primary);
}

.info-bar__link svg {
  flex-shrink: 0;
  color: var(--color-primary);
  stroke: var(--color-primary);
}

.info-bar__link strong {
  font-weight: 700;
}

/* ==========================================================================
   NAGŁÓWEK / NAWIGACJA
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg-default);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: 0 4px 3.5px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.logo__img {
  height: 26px;
  width: auto;
  display: block;
}

.logo__tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-quinary);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__links {
  display: flex;
  gap: var(--space-3);
}

.nav__links a {
  font-weight: 400;
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}
.nav__links a:hover {
  color: var(--color-primary);
}

.nav__cta .btn {
  padding: 5px 18px;
  height: 34px;
  font-size: 13px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
}

/* Ściśnięcie menu na średnich szerokościach — zachowuje proporcje 1 rzędu
   zamiast zawijania, zanim przełączymy się na hamburger poniżej 900px */
@media (max-width: 1180px) and (min-width: 901px) {
  .nav {
    gap: var(--space-3);
  }
  .nav__links {
    gap: var(--space-2);
  }
  .nav__links a {
    font-size: 14px;
  }
  .nav__cta .btn {
    padding: 8px 18px;
    font-size: 13px;
  }
  .logo {
    font-size: 1.1rem;
  }
  .logo__tag {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3) var(--container-pad) var(--space-4);
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg-default);
}
.nav__links--mobile {
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  background: var(--color-primary-lighter);
  padding-block: var(--space-6);
  position: relative;
}

.hero__card {
  position: relative;
  background: var(--color-bg-default);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1.073fr 1fr;
  gap: clamp(24px, 4vw, 53px);
  align-items: center;
  width: 100%; /* pełna szerokość kontenera — flush z logo i przyciskiem w nav */
  margin-inline: auto;
}

.hero__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-text-disabled);
  margin-bottom: var(--space-1);
}

.hero__title {
  margin-bottom: 8px;        /* body bliżej nagłówka */
}

.hero__body {
  color: var(--color-text-primary);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);  /* przycisk bliżej body */
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

/* Plakietki zaufania z separatorami */
.hero__badges {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap;
}

.hero__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  flex: 0 0 auto;
  width: 118px;
  opacity: 0;
  animation: badge-rise 0.5s ease forwards;
}

.hero__badge:nth-child(1) { animation-delay: 0.15s; }
.hero__badge:nth-child(3) { animation-delay: 0.35s; }
.hero__badge:nth-child(5) { animation-delay: 0.55s; }
.hero__badge:nth-child(7) { animation-delay: 0.75s; }

@keyframes badge-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__badge strong {
  font-weight: 700;
}

.hero__badge img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero__badges {
    flex-wrap: wrap;
  }
  .hero__badge {
    flex: 0 0 calc(50% - 8px);
  }
  .hero__divider {
    display: none;
  }
}

.hero__divider {
  width: 1px;
  background: var(--color-divider);
  align-self: stretch;
}

/* Miniaturka wideo */
.hero__video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  aspect-ratio: 16 / 9;
  transform: scale(1.08);
}

.hero__video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #6b0f3a, #3d0a24);
  cursor: pointer;
  border: none;
  padding: 0;
}

.hero__video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero__decoration {
  position: absolute;
  right: -24px;
  bottom: -56px;
  width: clamp(90px, 12vw, 160px);
  height: auto;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__card {
    grid-template-columns: 1fr;
  }
  .hero__video {
    order: -1;
  }
  .hero__body {
    max-width: none;
  }
}

/* ==========================================================================
   SIATKA KART / FEATURES
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-bg-default);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

/* Karty oferty (Dla HR / Sprzedaży / Marketingu) — z obrazem i listą ikon */
.offer-card {
  border-radius: var(--radius-md);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
}

.offer-card__media {
  aspect-ratio: 328 / 220;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0,0,0,0.08);
}

.offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offer-card h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.offer-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.offer-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--color-text-primary);
}

.offer-card__list svg,
.offer-card__list img {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-primary);
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ==========================================================================
   SLIDER / KARUZELA
   Natywny scroll-snap + JS tylko do sterowania strzałkami/kropkami.
   Zero zewnętrznych zależności => zero konfliktów w środowisku User.com.
   ========================================================================== */

.slider {
  position: relative;
}

.slider__track {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--container-pad);
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-2);
  scrollbar-width: none; /* Firefox */
}
.slider__track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.slider__slide {
  flex: 0 0 clamp(240px, 32vw, 340px);
  scroll-snap-align: start;
}

.slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-divider);
  background: var(--color-bg-default);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.slider__btn:hover {
  background: var(--color-primary-lighter);
  border-color: var(--color-primary-light);
}
.slider__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-2);
}
.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-grey-violet-200);
  border: none;
  cursor: pointer;
  padding: 0;
}
.slider__dot[aria-current="true"] {
  background: var(--color-primary);
  width: 20px;
  border-radius: 4px;
  transition: width var(--transition-base), border-radius var(--transition-base);
}

/* ==========================================================================
   FORMULARZ KONTAKTOWY (gotowy pod integrację z User.com CRM)
   ========================================================================== */

.form {
  display: grid;
  gap: var(--space-2);
  max-width: 520px;
}

.field {
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  padding: 4px 16px 14px;
  margin: 0;
  transition: border-color var(--transition-fast);
}
.field:focus-within {
  border-color: var(--color-primary);
}

.field legend {
  padding: 0 4px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.field input,
.field textarea {
  border: none;
  width: 100%;
  padding: 4px 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--color-text-primary);
}
.field input:focus,
.field textarea:focus {
  outline: none;
}

.field textarea::placeholder,
.field input::placeholder {
  color: var(--color-text-disabled);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--color-text-primary);
}
.checkbox-field input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}
.checkbox-field a {
  color: var(--color-primary);
  text-decoration: underline;
}
.checkbox-field .required {
  color: #d32f2f;
}

.contact-card {
  background: var(--color-bg-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.contact-card__form {
  padding: clamp(20px, 3vw, 36px);
}

.contact-advisor {
  background: var(--color-quaternary);
  padding: var(--space-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-advisor img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-2);
  display: block;
}

.contact-advisor h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--color-text-primary);
  font-weight: 700;
}

.contact-advisor p {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-advisor__contact {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
}

.contact-advisor__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: var(--color-primary);
  background: var(--color-bg-default);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
}

@media (max-width: 800px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-advisor {
    order: -1;
  }
}

/* ==========================================================================
   KARUZELA LOGOTYPÓW ("Zaufali nam")
   ========================================================================== */

.trust-bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.trust-bar__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--color-text-primary);
  padding-right: var(--space-4);
  border-right: 1px solid var(--color-divider);
}

.trust-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trust-marquee__track {
  display: flex;
  gap: var(--space-3);
  width: max-content;
  animation: trust-scroll 40s linear infinite;
}

.trust-marquee:hover .trust-marquee__track {
  animation-play-state: paused;
}

@keyframes trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.trust-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
}

.trust-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 700px) {
  .trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  .trust-bar__label {
    border-right: none;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee__track {
    animation: none;
    flex-wrap: wrap;
    overflow-x: auto;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  background: var(--color-bg-default);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}

@media (max-width: 800px) {
  .faq__grid {
    grid-template-columns: 1fr;
  }
}

.faq__item {
  border-bottom: 1px solid var(--color-divider);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 12px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  cursor: pointer;
}

.faq__question svg {
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-primary);
}

/* Tytuł pytania pogrubia się po rozwinięciu */
.faq__question span {
  transition: font-weight var(--transition-fast);
}
.faq__item[data-open="true"] .faq__question span {
  font-weight: 700;
}

.faq__item[data-open="true"] .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-base);
}

.faq__item[data-open="true"] .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__answer p {
  padding-bottom: var(--space-2);
  font-size: var(--fs-small);
  color: var(--color-text-primary);
}

.faq__answer a {
  color: var(--color-primary);
  text-decoration: underline;
}

.faq__answer ul {
  list-style: disc;
  padding-left: 20px;
  padding-bottom: var(--space-2);
  font-size: var(--fs-small);
}

/* ==========================================================================
   SEKCJA "PREZENTY OD FIRMY, KTÓRE BUDUJĄ RELACJE" — 4 ikony, karty zachodzące na tło
   ========================================================================== */

.features-overlap {
  padding-block: var(--space-5);
}

.features-overlap__box {
  background: #FFD6BC;
  border-radius: var(--radius-lg);
  padding-top: var(--space-4);
  padding-bottom: 120px; /* dokładnie do połowy kafli (jeden rząd, desktop) */
}

.features-overlap__inner {
  padding-inline: var(--container-pad);
  text-align: center;
}

.features-overlap__inner h2 {
  font-size: 32px;
  color: var(--color-text-primary);
}
.features-overlap__inner h2 em {
  font-style: normal;
  color: var(--color-primary);
}
.features-overlap__inner p {
  max-width: 950px;
  margin: var(--space-2) auto var(--space-2);
  color: var(--color-text-primary);
}

.features-overlap__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding-inline: var(--container-pad);
  margin-top: -120px; /* dokładnie do połowy kart, symetrycznie z paddingiem boxa */
}

.feature-card {
  background: var(--color-bg-default);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-2) var(--space-2);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.feature-card img {
  width: 112px;
  height: 112px;
  margin: 0 auto var(--space-2);
  object-fit: contain;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-secondary);
  min-height: calc(2 * 1.4 * 13px); /* wszystkie body dokładnie 2 wiersze */
}

@media (max-width: 900px) {
  .features-overlap__grid {
    grid-template-columns: 1fr 1fr;
    margin-top: -350px; /* do połowy ostatniego (dolnego) rzędu przy układzie 2x2 */
  }
  .features-overlap__box {
    padding-bottom: 350px;
  }
}

@media (max-width: 500px) {
  .features-overlap__grid {
    grid-template-columns: 1fr;
    margin-top: -840px; /* do połowy ostatniej (4.) karty przy układzie 1 kolumny */
  }
  .features-overlap__box {
    padding-bottom: 840px;
  }
}

/* ==========================================================================
   BANER KARTY PODARUNKOWEJ (GV)
   ========================================================================== */

/* Case Studies — statyczny 3-kolumnowy grid, jednakowa wysokość */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}
@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cs-grid { grid-template-columns: 1fr; }
}

.gv-section {
  background: var(--color-primary-lighter);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 3vw, 32px);
}

/* ==========================================================================
   TESTIMONIALS ("Co mówią nasi klienci?")
   ========================================================================== */

.testimonial-card {
  background: var(--color-grey-violet-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-3);
  position: relative;
}

.testimonial-card__quote-mark {
  font-family: Georgia, serif;
  font-size: 60px;
  color: var(--color-quaternary);
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 24px;
}

.testimonial-card__text {
  padding-top: var(--space-4);
  font-size: var(--fs-body);
  color: var(--color-text-primary);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-quaternary-light, #ffccf9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-card__avatar img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.testimonial-card__text {
  min-height: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: var(--fs-small);
  color: var(--color-text-primary);
}

.testimonial-card__author span {
  display: block;
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

/* ==========================================================================
   POPUP CASE STUDY
   ========================================================================== */

.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(102, 102, 102, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.cs-modal[data-open="true"] {
  display: flex;
}

.cs-modal__box {
  background: var(--color-primary-lighter);
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  padding: 20px 40px 44px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.cs-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-primary);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-modal__header {
  padding-top: 32px;
}
.cs-modal__header h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-text-primary);
  font-weight: 400;
  line-height: 1.235;
}
.cs-modal__header p {
  margin-top: 4px;
}

.cs-company-card {
  background: white;
  border-radius: 20px;
  padding: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.cs-company-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.cs-company-card p {
  font-size: var(--fs-small);
}
.cs-company-card__logo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
  white-space: nowrap;
}

.cs-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.cs-info-card {
  background: #ffd6bc;
  border-radius: 20px;
  padding: var(--space-2);
}
.cs-info-card strong {
  display: block;
  margin-bottom: 4px;
}
.cs-info-card p, .cs-info-card ol {
  font-size: var(--fs-small);
}
.cs-info-card ol {
  padding-left: 18px;
  margin-top: 4px;
}

.cs-solution {
  background: var(--color-quaternary-light, #ffccf9);
  border-radius: 20px;
  padding: var(--space-3);
  margin-top: var(--space-2);
}
.cs-solution h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}
.cs-solution p {
  font-size: var(--fs-small);
  margin-bottom: var(--space-2);
}

.cs-quote {
  background: var(--color-grey-violet-50);
  border-radius: 16px;
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-3);
  text-align: center;
  position: relative;
}
.cs-quote__mark {
  font-family: Georgia, serif;
  font-size: 48px;
  color: var(--color-quaternary);
  line-height: 1;
}
.cs-quote h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: var(--space-2);
}
.cs-quote p {
  font-size: var(--fs-small);
  text-align: left;
  margin-bottom: 8px;
}
.cs-quote__logo {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.125rem;
}

.cs-modal__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-3);
}

@media (max-width: 700px) {
  .cs-info-grid {
    grid-template-columns: 1fr;
  }
  .cs-company-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   "JAK TO DZIAŁA?" — 4 kroki ze strzałkami
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  gap: 0;
  margin-top: var(--space-5);
  align-items: stretch;
}

.step {
  background: #D3CCFF;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-2);
}
.step__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.step h3 {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.step p {
  font-size: var(--fs-small);
  color: var(--color-text-primary);
}

.step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}
.step__arrow img {
  width: 20px;
  height: auto;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }
  .step__arrow {
    display: none;
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WIEDZA I INSPIRACJE (blog preview)
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.blog-card .card {
  height: 100%;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.blog-card:hover .card {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card__media {
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-paper);
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}
.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__date {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.blog-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.blog-card p {
  font-size: var(--fs-small);
}

@media (max-width: 800px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.gv-banner {
  background: var(--color-bg-default);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: visible;
  min-height: 340px;
}

.gv-banner__content {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gv-banner__content h2 {
  margin: 0 0 12px 0;        /* odstęp pod tytułem zmniejszony o połowę */
  white-space: nowrap;
}

.gv-banner__list {
  display: flex;
  flex-direction: column;
  gap: 6px;                   /* odstęp między punktami zmniejszony o połowę */
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  list-style: disc;
  max-width: 560px;
}

.gv-banner__list li {
  padding-left: 4px;
}

.gv-banner__content .btn {
  margin-top: 32px;          /* odstęp nad przyciskiem */
  align-self: flex-start;
}

.gv-banner__list strong {
  font-weight: 700;
}

.gv-banner__media {
  position: relative;
  min-height: 260px;
  overflow: visible;
}

.gv-banner__media img {
  position: absolute;
  top: -64px;
  left: -28px;
  width: 100%;
  height: calc(100% + 64px);
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 800px) {
  .gv-banner { grid-template-columns: 1fr; }
  .gv-banner__content { padding: 28px 20px; }
  .gv-banner__content h2 { margin-bottom: 16px; white-space: normal; }
  .gv-banner__list { max-width: 100%; margin-bottom: 28px; }
  .gv-banner__media {
    order: -1;
    aspect-ratio: 934/824;
    min-height: 0;
  }
  .gv-banner__media img {
    position: static;
    height: 100%;
    border-radius: 20px 20px 0 0;
  }
}

.product-card {
  background: white;
  border: 1px solid var(--color-divider);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;              /* BIAŁA RAMKA: góra, lewo, prawo, dół */
}

/* Grafika wewnątrz białej ramki */
.product-card__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__chip {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  border-radius: 100px;
  padding: 4px 10px;
  white-space: nowrap;
  z-index: 1;
}

/* Nazwa + cena — na białym tle karty, pod grafiką */
.product-card__body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-card__name {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-primary);
  flex: 1;
}

.product-card__price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 17px;
  margin-top: 12px;
}

.product-carousel__track {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-1);
  scrollbar-width: none;
  align-items: stretch;
}
.product-carousel__track::-webkit-scrollbar { display: none; }

.product-carousel__track .slider__slide {
  flex: 0 0 264px;
  scroll-snap-align: start;
  display: flex;
  text-decoration: none;
  color: inherit;
}

.product-carousel__track .slider__slide .product-card {
  flex: 1;
}

.footer {
  background: var(--color-bg-default);
  color: var(--color-text-primary);
  padding-block: var(--space-7) var(--space-4);
}

.footer a {
  color: var(--color-text-secondary);
}
.footer a:hover {
  color: var(--color-primary);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  align-items: start;
}

/* Wiersz: zdjęcie + dane */
.footer__bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-3);
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

@media (max-width: 800px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid > :last-child {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   MOBILE STYLES — zgodne z projektem Figma 219:6788 — grid 16px L+R
   ========================================================================== */

/* === Shared: 16px mobile grid === */
@media (max-width: 900px) {
  :root { --container-pad: 16px; }
}

/* === Mobile ≤480px === */
@media (max-width: 480px) {

  /* Info bar */
  .info-bar { font-size: 12px; padding-inline: 12px; }

  /* Header */
  .header__inner { padding-inline: 16px; }
  .nav > .nav__links, .nav__cta { display: none !important; }
  .nav__toggle { display: inline-flex !important; }

  /* Hero */
  .hero { padding-top: 12px; }
  .hero__card {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-radius: var(--radius-md);
  }
  .hero__title { font-size: 2rem; }
  .hero__body { font-size: 14px; max-width: 100%; }
  .hero__body br { display: block; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__badges { flex-wrap: wrap; gap: 8px; }
  .hero__badge { flex: 0 0 calc(50% - 8px); font-size: 11px; }
  .hero__divider { display: none; }
  .hero__video { order: -1; transform: none; }
  .hero__decoration { display: none; }

  /* Trust bar: clip to container, no fade mask */
  .trust-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: hidden;
  }
  .trust-bar { flex-direction: column; gap: 12px; }
  .trust-bar__label {
    border-right: none;
    border-bottom: 1px solid var(--color-divider);
    padding-right: 0;
    padding-bottom: 12px;
    text-align: left;
  }

  /* Features overlap (orange section): larger icons + text */
  .feature-card img { width: 80px; height: 80px; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: 13px; }
  .features-overlap__grid { grid-template-columns: 1fr 1fr; margin-top: -80px; }
  .features-overlap__box { padding-bottom: 80px; }

  /* GV banner: image overflow above white card */
  .gv-banner { grid-template-columns: 1fr; padding: 0; }
  .gv-banner__content { padding: 20px 16px 24px; }
  .gv-banner__media {
    order: -1;
    overflow: visible;
    min-height: 0;
    margin-bottom: -40px;
    padding-top: 0;
    position: relative;
  }
  .gv-banner__media img {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: bottom center;
    border-radius: 0;
  }

  /* Product carousel: arrows centered */
  .slider__controls { justify-content: center; gap: 16px; margin-top: 12px; }

  /* Offer cards (HR/Sales/Marketing): swipe slider */
  #oferta .grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #oferta .grid::-webkit-scrollbar { display: none; }
  #oferta .offer-card {
    flex: 0 0 82vw;
    scroll-snap-align: start;
    min-width: 82vw;
  }

  /* Testimonials: swipe */
  #testimonialsTrack { flex-wrap: nowrap; }

  /* Steps: vertical with centered arrows */
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step__arrow {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    width: auto;
  }
  .step__arrow img {
    transform: rotate(90deg);
    width: 24px;
    height: auto;
  }

  /* Contact form */
  .contact-card { grid-template-columns: 1fr; }
  .contact-card__form { padding: 20px 16px; }
  .contact-advisor {
    order: -1;
    text-align: center;
    padding: var(--space-4) 16px var(--space-3);
  }
  .contact-advisor img {
    width: 140px;
    height: 140px;
    margin-top: -70px;
    margin-bottom: 8px;
  }
  .contact-advisor h3 { font-size: 1.1rem; }
  .contact-advisor__contact { align-items: center; }
  #kontakt { padding-top: var(--space-5); }

  /* Blog button below cards, centered */
  .blog-cta-wrap { text-align: center; margin-top: var(--space-3); }

  /* Blog grid */
  .blog-grid { grid-template-columns: 1fr; }

  /* Case studies */
  .cs-grid { grid-template-columns: 1fr; }

  /* Footer: all left */
  .footer { padding-block: var(--space-4); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-3); }
      /* Global tighter sections on mobile */
  .section { padding-block: var(--space-4); }
}

/* === Tablet 481–900px === */
@media (min-width: 481px) and (max-width: 900px) {
  .hero__card { grid-template-columns: 1fr; gap: var(--space-3); }
  .hero__video { order: -1; transform: none; }
  .hero__decoration { display: none; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-advisor { order: -1; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .cs-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .step__arrow { display: none; }
}

/* ==========================================================================
   DRAWER MOBILNY — wg Figmy node 219:14640
   ========================================================================== */

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    /* Pole dotyku min. 48×48 px + odstęp od krawędzi ekranu */
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
    margin-right: -12px;
    margin-left: 8px;
    position: relative;
    z-index: 100;
  }

  /* Przycisk zamknięcia drawera — to samo pole dotyku */
  .mobile-menu__close {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin: 8px 8px 0 0;
  }

  /* Linki w drawerze — wysokość dotykowa min. 48px */
  .nav__links--mobile a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  /* Ukryj TYLKO desktopowe linki/CTA — nie te w drawerze */
  .nav > .nav__links,
  .nav__cta {
    display: none !important;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 89%;
    max-width: 340px;
    background: var(--color-bg-default);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 24px rgba(0,0,0,0.12);
  }
  .mobile-menu.is-open {
    transform: translateX(0);
  }

  /* Przycisk zamknięcia — prawy górny róg */
  .mobile-menu__close {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-secondary);
    padding: 12px;
    margin: 12px 12px 0 0;
  }

  /* Linki nawigacji */
  .nav__links--mobile {
    list-style: none;
    padding: 24px 32px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .nav__links--mobile a {
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
    padding: 16px 0;
  }

  /* Separator */
  .mobile-menu__divider {
    height: 1px;
    background: var(--color-divider);
    margin: 16px 24px 0;
  }

  /* Przyciski CTA */
  .mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 24px 32px;   /* symetrycznie */
  }
  .mobile-menu__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Pomarańczowy pasek informacyjny na dole */
  .mobile-menu__info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f5f5f5;      /* ten sam odcień co górny pasek strony */
    padding: 16px 24px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
    color: var(--color-text-primary);
  }
  .mobile-menu__info svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 14px;
  }
  .mobile-menu__info strong {
    display: block;
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 2px;
  }
}

/* Drawer ukryty na desktopie */
@media (min-width: 901px) {
  .mobile-menu,
  .drawer-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   PODSTRONA CASE STUDIES — wg Figmy node 356:22928
   ========================================================================== */

/* Hero */
.cs-hero {
  padding-block: var(--space-3);
}

.cs-hero__card {
  background: white;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 0 60px;
  width: 100%;         /* pełna szerokość grida */
}

.cs-hero__content h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.235;
  margin: 0;
}

.cs-hero__content p {
  max-width: 480px;
  margin: 8px 0 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-primary);
}

.cs-hero__media {
  width: 300px;        /* węższa grafika = niższa sekcja hero */
  flex-shrink: 0;
  margin-right: 40px;
}
.cs-hero__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sekcje z siatką kart */
.cs-section {
  padding-block: 20px 40px;
}

.cs-section h2 {
  color: var(--color-text-primary);
  margin-bottom: 32px;
}

.cs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Karta case study */
.cs-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.cs-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.cs-card__media {
  height: 200px;
  background: #f5f5f5;
  flex-shrink: 0;
  overflow: hidden;
}
.cs-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-card__body {
  padding: 12px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.cs-card__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.14px;
  color: var(--color-primary);
}

.cs-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.15px;
  color: var(--color-text-primary);
  margin: 0;
}

.cs-card p {
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: 0.17px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Responsywność */
@media (max-width: 900px) {
  .cs-grid-3 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cs-hero__card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
    text-align: center;
  }
  .cs-hero__content p { margin-inline: auto; }
  .cs-hero__media { width: 100%; max-width: 320px; margin-inline: auto; }
}

@media (max-width: 600px) {
  .cs-grid-3 { grid-template-columns: 1fr; }
  .cs-hero__content h1 { font-size: 32px; }
  .cs-hero__card { padding: 24px 16px; }
}

/* ==========================================================================
   CASE STUDY — widok szczegółowy (1:1 wg Figmy node 372:25528)
   ========================================================================== */

.csd { padding-block: var(--space-4) var(--space-5); }

.csd-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: var(--space-3);
}
.csd-back:hover { text-decoration: underline; }

.csd-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-disabled);
  margin-bottom: 8px;
}

/* --- HERO: biała karta, tekst + logo firmy --- */
.csd-hero {
  background: white;
  border-radius: 20px;
  padding: 32px 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 6vw, 120px);
  align-items: center;
  margin-bottom: 32px;
}
.csd-hero__text h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.235;
  letter-spacing: 0.25px;
  color: var(--color-primary);
  margin: 0 0 8px;
}
.csd-hero__text p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.15px;
  color: var(--color-text-primary);
  max-width: 562px;
  margin: 0;
}
.csd-hero__media {
  width: clamp(240px, 28vw, 360px);
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.csd-hero__media img { width: 100%; height: auto; display: block; }

/* --- PASY (Kryteria / Rozwiązanie / pozostałe) --- */
.csd-band {
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 5vw, 100px);
  align-items: center;
  margin-bottom: 32px;
}
.csd-band--purple { background: #d3ccff; }   /* quinary/light */
.csd-band--yellow { background: #fffcb5; }   /* tertiary/lighter */
.csd-band--yellow .csd-band__text { max-width: 658px; }   /* wg Figmy — krótsze wiersze */
.csd-band--white  { background: #fdfdff; grid-template-columns: 1fr; }

.csd-band__text { min-width: 0; }
.csd-band h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.334;
  color: var(--color-text-primary);
  margin: 0 0 8px;
}
.csd-band p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.15px;
  color: var(--color-text-primary);
  margin: 0 0 12px;
}
.csd-band p:last-of-type { margin-bottom: 0; }
.csd-band p.csd-small { font-size: 14px; line-height: 1.43; letter-spacing: 0.17px; }
.csd-band ol {
  list-style: decimal;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.csd-band ol li { margin-bottom: 2px; }
.csd-band .btn { margin-top: 24px; }

.csd-band__doodle {
  width: clamp(140px, 18vw, 240px);
  height: auto;
  display: block;
  flex-shrink: 0;
}

/* Kryteria: mniejszy dymek, przesunięty w lewo */
.csd-band--purple .csd-band__doodle {
  width: clamp(110px, 13vw, 175px);
  margin-right: clamp(20px, 5vw, 80px);
}

/* Rozwiązanie: mniejsza odznaka, wyśrodkowana w wolnej przestrzeni */
.csd-band--yellow .csd-band__doodle {
  width: clamp(90px, 11vw, 145px);
  margin-right: clamp(24px, 6vw, 110px);
}

/* --- PARA KAFLI (Wyzwanie / Dla kogo) --- */
.csd-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
  align-items: stretch;
}
.csd-tile {
  background: #fdfdff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.csd-tile__doodle {
  /* Stała RAMKA (wys. × szer.) dla obu kafli — grafika skaluje się
     wewnątrz przez object-fit, więc szeroka i kwadratowa zajmują
     tyle samo miejsca i kafle wyglądają identycznie */
  height: clamp(120px, 13vw, 177px);
  width: 200px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.csd-tile h2 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 400;
  line-height: 1.334;
  color: var(--color-text-primary);
  margin: 0;
  white-space: nowrap;   /* tytuły równo w jednej linii */
}
.csd-tile p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.15px;
  color: var(--color-text-primary);
  margin: 0;
}
.csd-tile ol { list-style: decimal; padding-left: 24px; text-align: left; font-size: 16px; line-height: 1.5; }

/* --- OPINIA --- */
.csd-opinion {
  background: #fdfdff;
  border-radius: 16px;
  padding: 32px 40px;
  text-align: center;
  margin-bottom: 32px;
}
.csd-opinion h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.334;
  color: var(--color-text-primary);
  margin: 0 0 12px;
}
.csd-opinion p {
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: 0.17px;
  color: var(--color-text-primary);
  max-width: 712px;
  margin: 0 auto 12px;
}
.csd-opinion__author {
  font-style: italic;
  font-weight: 600;
  margin-top: 12px !important;
}

@media (max-width: 900px) {
  .csd-hero {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }
  .csd-hero__media { width: 100%; max-width: 250px; }
  .csd-band {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 20px;
  }
  .csd-band__doodle { margin-inline: auto; }

  /* Odznaka w Rozwiązaniu tylko przeszkadza na mobile */
  .csd-band--yellow .csd-band__doodle { display: none; }
  .csd-band--yellow .csd-band__text { max-width: 100%; }
  .csd-pair { grid-template-columns: 1fr; gap: 20px; }
  .csd-tile { padding: 24px 20px; }
  .csd-opinion { padding: 24px 20px; }
}

/* Doodle w karcie "Rozwiązanie" — wg Figmy node 325:18446 */
.csd-card--pink {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.csd-card__text { min-width: 0; }

.csd-card__doodle {
  width: 180px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 700px) {
  .csd-card--pink {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .csd-card__doodle {
    width: 120px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   SEKCJA KONTAKTU Z DORADCĄ — 1:1 wg Figmy node 365:25494
   Ramka 1156 × 355. Tło karty #ffccf9, lewy blok #f99eef (656px).
   Wymiary jako % ramki, więc sekcja skaluje się z gridem strony.
   ========================================================================== */

.advisor-cta {
  padding-bottom: var(--space-5);
}

.advisor-cta__card {
  background: #ffccf9;          /* quaternary/light */
  border-radius: 20px;
  position: relative;
  aspect-ratio: 1156 / 355;
  margin-top: 10.55%;           /* 122/1156 — miejsce na wystające zdjęcie */
}

/* Lewy, ciemniejszy blok: left 0, width 656/1156 = 56.75% */
.advisor-cta__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 56.75%;
  background: #f99eef;          /* quaternary/main */
  border-radius: 20px;
}

/* Prawa strona: wyśrodkowana w jasnoróżowym obszarze (56.75% → 100%) */
.advisor-cta__panel {
  position: absolute;
  top: 0;
  left: 56.75%;
  right: 0;
  height: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 24px);
  padding-inline: clamp(12px, 1.5vw, 20px);
  box-sizing: border-box;
  z-index: 2;
}

.advisor-cta__panel h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.11vw, 36px);
  font-weight: 400;
  line-height: 1.167;
  color: var(--color-primary);   /* #3d00d2 */
  margin: 0;
  text-align: center;
}

.advisor-cta__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.04vw, 12px);
  min-width: 0;
}

.advisor-cta__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.04vw, 12px);
  background: var(--color-primary);
  color: white;
  border-radius: 50px;
  padding: clamp(8px, 1.04vw, 12px) clamp(10px, 1.4vw, 20px);
  font-family: var(--font-body);
  font-size: clamp(12px, 1.38vw, 16px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.15px;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
.advisor-cta__links a:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}
.advisor-cta__links svg {
  flex-shrink: 0;
  width: clamp(12px, 1.38vw, 16px);
  height: clamp(12px, 1.38vw, 16px);
}

/* Zdjęcie: left 75/1156 = 6.49%, top -122, height 477 (134.37% karty) */
.advisor-cta__photo {
  position: absolute;
  left: 6.49%;
  bottom: 0;
  height: 134.37%;
  z-index: 1;
}
.advisor-cta__photo img {
  height: 100%;
  width: auto;
  display: block;
}

/* Podpis: left 390/1156 = 33.74%, top 274/355 = 77.18%, ciemny tekst */
.advisor-cta__name {
  position: absolute;
  left: 33.74%;
  top: 77.18%;
  width: 19.55%;                /* 226/1156 */
  text-align: center;
  z-index: 2;
}
.advisor-cta__name strong {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(16px, 2.08vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.0703px;
  color: var(--color-text-primary);   /* #212212 */
  white-space: nowrap;
}
.advisor-cta__name span {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(11px, 1.38vw, 16px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.15px;
  color: var(--color-text-primary);   /* #212212 */
  white-space: nowrap;
}

/* --- Mobile: układ pionowy --- */
@media (max-width: 900px) {
  .advisor-cta__card {
    aspect-ratio: auto;
    height: auto;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .advisor-cta__card::before {
    inset: 0 0 auto 0;
    width: 100%;
    height: 55%;
  }
  .advisor-cta__photo {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: -100px;
    height: 300px;
  }
  .advisor-cta__name {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 8px 20px 24px;
  }
  .advisor-cta__name strong { font-size: 20px; }
  .advisor-cta__name span { font-size: 14px; }
  .advisor-cta__panel {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    padding: 32px 20px;
    gap: 20px;
  }
  .advisor-cta__panel h2 { font-size: 26px; }
  .advisor-cta__links a { font-size: 14px; padding: 12px 20px; }
  .advisor-cta__links svg { width: 16px; height: 16px; }
}

@media (max-width: 560px) {
  .advisor-cta__links a { width: 100%; }
}

/* ==========================================================================
   STOPKA — karta doradcy + social (1:1 wg Figmy node 365:25402)
   ========================================================================== */

.footer__advisor {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;      /* wyrównanie do prawej krawędzi grida */
  margin-left: auto;
}

/* Karta 274×116, białe tło, obramowanie #ddd, radius 20 */
.footer__advisor-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  width: 274px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Avatar 90px, koło, fioletowe tło */
.footer__advisor-photo {
  width: 90px;
  height: 90px;
  border-radius: 9999px;
  overflow: hidden;
  background: #a081ff;
  flex-shrink: 0;
}
.footer__advisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Kolumna tekstu 150px, wyrównana do prawej */
.footer__advisor-info {
  width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;         /* nazwa, stanowisko i telefon równo do lewej */
  flex-shrink: 0;
}

.footer__advisor-info strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.15px;
  color: #212212;
  white-space: nowrap;
}

.footer__advisor-role {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.14px;
  color: #666;
  white-space: nowrap;
}

.footer__advisor-phone {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 19.5px;
  letter-spacing: 0.0254px;
  color: #666 !important;
  padding-top: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.footer__advisor-phone:hover { color: var(--color-primary) !important; }

/* Rząd ikon social — 40px koła, gap 12, padding-top 8 */
.footer__social {
  display: flex;
  gap: 12px;
  padding-top: 8px;
  align-items: flex-start;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  /* Bez background i border — pliki PNG mają już wbudowane
     białe tło i szare kółko, dublowanie dawało grube obramowanie */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}
.footer__social a:hover { opacity: 0.7; }

.footer__social a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 800px) {
  .footer__advisor {
    align-items: flex-start;
    margin-left: 0;
  }
}

/* ==========================================================================
   POPRAWKI MOBILE (≤900px) — wyłącznie dla wersji mobilnej
   ========================================================================== */
@media (max-width: 900px) {

  /* 1. Pasek informacyjny: strzałka po lewej, tekst w 2 liniach po prawej */
  .info-bar { padding: 8px 16px; }
  .info-bar__link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
  }
  .info-bar__link svg { flex-shrink: 0; margin-top: 2px; }
  .info-bar__text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
  }
  .info-bar__line { display: block; }

  /* 2. Hero: brak białego marginesu nad wideo, 16px pod nim */
  .hero__card { padding: 0 0 16px; }
  .hero__video { order: -1; margin: 0; border-radius: var(--radius-md); }
  .hero__card > div:not(.hero__video) { padding-inline: 16px; }
  .hero__eyebrow { margin-top: 16px; }

  /* 3. USP: łamanie wymuszone przez <br> w HTML — szerokość z układu 2-kol. */

  /* 4. Zaufali nam: karuzela przycięta do ekranu, bez przesuwania widoku */
  .trust-marquee {
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .trust-bar { overflow: hidden; }
  section:has(> .container > .trust-bar) { overflow: hidden; }

  /* 5. Dedykowane rozwiązania: tekst do lewej, kafle równej wysokości */
  #oferta h2,
  #oferta > .container > p {
    text-align: left !important;
    margin-inline: 0 !important;
  }
  #oferta h2 br,
  #oferta > .container > p br { display: none; }
  #oferta .grid { align-items: stretch; }
  #oferta .offer-card {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  #oferta .offer-card__list { flex: 1; }

  /* 6. Jak to działa: tytuł bliżej kafli */
  .steps { margin-top: var(--space-3); }
}

/* Poziome przycięcie sekcji z logotypami — także na małych ekranach */
@media (max-width: 480px) {
  .trust-marquee,
  .trust-bar { overflow: hidden; }
}

/* ==========================================================================
   POPRAWKI MOBILE — druga tura
   ========================================================================== */
@media (max-width: 900px) {

  /* 1. Pasek informacyjny: 12px */
  .info-bar { font-size: 12px; }

  /* 2. Biała podkładka Hero: te same zaoblenia co wideo, nic nie wystaje */
  .hero__card {
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .hero__video,
  .hero__video-frame,
  .hero__video img,
  .hero__video iframe {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  /* 3. Eyebrow w dwóch liniach */
  .hero__eyebrow-sep { display: none; }
  .hero__eyebrow-line { display: block; }

  /* 4. Bez linii pod logotypami w "Zaufali nam" */
  .trust-bar__label {
    border-bottom: none !important;
    padding-bottom: 4px;
  }

  /* 6. Nagłówki i opisy do lewej */
  #case-studies .container,
  #case-studies h2,
  #case-studies > .container > p,
  .section:has(#testimonialsTrack) .container,
  .section:has(#testimonialsTrack) h2,
  .section:has(#testimonialsTrack) > .container > p {
    text-align: left !important;
  }
  #case-studies > .container > p,
  .section:has(#testimonialsTrack) > .container > p {
    margin-inline: 0 !important;
  }

  /* 7. Stopka: odstępy dotykowe zgodne z WCAG (min. 48px) */
  .footer__grid ul li a,
  .footer p a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
  }
  .footer__grid ul {
    gap: 0 !important;
  }
  .footer__social { gap: 16px; }
  .footer__social a { min-width: 48px; min-height: 48px; }
  .footer__advisor-phone {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }
}

/* ==========================================================================
   ANIMACJA KAFLI "JAK TO DZIAŁA" — desktop L→P, mobile góra→dół
   ========================================================================== */
.steps .step,
.steps .step__arrow {
  opacity: 0;
  transform: translateX(-24px);
}

.steps.is-visible .step,
.steps.is-visible .step__arrow {
  animation: step-in 0.5s ease forwards;
}

.steps.is-visible .step:nth-of-type(1) { animation-delay: 0.05s; }
.steps.is-visible .step__arrow:nth-of-type(1) { animation-delay: 0.20s; }
.steps.is-visible .step:nth-of-type(2) { animation-delay: 0.30s; }
.steps.is-visible .step__arrow:nth-of-type(2) { animation-delay: 0.45s; }
.steps.is-visible .step:nth-of-type(3) { animation-delay: 0.55s; }
.steps.is-visible .step__arrow:nth-of-type(3) { animation-delay: 0.70s; }
.steps.is-visible .step:nth-of-type(4) { animation-delay: 0.80s; }

@keyframes step-in {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Mobile: wjazd od góry */
@media (max-width: 900px) {
  .steps .step,
  .steps .step__arrow {
    transform: translateY(-24px);
  }
  @keyframes step-in {
    from { opacity: 0; transform: translateY(-24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps .step,
  .steps .step__arrow {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   POPRAWKI MOBILE — trzecia tura
   ========================================================================== */

/* Wymuszone łamanie wierszy tylko na mobile */
.br-m { display: none; }

@media (max-width: 900px) {
  .br-m { display: block; }

  /* Mniejszy odstęp między wideo a treścią Hero (o połowę) */
  .hero__card { padding-bottom: 8px; }
  .hero__eyebrow { margin-top: 8px; }
}

/* ==========================================================================
   POPRAWKI MOBILE — trzecia tura
   ========================================================================== */
@media (max-width: 900px) {

  /* Drawer: równe marginesy z lewej i prawej */
  .mobile-menu { padding: 80px 0 0; }
  .nav__links--mobile { padding: 24px 24px 0; }
  .mobile-menu__divider { margin: 16px 24px 0; }
  .mobile-menu__actions { padding: 24px 24px 32px; }
  .mobile-menu__info {
    padding: 16px 24px;
    margin-top: auto;         /* pasek przyklejony do dołu drawera */
  }
  .mobile-menu__info svg { margin-top: 2px; }

  /* Mniejszy odstęp między wideo a "Oferta dla Firm" */
  .hero__eyebrow { margin-top: 8px; margin-bottom: 4px; }

}

/* Łamanie wiersza tylko na mobile (używane w nagłówkach) */
.br-m { display: none; }
@media (max-width: 900px) {
  .br-m { display: block; }
}
