:root {
  /* Paleta marki Santier (B2B, stonowana) */
  --navy-deep:   #0A1F38;   /* primary - granat głęboki, header/footer */
  --navy:        #0E2A4A;   /* navy do nakładek hero, sekcji */
  --navy-soft:   #163454;   /* gradient akcent */
  --accent:      #E84E1B;   /* pomarańcz - CTA, eyebrow line */
  --accent-warm: #F26A1F;   /* hover */
  --blue-light:  #2BACE2;   /* drobny akcent */

  /* Neutralne */
  --black:       #0F0F10;
  --gray-900:    #1A1F2A;
  --gray-700:    #3A4252;
  --gray-500:    #6B7385;
  --gray-300:    #C8CDD6;
  --gray-200:    #E2E5EB;
  --gray-100:    #EFF1F5;
  --gray-50:     #F7F8FA;
  --white:       #FFFFFF;

  /* Hero overlay */
  --hero-overlay: linear-gradient(
    180deg,
    rgba(10, 31, 56, 0.55) 0%,
    rgba(10, 31, 56, 0.65) 45%,
    rgba(10, 31, 56, 0.92) 100%
  );

  /* Typografia */
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Offset dla anchorów - kompensuje sticky header (~80 px) + dodatkowe breathing room */
#realizacje,
#wycena {
  scroll-margin-top: 100px;
}
body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }

/* ===========================================
   HEADER (ABB-style: białe tło, sticky)
   =========================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: saturate(160%) blur(6px);
}
.header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 22px 0;
  text-decoration: none;
  transition: color 0.18s ease;
  cursor: pointer;
}
.nav-link:hover { color: var(--navy-deep); }
.nav-link.is-active { color: var(--navy-deep); font-weight: 600; }
.nav-has-dropdown > .nav-link::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.nav-has-dropdown:hover > .nav-link::after,
.nav-has-dropdown:focus-within > .nav-link::after {
  transform: rotate(225deg) translateY(-1px);
}

/* Bridge - utrzymuje hover gdy kursor przechodzi z nav-linka do dropdown */
.nav-has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 14px;
  z-index: 49;
  pointer-events: none;
}
.nav-has-dropdown:hover::before { pointer-events: auto; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 5px;
  box-shadow: 0 18px 40px -20px rgba(10, 31, 56, 0.30);
  padding: 8px 0;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}
.nav-has-dropdown:hover > .nav-dropdown,
.nav-has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.18s ease;
}
.nav-dropdown a:hover {
  background: var(--gray-50);
  color: var(--accent);
  padding-left: 26px;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-divider {
  width: 1px;
  height: 22px;
  background: var(--gray-300);
  flex-shrink: 0;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
}
.header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  z-index: 0;
}
.header-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-warm) 0%, #c93d12 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}
.header-cta:hover::before { opacity: 1; }
.header-cta svg { width: 16px; height: 16px; }

/* Menu burger - decorative ABB-style */
.header-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-deep);
  padding: 8px 4px;
}
.header-menu-toggle .bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.header-menu-toggle .bars span {
  width: 22px;
  height: 2px;
  background: var(--navy-deep);
}

/* ===========================================
   HERO (zdjęcie + ciemna granatowa nakładka)
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg picture,
.hero-bg img,
.hero-bg-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero-inner {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px 96px;
  position: relative;
  z-index: 2;
}

/* DESKTOP SPLIT - video po prawej, granat z lewej z szerokim łagodnym przejściem */
@media (min-width: 1024px) {
  .hero {
    display: block;
    background: var(--navy-deep);
  }
  /* Video na pełną szerokość pod spodem - bez hard-cut */
  .hero-bg {
    left: 0;
    right: 0;
  }
  /* Overlay - custom gradient: linear ease, 50 stopów, 0% → 49% */
  .hero-overlay {
    display: block;
    background: linear-gradient(
      50deg in oklab,
      rgba(10, 31, 56, 1.00) 0%,
      rgba(10, 31, 56, 0.98) 1%,
      rgba(10, 31, 56, 0.97) 2%,
      rgba(10, 31, 56, 0.96) 3%,
      rgba(10, 31, 56, 0.95) 4%,
      rgba(10, 31, 56, 0.94) 5%,
      rgba(10, 31, 56, 0.93) 6%,
      rgba(10, 31, 56, 0.92) 7%,
      rgba(10, 31, 56, 0.91) 8%,
      rgba(10, 31, 56, 0.90) 9%,
      rgba(10, 31, 56, 0.88) 10%,
      rgba(10, 31, 56, 0.86) 11%,
      rgba(10, 31, 56, 0.84) 12%,
      rgba(10, 31, 56, 0.82) 13%,
      rgba(10, 31, 56, 0.80) 14%,
      rgba(10, 31, 56, 0.78) 15%,
      rgba(10, 31, 56, 0.76) 16%,
      rgba(10, 31, 56, 0.74) 17%,
      rgba(10, 31, 56, 0.72) 18%,
      rgba(10, 31, 56, 0.70) 19%,
      rgba(10, 31, 56, 0.67) 20%,
      rgba(10, 31, 56, 0.64) 21%,
      rgba(10, 31, 56, 0.61) 22%,
      rgba(10, 31, 56, 0.58) 23%,
      rgba(10, 31, 56, 0.55) 24%,
      rgba(10, 31, 56, 0.52) 25%,
      rgba(10, 31, 56, 0.49) 26%,
      rgba(10, 31, 56, 0.46) 27%,
      rgba(10, 31, 56, 0.43) 28%,
      rgba(10, 31, 56, 0.40) 29%,
      rgba(10, 31, 56, 0.38) 30%,
      rgba(10, 31, 56, 0.36) 31%,
      rgba(10, 31, 56, 0.34) 32%,
      rgba(10, 31, 56, 0.32) 33%,
      rgba(10, 31, 56, 0.30) 34%,
      rgba(10, 31, 56, 0.28) 35%,
      rgba(10, 31, 56, 0.26) 36%,
      rgba(10, 31, 56, 0.24) 37%,
      rgba(10, 31, 56, 0.22) 38%,
      rgba(10, 31, 56, 0.20) 39%,
      rgba(10, 31, 56, 0.18) 40%,
      rgba(10, 31, 56, 0.16) 41%,
      rgba(10, 31, 56, 0.14) 42%,
      rgba(10, 31, 56, 0.12) 43%,
      rgba(10, 31, 56, 0.10) 44%,
      rgba(10, 31, 56, 0.08) 45%,
      rgba(10, 31, 56, 0.06) 46%,
      rgba(10, 31, 56, 0.04) 47%,
      rgba(10, 31, 56, 0.02) 48%,
      rgba(10, 31, 56, 0.00) 49%
    );
  }
  /* Treść w lewej połowie, niżej */
  .hero-inner {
    position: absolute;
    top: 75%;
    left: 0;
    width: 53%;
    max-width: none;
    margin: 0;
    padding: 0 56px 0 80px;
    transform: translateY(-75%);
    z-index: 3;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.hero-eyebrow span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
}

.hero-title {
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.8px;
  text-transform: uppercase;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 24px;
}
.hero-title .accent-line { display: block; }

.hero-subtitle {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 15px 28px;
  border-radius: 5px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  overflow: hidden;
  z-index: 0;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-warm) 0%, #c93d12 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary svg { width: 18px; height: 18px; }

/* Outline button na ciemnym tle (hero) - biały border + tekst, bez tła w hover */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  padding: 15px 28px;
  border-radius: 5px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  transition: gap 0.3s ease, border-color 0.3s ease;
}
.btn-secondary:hover {
  gap: 18px;
  border-color: var(--white);
}
.btn-secondary svg { width: 18px; height: 18px; }

/* Scroll indicator - prawa dolna (pionowy układ) */
.hero-scroll {
  position: absolute;
  right: 48px;
  bottom: 40px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  cursor: pointer;
  padding: 8px 4px;
  transition: color 0.2s ease;
}
.hero-scroll:hover { color: var(--white); }
.scroll-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  line-height: 1;
}
.hero-scroll .arrow {
  width: 16px;
  height: 22px;
  display: block;
  animation: scrollBob 2s ease-in-out infinite;
  transition: transform 0.18s ease;
}
.hero-scroll:hover .arrow {
  animation: scrollBobFast 0.9s ease-in-out infinite;
}
.hero-scroll:active .arrow {
  animation: none;
  transform: translateY(10px);
  transition: transform 0.12s cubic-bezier(0.5, 0, 0.75, 0);
}
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50%      { transform: translateY(5px); opacity: 1; }
}
@keyframes scrollBobFast {
  0%      { transform: translateY(-2px); opacity: 1; }
  60%     { transform: translateY(8px); opacity: 0.55; }
  100%    { transform: translateY(-2px); opacity: 1; }
}

/* ===========================================
   SEKCJA UVP (białe tło, technicznie)
   =========================================== */
.section {
  padding: 100px 48px;
}
.section-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.uvp {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.uvp-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}

.uvp-left .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.uvp-left .eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.uvp-left h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--navy-deep);
  margin-bottom: 24px;
}
.uvp-left .lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-700);
  max-width: 460px;
}

.uvp-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.uvp-item {
  background: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.uvp-item .num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
}
.uvp-item h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.2px;
}
.uvp-item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-700);
}

/* ===========================================
   SEKCJA 3 LINII PRODUKTOWYCH
   =========================================== */
.lines {
  background: var(--gray-50);
}
.lines-header {
  text-align: left;
  margin-bottom: 64px;
  max-width: 820px;
}
.lines-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.lines-header .eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.lines-header h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.lines-header p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-700);
}

.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.line-card {
  --line-color: var(--accent);
  background: var(--navy-deep);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.line-card-instalacje { --line-color: #3DAE2B; } /* zielony - HVAC */
.line-card-serwis     { --line-color: #2BACE2; } /* niebieski - serwis */
.line-card-pv         { --line-color: #E84E1B; } /* pomarańczowy - PV */

.line-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(10, 31, 56, 0.45);
}

.line-card-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy-deep);
}
.line-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.45s ease;
}
.line-card:hover .line-card-img img {
  filter: brightness(1.12) saturate(1.12);
}

/* Dark overlay - gradient fading from transparent top to navy bottom (blends into body) */
.line-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 31, 56, 0.20) 0%,
    rgba(10, 31, 56, 0.35) 35%,
    rgba(10, 31, 56, 0.78) 65%,
    rgba(10, 31, 56, 1) 85%,
    rgba(10, 31, 56, 1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Kolorowy piktogram - na zdjęciu, w jednej linii pionowej z tekstem body */
.line-card-icon {
  position: absolute;
  bottom: 20px;
  left: 32px;
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--line-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.5);
}
.line-card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.line-card-body {
  position: relative;
  padding: 24px 32px 28px;
  margin-top: -1px;  /* podciągnięcie o 1px aby pokryć ewentualny edge artefakt z .line-card-img */
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  z-index: 2;
  background: var(--navy-deep);
}
.line-card-body h3 {
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 0 0 -2px 0;
}
.line-card-body .tagline {
  font-size: 12px;
  font-weight: 700;
  color: var(--line-color);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
}
.line-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* Chipy - na ciemnym tle, oddzielone subtelnym dividerem od opisu */
.line-card-body .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 14px 0 0;
  margin: 6px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.line-card-body .chips li {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  padding: 5px 11px;
  border-radius: 4px;
  letter-spacing: 0.15px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.line-card .line-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--line-color);
  margin-top: auto;
  padding-top: 6px;
  transition: gap 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}
.line-card .line-cta:hover {
  gap: 14px;
  opacity: 0.85;
}
.line-card .line-cta svg { width: 16px; height: 16px; }

/* ===========================================
   SEKCJA "DLA KOGO PRACUJEMY"
   =========================================== */
.audiences {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.audiences-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 72px;
  align-items: start;
}
.audiences-heading h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.6px;
  margin-bottom: 22px;
}
.audiences-heading .accent-bar {
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 24px;
}
.audiences-heading .audiences-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
}
.audiences-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.audience-card {
  position: relative;
  aspect-ratio: 3 / 5;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  background: var(--navy-deep);
}
.audience-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}
.audience-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-overlay);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.audience-card:hover img { transform: scale(1.06); }
.audience-card:hover::after { opacity: 0.88; }
.audience-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.audience-card-icon {
  width: 32px;
  height: 32px;
  color: var(--white);
  opacity: 0.92;
}
.audience-card-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.1px;
  color: var(--white);
}

/* ===========================================
   SEKCJA REALIZACJE (slider z case studies)
   =========================================== */
.realizations {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

/* GÓRA: heading + thumbs */
.real-top {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 48px;
}
.real-top-heading h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.6px;
  margin-bottom: 22px;
}
.real-top-heading .accent-bar {
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 32px;
}
/* "Zobacz wszystkie realizacje" używa .btn-primary z hero (gradient hover) */

/* THUMBS */
.real-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.real-thumb {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-family: inherit;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.real-thumb-img {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--gray-100);
  overflow: hidden;
}
.real-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.45s ease;
  filter: saturate(0.88) brightness(0.96);
}

/* Accent line at the bottom edge of the image - grows from left */
.real-thumb-img::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 2;
}

.real-thumb-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 31, 56, 0.85);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 0;
  backdrop-filter: blur(4px);
  z-index: 1;
}
.real-thumb-meta {
  padding: 16px 18px 18px;
}
.real-thumb-meta h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
  transition: color 0.25s ease;
}
.real-thumb-loc {
  font-size: 13px;
  color: var(--gray-500);
}

/* Hover - subtle elevation + image vibrancy + accent line + title navy */
.real-thumb:hover {
  border-color: var(--gray-300);
  box-shadow: 0 10px 26px -20px rgba(10, 31, 56, 0.4);
}
.real-thumb:hover .real-thumb-img img { filter: saturate(1) brightness(1); }
.real-thumb:hover .real-thumb-img::after { transform: scaleX(0.25); }
.real-thumb:hover .real-thumb-meta h4 { color: var(--navy-deep); }

/* Active - full accent line + title in orange + vibrant image */
.real-thumb.is-active .real-thumb-img img { filter: saturate(1) brightness(1); }
.real-thumb.is-active .real-thumb-img::after { transform: scaleX(1); }
.real-thumb.is-active .real-thumb-meta h4 { color: var(--accent); }

/* FEATURED CASE STUDY */
.real-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
  transition: opacity 0.2s ease;
}
.real-featured.is-fading { opacity: 0.25; }
.real-featured-img {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--navy-deep);
}
.real-featured-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.real-featured-details {
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
}
.real-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.real-featured-details h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 6px;
}
.real-featured-loc {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.real-fields {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.real-field {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}
.real-field:first-child { padding-top: 4px; }
.real-field:last-child { border-bottom: 0; padding-bottom: 4px; }
.real-field-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding-top: 2px;
}
.real-field-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray-700);
}

.real-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: gap 0.2s ease;
}
.real-cta-link:hover { gap: 14px; }
.real-cta-link svg { width: 16px; height: 16px; }

/* ===========================================
   SEKCJA SALON KRAKÓW (zdjęcie + content)
   =========================================== */
.salon-showcase {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.salon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.salon-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}
.salon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 4px 0 32px;
}
.salon-chips li {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  padding: 7px 13px;
  border-radius: 4px;
  letter-spacing: 0.15px;
  border: 1px solid var(--gray-200);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.salon-chips li:hover {
  border-color: var(--accent);
  color: var(--navy-deep);
}
.salon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.salon-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
}
.salon-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.salon-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.salon-eyebrow span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.salon-showcase h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: var(--navy-deep);
  margin-bottom: 18px;
}
.salon-lead {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 18px;
}
.salon-description {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gray-700);
  margin-bottom: 32px;
}
.salon-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 36px;
  margin-bottom: 36px;
  padding: 24px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  width: 100%;
}
.salon-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.salon-info-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}
.salon-info-text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.4;
  text-decoration: none;
}
.salon-info-link {
  transition: color 0.2s ease;
  align-self: center;
}
.salon-info-link:hover { color: var(--accent); }

/* Outline button na jasnym tle (salon) - navy/orange border + tekst, bez tła w hover */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-deep);
  padding: 15px 28px;
  border-radius: 5px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  border: 1.5px solid var(--gray-300);
  background: transparent;
  transition: gap 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn-outline-light:hover {
  gap: 18px;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline-light svg { width: 18px; height: 18px; }

/* ===========================================
   PRE-FOOTER: NASTĘPNY KROK + FORMULARZ
   (dark editorial + white form card)
   =========================================== */
.cta-form {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding: 110px 48px;
  overflow: hidden;
  isolation: isolate;
}
/* Mata kreślarska - dwupoziomowa siatka jak na rysunkach technicznych */
.cta-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.075) 1px, transparent 1px);
  background-size:
    16px 16px,
    16px 16px,
    80px 80px,
    80px 80px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 115% 90% at center, black 35%, transparent 88%);
  mask-image: radial-gradient(ellipse 115% 90% at center, black 35%, transparent 88%);
  pointer-events: none;
  filter: blur(0.7px);
}

/* Spotlight pod kursorem - podświetla pomarańczem fragmenty siatki */
.cta-bg-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(232,78,27,0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,78,27,0.32) 1px, transparent 1px),
    linear-gradient(rgba(232,78,27,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,78,27,0.18) 1px, transparent 1px);
  background-size:
    80px 80px,
    80px 80px,
    16px 16px,
    16px 16px;
  background-position: center;
  -webkit-mask-image: radial-gradient(circle 260px at var(--mouse-x, -200%) var(--mouse-y, -200%), black 0%, rgba(0,0,0,0.6) 35%, transparent 72%);
  mask-image: radial-gradient(circle 260px at var(--mouse-x, -200%) var(--mouse-y, -200%), black 0%, rgba(0,0,0,0.6) 35%, transparent 72%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
  filter: blur(0.7px);
}
.cta-form.is-cursor-out .cta-bg-spotlight { opacity: 0; }

/* Wyłącz efekty na touch / reduced motion */
@media (hover: none) and (pointer: coarse) {
  .cta-bg-spotlight { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-bg-spotlight { display: none; }
}
.cta-grid {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: stretch;
}

/* LEWA STRONA: editorial content - kompaktowy, dopasowany do wysokości formularza */
.cta-left {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.cta-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.cta-eyebrow span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--accent);
}
.cta-left h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.cta-lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 36px;
}

/* Kompaktowy 3-krokowy proces */
.cta-process {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
}
.cta-process li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 14px 0;
  align-items: baseline;
}
.cta-process-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  line-height: 1;
  font-feature-settings: "tnum";
}
.cta-process strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
  letter-spacing: -0.05px;
}
.cta-process span:not(.cta-process-num) {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
}

/* Direct contact - jeden compact wiersz na dole */
.cta-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 22px;
}
.cta-direct-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.cta-direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.cta-direct-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}
.cta-direct-links a:hover { color: var(--accent); }
.cta-direct-links svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* PRAWA STRONA: biały elevated card z formularzem */
.cta-card {
  background: var(--white);
  border-radius: 5px;
  padding: 44px 44px 38px;
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.45),
    0 12px 24px -16px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}
.cta-card .cta-form-fields { flex: 1; }
.cta-card textarea { flex: 1; min-height: 100px; }
.cta-card-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
}
.cta-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta-form-fields input,
.cta-form-fields textarea {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--navy-deep);
  padding: 13px 16px;
  border-radius: 5px;
  font-family: inherit;
  font-size: 14.5px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cta-form-fields textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.cta-form-fields input::placeholder,
.cta-form-fields textarea::placeholder {
  color: var(--gray-500);
}
.cta-form-fields input:focus,
.cta-form-fields textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 78, 27, 0.10);
}

/* Select — spójny wygląd z inputami + własna strzałka (CF7 [select]).
   Globalnie w santier.css, by KAŻDY formularz wyglądał tak samo (wcześniej select
   bywał natywny, każda podstrona dublowała ten styl u siebie). */
.cta-form-fields select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7385' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  border: 1px solid var(--gray-200);
  color: var(--navy-deep);
  padding: 13px 44px 13px 16px;
  border-radius: 5px;
  font-family: inherit;
  font-size: 14.5px;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cta-form-fields select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 78, 27, 0.10);
}
/* Placeholder: gdy wybrana jest pierwsza opcja-etykieta (value="", CF7 first_as_label),
   tekst na szaro jak placeholder inputów. Klasa .is-placeholder = fallback z JS. */
.cta-form-fields select:has(option[value=""]:checked),
.cta-form-fields select.is-placeholder {
  color: var(--gray-500);
}

/* Minimal file upload — single line, paperclip */
.file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px dashed var(--gray-300);
  border-radius: 5px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--gray-700);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-upload:hover {
  border-color: var(--accent);
  background: rgba(232, 78, 27, 0.03);
}
.file-upload input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}
.file-upload svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.file-upload-main { font-weight: 600; color: var(--navy-deep); }
.file-upload-hint { color: var(--gray-500); margin-left: auto; font-size: 12px; }

/* Bottom row: consent + submit */
.form-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 12px;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--gray-700);
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox-row a {
  color: var(--navy-deep);
  text-decoration: underline;
  text-decoration-color: var(--gray-300);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.checkbox-row a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.form-submit { white-space: nowrap; }

/* ===========================================
   CF7 — wspólne style formularzy (strona główna + Kariera)
   Pola CF7 dziedziczą układ po .cta-form-fields / .form-row / .file-upload.
   Tu obsługujemy elementy, które CF7 dokłada od siebie: wrapper-span pól,
   układ zgody (acceptance), submit z gradientowym hoverem i komunikaty.
   =========================================== */
/* CF7 owija każde pole w span .wpcf7-form-control-wrap — robimy je blokowe,
   by wypełniały siatkę .form-row i całą szerokość. */
.wpcf7-form-control-wrap { display: block; }
/* Komunikat błędu pod polem — czytelny, na brandzie (zamiast surowej czerwieni). */
.wpcf7-not-valid-tip { font-size: 12px; margin-top: 5px; color: #d8341a; font-weight: 500; }
.cta-form-fields .wpcf7-not-valid { border-color: #e0563c !important; }
/* Walidacja widoczna DOPIERO po próbie wysłania (CF7 dodaje wtedy do formularza klasę
   .invalid / .unaccepted / .payment-required). Przed wysłaniem live-walidacja CF7
   przy zmianie pojedynczego pola (np. kliknięcie checkboxa zgody) jest ukryta. */
.wpcf7-form:not(.invalid):not(.unaccepted):not(.payment-required) .wpcf7-not-valid-tip { display: none; }
.wpcf7-form:not(.invalid):not(.unaccepted):not(.payment-required) .cta-form-fields .wpcf7-not-valid { border-color: var(--gray-200) !important; }
/* Zgoda RODO jako kompaktowy wiersz checkboxa (jak .checkbox-row). */
.wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 12.5px; line-height: 1.45; font-weight: 400; color: var(--gray-700, #3A4252); cursor: pointer; }
.wpcf7-acceptance a { color: var(--navy-deep); text-decoration: underline; text-decoration-color: var(--gray-300); text-underline-offset: 2px; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.wpcf7-acceptance a:hover { color: var(--accent); text-decoration-color: var(--accent); }
/* Checkbox zgody: czysty natywny wygląd. Reset stylów odziedziczonych po
   `.cta-form-fields input` (ramka/padding/radius + animowany focus box-shadow),
   które powodowały „skalowanie" pierścienia po kliknięciu. Pola tekstowe i submit
   zostają nietknięte. */
.wpcf7-acceptance input[type=checkbox] {
  width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--accent, #E84E1B);
  padding: 0; border: 0; border-radius: 0; background: none;
  box-shadow: none; transition: none;
}
/* Submit z hoverem 1:1 jak .btn-primary / header-cta (gradient nasuwany przez ::before
   z płynnym fade opacity). CF7 renderuje submit jako <input>, który nie może mieć ::before,
   więc owijamy go w .form-submit-wrap i to wrapper trzyma tło + gradient. */
.form-submit-wrap {
  position: relative;
  display: inline-block;
  border-radius: 5px;
  background: var(--accent, #E84E1B);
  overflow: hidden;
  z-index: 0;
}
.form-submit-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-warm, #F26A1F) 0%, #c93d12 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}
.form-submit-wrap:hover::before { opacity: 1; }
.form-submit-wrap:has(.wpcf7-submit[disabled]) { opacity: .55; }
.form-submit-wrap .wpcf7-submit {
  position: relative;
  z-index: 1;
  width: auto;
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 15px 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
  cursor: pointer;
}
.form-submit-wrap .wpcf7-submit[disabled] { cursor: not-allowed; }
/* Loader na przycisku: ukryj domyślny spinner CF7 (pokazywał się OBOK napisu, rezerwował miejsce);
   podczas wysyłki napis znika, a w jego miejscu pojawia się estetyczny, wyśrodkowany spinner. */
.form-submit-wrap .wpcf7-spinner { display: none !important; }
.wpcf7-form[data-status="sending"] .form-submit-wrap .wpcf7-submit,
.wpcf7-form.submitting .form-submit-wrap .wpcf7-submit { color: transparent !important; }
.wpcf7-form[data-status="sending"] .form-submit-wrap::after,
.wpcf7-form.submitting .form-submit-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: santier-btn-spin 0.6s linear infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes santier-btn-spin { to { transform: rotate(360deg); } }
/* Zbiorczy komunikat formularza (błąd / sukces) — estetyczna pastylka zamiast
   surowej ramki CF7. Kolory zależne od statusu formularza. */
.wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 12px 16px !important;
  font-size: 13px;
  line-height: 1.45;
  border-radius: 6px;
  border-width: 1px !important;
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.payment-required .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
  border-color: #e0563c !important;
  background: rgba(224, 86, 60, 0.06);
  color: #b23a22;
}
.wpcf7-form.sent .wpcf7-response-output {
  border-color: #3a9d5d !important;
  background: rgba(58, 157, 93, 0.08);
  color: #2c7a48;
}

/* ===========================================
   STOPKA
   =========================================== */
.site-footer {
  background: #061427;
  color: rgba(255,255,255,0.75);
  padding: 80px 48px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}
.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 22px;
}
.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 5px;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 78, 27, 0.08);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col li {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
  .header-inner { padding: 16px 28px; }
  .main-nav,
  .header-divider { display: none; }
  .hero-inner { padding: 0 28px 72px; }
  .hero-scroll { display: none; }
  .section { padding: 80px 28px; }
  .uvp-grid { grid-template-columns: 1fr; gap: 48px; }
  .lines-grid { grid-template-columns: 1fr; }
  .audiences-grid { grid-template-columns: 1fr; gap: 40px; }
  .audiences-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .real-top { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .real-thumbs { grid-template-columns: repeat(2, 1fr); }
  .real-featured { grid-template-columns: 1fr; }
  .real-featured-img { min-height: 280px; aspect-ratio: 16/9; }
  .real-featured-details { padding: 32px 28px 30px; }
  .salon-grid { grid-template-columns: 1fr; gap: 36px; }
  .salon-image { aspect-ratio: 16 / 10; max-height: 480px; }
  .salon-content { max-width: 100%; }
  .salon-info { gap: 18px 32px; }
  .cta-form { padding: 72px 28px; }
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .site-footer { padding: 64px 28px 24px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px 36px; }
  .footer-brand { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 640px) {
  .header-inner { padding: 14px 20px; gap: 12px; }
  .header-phone { display: none; }
  .header-cta { padding: 10px 18px; font-size: 13px; }
  .hero-inner { padding: 0 20px 56px; }
  .hero-title { letter-spacing: -1px; }
  .hero-subtitle { font-size: 15px; margin-bottom: 28px; }
  .btn-primary, .btn-secondary { padding: 14px 22px; font-size: 14px; }
  .section { padding: 64px 20px; }
  .uvp-right { grid-template-columns: 1fr; }
  .uvp-item { padding: 28px 24px; }
  .line-card { padding: 32px 26px 28px; }
  .audience-card-content { padding: 18px; gap: 12px; }
  .audience-card-icon { width: 26px; height: 26px; }
  .audience-card-label { font-size: 14.5px; }
  .real-thumbs { grid-template-columns: 1fr; }
  .real-field {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
  .real-field-label { padding-top: 0; }
  .salon-image { aspect-ratio: 4 / 3; }
  .salon-info {
    flex-direction: column;
    gap: 16px;
    padding: 22px 0;
  }
  .cta-form { padding: 56px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .form-submit { width: 100%; justify-content: center; }
  .site-footer { padding: 56px 20px 22px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    margin-bottom: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===========================================
   MENU MOBILNE (burger + drawer) — dodane 2026-07-01
   =========================================== */
.header-menu-toggle { display: none; }   /* domyślnie ukryty (desktop) */
.nav-backdrop { display: none; }

@media (max-width: 1024px) {
  /* Burger widoczny; ponad drawerem, pełni też rolę „X" do zamknięcia */
  .header-menu-toggle { display: inline-flex; position: relative; z-index: 60; }
  .header-menu-toggle .bars span {
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
  }
  body.nav-open .header-menu-toggle .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.nav-open .header-menu-toggle .bars span:nth-child(2) { opacity: 0; }
  body.nav-open .header-menu-toggle .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  body.nav-open .site-header { z-index: 50; }   /* nad backdropem */

  /* DRAWER = .header-right-group (wysuwany z prawej) */
  .header-right-group {
    position: fixed;
    top: 0; right: 0;
    height: 100vh; height: 100dvh;
    width: min(86vw, 360px);
    background: var(--white);
    border-left: 1px solid var(--gray-200);
    box-shadow: -20px 0 50px -30px rgba(10,31,56,.4);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 84px 26px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 55;
  }
  body.nav-open .header-right-group { transform: translateX(0); }

  /* Nawigacja pionowo, dropdowny rozwinięte na stałe (bez hovera) */
  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-item { width: 100%; border-bottom: 1px solid var(--gray-100); }
  .nav-link { padding: 14px 4px; font-size: 16px; width: 100%; }
  .nav-has-dropdown > .nav-link { color: var(--navy-deep); font-weight: 600; cursor: default; }
  .nav-has-dropdown > .nav-link::after { display: none; }
  .nav-has-dropdown::before { display: none; }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    min-width: 0;
    padding: 0 0 8px;
    background: transparent;
  }
  .nav-dropdown a { padding: 9px 0 9px 14px; font-size: 15px; white-space: normal; }
  .nav-dropdown a:hover { background: transparent; color: var(--accent); padding-left: 18px; }

  .header-divider { display: none; }

  /* Telefon + CTA na dole drawera */
  .header-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 22px;
  }
  .header-phone { display: inline-flex; justify-content: center; font-size: 16px; padding: 8px; }
  .header-cta { justify-content: center; width: 100%; padding: 14px 20px; font-size: 15px; }

  /* Backdrop przyciemniający stronę pod drawerem */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10,31,56,.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 40;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}
