/* =============================================================================
   NetCloud — clean, lightweight stylesheet (rebuild of the Litho-based site)
   No framework. Modern CSS. Font families are set per language via --primary-font
   and --alt-font (declared inline in each page <head>).
   ============================================================================= */

/* ----------------------------- Design tokens ----------------------------- */
:root {
  --blue: #0000ff;
  --blue-light: #0066ff;
  --blue-light2: #3366ff;
  --blue-dark: #00007b;
  --ink: #232323;          /* dark gray */
  --ink-2: #1c1c1c;
  --muted: #6f6f6f;        /* AA on white (4.9:1) */
  --muted-2: #6b6b6b;      /* AA on white/paper-2 */
  --line: #e4e4e4;         /* extra medium gray */
  --line-2: #cbcbcb;
  --paper: #ffffff;
  --paper-2: #f7f7f7;      /* very light gray */
  --paper-3: #ededed;

  --accent-red: #ff2e6e;
  --accent-cyan: #32dbff;
  --accent-lime: #d8ff00;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 6px 20px rgba(0,0,0,.08);
  --shadow-md: 0 20px 45px rgba(0,0,0,.12);
  --shadow-lg: 0 47px 45px rgba(0,0,0,.20);

  --container: 1290px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;

  --primary-font: 'Poppins', system-ui, sans-serif;   /* overridden per page */
  --alt-font: 'Roboto Condensed', system-ui, sans-serif;

  --ease-out: cubic-bezier(.17,.89,.32,1.15);
}

/* -------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--primary-font);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: .3px;
  color: var(--ink);
  background: #000;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--blue) #000; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-light); }
::selection { background: red; color: #fff; }

/* ----------------------------- Typography -------------------------------- */
h1,h2,h3,h4,h5,h6 { font-family: var(--alt-font); font-weight: 700; line-height: 1.06; letter-spacing: -.5px; color: var(--ink); }
.alt-font { font-family: var(--alt-font); }
.h-hero  { font-size: clamp(2.9rem, 7.2vw, 6.25rem); line-height: 1; letter-spacing: -2px; }
.h-xl    { font-size: clamp(2.6rem, 5.6vw, 6rem); }
.h-lg    { font-size: clamp(2rem, 3.6vw, 4rem); }
.h-md    { font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
p { color: var(--muted-2); }
.lead { color: var(--muted); }
.dot { color: var(--blue); }
.label {
  display: inline-block; font-family: var(--primary-font); font-size: 19px; font-weight: 600;
  letter-spacing: 0; color: var(--ink); padding-bottom: 6px; margin-bottom: 24px;
  border-bottom: 2px solid var(--blue);
}
.section-dark .label, .on-dark .label { color: #fff; border-color: #fff; }
.highlight-line { background: var(--paper-2); box-decoration-break: clone; }
.on-dark .highlight-line { background: rgba(255,255,255,.12); }

/* ------------------------------- Layout ---------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 100px); position: relative; }
.section--tight { padding-block: clamp(30px, 5vw, 60px); }
.section-dark { background: var(--blue-dark); color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: #fff; }
.text-center { text-align: center; }
.divider { border-top: 1px solid var(--line); }
.section-dark .divider { border-color: rgba(255,255,255,.25); }

.bg-word {
  position: absolute; left: 0; right: 0; text-align: center; font-family: var(--alt-font); font-weight: 700; text-transform: uppercase;
  letter-spacing: -5px; line-height: .8; pointer-events: none; user-select: none;
  font-size: clamp(6rem, 18vw, 17rem); z-index: 0;
  color: transparent; background: linear-gradient(180deg, #9f9f9f, #bbbbbb); -webkit-background-clip: text; background-clip: text;
}

/* ------------------------------- Buttons --------------------------------- */
/* Hover = filled → outline: white background, the button colour becomes the
   text + thick border. No sliding fill. */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff;
  --btn-hbg: #fff; --btn-hfg: var(--btn-bg); --btn-hbc: var(--btn-bg);
  position: relative; display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--alt-font); font-weight: 700; letter-spacing: .5px; line-height: 1;
  padding: 15px 28px; border-radius: 6px; color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bg); cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.btn:hover { background: var(--btn-hbg); color: var(--btn-hfg); border-color: var(--btn-hbc); }
.btn--dark  { --btn-bg: var(--ink); --btn-fg:#fff; }
.btn--white { --btn-bg:#fff; --btn-fg: var(--ink); --btn-hbg: transparent; --btn-hfg:#fff; --btn-hbc:#fff; }
.btn--blue-on-dark { --btn-bg: var(--blue); --btn-fg:#fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg:#fff; --btn-hbg:#fff; --btn-hfg: var(--blue-dark); --btn-hbc:#fff; }
/* header Kontakt / EN buttons: only a slight lift on hover, no colour change */
.header-actions .btn:hover { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); transform: translateY(-3px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--xl { padding: 19px 34px; font-size: 19px; text-transform: uppercase; }
.btn-link {
  display: inline-flex; align-items: center; gap: .4em; font-family: var(--alt-font); font-weight: 700;
  border-bottom: 2px solid currentColor; padding-bottom: 2px; transition: color .3s;
}
.btn-text-blue { color: var(--blue); }
.btn-text-blue:hover { color: var(--blue-light); }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* =============================  HEADER  =================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  display: flex; align-items: center; border-bottom: 1px solid rgba(35,35,35,.08);
  background: transparent; transition: opacity .3s ease, transform .35s ease, background .3s ease;
}
.site-header.is-hidden { opacity: 0; pointer-events: none; }
.header-inner { display: flex; align-items: center; gap: 20px; width: 100%; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; flex: none; }
.header-menu-btn {
  display: inline-flex; align-items: center; gap: 14px; padding-left: 22px; margin-left: 8px;
  border-left: 1px solid rgba(35,35,35,.12); color: var(--ink);
}
.header-menu-btn .bars { display: grid; gap: 4px; width: 26px; }
.header-menu-btn .bars span { height: 2px; background: var(--blue); border-radius: 2px; transition: transform .3s, width .3s; }
.header-menu-btn .bars span:nth-child(2) { width: 70%; }
.header-menu-btn:hover .bars span:nth-child(2) { width: 100%; }
.header-menu-btn b { font-family: var(--alt-font); text-transform: uppercase; letter-spacing: 1px; font-size: 16px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
@media (max-width: 600px) { .header-actions .btn--sm.kontakt { display: none; } }
/* Tighten the mobile header so the language button never clips on narrow phones */
@media (max-width: 600px) {
  .header-inner { gap: 12px; }
  .brand img { height: 30px; }
  .header-menu-btn b { font-size: 14px; letter-spacing: .5px; }
  .header-actions { gap: 8px; }
  .header-actions .btn--sm { padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 440px) {
  .header-inner { gap: 10px; }
  .brand img { height: 28px; }
  .header-menu-btn b { display: none; }   /* hamburger icon only — aria-label keeps it accessible */
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .brand img { height: 26px; }
  .header-actions .btn--sm { padding: 9px 12px; }
}

/* Push (hamburger) menu — width matches the hero white column; linear slide-in
   (no easing/overshoot so it never detaches from the edge). */
.push-menu {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 120; width: 42%; min-width: 440px;
  background: var(--blue); color: #fff; padding: clamp(28px, 3vw, 52px) clamp(30px, 4vw, 64px) clamp(30px, 4vw, 56px);
  display: flex; flex-direction: column; gap: 30px;
  transform: translateX(-100%); transition: transform .45s linear; overflow-y: auto;
}
.push-menu.is-open { transform: translateX(0); }
.push-menu .menu-logo { flex: 0 0 auto; }                               /* logo pinned at the top */
.push-menu .menu-list { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 2px; }  /* items vertically centred */
.push-menu .menu-address { flex: 0 0 auto; }                            /* address at the bottom */
@media (max-width: 767px) { .push-menu { width: 100%; min-width: 0; } }
.menu-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.menu-backdrop.is-open { opacity: 1; visibility: visible; }
.push-menu .menu-logo img { height: 40px; }
.menu-close {
  position: absolute; top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--blue); display: grid; place-items: center; transition: transform .3s;
}
.menu-close:hover { transform: rotate(90deg); }
.menu-list a {
  display: inline-block; font-family: var(--alt-font); font-weight: 500; letter-spacing: 1px;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.35; color: #fff; position: relative; width: fit-content;
  transition: padding-left .3s ease, opacity .3s;
}
.menu-list a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: #fff; transition: width .3s ease;
}
.menu-list a:hover { padding-left: 40px; }
.menu-list a:hover::before { width: 28px; }
.menu-address { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; font-size: 15px; }
.menu-address h4 { font-family: var(--primary-font); font-size: 16px; color: #fff; margin-bottom: 8px; }
.menu-address .rule { height: 1px; background: rgba(255,255,255,.5); margin: 8px 0; }
.menu-address a:hover { color: aqua; }
@media (max-width: 767px) { .menu-address { grid-template-columns: 1fr; } }

/* =============================== HERO ==================================== */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero__slides { position: relative; min-height: 100svh; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease; display: grid;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide__media { position: absolute; inset: 0; overflow: hidden; }
.slide__media video, .slide__media img.bg { width: 100%; height: 100%; object-fit: cover; }
.slide__grid { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(-45deg, rgba(0,0,255,.42) 0 1.3px, transparent 1.3px 4.5px); }
.slide__panel {
  position: relative; z-index: 3; width: 42%; min-width: 440px; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 6% 0 clamp(40px, 13%, 250px);
  background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
}
.slide__badge {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: var(--paper-2); border-radius: 4px; padding: 8px 12px 7px 8px; margin-bottom: 34px;
  font-family: var(--alt-font); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .5px;
}
.slide__badge b { background: var(--ink); color: #fff; padding: 4px 8px; border-radius: 3px; font-size: 14px; }
.slide__title { font-size: clamp(2.6rem, 6.6vw, 6.25rem); line-height: 1; letter-spacing: -2.5px; color: var(--ink); margin-bottom: 22px; }
.slide__title .sentence { display: inline; }
.hero-word { display: inline-block; transition: opacity .4s ease; }
.hero-word.fade-out { opacity: 0; }
.slide__desc { color: var(--muted); font-size: 17px; line-height: 1.75; margin-bottom: 36px; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.slide__bgword {
  position: absolute; z-index: 0; left: var(--bgword-left, -405px); top: 50%;
  transform: translateY(-50%) rotate(-90deg); transform-origin: center;
  font-family: var(--alt-font); font-weight: 700; text-transform: uppercase;
  font-size: var(--bgword-size, 23vh); line-height: 1; letter-spacing: 2px; white-space: nowrap;
  color: #fff; text-shadow: 0 0 45px rgba(0,0,0,.12), 0 0 90px rgba(0,0,0,.06);
  pointer-events: none; user-select: none;
}
@media (max-width: 991px) { .slide__bgword { display: none; } }

/* hero navigation — labelled prev/next buttons bottom-right (like the original) */
.hero-nav { position: absolute; z-index: 6; }
.slide-nav { position: absolute; right: 0; bottom: 0; z-index: 6; display: flex; }
.slide-nav button {
  position: relative; overflow: hidden; width: 220px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--alt-font); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 18px;
  letter-spacing: .5px;
}
.slide-nav button span { position: relative; z-index: 2; text-align: center; }
/* blue prev button is a narrow square; the image next button stays wide */
.slide-nav button.slide-nav__prev { width: 120px; }
.slide-nav__prev { background: var(--blue); }
.slide-nav__prev::before { content: ""; position: absolute; inset: 0; background: #000; transform: translateX(-101%); transition: transform .5s var(--ease-out); z-index: 1; }
.slide-nav__prev:hover::before { transform: translateX(0); }
.slide-nav__next { background: #000 center/110% auto no-repeat; background-position: right center; filter: grayscale(1); transition: background-position .6s cubic-bezier(.61,1,.88,1); }
.slide-nav__next::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 1; }
.slide-nav__next:hover { background-position: left center; }
@media (max-width: 991px) { .slide-nav { display: none; } }
.hero-nav--mobile { display: none; }
.hero-nav--mobile button {
  position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; color: #fff;
  display: grid; place-items: center;
}
.hero-nav--mobile .prev { left: 6px; } .hero-nav--mobile .next { right: 6px; }
.hero-nav--mobile .icon { width: 30px; height: 30px; }

/* =============================== MARQUEE ================================= */
.marquee { overflow: hidden; display: flex; }
.marquee__track { display: flex; flex: none; gap: 0; align-items: center; animation: marquee var(--mq-dur, 40s) linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.newsbar { background: var(--blue); padding: 28px 0; }
.newsbar .marquee__item { display: inline-flex; align-items: center; color: #fff; font-family: var(--alt-font); font-weight: 500; text-transform: uppercase; font-size: 22px; white-space: nowrap; }
.newsbar .marquee__item::before { content:""; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; margin: 0 45px; display: inline-block; }
.titlemarquee { padding: 10px 0 20px; }
/* Tighten the gap below the videos marquee before the navy business section (~3/4 of the marquee height, responsive & safe) */
.section:has(> .titlemarquee) { padding-bottom: 0; }
.titlemarquee .marquee__item { font-family: var(--primary-font); font-weight: 700; font-size: clamp(2.5rem, 6vw, 6.25rem); letter-spacing: -1px; white-space: nowrap; padding: 0 45px;
  -webkit-text-stroke: 1.4px var(--line-2); color: transparent; paint-order: stroke fill; }

/* ============================ SCROLL REVEAL ============================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .36s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .48s; }

/* ============================ CUSTOM CURSOR ============================= */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999; translate: -50% -50%; }
.cursor-dot { width: 8px; height: 8px; background: var(--blue); transition: width .2s, height .2s; }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(0,0,255,.4); transition: width .25s, height .25s, background .25s; }
.cursor-ring.is-hover { width: 54px; height: 54px; background: rgba(0,0,255,.08); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* -------------------------------- Tooltip -------------------------------- */
.tooltip { position: absolute; background: #000; color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 12px; white-space: nowrap; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 9998; }

/* ---------------------------- Sticky social ------------------------------ */
.sticky-social { position: fixed; left: -120px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: center; z-index: 40; transition: opacity .3s ease; }
.sticky-social ul { display: flex; gap: 30px; }
.sticky-social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); transition: color .3s; }
.sticky-social a .icon { transform: rotate(90deg); }
.sticky-social a:hover { color: var(--blue-light2); }
.sticky-social.on-dark a { color: #fff; }
.sticky-social.is-hidden { opacity: 0; pointer-events: none; }
@media (max-width: 1199px) { .sticky-social { display: none; } }

/* --------------------------- Scroll-to-top ------------------------------- */
.scroll-top { position: fixed; right: 42px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ink); transition: opacity .3s ease, color .3s ease; }
.scroll-top .txt { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--alt-font); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 2px; }
.scroll-top .line { width: 3px; height: 80px; background: var(--line-2); border-radius: 2px; position: relative; overflow: hidden; }
.scroll-top .line span { position: absolute; inset: 0 auto auto 0; width: 100%; height: 0; background: var(--blue); }
.scroll-top.on-dark { color: #fff; }
.scroll-top.on-dark .line { background: rgba(255,255,255,.45); }
.scroll-top.on-dark .line span { background: #fff; }
.scroll-top.is-hidden { opacity: 0; pointer-events: none; }
@media (max-width: 1400px) { .scroll-top { display: none; } }

/* Mobile-only round "back to top" button (bottom-right, fixed) */
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, background .2s ease; -webkit-tap-highlight-color: transparent; }
.to-top svg { width: 22px; height: 22px; display: block; }
.to-top:active { background: var(--blue-light2); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 991px) { .to-top { display: inline-flex; } }

/* ------------------------------ Lightbox --------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(28,28,28,.92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 20px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner { width: min(80vmin, 640px); aspect-ratio: 1; border: 8px solid #000; background: #000; position: relative; }
.lightbox__inner video, .lightbox__inner iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; top: -46px; right: 0; color: #fff; width: 36px; height: 36px; }
@media (max-width: 768px) { .lightbox__inner { width: 90vw; } }

/* ============================ MEDIA SPLIT ============================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; position: relative; z-index: 1; }
.split__text { max-width: 90%; }
.split__text p { margin-bottom: 12px; }
.split__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.media-frame { border: 8px solid #000; border-radius: 2px; width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.media-frame--white { border-color: #fff; }
.media-wrap { position: relative; }
.float-img { position: absolute; z-index: 2; will-change: transform; }
.float-img--tl { left: -60px; top: -10px; width: 160px; }
.float-img--br { right: -90px; bottom: 0; width: 250px; }
@media (max-width: 991px) { .float-img { display: none; } }

/* Intro blocks (centered section titles) */
.intro { text-align: center; }
.intro h2 { margin: 6px 0 16px; }
.intro p { max-width: 640px; margin: 0 auto 26px; }
.section-dark .intro p { color: rgba(255,255,255,.8); }

/* ============================== PRICING ================================ */
.pricing__row { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; padding: 26px 0; border-top: 1px solid var(--line); }
.pricing__row:first-child { border-top: 0; }
.pricing__row img { width: 52px; margin: 0 auto; }
.pricing__row .t { font-family: var(--alt-font); font-size: 24px; font-weight: 500; color: var(--ink); display: block; }
.section-dark .pricing__row { border-color: rgba(255,255,255,.85); }
.section-dark .pricing__row .t { color: #fff; }
.pricing__row .txt { padding-left: 34px; border-left: 1px solid var(--line); }
.section-dark .pricing__row .txt { border-color: rgba(255,255,255,.85); }
.badge-quality { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--alt-font); }
.badge-quality img { width: 40px; }

/* ============================== TUTORIALS ============================== */
.tut-player { background: #fff; box-shadow: var(--shadow-lg); }
.tut-player .pane { display: none; }
.tut-player .pane.is-active { display: block; }
.tut-list { display: flex; flex-direction: column; }
.tut-list button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--alt-font); transition: color .25s; }
.tut-list .num { color: var(--blue); font-weight: 700; font-size: 22px; }
.tut-list .name { font-size: 22px; color: var(--ink); }
.tut-list .lvl { margin-left: auto; color: var(--muted); font-size: 15px; }
.tut-list button.is-active .name, .tut-list button:hover .name { color: var(--blue); }
@media (max-width: 767px) { .tut-desktop { display: none; } }
.tut-mobile { display: none; }
@media (max-width: 767px) { .tut-mobile { display: block; } }
.tut-mobile a { display: flex; align-items: center; gap: 10px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-family: var(--alt-font); font-size: 20px; color: var(--blue); }
.tut-mobile .num { font-weight: 700; }
.tut-mobile .film { margin-left: auto; font-size: 14px; color: var(--ink); }

/* =========================== DEPARTMENTS (preother) =================== */
.depts { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
.depts__lead h3 { margin-bottom: 14px; }
.depts__lead a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--alt-font); font-weight: 700; text-transform: uppercase; font-size: 15px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.depts__lead a .icon { color: var(--blue); width: 22px; height: 22px; }
.dept-card .tag { display: inline-block; padding: 6px 16px; border-radius: 6px; font-family: var(--alt-font); font-weight: 500; font-size: 20px; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.dept-card .tag--cyan { background: var(--accent-cyan); color: var(--ink); }
.dept-card .tag--red { background: #e01356; }   /* AA white-on-red (4.6:1); stack panel keeps brand --accent-red */
.dept-card .tag--lime { background: var(--accent-lime); color: #000; }
@media (max-width: 991px) { .depts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .depts { grid-template-columns: 1fr; text-align: center; } .depts__lead a, .depts .icon-wrap { justify-content: center; } }

/* ===== STACK — freeze-in-place clip reveal (cards absolute-stacked; the top
   card's height shrinks to uncover the next one in the SAME position) ===== */
.stack { position: relative; z-index: 5; height: 300vh; }
.stack__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.stack-card { position: absolute; inset: 0; height: 100vh; overflow: hidden; will-change: height; }
.stack-card:nth-child(1) { z-index: 30; }
.stack-card:nth-child(2) { z-index: 20; }
.stack-card:nth-child(3) { z-index: 10; }
.solid { position: absolute; top: 0; left: 0; right: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.solid > .container { width: 100%; }
.solid--cyan { background: var(--accent-cyan); }
.solid--red  { background: var(--accent-red); }
.solid--lime { background: var(--accent-lime); }
.solid h2 { text-align: center; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 3rem); margin-bottom: 26px; letter-spacing: 0; }
.solid .h-md { text-align: center; font-size: clamp(2.1rem, 3.1vw, 3.1rem); margin-bottom: clamp(34px, 4vw, 52px); }
.solid--cyan h2 { color: #fff; }
.solid--red h2 { color: #fff; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); margin-bottom: 30px; }
.feature { position: relative; overflow: hidden; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px; border-right: 1px solid var(--ink); }
.feature:last-child { border-right: 0; }
.feature__overlay { position: absolute; inset: 0; background: #000; transform: translateY(101%); transition: transform .45s var(--ease-out); z-index: 0; }
.feature:hover .feature__overlay { transform: translateY(0); }
.feature__icon { position: relative; z-index: 1; height: 54px; display: grid; place-items: center; margin-bottom: 22px; transition: transform .4s; }
.feature__icon .icon { height: 48px; width: auto; color: #000; transition: color .35s; }
.feature__icon img { height: 54px; width: auto; margin: 0 auto; transition: filter .35s; }
.feature .lbl { position: relative; z-index: 1; display: block; max-width: 62%; margin: 0 auto; font-family: var(--alt-font); font-weight: 700; text-transform: uppercase; font-size: 16px; line-height: 1.5; color: #000; transition: color .35s; }
.feature:hover .lbl { color: #fff; }
.feature:hover .feature__icon { transform: translateY(-4px); }
.feature:hover .feature__icon .icon { color: #fff; }
.feature:hover .feature__icon img { filter: brightness(0) invert(1); }
.counter { position: relative; text-align: center; }
.counter .num { font-family: var(--alt-font); font-weight: 700; font-size: clamp(6rem, 15vw, 13rem); line-height: 1; letter-spacing: -1px; color: #000; }
.counter .cap { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; font-size: 19px; color: #fff; padding: 8px 18px; border-radius: 100px; }
/* Korolev (EN) sits the digit higher in its line-box → nudge the caption up to the number's optical centre */
html[lang="en"] .counter .cap { top: 39%; }
/* dark pill guarantees AA contrast for the white caption over the coloured panel */
.solid--cyan .counter .cap, .solid--red .counter .cap, .solid--lime .counter .cap { background: rgba(0,0,0,.5); }
@media (max-width: 991px) {
  .stack { height: auto; }
  .stack__sticky { position: static; height: auto; overflow: visible; }
  .stack-card { position: relative; height: auto; }
  .solid { position: relative; height: auto; min-height: 100vh; padding: 70px 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2n){ border-right: 0; } .feature:nth-child(1),.feature:nth-child(2){ border-bottom: 1px solid var(--ink); }
}

/* =============================== TABS ================================= */
.tabs-section { position: relative; background: var(--paper-2); overflow: hidden; }
.tabnav { border-block: 1px solid var(--line); background: #fff; margin-bottom: 40px; }
.tabnav ul { display: flex; max-width: var(--container); margin-inline: auto; }
.tabnav li { flex: 1; text-align: center; border-right: 1px solid var(--line); }
.tabnav li:last-child { border-right: 0; }
.tabnav button { position: relative; width: 100%; padding: 22px 10px; font-family: var(--alt-font); font-weight: 500; font-size: 24px; color: var(--ink); }
.tabnav button::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--blue); transform: scaleX(0); transition: transform .3s; }
.tabnav button.is-active::after, .tabnav button:hover::after { transform: scaleX(1); }
.tabnav button.is-active { color: var(--blue); }
.tabpane { display: none; }
.tabpane.is-active { display: block; }
.figcard-wrap { position: relative; width: 80%; margin-left: auto; }
.figcard-wrap > img { border-radius: 4px; width: 100%; }
.figcard {
  position: absolute; bottom: 70px; left: -120px; width: 190px; background: #fff; border-radius: 6px;
  overflow: hidden; box-shadow: var(--shadow-md); text-align: center; animation: float 4s ease-in-out infinite;
}
.figcard .top { padding: 15px; }
.figcard .preview { position: relative; margin-bottom: 16px; }
.figcard .preview img { border-radius: 4px; width: 100%; }
.figcard .go {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.figcard .go .icon { width: 20px; height: 20px; color: #000; }
.figcard .go::before, .figcard .go::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ink); animation: sonar 2.4s ease-out infinite; }
.figcard .go::after { animation-delay: 1.2s; }
.figcard .meta { display: flex; align-items: center; gap: 8px; text-align: left; }
.figcard .meta .m { font-family: var(--alt-font); font-weight: 500; color: var(--ink); font-size: 19px; }
.figcard .meta img { width: 34px; }
.figcard .bar { background: var(--ink); padding: 7px; }
.figcard .bar a { color: #fff; font-family: var(--alt-font); font-size: 16px; }
.figcard .bar a:hover { color: aqua; }
@media (max-width: 575px) { .figcard { left: -20px; width: 150px; bottom: -26px; } .figcard-wrap { width: 86%; margin: 0 auto; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes sonar { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* Accordion */
.accordion { margin-top: 10px; }
.accordion__item { background: #fff; border-bottom: 1px solid var(--line); border-radius: 6px; margin-bottom: 4px; transition: background .3s; }
.accordion__item.is-open { background: linear-gradient(180deg,#ededed,#f7f7f7,#f7f7f7,#ededed); }
.accordion__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 22px 18px; font-family: var(--alt-font); font-size: 20px; font-weight: 500; color: var(--ink); }
.accordion__head .sign { position: relative; width: 16px; height: 16px; flex: none; }
.accordion__head .sign::before, .accordion__head .sign::after { content: ""; position: absolute; background: var(--blue); inset: 0; margin: auto; }
.accordion__head .sign::before { width: 16px; height: 2px; }
.accordion__head .sign::after { width: 2px; height: 16px; transition: transform .3s, opacity .3s; }
.accordion__item.is-open .sign::after { transform: rotate(90deg); opacity: 0; }
.accordion__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.accordion__item.is-open .accordion__body { grid-template-rows: 1fr; }
.accordion__body > div { overflow: hidden; }
.accordion__body p { padding: 0 18px 22px; margin: 0; }
.accordion__body a { color: var(--blue); text-decoration: underline; }
.tabs-bgword { position: absolute; left: -20px; bottom: -0.16em; z-index: 0; line-height: .62; font-family: var(--alt-font); font-weight: 700; text-transform: uppercase; font-size: clamp(6rem,18vw,17rem); letter-spacing: -5px; color: transparent; background: linear-gradient(180deg,#f0f0f0,#fff); -webkit-background-clip: text; background-clip: text; pointer-events: none; }

/* =============================== CONTACT =============================== */
.contact-hero { position: relative; height: 500px; background: var(--ink) center/cover; }
.contact-hero::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, rgba(0,0,255,.42) 0 1.3px, transparent 1.3px 4.5px); }
.contact-wrap { position: relative; margin-top: -180px; z-index: 2; padding-inline: var(--gutter); }
.contact-card { max-width: 1040px; margin-inline: auto; background: #fff; border-radius: 6px; padding: clamp(28px,4vw,56px); box-shadow: var(--shadow-md); display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.contact-card h2 { font-family: var(--alt-font); font-size: clamp(2rem,4vw,3.4rem); letter-spacing: -1px; }
.contact-card h3 { font-family: var(--alt-font); color: var(--blue); font-size: clamp(1.3rem,2vw,1.8rem); margin-top: 6px; font-weight: 700; }
.contact-card .send { width: 64px; height: 64px; color: var(--ink); flex: none; }
.fade-text { transition: opacity .4s ease; display: inline-block; }
.address-grid { max-width: 1040px; margin: 60px auto 0; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.address-grid .head { display: inline-block; background: var(--blue); color: #fff; padding: 10px 20px; border-radius: 6px; font-family: var(--alt-font); font-weight: 500; font-size: 20px; text-transform: uppercase; margin-bottom: 16px; }
.address-grid ul { font-weight: 500; color: var(--ink); }
.address-grid li { padding-bottom: 6px; }
.address-grid .col-2 { text-align: center; }
.address-grid .col-3 { text-align: right; }
.address-grid .k { color: var(--blue-light2); margin-right: 8px; }
.address-grid a:hover, .link-blue:hover { color: var(--blue-light2); }
.copyable { cursor: pointer; }
.copy-ok { color: green; font-size: 14px; margin-left: 8px; }
.reveal-phone { display: none; }
@media (max-width: 900px) { .address-grid { grid-template-columns: 1fr 1fr; } .address-grid .col-3 { grid-column: 1 / -1; text-align: center; } }
@media (max-width: 520px) { .address-grid { grid-template-columns: 1fr; text-align: center; } .address-grid .col-2, .address-grid .col-3 { text-align: center; } }

/* ============================ FOOTER REVEAL =========================== */
/* The scaling wrapper (.page-shell) holds the white .page AND the black
   "Zapraszamy." outro band, so both shrink together. JS sets its margin-bottom
   to the footer height (revealing the fixed footer) and scales it toward the
   bottom. The footer itself now begins with the Facebook/LinkedIn/Youtube links. */
.page-shell { position: relative; z-index: 2; will-change: transform; }
.page { position: relative; z-index: 2; background: #fff; border-bottom-left-radius: clamp(22px, 3vw, 46px); border-bottom-right-radius: clamp(22px, 3vw, 46px); }
.page-outro { background: #000; text-align: center; padding: clamp(46px,7vh,96px) 20px clamp(28px,5vh,54px); }
@media (max-width: 900px) { .page { border-radius: 0; } }
.site-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; background: #000; color: #b3b3b3; padding: clamp(34px,5vh,56px) 20px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.thank-you { font-family: var(--alt-font); font-weight: 600; color: #fff; font-size: clamp(2.4rem,6vw,4.7rem); text-align: center; margin: 0; user-select: none; }
.thank-you .dot2 { color: var(--blue-light2); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer-links a { color: #fff; transition: color .3s; }
.footer-links a:hover { color: var(--blue-light2); }
.footer-fine { font-size: 15px; font-weight: 500; line-height: 1.8; }
.footer-fine a { transition: color .3s; }
.footer-fine a.link-blue { color: #6690ff; text-decoration: underline; }   /* AA on black + non-colour link cue */
.footer-fine a:hover { color: #93b4ff; }
@media (max-width: 900px) { .page-shell { margin-bottom: 0 !important; transform: none !important; } .site-footer { position: static; } }

/* =============================== RESPONSIVE =========================== */
@media (max-width: 991px) {
  .site-header { background: rgba(255,255,255,.95); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
  .slide { grid-template-rows: auto auto; }
  .slide.is-active { position: relative; }   /* active slide defines hero height on mobile */
  .slide__media { position: relative; height: 56svh; }
  .slide__panel { position: relative; width: 100%; min-width: 0; height: auto; padding: 40px var(--gutter) 54px; text-align: center; align-items: center; }
  .slide__badge { align-self: center; }
  .slide__title { letter-spacing: -1px; }
  .slide__actions { justify-content: center; }
  .hero__slides { min-height: 0; }
  .hero-nav--desktop { display: none; }
  .hero-nav--mobile { display: block; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .media-wrap { order: -1; }
  .split__text { max-width: 100%; text-align: center; }
  .split__actions { justify-content: center; }
  .badge-quality { justify-content: center; }
  .pricing { max-width: 520px; margin-inline: auto; }
  .contact-wrap { margin-top: -120px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .newsbar .marquee__item { font-size: 20px; }
  .newsbar .marquee__item::before { margin: 0 26px; }
  .tabnav button { font-size: 18px; padding: 16px 6px; }
  .tabnav ul { flex-wrap: wrap; }
  .tabnav li { flex: 1 0 50%; border-bottom: 1px solid var(--line); }
  .slide__panel { padding-bottom: 44px; }
  .float-img { display: none; }
}

/* -------- addendum: helpers referenced by markup -------- */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.bg-mobile { display: none; }
@media (max-width: 991px) { .bg-desktop { display: none; } .bg-mobile { display: block; } }
.hide-mobile { }
@media (max-width: 991px) { .hide-mobile { display: none !important; } }
.only-mobile { display: none; }
@media (max-width: 991px) { .only-mobile { display: block; } }
.site-header.is-solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.2) blur(8px); box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.blue-dot, .dot { color: var(--blue); }
.text-link { color: var(--blue); }
.text-link:hover { color: var(--blue-light); }
.mono-link:hover { color: aqua; }
.bg-firm-img { border-radius: 2px; }
.split__text .label { margin-top: 4px; }
.section-anchor { position: absolute; top: -84px; }
.grecaptcha-badge { visibility: hidden; }

/* ------------------------------- Legal pages ------------------------------ */
.legal-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.legal-header .header-inner { height: 72px; }
.legal-header .back { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--alt-font); font-weight: 700; text-transform: uppercase; font-size: 14px; }
.legal-header .back:hover { color: var(--blue); }
.legal { max-width: 820px; margin: 0 auto; padding: clamp(30px,6vw,70px) var(--gutter) 90px; background: #fff; }
.legal h1 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.legal p, .legal li { color: #444; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal .card { background: var(--paper-2); border-radius: 8px; padding: 18px 22px; margin: 16px 0; }
.legal-footer { background: #000; color: #8a8a8a; text-align: center; padding: 30px 20px; font-size: 14px; }
.legal-footer a { color: #6690ff; }   /* AA on black */

/* -------- JA-specific components (older/simpler layout) -------- */
.solid .division { text-transform: uppercase; color: #000; margin-bottom: 4px; font-weight: 500; letter-spacing: 1px; }
.feature__num { position: absolute; right: 22px; top: 16px; z-index: 1; font-family: var(--alt-font); font-size: 22px; font-weight: 700; text-transform: uppercase; color: #000; }
.feature__hint { position: absolute; left: 22px; top: 18px; z-index: 1; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #000; transition: color .35s; }
.feature:hover .feature__num, .feature:hover .feature__hint { color: #fff; }
/* numbered process steps (pre123 in JA) */
.proc-steps { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
.proc-steps__lead h3 { margin-bottom: 14px; }
.proc-steps__lead a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--alt-font); font-weight: 700; text-transform: uppercase; font-size: 15px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.proc-steps__lead a .icon { color: var(--blue); width: 22px; height: 22px; }
.proc-step { position: relative; padding-top: 40px; }
.proc-step__num { position: absolute; left: 0; top: -6px; font-family: var(--alt-font); font-weight: 500; font-size: 80px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--blue); }
.proc-step .t { position: relative; display: inline-block; font-family: var(--alt-font); font-size: 24px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
@media (max-width: 991px) { .proc-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .proc-steps { grid-template-columns: 1fr; text-align: center; } .proc-steps__lead a { justify-content: center; } .proc-step { padding-left: 0; } }

/* news bar dark variant + blinking item (JA) */
.newsbar--dark { background: #000; }
@keyframes blink-wy { 0%{color:#fff} 20%{color:#5b9dff} 40%{color:#fff} }   /* light blue keeps AA on black */
.blink-text { animation: blink-wy 1.5s infinite ease-in-out; }

/* horizontal section divider lines (like the original) */
.sec-line { height: 0; border-top: 2px solid var(--line); }
.section-dark .sec-line, .sec-line--light { border-top-color: rgba(255,255,255,.85); }

/* section with edge divider lines (top + bottom) */
.section--bordered { border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.section-dark.section--bordered { border-color: rgba(255,255,255,.85); }

/* section with a divider on the TOP edge only (sits flush at the section top) */
.section--line-top { border-top: 2px solid var(--line); }
.section-dark.section--line-top { border-top-color: rgba(255,255,255,.85); }

/* --------------------------- Skip to content --------------------------- */
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 8px;
  font-family: var(--alt-font); font-weight: 700; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus-visible { top: 12px; outline: 3px solid #fff; outline-offset: 2px; }

/* Respect notch/safe-area on landscape phones without shifting normal layouts */
@supports (padding: max(0px)) {
  .header-inner, .contact-wrap, .address-grid { padding-inline: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)); }
}
