/* =========================================================
   Adamo – sklep i serwis komputerowy
   Kierunek: ciemno i nowocześnie. Gradient z logo (cyjan → niebieski)
   działa jak światło: na płycie w wejściu, na przyciskach, na numerze telefonu.
   ========================================================= */

/* ---------- font (hostowany lokalnie) ---------- */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/lexend-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/lexend-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;
}

/* ---------- tokeny ---------- */
:root {
  --bg: #04060e;
  --bg-2: #080c1b;
  --line: rgba(214, 226, 255, .09);
  --line-2: rgba(214, 226, 255, .17);
  --text: #eef2ff;
  --text-2: #c3cbe6;
  --muted: #8b94b9;
  --cyan: #22cad4;
  --blue: #0071f5;
  --grad: linear-gradient(120deg, #22cad4 0%, #1a9cf0 60%, #0071f5 100%);
  --grad-btn: linear-gradient(120deg, #36dbe3 0%, #2f9dff 100%);
  --open: #39d98a;

  --f: 'Lexend', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(18px, 5vw, 72px);
  --maxw: 1280px;
  --header-h: 76px;
  --r-card: 28px;
  --r-img: 18px;
  --sec-pad: clamp(96px, 12vw, 176px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f);
  font-weight: 350;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* delikatne ziarno na całej stronie */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--cyan); color: #021016; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; z-index: 100; left: 12px; top: -80px;
  padding: 10px 18px; border-radius: 999px; background: var(--cyan); color: #021016;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.only-touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .only-fine { display: none; }
  .only-touch { display: inline; }
}

/* ---------- przyciski i linki ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 54px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--grad-btn); color: #03111b;
  font: 600 1rem/1.1 var(--f); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 12px 32px -14px rgba(34, 202, 212, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 18px 44px -14px rgba(34, 202, 212, .85); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: rgba(255, 255, 255, .04); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { filter: none; box-shadow: inset 0 0 0 1px rgba(34, 202, 212, .75); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }

.link {
  color: var(--text);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: rgba(34, 202, 212, .6);
  transition: color .2s, text-decoration-color .2s;
}
.link:hover { color: var(--cyan); text-decoration-color: var(--cyan); }

/* ---------- nagłówek ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px);
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s;
}
.top.is-solid {
  background: rgba(4, 6, 14, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.top__logo { flex: none; }
.top__logo img { height: 34px; width: auto; }
.top__nav { display: flex; gap: clamp(16px, 2.2vw, 32px); margin-left: auto; }
.top__nav a { padding: 8px 0; font-size: .9375rem; font-weight: 450; color: var(--muted); text-decoration: none; transition: color .2s; }
.top__nav a:hover, .top__nav a[aria-current="true"] { color: var(--text); }
.status {
  display: inline-flex; align-items: center; gap: 9px;
  height: 36px; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .8125rem; color: var(--muted); white-space: nowrap;
}
.status__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #5d6687; }
.status.is-open { color: var(--text); }
.status.is-open .status__dot { background: var(--open); box-shadow: 0 0 0 4px rgba(57, 217, 138, .16); }

/* =========================================================
   WEJŚCIE – płyta drukowana oświetlana kursorem
   ========================================================= */
.hero {
  --lx: 70vw; --ly: 42vh;  /* pozycja światła; JS nadpisuje */
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 clamp(56px, 9vh, 112px);
}
.hero__board { position: absolute; inset: -5% 0; z-index: -4; will-change: transform; }
.hero__board img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
/* ciemność z „dziurą” – przesuwana transformacją, więc tania w animacji */
.hero__shade {
  position: absolute; z-index: -3; left: 0; top: 0;
  width: 400vmax; height: 400vmax; margin: -200vmax 0 0 -200vmax;
  pointer-events: none;
  background: radial-gradient(circle at center,
    rgba(4, 6, 14, 0) 0,
    rgba(4, 6, 14, .16) 5vmax,
    rgba(4, 6, 14, .78) 15vmax,
    rgba(4, 6, 14, .93) 30vmax);
  transform: translate3d(var(--lx), var(--ly), 0);
  will-change: transform;
}
.hero__glow {
  position: absolute; z-index: -2; left: 0; top: 0;
  width: 56vmax; height: 56vmax; margin: -28vmax 0 0 -28vmax; border-radius: 50%;
  pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle at center, rgba(34, 202, 212, .26) 0%, rgba(0, 113, 245, .1) 35%, rgba(0, 113, 245, 0) 65%);
  transform: translate3d(var(--lx), var(--ly), 0);
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 6, 14, .94) 0%, rgba(4, 6, 14, .78) 30%, rgba(4, 6, 14, .14) 62%, rgba(4, 6, 14, 0) 76%),
    linear-gradient(0deg, var(--bg) 0%, rgba(4, 6, 14, 0) 26%),
    linear-gradient(180deg, rgba(4, 6, 14, .7) 0%, rgba(4, 6, 14, 0) 22%);
}
.hero__content { position: relative; }
.hero__title { max-width: 13ch; font-size: clamp(3.1rem, 7.6vw, 8.2rem); font-weight: 800; letter-spacing: -0.05em; line-height: .92; }
.hero__where { margin-top: 28px; font-size: 1rem; font-weight: 500; color: var(--cyan); }
.hero__lead { margin-top: 12px; max-width: 42ch; color: var(--text-2); }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 14px; }
.rating {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 10px;
  font-size: .9375rem; color: var(--muted); text-decoration: none;
}
.rating__stars { font-size: .875rem; letter-spacing: 2px; color: #ffd166; }
.rating strong { font-weight: 600; color: var(--text); }
.rating:hover span:last-child { color: var(--text); }
.hero__hint {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 9vh, 112px);
  display: flex; align-items: center; gap: 12px;
  font-size: .8125rem; color: var(--muted);
  transition: opacity .6s var(--ease);
}
.hero__hint::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  background: radial-gradient(circle, var(--cyan) 0 3px, rgba(34, 202, 212, .25) 4px, transparent 10px);
}
.hero.is-lit .hero__hint { opacity: 0; }

/* =========================================================
   O NAS – zdanie rozświetlane słowo po słowie
   ========================================================= */
.manifest { position: relative; }
.manifest__stage { padding: var(--sec-pad) 0; }
.js-motion .manifest { height: 260vh; height: 260svh; }
.js-motion .manifest__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  padding: var(--header-h) 0 0;
}
.manifest__label { margin-bottom: 28px; font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.manifest__text { max-width: 26ch; font-size: clamp(2rem, 4.4vw, 4.4rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.12; }
.js-motion .manifest__text .w { color: rgba(238, 242, 255, .14); transition: color .35s ease; }
.js-motion .manifest__text .w.is-lit { color: var(--text); }
.manifest__more { display: inline-block; margin-top: 36px; font-size: 1rem; }

/* =========================================================
   OFERTA – karty nasuwające się na siebie
   ========================================================= */
.offer { position: relative; padding: var(--sec-pad) 0; }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px 72px; align-items: end;
  margin-bottom: clamp(44px, 6vw, 88px);
}
.sec-head h2, .diag__text h2, .contact h2 { font-size: clamp(2.5rem, 5.4vw, 5rem); letter-spacing: -0.045em; line-height: .96; }
.sec-head p { max-width: 44ch; color: var(--muted); }

.cards { display: grid; gap: 32px; }
.card {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  min-height: min(74vh, 640px);
  border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(160deg, #0d1430 0%, #080c1b 55%);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform-origin: 50% 0;
}
.js-motion .card { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 20px); }
.card__text {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  padding: clamp(28px, 4vw, 60px);
}
.card__text h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -0.04em; line-height: .98; }
.card__text p { max-width: 46ch; font-size: 1.0625rem; color: var(--text-2); }
.card__text .btn { align-self: flex-start; margin-top: 8px; }
.ticks { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; font-size: 1rem; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(34, 202, 212, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322cad4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.card__media { position: relative; margin: 0; min-height: 320px; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1129 0%, rgba(11, 17, 41, 0) 28%); }
.card__dim { position: absolute; inset: 0; z-index: 2; background: #02030a; opacity: 0; pointer-events: none; }

/* =========================================================
   SKLEP – galeria przewijana w bok
   ========================================================= */
.gallery { position: relative; padding: var(--sec-pad) 0 0; }
.gallery__head { margin-bottom: clamp(32px, 4vw, 56px); }
.gallery__viewport {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 8px;
}
.gallery__viewport::-webkit-scrollbar { display: none; }
.gallery__track { display: flex; gap: 20px; width: max-content; margin: 0; padding: 0 var(--gutter); list-style: none; }
.gallery__track li { flex: none; scroll-snap-align: center; }
.gallery__track figure { margin: 0; }
.gallery__track img { height: min(62vh, 560px); width: auto; border-radius: var(--r-img); }
.gallery__track figcaption { margin-top: 14px; font-size: .9375rem; color: var(--muted); }

@media (min-width: 761px) {
  .js-motion .gallery { padding: 0; height: var(--gal-h, auto); }
  .js-motion .gallery__stage {
    position: sticky; top: 0;
    height: 100vh; height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: var(--header-h);
    overflow: hidden;
  }
  .js-motion .gallery__viewport { overflow: visible; scroll-snap-type: none; }
  .js-motion .gallery__track { will-change: transform; }
  .js-motion .gallery__track img { height: min(56vh, 560px); }
}

/* =========================================================
   DIAGNOZA
   ========================================================= */
.diag { padding: var(--sec-pad) 0; }
.diag__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.diag__text > p { margin-top: 24px; max-width: 44ch; color: var(--text-2); }
.steps { position: relative; list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 6px; }
.steps::before {
  content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue)); opacity: .55;
}
.steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 20px; align-items: center; padding: 12px 0; }
.steps__n {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); box-shadow: inset 0 0 0 2px var(--cyan);
  font-size: .875rem; font-weight: 600; color: var(--cyan);
}

.picker {
  margin: 0; padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-card);
  background: linear-gradient(160deg, #0d1430 0%, #080c1b 60%);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.picker__title { margin-bottom: 18px; font-size: 1.375rem; font-weight: 650; letter-spacing: -0.02em; }
.picker__opts { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.opt {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border-radius: 16px; cursor: pointer;
  background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .2s, box-shadow .2s;
}
.opt:hover { background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line-2); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.opt svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.opt:has(input:checked) { background: rgba(34, 202, 212, .09); box-shadow: inset 0 0 0 1.5px var(--cyan), 0 14px 36px -20px rgba(34, 202, 212, .8); }
.opt:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.picker__out { margin-top: 22px; min-height: 5.2em; color: var(--text-2); }
.picker__btns { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { position: relative; isolation: isolate; overflow: hidden; padding: var(--sec-pad) 0 clamp(80px, 10vw, 140px); }
.contact::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 4%;
  width: min(1400px, 130vw); height: 760px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 113, 245, .24), rgba(34, 202, 212, .07) 55%, transparent);
}
.contact__phone {
  display: inline-block; margin-top: 18px;
  font-size: clamp(3.2rem, 11.8vw, 12rem); font-weight: 800; letter-spacing: -0.055em; line-height: .95;
  white-space: nowrap; text-decoration: none;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: filter .25s;
}
.contact__phone:hover { filter: brightness(1.15); }
.contact__phone:focus-visible { outline-offset: 8px; }
.contact__grid {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.35fr);
  gap: clamp(32px, 4vw, 64px); align-items: start;
}
.contact h3 { margin-bottom: 12px; font-size: .875rem; font-weight: 500; letter-spacing: 0; line-height: 1.2; color: var(--muted); }
.contact__col > p { margin-bottom: 22px; color: var(--text-2); }
.contact__col > h3:not(:first-child) { margin-top: 40px; }
.contact__col > p.contact__now { margin-bottom: 14px; font-weight: 500; color: var(--text); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 9px 12px; text-align: left; font-weight: 400; color: var(--text-2); border-top: 1px solid var(--line); }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--cyan); font-weight: 500; background: rgba(34, 202, 212, .07); }
.contact__photo { margin: 0; }
.contact__photo img { width: 100%; border-radius: var(--r-img); }
.contact__photo figcaption { margin-top: 14px; font-size: .9375rem; color: var(--muted); }

.map {
  margin-top: clamp(56px, 7vw, 96px); min-height: 320px;
  display: grid; border-radius: var(--r-card); overflow: hidden;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
}
.map__placeholder {
  display: grid; place-content: center; justify-items: center; gap: 20px;
  padding: 40px 24px; text-align: center; color: var(--muted);
  background-image: radial-gradient(rgba(214, 226, 255, .08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.map__placeholder p { max-width: 46ch; }
.map iframe { display: block; width: 100%; height: 460px; border: 0; filter: invert(.9) hue-rotate(185deg) saturate(.7) brightness(.95) contrast(1.05); }

/* =========================================================
   STOPKA
   ========================================================= */
.foot { position: relative; overflow: hidden; padding: 72px 0 0; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.foot__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 72px; }
.foot__logo { height: 38px; width: auto; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.foot__small { margin-top: 40px; font-size: .8125rem; }
.foot__mark {
  width: min(1500px, 94vw); margin: 56px auto 0; opacity: .07;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
}
.foot__mark img { width: 100%; height: auto; }

/* =========================================================
   SZYNA POSTĘPU (desktop) – ścieżka z „pinami” jak w logo
   ========================================================= */
.rail { display: none; }
@media (min-width: 1240px) and (hover: hover) {
  .rail { position: fixed; z-index: 40; left: 26px; top: 50%; translate: 0 -50%; display: block; width: 18px; height: min(46vh, 380px); }
}
.rail__line { position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; border-radius: 2px; overflow: hidden; background: var(--line); }
.rail__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); transform-origin: 50% 0; transform: scaleY(0); }
.rail__pad {
  position: absolute; left: 1px; width: 16px; height: 16px; translate: 0 -50%;
  border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-2);
  transition: box-shadow .3s;
}
.rail__pad.is-lit { box-shadow: inset 0 0 0 2px var(--cyan), 0 0 14px rgba(34, 202, 212, .55); }
.rail__pad span {
  position: absolute; left: 26px; top: 50%; translate: 0 -50%;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(8, 12, 27, .88); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .75rem; color: var(--text); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.rail__pad:hover span, .rail__pad:focus-visible span { opacity: 1; }

/* ---------- pasek akcji na telefonie ---------- */
.mbar { display: none; }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 960px) {
  .top__nav { display: none; }
  .status { margin-left: auto; }
  .sec-head, .diag__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact__photo { grid-column: 1 / -1; max-width: 720px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .top__call { display: none; }
  .status { height: 32px; padding: 0 12px; }

  .hero__title { font-size: clamp(2.7rem, 12.6vw, 4.4rem); }
  .hero__where { margin-top: 20px; }
  .hero__cta { margin-top: 26px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__cta .btn--ghost { display: none; }
  .rating { margin-top: 22px; }
  .hero__hint { left: var(--gutter); right: auto; top: calc(var(--header-h) + 16px); bottom: auto; }
  .hero__shade {
    background: radial-gradient(circle at center,
      rgba(4, 6, 14, 0) 0,
      rgba(4, 6, 14, .16) 9vmax,
      rgba(4, 6, 14, .8) 24vmax,
      rgba(4, 6, 14, .93) 42vmax);
  }
  .hero__scrim {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(4, 6, 14, .9) 42%, rgba(4, 6, 14, .08) 72%, rgba(4, 6, 14, .4) 100%);
  }

  .manifest__text { font-size: clamp(1.8rem, 8.4vw, 2.6rem); }

  .card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .js-motion .card { position: relative; top: auto; }
  .card__media { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .card__media::after { background: linear-gradient(0deg, #0b1129 0%, rgba(11, 17, 41, 0) 40%); }
  .card__text { padding: 22px 22px 28px; }

  .gallery__track { gap: 14px; }
  .gallery__track img { height: 52vw; max-height: 380px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__phone { font-size: clamp(2.6rem, 13.2vw, 5rem); }
  .foot { padding-bottom: 112px; }

  .mbar {
    position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; gap: 8px; padding: 7px; border-radius: 999px;
    background: rgba(8, 12, 27, .84);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 48px -16px rgba(0, 0, 0, .8);
    transition: transform .4s var(--ease);
  }
  .js .mbar:not(.is-visible) { transform: translateY(160%); }
  .mbar .btn { flex: 1; min-height: 48px; padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .btn, .top, .mbar, .hero__hint, .contact__phone { transition: none; }
}
