:root {
  --ef-bg: #05070b;
  --ef-bg-2: #07111d;
  --ef-navy: #081b2b;
  --ef-panel: #0d1723;
  --ef-panel-2: #101d2b;
  --ef-line: rgba(255, 255, 255, 0.12);
  --ef-line-strong: rgba(99, 215, 255, 0.26);
  --ef-text: #f4f7fb;
  --ef-muted: #9aa8b8;
  --ef-blue: #1f6f95;
  --ef-cyan: #63d7ff;
  --ef-gold: #d6a85c;
  --ef-green: #72d6a2;
  --ef-shadow: 0 26px 90px rgba(0, 0, 0, 0.44);
  --ef-radius: 8px;
  --ef-max: 1180px;
  --ef-pad: clamp(64px, 9vw, 128px);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.96), rgba(7, 17, 29, 0.98) 42%, rgba(5, 7, 11, 1)),
    var(--ef-bg);
  color: var(--ef-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

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

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

::selection {
  background: rgba(99, 215, 255, 0.28);
  color: var(--ef-text);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--ef-text);
  color: var(--ef-bg);
}

.ef-container {
  width: min(var(--ef-max), calc(100% - 40px));
  margin-inline: auto;
}

.ef-section {
  position: relative;
  padding-block: var(--ef-pad);
}

.ef-section::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 215, 255, 0.18), transparent);
  pointer-events: none;
}

.ef-eyebrow,
.ef-section-kicker span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ef-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ef-eyebrow::before,
.ef-section-kicker span::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--ef-cyan), transparent);
}

.ef-section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.ef-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.ef-section-head--center .ef-eyebrow {
  justify-content: center;
}

.ef-section-head h2,
.ef-about h2,
.ef-contact h2,
.ef-page-hero h1 {
  margin: 0;
  color: var(--ef-text);
  font-size: clamp(2rem, 4.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.ef-section-head p,
.ef-about p,
.ef-contact p {
  max-width: 680px;
  color: var(--ef-muted);
}

.ef-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--ef-radius);
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.ef-btn:hover,
.ef-btn:focus-visible {
  transform: translateY(-2px);
}

.ef-btn--primary {
  background: linear-gradient(135deg, var(--ef-cyan), var(--ef-blue));
  color: #02101a;
  box-shadow: 0 18px 52px rgba(99, 215, 255, 0.24);
}

.ef-btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ef-text);
}

.ef-btn--ghost:hover,
.ef-btn--ghost:focus-visible {
  border-color: var(--ef-line-strong);
  background: rgba(99, 215, 255, 0.08);
}

.ef-site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 0;
  transition:
    padding 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.admin-bar .ef-site-header {
  top: 32px;
}

.ef-site-header.is-scrolled {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(22, 34, 48, 0.95);
  backdrop-filter: blur(18px);
}

.ef-site-header__inner {
  width: min(1280px, calc(100% - 32px));
  min-height: 54px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.ef-site-header__brand,
.ef-site-footer__brand {
  display: inline-flex;
  align-items: center;
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.ef-site-header__logo {
  width: auto;
  max-width: 140px;
  max-height: 72px;
  object-fit: contain;
  padding: 4px;
  /* Bez brightness(0)/invert — logo zachowuje oryginalne kolory (niebieski sygnet). */
  /* Subtelny cień dla czytelności na ciemnym tle. */
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
}

/* Nav logo: startuje niewidoczne, GSAP onUpdate steruje opacity */
.home .ef-site-header__brand {
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

/* Na pozostałych stronach (nie-home) zawsze widoczne */
body:not(.home) .ef-site-header__brand {
  opacity: 1;
  pointer-events: auto;
}

.efekt-logo-text {
  color: var(--ef-text);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ef-site-header__nav {
  justify-self: center;
}

.ef-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ef-menu a {
  position: relative;
  display: inline-flex;
  padding-block: 8px;
  color: rgba(244, 247, 251, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.ef-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--ef-cyan);
  transition: transform 200ms ease;
}

.ef-menu a:hover,
.ef-menu a:focus-visible {
  color: var(--ef-text);
}

.ef-menu a:hover::after,
.ef-menu a:focus-visible::after {
  transform: scaleX(1);
}

.ef-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(99, 215, 255, 0.36);
  border-radius: var(--ef-radius);
  color: var(--ef-cyan);
  font-size: 0.88rem;
  font-weight: 900;
}

.ef-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: clamp(120px, 14vw, 180px) 0 clamp(100px, 12vw, 160px);
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 35%, rgba(31, 111, 149, 0.36), transparent 34%),
    linear-gradient(180deg, #071827 0%, #05070b 86%);
}

.ef-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30vh;
  background: linear-gradient(180deg, transparent, var(--ef-bg));
  pointer-events: none;
}

.ef-hero__canvas,
.ef-hero__blueprint {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.ef-hero__canvas {
  opacity: 0.8;
}

.ef-hero__blueprint {
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(99, 215, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 215, 255, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(214, 168, 92, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 168, 92, 0.1) 1px, transparent 1px);
  background-size: 76px 76px, 76px 76px, 304px 304px, 304px 304px;
  mask-image: radial-gradient(circle at center, #000 0%, #000 42%, transparent 76%);
}

.ef-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 40px));
  margin-inline: auto;
  text-align: center;
}

.ef-hero__mark {
  width: clamp(260px, 34vw, 520px);
  margin: 0 auto clamp(32px, 5vw, 56px);
  transform-style: preserve-3d;
  transform-origin: center top;
  will-change: transform, opacity, scale;
  /* Kluczowe: nigdy nie przycinaj logo — tekst EFEKT nie może być obcięty */
  overflow: visible;
  padding-bottom: 12px; /* oddech dla dolnych krawędzi liter */
}

.ef-hero__logo {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  display: block;
  /*
   * Kolory SVG są naprawione bezpośrednio w PHP (inject_svg_class):
   *   - Tekst EFEKT: #0F0F0F → #FFFFFF (widoczny na ciemnym tle)
   *   - Sygnet:     #1B658C → bez zmian (piękny niebieski)
   * Stosujemy tylko subtelny glow i cień.
   */
  filter:
    drop-shadow(0 0 28px rgba(27, 101, 140, 0.35))
    drop-shadow(0 8px 32px rgba(0, 0, 0, 0.6));
}

/* SVG inline — overflow musi być visible żeby viewBox nie przyciął */
.ef-hero__mark > svg {
  overflow: visible !important;
  max-height: none;
}

.ef-hero__title {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2.6rem, 7.2vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.ef-hero__lead {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(244, 247, 251, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
}

.ef-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.ef-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(560px, 100%);
  margin: 44px auto 0;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--ef-shadow);
}

.ef-hero__stats div {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 10, 17, 0.72);
  backdrop-filter: blur(14px);
}

.ef-hero__stats dt {
  color: var(--ef-text);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
}

.ef-hero__stats dd {
  margin: 8px 0 0;
  color: var(--ef-muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ef-about {
  background: linear-gradient(180deg, var(--ef-bg), var(--ef-bg-2));
}

.ef-about__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 0.9fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.ef-about__copy p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.ef-about__panel,
.ef-contact__panel,
.ef-empty-state {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ef-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(13, 23, 35, 0.78);
  box-shadow: var(--ef-shadow);
}

.ef-about__panel {
  padding: clamp(22px, 3vw, 34px);
}

.ef-about__panel p {
  margin: 0;
  color: var(--ef-text);
}

.ef-offer {
  background:
    linear-gradient(180deg, rgba(7, 17, 29, 0.98), rgba(5, 7, 11, 1)),
    var(--ef-bg);
}

.ef-offer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ef-offer-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(20px, 2.3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ef-radius);
  background:
    linear-gradient(155deg, rgba(16, 29, 43, 0.88), rgba(6, 14, 23, 0.96)),
    var(--ef-panel);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.ef-offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(99, 215, 255, 0.15), transparent 42%),
    linear-gradient(315deg, rgba(214, 168, 92, 0.13), transparent 46%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.ef-offer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 215, 255, 0.35);
}

.ef-offer-card:hover::before {
  opacity: 1;
}

.ef-offer-card__number {
  position: absolute;
  top: 20px;
  left: 20px;
  color: rgba(99, 215, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 900;
}

.ef-offer-card h3,
.ef-realization-card h2,
.ef-post-card h2,
.ef-cert-card h3 {
  position: relative;
  margin: 0;
  color: var(--ef-text);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.15;
}

.ef-offer-card p {
  position: relative;
  margin: 14px 0 0;
  color: var(--ef-muted);
}

.ef-showcase {
  background:
    radial-gradient(circle at 78% 24%, rgba(99, 215, 255, 0.1), transparent 26%),
    linear-gradient(180deg, var(--ef-bg), #070d14);
}

.ef-before-after {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.ef-before-after--portrait {
  width: min(940px, 100%);
}

.ef-before-after__media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ef-radius);
  background: #0b1118;
  box-shadow: var(--ef-shadow);
}

.ef-before-after--portrait .ef-before-after__media {
  aspect-ratio: 4 / 5;
  min-height: min(78vh, 720px);
}

.ef-before-after__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.ef-before-after__image--after {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.ef-before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  transform: translateX(-50%);
  background: var(--ef-cyan);
  box-shadow: 0 0 34px rgba(99, 215, 255, 0.82);
  pointer-events: none;
}

.ef-before-after__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 44%, var(--ef-cyan) 44%, var(--ef-cyan) 56%, transparent 56%),
    rgba(5, 9, 15, 0.86);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.ef-before-after__handle span::before,
.ef-before-after__handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--ef-text);
  border-left: 2px solid var(--ef-text);
}

.ef-before-after__handle span::before {
  left: 15px;
  transform: translateY(-50%) rotate(-45deg);
}

.ef-before-after__handle span::after {
  right: 15px;
  transform: translateY(-50%) rotate(135deg);
}

.ef-before-after__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.ef-before-after__labels {
  position: absolute;
  inset: 18px 18px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.ef-before-after__labels span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--ef-radius);
  background: rgba(4, 8, 13, 0.68);
  color: var(--ef-text);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.ef-before-after__caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
}

.ef-before-after__caption h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
}

.ef-before-after__caption p {
  max-width: 520px;
  margin: 0;
  color: var(--ef-muted);
  text-align: right;
}

.ef-certs {
  background: linear-gradient(180deg, #070d14, var(--ef-bg-2));
}

.ef-certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.ef-cert-card {
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ef-radius);
  background: rgba(13, 23, 35, 0.82);
}

.ef-cert-card__preview {
  display: grid;
  place-items: center;
  min-height: 260px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(99, 215, 255, 0.1), transparent),
    #09111b;
}

.ef-cert-card__preview--file span {
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  border: 1px solid rgba(99, 215, 255, 0.3);
  border-radius: var(--ef-radius);
  color: var(--ef-cyan);
  font-weight: 900;
}

.ef-cert-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ef-cert-card__body {
  padding: 20px;
}

.ef-cert-card__body p {
  color: var(--ef-muted);
}

.ef-cert-card__body a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--ef-cyan);
  font-weight: 900;
}

.ef-contact {
  background:
    linear-gradient(135deg, rgba(99, 215, 255, 0.09), transparent 34%),
    linear-gradient(180deg, var(--ef-bg-2), var(--ef-bg));
}

.ef-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.ef-contact__panel {
  padding: clamp(20px, 3vw, 34px);
}

.ef-contact-line {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.ef-contact-line:first-child {
  padding-top: 0;
}

.ef-contact-line span {
  color: var(--ef-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ef-contact-line strong {
  color: var(--ef-text);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  word-break: break-word;
}

.ef-contact__button {
  width: 100%;
  margin-top: 24px;
}

.ef-site-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #040609;
}

.ef-site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.ef-site-footer__logo {
  width: 78px;
  height: auto;
  margin-bottom: 16px;
}

.ef-site-footer p {
  max-width: 460px;
  margin: 0;
  color: var(--ef-muted);
}

.ef-site-footer__contact {
  display: grid;
  gap: 8px;
  text-align: right;
}

.ef-site-footer__contact a {
  color: rgba(244, 247, 251, 0.78);
  font-weight: 800;
}

.ef-page-hero {
  padding: clamp(130px, 18vw, 210px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 215, 255, 0.16), transparent 32%),
    linear-gradient(180deg, var(--ef-navy), var(--ef-bg));
}

.ef-page-hero--compact {
  padding: clamp(128px, 15vw, 184px) 0 clamp(52px, 7vw, 84px);
}

.ef-page-hero p:not(.ef-eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--ef-muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.ef-page-content {
  padding-top: 64px;
}

.ef-prose {
  color: rgba(244, 247, 251, 0.82);
}

.ef-prose > * {
  max-width: 820px;
}

.ef-prose a {
  color: var(--ef-cyan);
  font-weight: 800;
}

.ef-prose img {
  border-radius: var(--ef-radius);
}

.ef-post-list,
.ef-realization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.ef-post-card,
.ef-realization-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ef-radius);
  background: var(--ef-panel);
}

.ef-post-card__image,
.ef-realization-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ef-post-card__body,
.ef-realization-card__body {
  padding: 20px;
}

.ef-post-card p,
.ef-realization-card p {
  color: var(--ef-muted);
}

.ef-single-content {
  margin-top: 48px;
}

.ef-empty-state {
  width: min(720px, 100%);
  margin-inline: auto;
  padding: 28px;
  text-align: center;
}

.ef-empty-state h3 {
  margin: 0 0 8px;
}

.ef-empty-state p {
  margin: 0;
  color: var(--ef-muted);
}

.ef-home-routes {
  background: linear-gradient(180deg, #070d14, var(--ef-bg));
}

.ef-home-routes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ef-route-card,
.ef-page-cta__inner,
.ef-contact-form-shell {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ef-radius);
  background:
    linear-gradient(145deg, rgba(99, 215, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--ef-panel);
  box-shadow: var(--ef-shadow);
}

.ef-route-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 2.5vw, 32px);
  transition:
    transform 240ms ease,
    border-color 240ms ease;
}

.ef-route-card:hover,
.ef-route-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(99, 215, 255, 0.36);
}

.ef-route-card span,
.ef-process__steps strong {
  color: var(--ef-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ef-route-card h2 {
  margin: 18px 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.ef-route-card p {
  margin: 0;
  color: var(--ef-muted);
}

.ef-process {
  background: linear-gradient(180deg, var(--ef-bg), #07111d);
}

.ef-process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
}

.ef-process__steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ef-process__steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ef-radius);
  background: rgba(13, 23, 35, 0.72);
}

.ef-process__steps span {
  color: var(--ef-text);
  font-weight: 750;
}

.ef-page-cta {
  background:
    radial-gradient(circle at 72% 30%, rgba(99, 215, 255, 0.12), transparent 28%),
    var(--ef-bg);
}

.ef-page-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 46px);
}

.ef-page-cta__inner h2,
.ef-contact-form-shell h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1.02;
}

.ef-contact-page {
  background: linear-gradient(180deg, var(--ef-bg), var(--ef-bg-2));
}

.ef-contact-page__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: stretch;
}

.ef-contact-form-shell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 4vw, 52px);
}

.ef-contact-form-shell p {
  max-width: 620px;
  color: var(--ef-muted);
}

.ef-reveal {
  opacity: 1;
  transform: none;
}

.js-ready .ef-reveal {
  opacity: 0;
  transform: translateY(26px);
}

.js-ready .ef-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

@media (max-width: 1024px) {
  .ef-site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .ef-site-header__nav {
    display: none;
  }

  .ef-header-cta {
    margin-left: auto;
    margin-right: 12px;
  }

  .ef-hamburger {
    margin-left: auto;
  }

  .ef-about__grid,
  .ef-contact__grid,
  .ef-process__grid,
  .ef-contact-page__grid {
    grid-template-columns: 1fr;
  }

  .ef-offer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ef-about__panel {
    max-width: 720px;
  }
}

@media (max-width: 700px) {
  :root {
    --ef-pad: 72px;
  }

  .admin-bar .ef-site-header {
    top: 0;
  }

  .ef-container,
  .ef-hero__inner {
    width: min(100% - 28px, var(--ef-max));
  }

  .ef-site-header__inner {
    width: calc(100% - 24px);
  }

  .ef-site-header__logo {
    width: 48px;
  }

  .ef-header-cta {
    min-height: 38px;
    padding: 8px 12px;
  }

  .ef-hero {
    min-height: 92svh;
  }



  .ef-offer__grid,
  .ef-home-routes__grid,
  .ef-before-after__caption,
  .ef-site-footer__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ef-page-cta__inner {
    display: grid;
    align-items: start;
  }

  .ef-before-after__media,
  .ef-before-after--portrait .ef-before-after__media {
    aspect-ratio: 4 / 5;
    min-height: 0;
    max-width: 100%;
  }

  .ef-before-after__caption p {
    text-align: left;
  }

  .ef-site-footer__contact {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .ef-reveal,
  .js-ready .ef-reveal {
    opacity: 1;
    transform: none;
  }
}


/* ═══════════════════════════════════════════════════════════
   ULTRA-PREMIUM EXTENSION — EFEKT THEME v1.1
   Blobs · Gallery · Tilt Cards · Typography · Mobile Nav
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO BLOBS ─── */
.ef-hero__blobs{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.ef-hero__blob{position:absolute;border-radius:50%;filter:blur(90px);will-change:transform}
.ef-hero__blob--1{width:600px;height:600px;top:-10%;left:-15%;background:radial-gradient(circle,rgba(31,111,149,.45) 0%,transparent 70%);animation:blobDrift1 18s ease-in-out infinite alternate}
.ef-hero__blob--2{width:500px;height:500px;bottom:5%;right:-10%;background:radial-gradient(circle,rgba(99,215,255,.22) 0%,transparent 70%);animation:blobDrift2 22s ease-in-out infinite alternate}
.ef-hero__blob--3{width:400px;height:400px;top:40%;left:40%;background:radial-gradient(circle,rgba(8,27,43,.8) 0%,transparent 70%);animation:blobDrift3 14s ease-in-out infinite alternate}
@keyframes blobDrift1{0%{transform:translate(0,0) scale(1)}100%{transform:translate(80px,60px) scale(1.15)}}
@keyframes blobDrift2{0%{transform:translate(0,0) scale(1)}100%{transform:translate(-60px,-40px) scale(1.1)}}
@keyframes blobDrift3{0%{transform:translate(0,0) scale(1);opacity:.6}100%{transform:translate(40px,-30px) scale(1.2);opacity:1}}

/* ─── HERO SCROLL HINT ─── */
.ef-hero__scroll-hint{position:absolute;bottom:32px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;opacity:.4;pointer-events:none}
.ef-hero__scroll-dot{width:6px;height:6px;border-radius:50%;background:var(--ef-cyan);animation:scrollDotBounce 1.8s ease-in-out infinite;box-shadow:0 0 8px var(--ef-cyan)}
@keyframes scrollDotBounce{0%,100%{transform:translateY(0);opacity:1}50%{transform:translateY(10px);opacity:.3}}

/* ─── ABOUT HEADER GRID ─── */
.ef-about__header-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,56px);align-items:start;margin-top:24px}
.ef-about__header-grid h2{margin:0}
.ef-about__header-grid p{margin:0;color:var(--ef-muted);line-height:1.75}

/* ─── ABOUT STATS BAR ─── */
.ef-about__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:clamp(40px,6vw,72px) 0;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);border-radius:var(--ef-radius);overflow:hidden}
.ef-about__stat{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(24px,3vw,40px) 20px;background:rgba(5,10,17,.7);backdrop-filter:blur(12px);text-align:center}
/* Liczba + symbol (+ lub %) muszą być w jednej nierozerywalnej linii */
.ef-about__stat__value{display:flex;flex-direction:row;align-items:baseline;gap:2px;white-space:nowrap;justify-content:center}
.ef-about__stat-num{font-size:clamp(2.8rem,5vw,4.4rem);font-weight:900;color:var(--ef-cyan);line-height:1;display:inline-block}
.ef-about__stat-plus{font-size:clamp(1.8rem,3vw,2.8rem);font-weight:900;color:var(--ef-cyan);line-height:1;vertical-align:baseline}
.ef-about__stat-label{margin-top:10px;font-size:.82rem;font-weight:700;color:var(--ef-muted);text-transform:uppercase;letter-spacing:.08em}

/* ─── ABOUT GALLERY ─── */
.ef-about__gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:200px;gap:12px;margin-bottom:clamp(40px,6vw,72px)}
.ef-gallery-item{border-radius:var(--ef-radius);overflow:hidden;border:1px solid rgba(255,255,255,.07);position:relative}
.ef-gallery-item:nth-child(1),.ef-gallery-item:nth-child(5){grid-row:span 2}
.ef-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform 500ms ease,filter 400ms ease;filter:brightness(.85) saturate(.8)}
.ef-gallery-item:hover img{transform:scale(1.05);filter:brightness(1) saturate(1)}

/* ─── ABOUT USPs ─── */
.ef-about__usps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ef-about__usp{padding:clamp(22px,2.5vw,32px);border:1px solid rgba(255,255,255,.08);border-radius:var(--ef-radius);background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.02));transition:border-color 260ms ease,transform 260ms ease}
.ef-about__usp:hover{border-color:rgba(99,215,255,.3);transform:translateY(-4px)}
.ef-about__usp-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:18px;border:1px solid rgba(99,215,255,.25);border-radius:var(--ef-radius);background:rgba(99,215,255,.06);color:var(--ef-cyan)}
.ef-about__usp h3{margin:0 0 10px;font-size:1.05rem}
.ef-about__usp p{margin:0;color:var(--ef-muted);font-size:.9rem;line-height:1.6}

/* ─── OFFER CARDS — equal height + glow ─── */
.ef-offer__grid{align-items:stretch}
.ef-offer-card{display:flex;flex-direction:column;animation-delay:var(--card-delay,0ms)}
.ef-offer-card__body{flex:1;position:relative;z-index:1}
.ef-offer-card__footer{position:relative;z-index:1;margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,.07)}
.ef-offer-card__cta{display:inline-flex;align-items:center;gap:8px;color:var(--ef-cyan);font-size:.88rem;font-weight:800;letter-spacing:.02em;transition:gap 220ms ease}
.ef-offer-card:hover .ef-offer-card__cta{gap:12px}
.ef-offer-card__glow{position:absolute;bottom:-30px;right:-30px;width:160px;height:160px;border-radius:50%;background:radial-gradient(circle,rgba(99,215,255,.12),transparent 70%);pointer-events:none;opacity:0;transition:opacity 300ms ease}
.ef-offer-card:hover .ef-offer-card__glow{opacity:1}

/* ─── WORK GALLERY ─── */
.ef-work-gallery{margin-top:clamp(48px,7vw,96px)}
.ef-work-gallery__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:16px}
.ef-work-gallery__header .ef-eyebrow{margin:0}
.ef-btn--sm{min-height:38px;padding:9px 16px;font-size:.85rem}
.ef-work-gallery__grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:220px;gap:12px}
.ef-work-gallery__item{position:relative;border-radius:var(--ef-radius);overflow:hidden;border:1px solid rgba(255,255,255,.07);cursor:zoom-in;animation-delay:calc(var(--order,0) * 60ms)}
.ef-work-gallery__item:nth-child(5n+1){grid-row:span 2}
.ef-work-gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform 500ms ease}
.ef-work-gallery__item:hover img{transform:scale(1.08)}
.ef-work-gallery__overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(5,7,11,.55);color:var(--ef-text);opacity:0;transition:opacity 280ms ease;backdrop-filter:blur(2px)}
.ef-work-gallery__item:hover .ef-work-gallery__overlay{opacity:1}

/* ─── BEFORE-AFTER LABELS COLOUR ─── */
.ef-before-after__labels span:first-child{border-color:rgba(214,168,92,.3);color:var(--ef-gold)}
.ef-before-after__labels span:last-child{border-color:rgba(99,215,255,.3);color:var(--ef-cyan)}

/* ─── FOOTER ─── */
.ef-site-footer::before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,rgba(99,215,255,.2),transparent)}
.ef-site-footer__contact a{transition:color 220ms ease}
.ef-site-footer__contact a:hover{color:var(--ef-cyan)}

/* ─── CONTACT ─── */
.ef-contact-line{text-decoration:none;transition:background 220ms ease;border-radius:var(--ef-radius);padding:18px 16px;margin:0 -16px}
.ef-contact-line:hover{background:rgba(99,215,255,.05)}

/* ─── CERTS ─── */
.ef-cert-card{transition:transform 260ms ease,border-color 260ms ease}
.ef-cert-card:hover{transform:translateY(-6px);border-color:rgba(99,215,255,.3)}

/* ─── TYPOGRAFIA — BEZ DZIELENIA WYRAZÓW ─── */
/* hyphens:auto powodowało "remon-ty", "wykon-czenia" — usunięte! */
h1, h2, h3, h4, h5, h6 {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  word-break: normal;
  overflow-wrap: normal;
}

p, li, td, th, figcaption {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Globalne wymuszenie — nadpisuje każdy framework */
* {
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

/* ─── RESPONSIVE ─── */
@media(max-width:1024px){
  .ef-about__header-grid,.ef-about__usps{grid-template-columns:1fr}
  .ef-about__gallery{grid-template-columns:repeat(3,1fr)}
  .ef-work-gallery__grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:768px){
  .ef-about__stats{grid-template-columns:1fr}
  .ef-about__gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:160px}
  .ef-gallery-item:nth-child(1),.ef-gallery-item:nth-child(5){grid-row:span 1}
  .ef-work-gallery__grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:180px}
  .ef-work-gallery__item:nth-child(5n+1){grid-row:span 1}
}
@media(max-width:480px){
  .ef-about__gallery{grid-template-columns:1fr 1fr;grid-auto-rows:130px}
  .ef-work-gallery__grid{grid-template-columns:1fr 1fr;grid-auto-rows:150px}
}


/* ═══════════════════════════════════════════════════════════
   ZIG-ZAG REALIZACJE — Ultra-Premium Layout
   ═══════════════════════════════════════════════════════════ */

/* ─── PAGE HERO ─── */
.ef-realizacje-page .ef-page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.95;
  margin: 16px 0 0;
}

.ef-realizacje-page .ef-page-hero p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  margin-top: 20px;
}

/* ─── ZIG-ZAG SECTIONS ─── */
.ef-zigzag--dark {
  background: linear-gradient(180deg, var(--ef-bg), var(--ef-bg-2));
}

.ef-zigzag--darker {
  background: linear-gradient(180deg, var(--ef-bg-2), var(--ef-navy));
}

/* Separator między sekcjami */
.ef-zigzag + .ef-zigzag {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ef-zigzag__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

/* Odwrócony układ — foto po lewej */
.ef-zigzag__row--img-left {
  direction: rtl; /* trick: odwraca kolejność kolumn */
}

.ef-zigzag__row--img-left > * {
  direction: ltr; /* przywracamy tekst */
}

/* ─── KOLUMNA TEKSTU ─── */
.ef-zigzag__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ef-zigzag__number {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: rgba(99, 215, 255, 0.4);
}

.ef-zigzag__text .ef-eyebrow {
  margin-bottom: 14px;
}

.ef-zigzag__text h2 {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.0;
}

.ef-zigzag__body {
  margin: 0 0 36px;
  color: var(--ef-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
  max-width: 520px;
}

.ef-zigzag__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ─── KOLUMNA MEDIÓW ─── */
.ef-zigzag__media {
  position: relative;
  display: grid;
  gap: 14px;
}

.ef-zigzag__img-primary {
  position: relative;
  border-radius: var(--ef-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.45);
}

.ef-zigzag__img-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.ef-zigzag__img-primary:hover img {
  transform: scale(1.04);
}

.ef-zigzag__img-secondary {
  position: relative;
  border-radius: var(--ef-radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  margin-left: clamp(20px, 5%, 60px); /* lekkie przesunięcie dla efektu głębi */
}

.ef-zigzag__img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.ef-zigzag__img-secondary:hover img {
  transform: scale(1.04);
}

/* Dekoracyjna linia boczna (lewa) przy sekcji .text-left */
.ef-zigzag__row:not(.ef-zigzag__row--img-left) .ef-zigzag__text::before {
  content: "";
  display: block;
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, var(--ef-cyan), transparent);
  margin-bottom: 24px;
  border-radius: 2px;
}

/* ─── GALERIA PEŁNA ─── */
.ef-realizacje-gallery {
  background: linear-gradient(180deg, var(--ef-navy), var(--ef-bg));
}

.ef-real-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
  margin-top: 40px;
}

.ef-real-grid__item {
  border-radius: var(--ef-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  animation-delay: calc(var(--order, 0) * 80ms);
}

/* Każdy 3. element wyższy */
.ef-real-grid__item:nth-child(3n+1) {
  grid-row: span 2;
}

.ef-real-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 400ms ease;
  filter: brightness(0.88);
}

.ef-real-grid__item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

/* ─── RESPONSIVE ZIG-ZAG ─── */
@media (max-width: 900px) {
  .ef-zigzag__row,
  .ef-zigzag__row--img-left {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .ef-zigzag__row--img-left .ef-zigzag__text {
    order: 1;
  }

  .ef-zigzag__row--img-left .ef-zigzag__media {
    order: 2;
  }

  .ef-zigzag__img-secondary {
    margin-left: 0;
  }

  .ef-zigzag__body {
    max-width: 100%;
  }

  .ef-real-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .ef-real-grid__item:nth-child(3n+1) {
    grid-row: span 1;
  }
}

@media (max-width: 540px) {
  .ef-real-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
}


/* ═══════════════════════════════════════════════════════════
   CERTS v2 — PDF preview + clean card
   ═══════════════════════════════════════════════════════════ */

/* Grid — jeden certyfikat wyśrodkowany, więcej w siatce */
.ef-certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  justify-items: start;
}

/* Gdy tylko 1 certyfikat — wyśrodkuj go */
.ef-certs__grid--fallback:has(> article:only-child) {
  grid-template-columns: minmax(0, 400px);
  justify-content: center;
}

/* PDF preview box */
.ef-cert-card__preview--pdf {
  min-height: 220px;
  background:
    linear-gradient(145deg, rgba(99, 215, 255, 0.08), rgba(5, 10, 17, 0.95));
}

.ef-cert-card__pdf-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Link w karcie */
.ef-cert-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--ef-cyan);
  font-size: 0.88rem;
  font-weight: 800;
  transition: gap 220ms ease;
}

.ef-cert-card__link:hover {
  gap: 11px;
}

/* Tytuł — nie łam wyrazów w karcie */
.ef-cert-card__body h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
  /* Utnij po 2 liniach jeśli nazwa za długa */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════════════
   MAPA GOOGLE — Ultra-Premium Card
   ═══════════════════════════════════════════════════════════ */

.ef-map-section {
  background: linear-gradient(180deg, var(--ef-bg-2), var(--ef-bg));
}

.ef-map-section__address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  text-align: center;
}

.ef-map-section__pin {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ef-map-section__text {
  font-style: normal;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--ef-text);
  letter-spacing: 0.01em;
}

/* ── Ramka mapy — lewitująca luksusowa karta ── */
.ef-map-section__frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0  0 1px rgba(255, 255, 255, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.5),
    0  8px 24px rgba(0, 0, 0, 0.3);
  /* Delikatna ramka cyjanowa */
  outline: 1px solid rgba(99, 215, 255, 0.12);
  outline-offset: -1px;
  transition: box-shadow 400ms ease, transform 400ms ease;
}

.ef-map-section__frame:hover {
  box-shadow:
    0 0  0 1px rgba(99, 215, 255, 0.2),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 12px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.ef-map-section__frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
  filter: hue-rotate(195deg) saturate(0.55) brightness(0.88);
  transition: filter 400ms ease;
}

.ef-map-section__frame:hover iframe {
  filter: hue-rotate(195deg) saturate(0.7) brightness(0.95);
}

@media (max-width: 768px) {
  .ef-map-section__frame iframe {
    height: 300px;
  }
}

/* ─── ZIG-ZAG placeholder gdy brak zdjęcia ─── */
.ef-zigzag__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

/* ─── PAGE CTA btns ─── */
.ef-page-cta__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── PAGE HERO lead ─── */
.ef-page-hero__lead {
  max-width: 600px;
  margin-top: 20px;
  color: var(--ef-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

/* ─── GSAP nav logo: start niewidoczny, JS kontroluje ─── */
/* Już ustawione wcześniej — upewnij się że override nie jest potrzebny */


/* ─── HERO overflow fix — blobs zamknięte w swoim kontenerze ─── */
/* Blobs mają własny kontener .ef-hero__blobs z overflow:hidden */
/* Canvas jest absolute — nie potrzebuje overflow:hidden na rodzicu */
/* Zapewniamy że body/wrapper nie wykracza poza viewport poziomo */
.ef-hero__canvas,
.ef-hero__blueprint {
  /* absolute pozycjonowane — nie wylewają się */
  pointer-events: none;
}

/* Zapobiegaj poziomemu overflow na całej stronie */
body {
  overflow-x: hidden;
}


/* ═══════════════════════════════════════════════════════════
   IMAGE SLIDER — Fade rotator (co 1 sekundę)
   ═══════════════════════════════════════════════════════════ */

.ef-img-slider {
  position: relative;
  /* Slider jest już w .ef-zigzag__media — dziedziczy grid */
}

.ef-img-slider__slide {
  /* Wszystkie slajdy na sobie, w grid area */
  grid-area: 1 / 1;
  border-radius: var(--ef-radius);
  overflow: hidden;
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

/* Aktywny slajd */
.ef-img-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ef-img-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

/* Slider jako grid (pozwala stackować slajdy) */
.ef-img-slider {
  display: grid;
}

/* Dot indicators */
.ef-img-slider__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.ef-img-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 300ms ease, transform 300ms ease;
}

.ef-img-slider__dot.is-active {
  background: var(--ef-cyan);
  transform: scale(1.4);
}

/* Placeholder gdy brak zdjęć */
.ef-zigzag__img-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ef-radius);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

/* ═══════════════════════════════════════════════════════════
   VIDEO THUMBNAIL — miniatura z autoplay preview
   ═══════════════════════════════════════════════════════════ */

.ef-video-thumb {
  position: relative;
  border-radius: var(--ef-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  display: block;
}

.ef-video-thumb__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 500ms ease;
}

.ef-video-thumb:hover .ef-video-thumb__preview {
  transform: scale(1.04);
}

.ef-video-thumb__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(5, 10, 17, 0.35);
  transition: background 300ms ease;
}

.ef-video-thumb:hover .ef-video-thumb__overlay {
  background: rgba(5, 10, 17, 0.2);
}

.ef-video-thumb__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(99, 215, 255, 0.92);
  color: #050a11;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms ease, background 300ms ease, box-shadow 300ms ease;
  box-shadow: 0 0 0 0 rgba(99, 215, 255, 0);
}

.ef-video-thumb:hover .ef-video-thumb__play {
  transform: scale(1.12);
  background: var(--ef-cyan);
  box-shadow: 0 0 0 12px rgba(99, 215, 255, 0.18);
}

/* ═══════════════════════════════════════════════════════════
   FEATURED VIDEO — elegancki blok z głównym filmem
   ═══════════════════════════════════════════════════════════ */

.ef-featured-video {
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ef-featured-video__label {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.ef-featured-video__label .ef-eyebrow {
  margin-bottom: 12px;
}

.ef-featured-video__label h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  margin: 0;
}

.ef-featured-video__player {
  position: relative;
  border-radius: calc(var(--ef-radius) * 1.5);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(99, 215, 255, 0.08),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 12px 32px rgba(0, 0, 0, 0.35);
  transition: box-shadow 400ms ease, transform 400ms ease;
}

.ef-featured-video__player:hover {
  box-shadow:
    0 0 0 1px rgba(99, 215, 255, 0.2),
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 16px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.ef-featured-video__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}

.ef-featured-video__player:hover .ef-featured-video__preview {
  transform: scale(1.02);
}

.ef-featured-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(5, 10, 17, 0.4);
  transition: background 300ms ease;
}

.ef-featured-video__player:hover .ef-featured-video__overlay {
  background: rgba(5, 10, 17, 0.25);
}

.ef-featured-video__play {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(99, 215, 255, 0.9);
  color: #050a11;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms ease, box-shadow 300ms ease;
  box-shadow: 0 0 0 0 rgba(99, 215, 255, 0);
}

.ef-featured-video__player:hover .ef-featured-video__play {
  transform: scale(1.1);
  box-shadow: 0 0 0 16px rgba(99, 215, 255, 0.15);
}

.ef-featured-video__hint {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   VIDEO LIGHTBOX MODAL
   ═══════════════════════════════════════════════════════════ */

.ef-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ef-video-lightbox[hidden] {
  display: none;
}

.ef-video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 17, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.ef-video-lightbox__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  animation: videoLightboxIn 320ms cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

@keyframes videoLightboxIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.ef-video-lightbox.is-closing .ef-video-lightbox__inner {
  animation: videoLightboxOut 200ms ease forwards;
}

@keyframes videoLightboxOut {
  to { opacity: 0; transform: scale(0.94); }
}

.ef-video-lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
  z-index: 2;
}

.ef-video-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.1);
}

.ef-video-lightbox__wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ef-radius);
  overflow: hidden;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.7);
  background: #000;
}

.ef-video-lightbox__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* Responsywność na małych ekranach */
@media (max-width: 600px) {
  .ef-video-lightbox__close {
    top: -44px;
    right: 0;
  }

  .ef-featured-video__play {
    width: 64px;
    height: 64px;
  }

  .ef-video-thumb__play {
    width: 48px;
    height: 48px;
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU — Hamburger + Slide-in panel
   ═══════════════════════════════════════════════════════════ */

/* ─── Hamburger button ─── */
.ef-hamburger {
  display: none; /* ukryty na desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 200ms ease;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

.ef-hamburger:hover,
.ef-hamburger:focus-visible {
  background: rgba(99, 215, 255, 0.08);
  outline: 2px solid rgba(99, 215, 255, 0.4);
  outline-offset: 2px;
}

.ef-hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ef-text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 300ms cubic-bezier(.4,0,.2,1), opacity 200ms ease, width 300ms ease;
}

/* Animacja X gdy menu otwarte */
.ef-hamburger[aria-expanded="true"] .ef-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ef-hamburger[aria-expanded="true"] .ef-hamburger__line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.ef-hamburger[aria-expanded="true"] .ef-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile menu overlay ─── */
.ef-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: stretch;
  visibility: hidden;
  pointer-events: none;
}

.ef-mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

/* Backdrop */
.ef-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 350ms ease;
  cursor: pointer;
}

.ef-mobile-menu.is-open .ef-mobile-menu__backdrop {
  opacity: 1;
}

/* Panel */
.ef-mobile-menu__panel {
  position: relative;
  z-index: 1;
  width: min(340px, 88vw);
  height: 100%;
  background: linear-gradient(160deg, #0a1929 0%, #071827 60%, #050b14 100%);
  border-right: 1px solid rgba(99, 215, 255, 0.12);
  display: flex;
  flex-direction: column;
  padding: 0 0 env(safe-area-inset-bottom, 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-100%);
  transition: transform 380ms cubic-bezier(.4,0,.2,1);
  box-shadow: 24px 0 80px rgba(0,0,0,0.5);
}

.ef-mobile-menu.is-open .ef-mobile-menu__panel {
  transform: translateX(0);
}

/* Nagłówek panelu */
.ef-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ef-mobile-menu__logo {
  display: block;
}

.ef-mobile-menu__logo-img {
  height: 36px;
  width: auto;
}

.ef-mobile-menu__logo svg {
  height: 36px !important;
  width: auto !important;
}

.ef-mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ef-text);
  transition: background 200ms, border-color 200ms;
  -webkit-tap-highlight-color: transparent;
}

.ef-mobile-menu__close:hover,
.ef-mobile-menu__close:focus-visible {
  background: rgba(99, 215, 255, 0.15);
  border-color: rgba(99, 215, 255, 0.4);
  outline: none;
}

/* Lista linków */
.ef-mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  flex: 1;
}

.ef-mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 200ms ease, background 200ms ease, padding-left 200ms ease;
  -webkit-tap-highlight-color: transparent;
}

.ef-mobile-menu__link:hover,
.ef-mobile-menu__link:focus-visible {
  color: #fff;
  background: rgba(99, 215, 255, 0.06);
  padding-left: 36px;
  outline: none;
}

.ef-mobile-menu__num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ef-cyan);
  letter-spacing: 0.1em;
  opacity: 0.8;
  min-width: 24px;
}

/* Footer z CTA */
.ef-mobile-menu__footer {
  padding: 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ef-mobile-menu__cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 0.95rem;
  padding: 14px 20px;
}

.ef-mobile-menu__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ef-muted);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}

.ef-mobile-menu__tel:hover {
  color: var(--ef-cyan);
}

/* Body lock gdy menu otwarte */
body.ef-menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL RWD — html/body horizontal lock
   ═══════════════════════════════════════════════════════════ */

html {
  overflow-x: hidden;
  max-width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   BREAKPOINTS — Mobile First
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  /* Hamburger widoczny od 1024px */
  .ef-hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  /* Ukryj CTA w headerze na bardzo wąskich */
  .ef-header-cta {
    display: none;
  }

  /* Hero */
  .ef-hero {
    padding: clamp(100px, 18vw, 140px) 0 clamp(60px, 10vw, 100px);
  }

  .ef-hero__mark {
    width: clamp(160px, 55vw, 240px);
    margin-bottom: clamp(20px, 4vw, 32px);
  }

  .ef-hero__title {
    font-size: clamp(1.9rem, 9vw, 3.2rem);
    line-height: 1.2;
  }

  .ef-hero__lead {
    font-size: clamp(0.88rem, 3.8vw, 1.05rem);
    padding: 0 8px;
  }

  /* Przyciski hero w kolumnie na bardzo małych */
  .ef-hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .ef-hero__actions .ef-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
  }

  /* Sekcja o nas */
  .ef-about__stats {
    grid-template-columns: 1fr;
  }

  /* Stopka */
  .ef-site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ef-site-footer__contact {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ef-hero__title {
    font-size: clamp(1.7rem, 8.5vw, 2.4rem);
  }

  .ef-hero__mark {
    width: clamp(140px, 50vw, 200px);
  }

  /* Kontener na mobile - więcej przestrzeni */
  .ef-container,
  .ef-hero__inner {
    width: min(100% - 24px, var(--ef-max));
  }

  /* Zresetuj padding hero na bardzo małych telefonach */
  .ef-hero {
    padding-top: clamp(90px, 22vw, 130px);
  }

  /* Statystyki: 1 kolumna */
  .ef-about__stats {
    grid-template-columns: 1fr;
  }

  /* Oferta: 1 kolumna */
  .ef-offer__grid {
    grid-template-columns: 1fr;
  }

  /* Route cards: 1 kolumna */
  .ef-home-routes__grid {
    grid-template-columns: 1fr;
  }
}
