@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("media/fonts/bebas-neue-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("media/fonts/bebas-neue-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  color-scheme: dark;
  --bg: #08090a;
  --surface: #121416;
  --text: #f3f4ef;
  --muted: #a0aba7;
  --accent: #e5eaee;
  --accent-strong: #ffffff;
  --line: rgba(229,234,238,.14);
  --navy: #02091c;
  --description-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "Bebas Neue", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --gutter: clamp(1rem, 5vw, 5rem);
  --hero-pad: clamp(1.5rem, 5vw, 4.5rem);
  --partner-strip-h: 7.4rem;
  --content-width: 1440px;
  font-size: 15px;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: auto;
  scroll-padding-top: 6rem;
}
*, *::before, *::after { box-sizing: border-box; }
picture { display: contents; }
html {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  position: relative;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: radial-gradient(ellipse at 50% 0%, #1a1d1f 0, var(--bg) 62%);
}
body.menu-open {
  overflow: hidden;
}
main { position: relative; z-index: 1; }
.hero-boat {
  position: absolute;
  left: clamp(-12rem, -10vw, -6rem);
  bottom: clamp(-2rem, 3vw, 1rem);
  z-index: 0;
  width: clamp(26rem, 38vw, 46rem);
  opacity: .56;
  pointer-events: none;
  filter: drop-shadow(0 0 2rem rgba(194, 205, 214, .18));
  transform: rotate(-12deg) translateY(.5rem);
}
.hero-boat svg {
  display: block;
  width: 100%;
  height: auto;
}
.hero-boat path {
  stroke-linecap: round;
  stroke-linejoin: round;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--bg); background: var(--accent); }
.scroll-progress { position: fixed; z-index: 40; inset: 0 0 auto; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--accent); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  margin: 0;
  padding: 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.45s ease, background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  will-change: transform, opacity;
}
.site-header.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  pointer-events: none;
}
.site-header.menu-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}
.site-header.is-scrolled,
.site-header.menu-open {
  border-bottom-color: var(--line);
  background: rgba(8, 9, 10, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav-shell {
  position: relative;
  z-index: 95;
  width: min(calc(100% - 2 * var(--gutter)), var(--content-width));
  height: 84px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
  background: transparent;
}
.brand {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 13rem;
  flex: none;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease, width 0.3s ease;
}
.brand img { width: 100%; filter: brightness(0) invert(1); }
.nav-links a { color: rgba(243, 244, 239, .72); font-family: var(--heading-font); font-size: 1.05rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.nav-links a:hover, .site-footer a:hover { color: var(--accent); }
.menu-toggle {
  position: relative;
  z-index: 100;
  width: 3.25rem;
  height: 3.25rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .36rem;
  border: 1px solid rgba(240,246,241,.24);
  border-radius: .7rem;
  color: var(--text);
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, box-shadow .3s ease, transform .25s ease;
}
.menu-toggle:hover {
  border-color: rgba(216,222,226,.55);
  background: rgba(216,222,226,.12);
  transform: translateY(-1px);
}
.menu-toggle[aria-expanded="true"] {
  border-color: rgba(216,222,226,.55);
  background: rgba(216,222,226,.16);
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 0 0 3px rgba(216,222,226,.1);
}
.menu-toggle span {
  width: 1.35rem;
  height: 2.5px;
  display: block;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .2s ease, width .24s ease, background-color .25s ease, box-shadow .25s ease;
}
.menu-toggle span:nth-child(2) {
  width: 1.35rem;
}
/* Sailing Mast Animation on toggle */
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 1;
  transform: rotate(90deg) scaleX(1.35);
  background: var(--accent);
  box-shadow: 0 0 10px rgba(78, 205, 196, .7);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  top: 90px;
  right: max(var(--gutter), calc((100vw - var(--content-width)) / 2));
  width: min(24rem, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100svh - 7.5rem);
  overflow-y: auto;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .15rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: rgba(8, 9, 10, .97);
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-.7rem) scale(.97);
  transform-origin: top right;
  clip-path: inset(0 0 100% 0 round .7rem);
  transition: opacity .28s ease, visibility .28s ease, transform .4s cubic-bezier(.2,.9,.25,1), clip-path .4s cubic-bezier(.2,.9,.25,1);
  z-index: 90;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  clip-path: inset(0 0 0 0 round .7rem);
}
.mobile-menu .lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  width: 100%;
  margin: 0 0 .75rem 0;
  padding: 3px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-shrink: 0;
}
.mobile-menu .lang-switch button {
  flex: 1;
  min-width: 0;
  height: 2.05rem;
  padding: 0 .4rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu .lang-switch button:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, .06);
}
.mobile-menu .lang-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #0b1213;
  font-weight: 800;
}
.mobile-menu::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  opacity: 0;
  transition: opacity .4s ease .12s;
}
.mobile-menu.is-open::before { opacity: 1; }
.mobile-menu a {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: .35rem .75rem .35rem 1.15rem;
  border-radius: .5rem;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f3f4ef;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-.6rem);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.9,.25,1), color .2s ease, background .2s ease;
}
.mobile-menu a::before {
  position: absolute;
  top: 50%;
  left: .45rem;
  width: 2px;
  height: 0;
  content: "";
  border-radius: 2px;
  background: linear-gradient(180deg, #fff, var(--accent));
  transform: translateY(-50%);
  transition: height .28s cubic-bezier(.2,.9,.25,1);
}
.mobile-menu.is-open a {
  opacity: 1;
  transform: none;
}
.mobile-menu.is-open a:nth-of-type(1) { transition-delay: .04s; }
.mobile-menu.is-open a:nth-of-type(2) { transition-delay: .08s; }
.mobile-menu.is-open a:nth-of-type(3) { transition-delay: .12s; }
.mobile-menu.is-open a:nth-of-type(4) { transition-delay: .16s; }
.mobile-menu.is-open a:nth-of-type(5) { transition-delay: .20s; }
.mobile-menu.is-open a:nth-of-type(6) { transition-delay: .24s; }
.mobile-menu.is-open a:nth-of-type(7) { transition-delay: .28s; }
.mobile-menu.is-open a:nth-of-type(8) { transition-delay: .32s; }
.mobile-menu a:hover, .mobile-menu a:focus-visible {
  color: var(--accent);
  background: rgba(255,255,255,.06);
}
.mobile-menu a:hover::before, .mobile-menu a:focus-visible::before {
  height: 58%;
}
body::before { position: fixed; inset: 0; z-index: 25; content: ""; background: rgba(0,0,0,.48); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
body.menu-open::before { opacity: 1; pointer-events: auto; }
.hero { position: relative; width: 100%; height: calc(100svh - var(--partner-strip-h)); min-height: min(600px, calc(100svh - var(--partner-strip-h))); margin: 0; padding: 6.5rem 0 clamp(4rem, 11vh, 7.5rem); display: flex; flex-direction: column; justify-content: flex-end; overflow: visible; border: 1px solid var(--line); border-radius: 0; isolation: isolate; background: #000000; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { z-index: 0; inset: 0 0 calc(-1 * var(--partner-strip-h)); overflow: hidden; background: #000000; }
.hero-poster, .hero-video { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center 48%; }
.hero-poster { display: none; }
.hero-video { opacity: 0; transition: opacity .75s ease; background: #000000; }
.hero-video.is-active { opacity: 1; }
.hero-shade { background: linear-gradient(90deg, rgba(3, 5, 6, .5) 0%, rgba(3, 5, 6, .15) 32%, transparent 58%), linear-gradient(0deg, #000, rgba(3, 5, 6, .85) var(--partner-strip-h), transparent 55%); }
.hero-content { position: relative; z-index: 1; width: min(calc(100% - 2 * var(--gutter)), var(--content-width)); margin: 0 auto; }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .18em; line-height: 1.7; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .section-title { font-family: var(--heading-font); font-weight: 400; letter-spacing: .02em; }
.mission-text, .services-intro-copy p, .team-intro > p, .process-intro > p, .process-track p, .detail-hero > p:not(.eyebrow), .detail-intro p, .detail-panel p, .detail-steps li, .detail-cta p { font-family: var(--description-font); }
.hero h1 { margin-bottom: 0; font-size: clamp(2.8rem, 6.2vw, 5.6rem); font-weight: 400; line-height: 1.03; letter-spacing: .032em; filter: drop-shadow(0 .15rem 1.2rem rgba(0,0,0,.55)); }
.hero h1 span, h2 span { color: var(--accent); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  h1, h3 { background-image: linear-gradient(180deg, #ffffff 0%, #e8ebea 25%, #c6cbcb 48%, #aab0af 58%, #dde2e1 72%, #ffffff 86%, #ccd1d0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero h1 { color: #fff; background-image: none; }
  .hero h1 span { background-image: linear-gradient(180deg, #ffffff 0%, #e8ebea 25%, #c6cbcb 48%, #aab0af 58%, #dde2e1 72%, #ffffff 86%, #ccd1d0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* Wszystkie nagłówki h2 i tytuły sekcji z delikatnym rozświetlonym białym błyskiem pod kątem 45 stopni */
  h2, .section-title,
  h2 span, .section-title span {
    background-image:
      linear-gradient(
        45deg,
        transparent 35%,
        rgba(255, 255, 255, 0.35) 45%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(255, 255, 255, 0.35) 55%,
        transparent 65%
      ),
      linear-gradient(180deg, #ffffff 0%, #e8ebea 25%, #c6cbcb 48%, #aab0af 58%, #dde2e1 72%, #ffffff 86%, #ccd1d0 100%);
    background-size: 300% 300%, 100% 100%;
    background-position: 250% 0, 0 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    cursor: default;
    transition: filter 0.35s ease;
  }

  h2:hover,
  .section-title:hover {
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.28));
  }

  h2:hover,
  h2:hover span,
  .section-title:hover,
  .section-title:hover span,
  .section-heading:hover h2,
  .section-heading:hover h2 span,
  .services-intro:hover h2,
  .services-intro:hover h2 span,
  .process-intro:hover .section-title,
  .process-intro:hover .section-title span,
  .team-intro:hover h2,
  .team-intro:hover h2 span,
  .contact-heading:hover h2,
  .contact-heading:hover h2 span,
  .detail-intro:hover h2,
  .detail-service-list article:hover h2 {
    animation: h2-gleam-45 1.2s cubic-bezier(0.2, 0.8, 0.25, 1) forwards;
  }
}

@keyframes h2-gleam-45 {
  0% {
    background-position: -220% 0, 0 0;
  }
  100% {
    background-position: 260% 0, 0 0;
  }
}
.button { min-height: 3rem; width: fit-content; padding: 0 1.2rem; display: inline-flex; align-items: center; gap: 1.5rem; border: 1px solid transparent; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button-light { color: #101615; background: var(--accent); }
.button:hover { transform: translateY(-2px); }
.partner-strip { position: relative; z-index: 1; min-height: var(--partner-strip-h); margin-top: 0; padding: 1rem var(--hero-pad); display: flex; align-items: center; background: transparent; }
.partner-strip::after {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(6rem, 12vw, 10rem);
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .72) 45%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.partner-strip--footer::after { content: none; }
.partner-marquee { position: relative; z-index: 1; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); }
.partner-track { width: max-content; display: flex; align-items: center; gap: 0; padding: .7rem 0; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; will-change: transform; }
.partner-track.dragging { cursor: grabbing; }
.partner-group { display: inline-flex; align-items: center; gap: clamp(3rem, 6vw, 7rem); padding-right: clamp(3rem, 6vw, 7rem); min-width: max-content; flex: 0 0 auto; }
.partner-logo { width: 9rem; height: 4rem; flex: 0 0 auto; display: grid; place-items: center; }
.partner-logo img { display: block; min-width: 0; min-height: 0; width: 100%; height: 100%; object-fit: contain; opacity: 1; filter: drop-shadow(0 0 1px rgba(255,255,255,.35)); }.partner-strip--footer { margin-top: 0; padding-top: 0; }.partner-strip--footer .partner-track { padding-top: 0; }@keyframes stage-in { to { opacity: 1; transform: none; } }@keyframes stage-glow { 0%, 25%, 100% { box-shadow: none; } 10% { box-shadow: 0 0 1.1rem rgba(255,255,255,.18); border-color: var(--accent); } }
.section { width: min(calc(100% - 2 * var(--gutter)), var(--content-width)); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 0; }
.mission-section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2rem 4vw;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.mission-section::before {
  position: absolute;
  inset: 0 auto 12% calc(50% - 50vw);
  width: min(46%, 38rem);
  content: "";
  background:
    linear-gradient(90deg, rgba(8,9,10,.25), rgba(8,9,10,.4) 48%, #08090a 100%),
    linear-gradient(0deg, #08090a, transparent 28%, transparent 72%, #08090a),
    url("media/lodka-w-tle.webp") left center / cover;
  opacity: .28;
  filter: saturate(.65);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 55%, transparent 100%);
  pointer-events: none;
}
.mission-section > * { position: relative; z-index: 1; }
.section-heading h2, .services-intro h2, .team-intro h2, .contact-heading h2, .section-title { margin: 0; font-size: clamp(1.9rem, 3.2vw, 3.1rem); font-weight: 400; line-height: 1.06; letter-spacing: .02em; }
.mission-photo { position: relative; width: 100%; height: clamp(300px, 30vw, 440px); min-height: 0; grid-column: 2; grid-row: 1 / span 2; align-self: center; overflow: hidden; border-radius: .8rem; background: #171a1d; }
.mission-photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 38%; filter: saturate(.72); transform: scale(1.04); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.mission-photo.is-visible img { transform: scale(1); }
.photo-note { position: absolute; right: 1rem; bottom: 1rem; padding: .65rem .8rem; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(7,12,13,.58); color: white; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.mission-copy { max-width: 36rem; }
.mission-text { margin: 0; color: rgba(243,244,239,.82); font-size: 18px; line-height: 1.75; }

/* Animacja pojawiania się tekstu i zdjęcia w sekcji "Wiedza, która buduje pewność na wodzie." */
.js-enabled .mission-section .section-heading[data-reveal],
.js-enabled .mission-section .mission-copy[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.js-enabled .mission-section .mission-copy[data-reveal] {
  transition-delay: 0.15s;
}
.js-enabled .mission-section .mission-photo[data-reveal] {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  will-change: opacity, transform;
}
.js-enabled .mission-section .section-heading.is-visible,
.js-enabled .mission-section .mission-copy.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js-enabled .mission-section .mission-photo.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stats { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stats div { padding-top: .9rem; border-top: 1px solid var(--line); }
.stats strong { display: block; color: var(--accent); font-size: 1.45rem; line-height: 1.1; }
.stats span { display: block; margin-top: .4rem; color: var(--muted); font-size: .82rem; line-height: 1.45; text-transform: uppercase; }
.services-section {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2rem) clamp(2.5rem, 5vw, 4rem);
  border: 1px solid rgba(198, 209, 219, .12);
  border-radius: 1.5rem;
  background: radial-gradient(circle at 50% 28%, rgba(18, 24, 31, .9), rgba(0,0,0,.98) 46%, #000 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  overflow: hidden;
}
.section-topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(198, 209, 219, .16); }
.section-topline > span { color: var(--muted); font-size: .85rem; }
.services-intro, .team-intro { margin: 2.5rem 0 2rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.services-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); text-align: left; }
.services-intro-heading { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.services-intro h2 { text-align: left; }
.services-intro-copy { max-width: 43rem; padding-left: clamp(1.5rem, 4vw, 4rem); display: grid; gap: 1rem; border-left: 1px solid var(--line); }
.services-intro-copy p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.js-enabled .services-intro[data-reveal] { opacity: 1; transform: none; }
.js-enabled .services-intro h2, .js-enabled .services-intro-copy { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js-enabled .services-intro.is-visible h2 { opacity: 1; transform: none; }
.js-enabled .services-intro.is-visible .services-intro-copy { opacity: 1; transform: none; transition-delay: .2s; }
.team-intro > p { max-width: 23rem; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.service-grid { position: relative; margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: .85rem; }
.service-card:nth-child(n) { grid-column: auto; grid-row: auto; border-radius: 1.6rem; }
.service-card:nth-child(1) { border-radius: 1.6rem; }
.service-card:nth-child(2) { border-radius: 1.6rem; }
.service-card:nth-child(3) { border-radius: 1.6rem; }
.service-card:nth-child(4) { border-radius: 1.6rem; }
.service-card:nth-child(5) { grid-column: 1 / -1; min-height: clamp(15rem, 21vw, 20rem); }
.service-card:nth-child(even) { align-items: flex-end; text-align: right; }
.service-card:nth-child(even) .service-number { left: auto; right: 1.2rem; }
.service-card h3 { max-width: 17rem; }
.service-card:nth-child(n) h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.service-card { position: relative; min-height: clamp(18rem, 27vw, 26rem); padding: 1.6rem 2rem; display: flex; flex-direction: column; justify-content: end; overflow: hidden; border: 1px solid var(--line); background: var(--surface); isolation: isolate; transition: border-color .25s ease; }
.service-card:hover, .service-card:focus-visible { border-color: rgba(255,255,255,.32); }
.service-card:nth-child(even) .service-link { flex-direction: row-reverse; width: 100%; }
.service-card::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(0deg, rgba(4,8,9,.95), rgba(4,8,9,.13) 76%); }
.service-card-wide { background: linear-gradient(135deg, rgba(9,12,16,.98), rgba(2,9,28,.96) 50%, rgba(8,9,10,.98)); }
.service-card-wide::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 84% 18%, rgba(255,255,255,.15), transparent 18%),
    linear-gradient(120deg, rgba(255,255,255,.04), transparent 42%, rgba(255,255,255,.04) 100%);
}
.service-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.76); transition: transform .65s, filter .45s; }
.service-card:hover img, .service-card:focus-visible img { transform: scale(1.04); filter: saturate(.9) brightness(.9); }
.service-card-wide .service-number { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 1; }
.service-card-wide h3, .service-card-wide .service-link { position: relative; z-index: 1; }
.service-number { position: absolute; top: 1.2rem; left: 1.2rem; color: var(--accent); font-size: .65rem; letter-spacing: .14em; }
.service-card h3 { max-width: 17rem; margin: 0 0 .65rem; font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.1; letter-spacing: .02em; }
.service-categories { width: 100%; max-height: 0; margin: 0; padding: 0; overflow: hidden; color: rgba(243,244,239,.88); font-family: var(--description-font); font-size: .78rem; line-height: 1.45; list-style: none; opacity: 0; transform: translateY(.5rem); transition: max-height .35s ease, opacity .25s ease, transform .35s ease, margin .35s ease; }
.service-categories li { padding-left: 0; }
.service-card:hover .service-categories, .service-card:focus-visible .service-categories { max-height: 8rem; margin: 0 0 .75rem; opacity: 1; transform: none; }
.service-link { min-height: 2.1rem; padding-top: .7rem; display: flex; align-items: center; justify-content: space-between; gap: .7rem; border-top: 1px solid rgba(243,244,239,.2); color: rgba(243,244,239,.76); font-size: .72rem; line-height: 1.4; letter-spacing: .055em; text-transform: uppercase; }
.service-link b { display: none; }

/* ==========================================================================
   PROCES — RYSUNEK TECHNICZNY JACHTU & 5 PUNKTÓW Z ANIMACJĄ
   ========================================================================== */
.process-section { padding-top: 3rem; }
.process-intro { margin: 2.5rem 0 3.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: clamp(2rem, 5vw, 5rem); }
.process-intro .section-title { margin: 0; }
.process-intro > p { max-width: 42rem; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }

/* ==========================================================================
   PROCES — LINIA CZASU Z PŁYNNIE PORUSZAJĄCYM SIĘ JACHTEM (jacht.svg)
   ========================================================================== */
.process-timeline {
  position: relative;
  width: 100%;
}
.process-track {
  position: relative;
  width: 100%;
  padding: 3rem 0 1rem;
}

/* Szyna / linia czasu */
.process-rail {
  position: relative;
  width: 100%;
  height: 2px;
  margin: 0 0 2.8rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}
.process-rail-base {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.05) 100%);
}
.process-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #ffffff);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Jacht poruszający się płynnie po osi czasu (jacht.svg z rysunku technicznego) */
.process-boat {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(38px, 4.8vw, 54px);
  height: auto;
  pointer-events: none;
  z-index: 10;
  /* Jacht wyniesiony ponad linię - linia czasu stanowi linię wodną tuż pod kadłubem */
  transform: translate(0px, -78%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.75));
}
.process-boat-icon {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Symulacja płynięcia - subtelne kołysanie jachtu na wodzie */
  animation: yacht-sailing-sway 4s ease-in-out infinite;
  transform-origin: 50% 80%;
}
@keyframes yacht-sailing-sway {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-2.5px) rotate(1.2deg);
  }
  50% {
    transform: translateY(1.5px) rotate(-0.8deg);
  }
  75% {
    transform: translateY(-1.5px) rotate(-1.5deg);
  }
}

/* 5 Kroków procesu rozłożonych na linii czasu */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 195px;
  padding: 1.25rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.process-step:hover,
.process-step:focus-visible,
.process-step.is-active {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.process-step.is-active {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* Wskaźnik punktu / węzła */
.process-node-indicator {
  position: relative;
  width: 14px;
  height: 14px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-node-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.process-node-halo {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.3s, transform 0.3s;
}
.process-step:hover .process-node-core,
.process-step.is-active .process-node-core {
  background: #ffffff;
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}
.process-step:hover .process-node-halo,
.process-step.is-active .process-node-halo {
  border-color: rgba(255, 255, 255, 0.5);
  animation: node-halo-pulse 2s infinite;
}
@keyframes node-halo-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.8; }
}

.process-step-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}
.process-step-num {
  font-family: var(--heading-font);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.process-step-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: #ffffff;
}

/* Opis kroku ze stabilną wysokością - zero przeskakiwania elementów poniżej */
.process-step-body {
  margin-top: 0.4rem;
  opacity: 0.72;
  transition: opacity 0.25s ease;
}
.process-step:hover .process-step-body,
.process-step:focus-visible .process-step-body,
.process-step.is-active .process-step-body {
  opacity: 1;
}
.process-step-body p {
  margin: 0;
  color: rgba(243, 244, 239, 0.82);
  font-family: var(--description-font);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Dyskretna informacja o stałym nadzorze merytorycznym */
.process-supervision-note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  padding: 0 1rem;
}
.process-supervision-note p {
  margin: 0 auto;
  max-width: 44rem;
  color: rgba(243, 244, 239, 0.62);
  font-family: var(--description-font);
  font-size: 0.95rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   ZESPÓŁ — POWIĘKSZONE NAZWISKA, TELEFONY (PL, ES) I E-MAILE
   ========================================================================== */
.team-section {
  padding-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
.team-section > .section-topline {
  grid-column: 1 / -1;
}
.team-intro {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  text-align: left;
}
.team-intro h2 { flex: none; margin: 0; font-size: clamp(1.7rem, 2.7vw, 2.5rem); font-weight: 400; line-height: 1.05; text-align: left; }
.team-intro > p { width: 100%; max-width: 34rem; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; text-align: left; }
.team-grid {
  grid-column: 2;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.team-card {
  position: relative;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.15rem;
  background: linear-gradient(145deg, rgba(16, 21, 26, 0.9) 0%, rgba(8, 10, 13, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.team-card:hover, .team-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.team-card-decor {
  position: absolute;
  right: -25px;
  top: -25px;
  width: 170px;
  height: 170px;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), color .4s ease;
}
.team-card:hover .team-card-decor,
.team-card:focus-within .team-card-decor {
  color: rgba(255, 255, 255, 0.12);
  transform: rotate(18deg) scale(1.06);
}
.team-card-inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.8rem, 2.6vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  height: 100%;
}
.team-card h3.team-member-name {
  margin: 0 0 1.25rem;
  font-family: var(--heading-font);
  font-size: clamp(1.55rem, 2.3vw, 1.95rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.15;
}
.team-contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  max-height: none;
  opacity: 1;
  transform: none;
  overflow: visible;
}
.team-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(243, 244, 239, 0.95);
  font-family: var(--description-font);
  font-size: 0.96rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease;
}
.team-contact a:hover, .team-contact a:focus-visible {
  color: #ffffff;
}
.phone-country {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* Bezpieczne linki email (antyspam) */
.safe-mail {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(229,234,238,.3);
  text-underline-offset: .2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.safe-mail:hover, .safe-mail:focus-visible {
  color: #ffffff;
  text-decoration-color: #ffffff;
}
.sm-at {
  font-weight: 600;
  color: var(--accent);
}


/* ==========================================================================
   KONTAKT — CZARNE TŁO Z PRZEŚWIETLENIEM I PROFESJONALNY FORMULARZ
   ========================================================================== */
.contact-section {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.contact-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: radial-gradient(circle 850px at 50% 0%, rgba(255, 255, 255, 0.045) 0%, transparent 68%), #000000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(2.2rem, 5vw, 4rem);
  overflow: hidden;
}
.contact-panel-ambient {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: stretch;
}
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-heading p.eyebrow {
  margin-bottom: 0.8rem;
}
.contact-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.contact-lead-text {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-family: var(--description-font);
  font-size: 1rem;
  line-height: 1.65;
}
.contact-direct-group {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-direct-caption {
  font-family: var(--heading-font);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.contact-direct-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1.6rem;
  min-height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}
.contact-button:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #08090a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}
.contact-email {
  color: rgba(243, 244, 239, 0.9);
  font-family: var(--description-font);
  font-size: 1.05rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Profesjonalna karta formularza zapytania */
.contact-card {
  position: relative;
  padding: clamp(1.5rem, 2.8vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.contact-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-card-title {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}
.form-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-family: var(--heading-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-secure-badge svg {
  color: var(--accent);
}

.contact-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-hp-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.contact-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-field--full {
  grid-column: 1 / -1;
}
.form-field label {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.55rem;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-family: var(--description-font);
  font-size: 0.95rem;
  line-height: 1.45;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 125px;
}
.contact-form-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.3rem;
}
.contact-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.1rem;
  padding: 0 2rem;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: #ffffff;
  color: #07090b;
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}
.contact-submit-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.25);
}
.form-notification {
  margin-top: 0.6rem;
  font-family: var(--description-font);
  font-size: 0.88rem;
  line-height: 1.5;
  border-radius: 0.5rem;
}
.form-notification.is-success {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.form-notification.is-error {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 100, 100, 0.4);
  background: rgba(255, 60, 60, 0.08);
  color: #ffb4b4;
}

/* 6 usług w lewej kolumnie pod bezpośrednim kontaktem */
.contact-competencies {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-services-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-services-list li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(243, 244, 239, 0.86);
  font-family: var(--description-font);
  font-size: 0.92rem;
  line-height: 1.48;
}
.contact-services-list li::before {
  content: "";
  position: absolute;
  top: 0.52rem;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   STOPKA — CZARNE TŁO Z SUBTELNYM PRZEŚWIETLENIEM I PRZYWRÓCONYM UKŁADEM
   ========================================================================== */
.site-footer {
  position: relative;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%), #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2.2rem;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
  max-width: var(--content-width);
  margin: 0 auto;
}
.footer-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.footer-brand {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: clamp(10.5rem, 15vw, 13.5rem);
  display: block;
}
.footer-brand img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-family: var(--description-font);
  font-size: 0.92rem;
  line-height: 1.5;
}
.footer-mail {
  display: inline-block;
  color: var(--accent);
  font-family: var(--description-font);
  font-size: 0.98rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 0.2rem;
}
.footer-offices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}
.footer-offices address {
  font-style: normal;
  color: rgba(243, 244, 239, 0.72);
  font-family: var(--description-font);
  font-size: 0.92rem;
  line-height: 1.65;
}
.footer-offices strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-bar {
  max-width: var(--content-width);
  margin: clamp(2.5rem, 4vw, 4rem) auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.footer-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(243, 244, 239, 0.75);
  font-family: var(--heading-font);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.footer-bar a:hover {
  color: #ffffff;
}
.footer-bar img {
  width: 2.5rem;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.footer-bar a:hover img {
  transform: translateY(-2px);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN DLA LINII CZASU, FORMULARZA I STOPKI
   ========================================================================== */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .process-timeline {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
  .process-track {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.8rem 0 1rem 3.4rem;
    overflow: visible;
  }
  .process-rail {
    position: absolute;
    top: 1.25rem;
    bottom: 1.5rem;
    left: 1.25rem;
    width: 2px;
    height: auto;
    min-width: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
  }
  .process-rail-base {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.08) 100%);
  }
  .process-rail-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), #ffffff);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
    transition: height 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .process-boat {
    position: absolute;
    top: 0;
    left: 50%;
    width: 28px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.85));
    transform: translate(-50%, 0);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }
  .process-steps {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .process-step {
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 1.15rem 1.25rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  }
  .process-step:hover,
  .process-step:focus-visible,
  .process-step.is-active {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
    transform: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  }
  .process-step.is-active {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }
  .process-node-indicator {
    position: absolute;
    left: calc(-2.15rem - 6px);
    top: 1.35rem;
    margin: 0;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }
  .process-step-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.35rem;
  }
  .process-step-num {
    font-size: 0.82rem;
    color: var(--accent);
  }
  .process-step-title {
    font-size: 1.15rem;
    line-height: 1.25;
    color: #ffffff;
    word-break: break-word;
  }
  .process-step-body {
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
    margin-top: 0.35rem;
  }
  .process-step-body p {
    margin: 0;
    color: rgba(243, 244, 239, 0.78);
    font-size: 0.88rem;
    line-height: 1.6;
    word-break: break-word;
  }
  .process-supervision-note {
    margin-top: 2rem;
    padding: 0 0.5rem;
    text-align: center;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-offices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .process-track {
    padding-left: 3rem;
  }
  .process-rail {
    left: 1.1rem;
  }
  .process-node-indicator {
    left: calc(-1.9rem - 6px);
  }
  .process-step {
    padding: 1rem 1.05rem;
  }
  .process-step-title {
    font-size: 1.08rem;
  }
  .process-step-body p {
    font-size: 0.85rem;
  }
  .contact-panel {
    padding: 1.8rem 1.2rem;
  }
  .contact-form-fields {
    grid-template-columns: 1fr;
  }
  .contact-services-list {
    grid-template-columns: 1fr;
  }
  .footer-offices {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}
@media (max-width: 900px) {
  .mission-section { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    gap: 1.25rem;
  }
  .team-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
  }
  .service-card:nth-child(n) h3 { font-size: 1.2rem; }
  .service-card { padding: 1.2rem 1.4rem; border-radius: 1.2rem; }
  .service-card:nth-child(n) { border-radius: 1.2rem; }
  .footer-main { grid-template-columns: 1fr; }

  /* Układ formularza i informacji w sekcji Kontakt na urządzeniach mobilnych:
     Informacje "Inspekcje, raporty..." umieszczone poniżej formularza */
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
  }
  .contact-info-col {
    display: contents;
  }
  .contact-heading {
    order: 1;
  }
  .contact-direct-group {
    order: 2;
  }
  .contact-form-col {
    order: 3;
    width: 100%;
  }
  .contact-competencies {
    order: 4;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}
@media (max-width: 680px) {
  :root { --gutter: .6rem; --hero-pad: 1.25rem; --partner-strip-h: 5.9rem; }
  .site-header { top: 0; left: 0; right: 0; margin: 0; padding: 0; }
  .nav-shell {
    height: 72px;
    padding: 0 1.1rem;
    padding-left: max(1.1rem, env(safe-area-inset-left, 1.1rem));
    padding-right: max(1.1rem, env(safe-area-inset-right, 1.1rem));
  }
  .mobile-menu {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100svh;
    padding: 5.5rem max(1.25rem, env(safe-area-inset-right, 1.25rem)) 2rem max(1.25rem, env(safe-area-inset-left, 1.25rem));
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(-.5rem);
    transform-origin: top center;
    clip-path: inset(0 0 100% 0);
  }
  .mobile-menu.is-open { transform: none; clip-path: inset(0 0 0 0); }
  .mobile-menu {
    gap: .2rem;
  }
  .mobile-menu a {
    font-size: 1.25rem;
    line-height: 1.2;
    padding: .32rem .75rem .32rem 1.1rem;
  }
  .brand {
    left: max(1.1rem, env(safe-area-inset-left, 1.1rem));
    top: 50%;
    transform: translateY(-50%);
    width: 9rem;
  }
  .nav-links { display: none; }
  .menu-toggle {
    width: 3rem;
    height: 3rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    gap: .34rem;
  }
  .menu-toggle span {
    width: 1.25rem;
  }
  .menu-toggle span:nth-child(2) {
    width: 1.25rem;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 1;
    transform: rotate(90deg) scaleX(1.35);
    background: var(--accent);
    box-shadow: 0 0 8px rgba(78, 205, 196, .7);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }
  .js-enabled .mission-section .section-heading[data-reveal],
  .js-enabled .mission-section .mission-copy[data-reveal],
  .js-enabled .mission-section .mission-photo[data-reveal] {
    transform: translateY(1.5rem);
  }
  .hero { height: calc(100svh - var(--partner-strip-h)); min-height: min(600px, calc(100svh - var(--partner-strip-h))); margin-top: 0; padding: 6.5rem var(--hero-pad) clamp(4rem, 12vh, 6.5rem); display: flex; flex-direction: column; justify-content: flex-end; border-radius: 0; }
  .hero-media { inset: 0; }
  .hero-poster, .hero-video { object-position: center; }
  .hero-content { margin: 0; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3.5rem); line-height: 1.05; letter-spacing: .032em; margin-bottom: 0; }
  .hero h1 span { display: block; margin-top: 0.06rem; }
  .partner-strip { padding: .75rem 1rem; }
  .partner-group { gap: 1.5rem; padding-right: 1.5rem; }
  .partner-logo { width: 6rem; height: 3rem; }
  .section { padding: 4.5rem 0; }
  .mission-section { grid-template-columns: 1fr; gap: 1.5rem; padding: 4.5rem 0; }
  .mission-section::before { inset: 0 auto auto calc(50% - 50vw); width: 88vw; height: 38%; opacity: .2; }
  .mission-photo { height: 250px; grid-column: auto; grid-row: auto; }
  .mission-copy { grid-row: 3; }
  .mission-text { width: 100%; font-size: 16px; line-height: 1.65; text-align: left; }
  .stats { gap: .65rem; }
  .stats strong { font-size: 1.4rem; }
  .stats span { font-size: .68rem; }
  .services-section, .process-section, .team-section, .contact-section { padding-top: 2rem; }
  .section-topline > span { display: none; }
  .services-intro, .team-intro { align-items: start; flex-direction: column; gap: 1rem; }
  .services-intro { grid-template-columns: 1fr; align-items: start; gap: 1.25rem; }
  .services-intro-heading { width: 100%; justify-content: space-between; }
  .services-intro-copy { max-width: none; padding: 1rem 0 0; gap: .75rem; border-top: 1px solid var(--line); border-left: 0; }
  .services-intro-copy p, .process-intro > p { font-size: 16px; }
  .anchor { width: 2.6rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { border-radius: 1.2rem; align-items: stretch; text-align: left; min-height: 270px; }
  .service-card:nth-child(even) .service-number { left: 1.2rem; right: auto; }
  .service-card:nth-child(even) .service-link { flex-direction: row; }
  .service-card:not(:hover) .service-categories { max-height: none; margin: 0 0 .75rem; overflow: visible; opacity: 1; transform: none; }
  .process-intro { grid-template-columns: 1fr; gap: 1rem; margin: 2rem 0 2.5rem; }
  .team-section { grid-template-columns: 1fr; }
  .team-intro, .team-grid { grid-column: auto; }
  .team-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .team-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
  }
  .team-card-inner {
    padding: 1.45rem 1.25rem;
  }
  .team-card h3.team-member-name {
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
  }
  .team-member-focus {
    font-size: 0.88rem;
    margin-bottom: 1.1rem;
  }
  .team-contact {
    gap: 0.5rem;
  }
  .team-contact a {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }
  .contact-panel { padding: 1.5rem 1.1rem; }
  .contact-heading { flex-direction: column; align-items: flex-start; }
  .contact-actions { justify-content: flex-start; }
  .contact-meta { flex-direction: column; align-items: flex-start; }
  .site-footer {
    padding: 3rem 1.25rem 2.2rem;
    text-align: center;
  }
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }
  .footer-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    width: 100%;
  }
  .footer-brand {
    width: 10.5rem;
    margin: 0 auto;
    display: inline-block;
  }
  .footer-tagline {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-align: center;
  }
  .footer-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.35rem;
    padding: 0.45rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--accent);
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
  }
  .footer-mail:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
  }
  .footer-offices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-offices address {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(243, 244, 239, 0.78);
  }
  .footer-offices strong {
    margin-bottom: 0.35rem;
    color: #ffffff;
    font-size: 0.98rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .footer-bar {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .footer-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.6rem;
    padding: 0.45rem 1.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: rgba(243, 244, 239, 0.8);
  }
}
@media (hover: none) {
  .service-card:not(:hover) .service-categories { max-height: none; margin: 0 0 .75rem; overflow: visible; opacity: 1; transform: none; }
}
.detail-page {
  width: min(calc(100% - 2 * var(--gutter)), var(--content-width));
  margin: 0 auto;
  padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
}
.detail-service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  isolation: isolate;
}
.detail-service--image-first { grid-template-columns: minmax(18rem, .95fr) minmax(0, 1.05fr); }
.detail-service-content { min-width: 0; }
.detail-service-content h1 {
  max-width: 15ch;
  margin: 0 0 1.1rem;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  line-height: .98;
}
.detail-service-summary {
  max-width: 42rem;
  margin: 0;
  color: rgba(243,244,239,.82);
  font-family: var(--description-font);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
}
.detail-service-list {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  display: grid;
  gap: .65rem;
}
.detail-service-list article {
  min-width: 0;
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .85rem;
  border: 1px solid rgba(229,234,238,.12);
  border-radius: .75rem;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.detail-service-list article:hover {
  border-color: rgba(229,234,238,.3);
  background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  transform: translateX(.2rem);
}
.detail-service-list article > span {
  padding-top: .15rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.detail-service-list h2 {
  margin: 0 0 .25rem;
  font-size: 1.18rem;
  line-height: 1.15;
}
.detail-service-list p {
  margin: 0;
  color: var(--muted);
  font-family: var(--description-font);
  font-size: .88rem;
  line-height: 1.55;
}
.detail-service-photo {
  position: relative;
  min-width: 0;
  height: clamp(28rem, 52vw, 43rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(229,234,238,.16);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: 0 2rem 5rem rgba(0,0,0,.28);
}
.detail-service-photo::after {
  position: absolute;
  inset: 35% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(3,7,10,.8));
  pointer-events: none;
}
.detail-service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.detail-service-photo:hover img { transform: scale(1.035); filter: saturate(.92); }
.detail-service-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: grid;
  gap: .35rem;
}
.detail-service-photo figcaption strong {
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.detail-service-photo figcaption span {
  color: rgba(243,244,239,.78);
  font-family: var(--description-font);
  font-size: .85rem;
}
.detail-service--centered {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  display: block;
  border: 1px solid rgba(229,234,238,.14);
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(229,234,238,.09), transparent 60%), linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.detail-service--centered .detail-service-content > .eyebrow,
.detail-service--centered .detail-service-content > h1,
.detail-service--centered .detail-service-summary { text-align: center; margin-right: auto; margin-left: auto; }
.detail-service--centered .detail-service-content h1 { max-width: none; }
.detail-service--centered .detail-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-hero { position: relative; width: min(calc(100% - 2 * var(--gutter)), var(--content-width)); min-height: min(67svh, 680px); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--hero-pad); display: flex; flex-direction: column; justify-content: end; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #111315; isolation: isolate; }
.detail-hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg, rgba(6,8,10,.82), rgba(6,8,10,.13)), linear-gradient(0deg, rgba(6,8,10,.82), transparent 76%); }
.detail-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.68); }
.detail-hero h1 { max-width: 900px; margin: 0 0 1rem; font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1; letter-spacing: .02em; }
.detail-hero > p:not(.eyebrow) { max-width: 38rem; margin: 0; color: rgba(243,244,239,.82); font-size: 18px; line-height: 1.75; }
.detail-body { width: min(calc(100% - 2 * var(--gutter)), var(--content-width)); margin: auto; padding: clamp(3rem, 7vw, 6rem) 0; }
.detail-intro { max-width: 53rem; margin-bottom: 3rem; }
.detail-intro h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 2.9vw, 2.6rem); line-height: 1.08; letter-spacing: .02em; }
.detail-intro p { color: var(--muted); font-size: 18px; line-height: 1.8; }
.detail-panels { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .9rem; }
.detail-panel { min-height: 180px; padding: 1.4rem; border: 1px solid rgba(229,234,238,.16); border-radius: .65rem; background: linear-gradient(145deg, #171a1d, #0d0f11); }
.detail-panel .eyebrow { margin-bottom: .8rem; }
.detail-panel h3 { margin: 0 0 .65rem; font-size: 1.35rem; font-weight: 400; }
.detail-panel p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.detail-steps { margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .65rem; list-style: none; counter-reset: stage; }
.detail-steps li { padding: 1rem; border-top: 1px solid var(--accent); background: rgba(255,255,255,.025); color: var(--text); font-size: 18px; line-height: 1.5; }
.detail-steps li::before { display: block; margin-bottom: .65rem; color: var(--accent); content: "0" counter(stage); counter-increment: stage; font-size: .65rem; letter-spacing: .12em; }

.detail-cta { margin-top: 3rem; padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid rgba(229,234,238,.2); border-radius: .7rem; background: var(--surface); }
.detail-cta p { margin: 0; font-size: 18px; }
.detail-cta .button { flex: none; }
@media (max-width: 680px) {
  .detail-page { padding-top: 6.5rem; }
  .detail-service, .detail-service--image-first { grid-template-columns: 1fr; gap: 1.75rem; }
  .detail-service-content h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .detail-service-photo { height: min(112vw, 32rem); grid-row: 1; border-radius: .9rem; }
  .detail-service--centered { padding: 1.5rem 1rem; border-radius: .9rem; }
  .detail-service--centered .detail-service-list { grid-template-columns: 1fr; }
  .detail-service-list article { padding: .9rem; grid-template-columns: 1.7rem minmax(0, 1fr); gap: .6rem; }
  .detail-service-list h2 { font-size: 1.08rem; }
  .detail-cta { margin-top: 1.5rem; }
  .detail-hero { min-height: 60svh; border-radius: .75rem; }
  .detail-panels, .detail-steps { grid-template-columns: 1fr; }
  .detail-panel { min-height: 0; }
  .detail-cta { align-items: start; flex-direction: column; }
}
@media (min-width: 681px) and (max-width: 900px) {
  .detail-service { grid-template-columns: minmax(0, 1fr) minmax(16rem, .8fr); gap: 2rem; }
  .detail-service--image-first { grid-template-columns: minmax(16rem, .8fr) minmax(0, 1fr); }
  .detail-service-content h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
  .detail-service-photo { height: 36rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

.section-topline { position: relative; }




























.lang-switch { margin-top: .4rem; padding: .8rem 0 0; display: flex; justify-content: center; gap: .5rem; border-top: 1px solid var(--line); opacity: 0; transform: translateY(.5rem); transition: opacity .32s ease .45s, transform .5s cubic-bezier(.2,.9,.25,1) .45s; }
.mobile-menu.is-open .lang-switch { opacity: 1; transform: none; }
.lang-switch button { min-width: 3.2rem; min-height: 2.75rem; padding: 0 .75rem; border: 1px solid rgba(240,246,241,.24); border-radius: .6rem; background: rgba(255,255,255,.04); color: var(--muted); font-family: inherit; font-size: .82rem; font-weight: 700; line-height: 1; letter-spacing: .14em; cursor: pointer; transition: color .2s, border-color .2s, background .2s, transform .2s; }
.lang-switch button:hover, .lang-switch button:focus-visible { color: var(--accent); border-color: rgba(255,255,255,.4); transform: translateY(-1px); }
.lang-switch button[aria-pressed="true"] { color: #101615; border-color: var(--accent); background: var(--accent); font-weight: 800; }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.6rem); line-height: 1.03; letter-spacing: .032em; filter: drop-shadow(0 .15rem 1.2rem rgba(0,0,0,.55)); }
@media (min-width: 681px) and (max-width: 1024px) {
  .hero h1 { font-size: clamp(3.5rem, 7.8vw, 4.8rem); line-height: 1.04; letter-spacing: .032em; }
}
@media (max-width: 680px) {
  .hero-content { margin: 0; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3.5rem); line-height: 1.05; letter-spacing: .032em; }
  .hero h1 span { display: block; margin-top: 0.06rem; }
}
.team-intro { align-items: flex-start; }

/* ==========================================================================
   ANIMACJE WEJŚCIA DLA ELEMENTÓW OD SEKCJI WSPÓŁPRACA W DÓŁ
   ========================================================================== */
.js-enabled .process-section [data-reveal],
.js-enabled .team-section [data-reveal],
.js-enabled .contact-section [data-reveal],
.js-enabled .partner-strip--footer[data-reveal],
.js-enabled .subpage-gallery-section [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(3px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.js-enabled .process-section [data-reveal].is-visible,
.js-enabled .team-section [data-reveal].is-visible,
.js-enabled .contact-section [data-reveal].is-visible,
.js-enabled .partner-strip--footer[data-reveal].is-visible,
.js-enabled .subpage-gallery-section [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.js-enabled .team-grid .team-card:nth-child(2) {
  transition-delay: 0.16s;
}

.js-enabled .contact-panel.is-visible .contact-services-list li {
  animation: contactListItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.js-enabled .contact-panel.is-visible .contact-services-list li:nth-child(1) { animation-delay: 0.1s; }
.js-enabled .contact-panel.is-visible .contact-services-list li:nth-child(2) { animation-delay: 0.16s; }
.js-enabled .contact-panel.is-visible .contact-services-list li:nth-child(3) { animation-delay: 0.22s; }
.js-enabled .contact-panel.is-visible .contact-services-list li:nth-child(4) { animation-delay: 0.28s; }
.js-enabled .contact-panel.is-visible .contact-services-list li:nth-child(5) { animation-delay: 0.34s; }
.js-enabled .contact-panel.is-visible .contact-services-list li:nth-child(6) { animation-delay: 0.40s; }

@keyframes contactListItemIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   SUBPAGE SHOWCASE GALLERY (DETALE I REALIZACJE)
   ========================================================================== */
.subpage-gallery-section {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(229, 234, 238, 0.12);
}
.subpage-gallery-heading {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.subpage-gallery-heading h2 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.subpage-gallery-intro {
  margin: 0;
  color: var(--muted);
  font-family: var(--description-font);
  font-size: 1.05rem;
  line-height: 1.7;
}
.subpage-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.subpage-showcase-grid--single {
  grid-template-columns: 1fr;
}
.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(229, 234, 238, 0.14);
  border-radius: 1.25rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 100%), #0c0f11;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 234, 238, 0.32);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}
.showcase-card-media {
  position: relative;
  width: 100%;
  height: clamp(18rem, 32vw, 24rem);
  overflow: hidden;
  background: #15181a;
}
.showcase-card--featured .showcase-card-media {
  height: clamp(22rem, 40vw, 32rem);
}
.showcase-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.showcase-card:hover .showcase-card-media img {
  transform: scale(1.04);
  filter: saturate(1);
}
.showcase-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(8, 12, 13, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.showcase-card-body {
  padding: clamp(1.4rem, 2.8vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}
.showcase-num {
  font-family: var(--heading-font);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.showcase-card-body h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.02em;
}
.showcase-card-body p {
  margin: 0;
  color: var(--muted);
  font-family: var(--description-font);
  font-size: 0.94rem;
  line-height: 1.65;
}
.showcase-card-body p + p {
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .subpage-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .showcase-card-media {
    height: clamp(16rem, 58vw, 20rem);
  }
}

/* ==========================================================================
   SUBPAGE PHOTOS GRID (TYLKO ZDJĘCIA)
   ========================================================================== */
.subpage-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.5rem);
}
.subpage-photos-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 58rem;
  margin: 0 auto;
}
.subpage-photo-card {
  position: relative;
  margin: 0;
  height: clamp(22rem, 38vw, 34rem);
  border: 1px solid rgba(229, 234, 238, 0.14);
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.subpage-photo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 234, 238, 0.32);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
}
.subpage-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.subpage-photo-card:hover img {
  transform: scale(1.035);
  filter: saturate(1);
}
@media (max-width: 768px) {
  .subpage-photos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .subpage-photo-card {
    height: clamp(18rem, 65vw, 26rem);
  }
}


