@font-face {
  font-family: "Geltivo";
  src: url("assets/fonts/GELTIVO.otf") format("opentype");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Loading screen (index hero preloader) ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: #0a0a0b;
  transition: opacity 0.7s ease;
}
.loader.is-done { opacity: 0; pointer-events: none; }
.loader__logo {
  width: 54px;
  height: 54px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.92); }
  50%      { opacity: 1;   transform: scale(1); }
}
.loader__bar {
  width: 150px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: #f2f2ef;
  border-radius: 2px;
  transition: width 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .loader__logo { animation: none; opacity: 0.85; }
}

:root {
  --bg: #0a0a0b;
  --ink: #f4f4f2;
  --muted: #9a9a98;
  --line: rgba(255, 255, 255, 0.12);
  --pill: rgba(255, 255, 255, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

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

/* the scene is tall so there is room to scroll while the hero is pinned */
.scene { position: relative; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 48px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 14px 24px;
  /* lock a consistent bar height so the konsultacja nav (text back-link)
     matches the hero nav (which is taller due to its pill button) */
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 12, 13, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  will-change: transform, opacity;
}

.brand { display: flex; align-items: center; color: var(--ink); }
.brand__logo { height: 26px; width: auto; display: block; }

.nav__links {
  display: flex;
  gap: 34px;
  font-size: 15px;
  color: #d7d7d4;
}
.nav__links a { transition: color .25s ease; }
.nav__links a:hover { color: #fff; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.arrow { font-size: 0.95em; transition: transform .25s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn--ghost-pill {
  padding: 11px 18px;
  background: #f4f4f2;
  color: #0a0a0b;
  border-radius: 12px;
  font-weight: 600;
}
.btn--ghost-pill:hover { background: #fff; }

.btn--solid {
  padding: 15px 26px;
  background: #f4f4f2;
  color: #0a0a0b;
  font-weight: 600;
}
.btn--solid:hover { background: #fff; transform: translateY(-2px); }

.btn--outline {
  padding: 15px 26px;
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--ink);
}
.btn--outline:hover { border-color: #fff; transform: translateY(-2px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__inner {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1100px;
  padding: 0 24px;
  text-align: center;
  margin-top: 24vh;
}

.hero__title {
  font-family: "Geltivo", "Archivo", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.0;
  font-size: clamp(24px, 3.9vw, 50px);
  text-transform: uppercase;
  color: #f6f5f1;
  text-shadow: 0 2px 34px rgba(5, 6, 10, 0.8), 0 1px 4px rgba(5, 6, 10, 0.6);
  will-change: transform, opacity;
}
.hero__title .line { display: block; white-space: nowrap; }

.hero__cta {
  margin-top: clamp(40px, 7vh, 78px);
  will-change: transform, opacity;
}

.hero__lead {
  color: #c9c9c6;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  margin-bottom: 26px;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- COSMOS STARFIELD ---------- */
.stars {
  position: absolute;
  inset: 0;
  z-index: 0;             /* behind everything; scrim keeps them off the headline */
  pointer-events: none;
  will-change: transform, opacity;
}
.star-layer,
.star-drift {
  position: absolute;
  inset: -8%;            /* overscan so drift/parallax never reveals an edge */
  will-change: transform;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: #dfe6ff;
  opacity: var(--min, 0.2);
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: var(--min, 0.18); }
  50%      { opacity: var(--max, 0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .star { animation: none; opacity: var(--max, 0.5); }
}

/* occasional shooting star streaking across the background */
.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #eef4ff;
  box-shadow: 0 0 6px 1px rgba(200, 222, 255, 0.9);
  opacity: 0;
  pointer-events: none;
}
.shooting-star::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1px;
  width: 88px;
  height: 1.4px;
  transform: translateY(-50%);
  background: linear-gradient(to left, rgba(220, 235, 255, 0.85), transparent);
  border-radius: 2px;
}

/* ---------- GLOW ---------- */
.glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(150,160,180,0.10), transparent 70%),
    radial-gradient(90% 70% at 50% 120%, rgba(90,100,120,0.12), transparent 70%);
}

/* ---------- FLOATING ROCKS ---------- */
.field {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.rock {
  position: absolute;
  will-change: transform;
}
.rock__f {
  will-change: transform;
}
.rock img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  /* soft ambient shadow so each rock reads as floating (not grounded);
     darker + higher-contrast to sit in the near-black hero, rim light stays crisp */
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.55)) brightness(0.95) contrast(1.08);
}

/* --- two dominant monoliths: big column left, big flipped mass right.
   Pushed further off-screen so their masses frame the hero while leaving
   a clear dark band down the centre for the headline. --- */
.r-peak { left: -30vw; top: -26vh;    width: 60vw; z-index: 7; }
.r-peak img { transform: rotate(-3deg); }
.r-lean { right: -28vw; bottom: -28vh; width: 64vw; z-index: 8; }
.r-lean img { transform: rotate(180deg); } /* flipped upside-down to match reference */

/* --- floating debris scattered across the hero. They are fully opaque:
   depth is read purely through BLUR + DARKNESS, never transparency, so the
   fragments always look like solid rock — just softer and dimmer when far.
   Positions are spread wide (and kept out of the central headline band) so
   the pieces drift across the scene instead of stacking in a cluster. --- */
.deb { opacity: 1; }

/* near — biggest, only a hint of blur, mildest darkening */
.deb--3 { left: 7vw;   top: 68%; width: 6vw;   z-index: 6; }
.deb--3 img { filter: drop-shadow(0 14px 24px rgba(0,0,0,0.55)) brightness(0.8) contrast(1.05) blur(0.6px); transform: rotate(24deg); }
.deb--4 { right: 8vw;  top: 64%; width: 7vw;   z-index: 6; }
.deb--4 img { filter: drop-shadow(0 14px 24px rgba(0,0,0,0.55)) brightness(0.8) contrast(1.05) blur(0.6px); transform: rotate(200deg); }
.deb--7 { left: 14vw;  top: 44%; width: 5.5vw; z-index: 6; }
.deb--7 img { filter: drop-shadow(0 14px 24px rgba(0,0,0,0.55)) brightness(0.8) contrast(1.05) blur(0.7px); transform: rotate(14deg); }

/* mid — medium size, softer + darker */
.deb--1 { left: 9vw;   top: 20%; width: 4.6vw; z-index: 4; }
.deb--1 img { filter: drop-shadow(0 12px 20px rgba(0,0,0,0.55)) brightness(0.66) contrast(1.05) blur(1.4px); }
.deb--2 { right: 10vw; top: 17%; width: 4.4vw; z-index: 4; }
.deb--2 img { filter: drop-shadow(0 12px 20px rgba(0,0,0,0.55)) brightness(0.66) contrast(1.05) blur(1.4px); transform: rotate(-20deg); }
.deb--8 { right: 15vw; bottom: 15%; width: 4.8vw; z-index: 5; }
.deb--8 img { filter: drop-shadow(0 12px 20px rgba(0,0,0,0.55)) brightness(0.68) contrast(1.05) blur(1.2px); transform: rotate(120deg); }

/* far — smallest, heavy blur, darkest (recede into the deep background) */
.deb--5 { left: 27vw;  bottom: 11%; width: 3.4vw; z-index: 3; }
.deb--5 img { filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)) brightness(0.5) contrast(1.04) blur(2.6px); transform: rotate(50deg); }
.deb--6 { right: 26vw; top: 12%; width: 3.4vw; z-index: 3; }
.deb--6 img { filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)) brightness(0.52) contrast(1.04) blur(2.4px); transform: rotate(-40deg); }
.deb--9 { right: 31vw; bottom: 9%; width: 3vw;  z-index: 3; }
.deb--9 img { filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)) brightness(0.48) contrast(1.04) blur(2.8px); transform: rotate(-12deg); }
.deb--10 { left: 31vw; top: 9%; width: 3vw;   z-index: 3; }
.deb--10 img { filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)) brightness(0.5) contrast(1.04) blur(2.6px); transform: rotate(70deg); }

/* ---------- PLANET LIMB (full-bleed background, arc low-centre) ---------- */
.moon {
  position: absolute;
  left: 50%;
  top: 14%;
  width: 124vw;               /* always wider than the viewport → no side bars */
  transform: translateX(-50%);
  z-index: 4;                 /* behind the rocks and the text */
  pointer-events: none;
  /* black areas of the render drop out, leaving only the cool glowing arc */
  mix-blend-mode: screen;
}
.moon__inner {
  position: relative;
  will-change: transform;
  transform-origin: center center;
}
.moon__inner img {
  display: block;
  width: 100%;
  height: auto;
  /* a touch lighter so the horizon reads clearly, still behind the rocks.
     Desktop shows a smaller slice of the planet, so it needs a stronger lift
     than mobile (mobile is capped back down in the max-width:720px block). */
  filter: brightness(1.35);
  /* long fade so the top dissolves into space — never a hard edge/strip */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 20%, #000 40%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 20%, #000 40%);
}

/* ---------- HEADLINE SCRIM (keeps the title readable over the scene) ---------- */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 12;                /* above rocks/planet, below the text (z 20) */
  pointer-events: none;
  background: radial-gradient(64% 48% at 50% 37%,
    rgba(8, 9, 13, 0.9),
    rgba(8, 9, 13, 0.5) 48%,
    transparent 74%);
}

/* ---------- SCROLL HINT ---------- */
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint__line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ---------- SERVICES (glassmorphism) ---------- */
.services {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 20vh, 230px) 24px clamp(100px, 16vh, 200px);
  overflow: hidden;
}
/* atmospheric hand-off from the hero: the planet's cool glow lingers at the
   top and dissolves the boundary so the two sections feel like one scene */
.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  right: -10%;
  height: 62vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(70% 80% at 50% -6%, rgba(150, 180, 245, 0.16), transparent 60%),
    radial-gradient(120% 100% at 50% -20%, rgba(70, 100, 190, 0.10), transparent 62%);
  filter: blur(6px);
}

/* ambient colour so the frosted glass has something to refract */
.services__ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.7;
}
.blob--1 { width: 540px; height: 540px; left: -8%;  top: 12%;  background: radial-gradient(circle, rgba(96,130,200,0.30), transparent 70%); }
.blob--2 { width: 620px; height: 620px; right: -10%; top: 28%;  background: radial-gradient(circle, rgba(150,150,165,0.22), transparent 70%); }
.blob--3 { width: 460px; height: 460px; left: 38%;  bottom: -6%; background: radial-gradient(circle, rgba(120,90,180,0.20), transparent 70%); }

.services__head {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #cfe0ff, #5b8bef);
  box-shadow: 0 0 10px rgba(91,139,239,0.8);
}

.services__title {
  font-family: "Geltivo", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin: 26px auto 22px;
  color: #f4f4f2;
  max-width: 14ch;
}

.services__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: #b8b8b5;
  max-width: 560px;
  margin: 0 auto;
}

.services__grid {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: clamp(48px, 7vh, 84px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* the glass card */
.card {
  position: relative;
  isolation: isolate;
  padding: 42px 36px 46px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(155deg, rgba(255,255,255,0.085), rgba(255,255,255,0.025));
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s ease, box-shadow .4s ease;
}
/* top-edge sheen */
.card__glass {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(120% 60% at 50% -10%, rgba(255,255,255,0.14), transparent 60%);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.card__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  margin-bottom: 30px;
  border-radius: 16px;
  color: #f4f4f2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.card__icon svg { width: 26px; height: 26px; }

.card__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #f6f6f4;
  margin-bottom: 18px;
}
.card__text {
  font-size: 15px;
  line-height: 1.65;
  color: #a9a9a7;
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); }

/* ---------- AI ASSISTANT ---------- */
.assistant {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vh, 150px) 24px clamp(90px, 14vh, 170px);
  overflow: hidden;
}
.assistant__ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.assistant .blob--1 { width: 560px; height: 560px; left: -10%; top: 4%;   background: radial-gradient(circle, rgba(96,130,200,0.26), transparent 70%); }
.assistant .blob--3 { width: 520px; height: 520px; right: 2%;  bottom: 0%; background: radial-gradient(circle, rgba(120,90,180,0.20), transparent 70%); }

.assistant__inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* left copy */
.assistant__copy { max-width: 540px; }
/* position word in the lead — "Po prawej stronie" by default, "Niżej" once stacked */
.assistant__pos--narrow { display: none; }
.assistant__title {
  font-family: "Geltivo", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 22px 0 20px;
  color: #f4f4f2;
}
.assistant__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: #b8b8b5;
  max-width: 480px;
}

.features {
  list-style: none;
  display: flex;
  gap: 34px;
  margin-top: clamp(38px, 6vh, 64px);
}
.feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.feature__icon {
  color: #fafafa;
  opacity: 0.95;
}
.feature__icon svg { width: 30px; height: 30px; display: block; }
.feature__label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #e9e9e6;
}

/* ---------- CHAT PANEL (glassmorphism) ---------- */
.chat {
  position: relative;
  display: flex;
  flex-direction: column;
  height: clamp(520px, 70vh, 660px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.chat__header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}
.chat__avatar {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #f4f4f2;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
}
.chat__avatar svg { width: 22px; height: 22px; }
.chat__id { display: flex; flex-direction: column; gap: 3px; }
.chat__name { font-size: 15px; font-weight: 600; color: #f6f6f4; }
.chat__status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #9a9a98; }
.chat__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #5ce08a;
  box-shadow: 0 0 8px rgba(92,224,138,0.8);
}

.chat__log {
  flex: 1;
  overflow-y: auto;
  padding: 22px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}
.chat__log::-webkit-scrollbar { width: 6px; }
.chat__log::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.16); border-radius: 3px; }

.msg {
  max-width: 82%;
  padding: 12px 15px;
  font-size: 14.5px;
  line-height: 1.5;
  border-radius: 16px;
  white-space: pre-wrap;
  word-wrap: break-word;
  animation: msgIn .35s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.msg--bot {
  align-self: flex-start;
  color: #e8e8e5;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom-left-radius: 5px;
}
.msg--user {
  align-self: flex-end;
  color: #0a0a0b;
  background: #f2f2ef;
  border-bottom-right-radius: 5px;
}
.msg--error {
  align-self: flex-start;
  color: #ffb4b4;
  background: rgba(255, 90, 90, 0.10);
  border: 1px solid rgba(255, 90, 90, 0.28);
  border-bottom-left-radius: 5px;
}

/* typing indicator */
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #cfcfcc;
  animation: blink 1.3s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.chat__suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 20px 12px;
}
.chip {
  font: inherit;
  font-size: 12.5px;
  color: #d7d7d4;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.28); transform: translateY(-1px); }
.chat__suggest.is-hidden { display: none; }

.chat__input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}
.chat__field {
  flex: 1;
  font: inherit;
  font-size: 14.5px;
  color: #f4f4f2;
  padding: 12px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.chat__field::placeholder { color: #8a8a88; }
.chat__field:focus { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); }

.chat__send {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  color: #0a0a0b;
  background: #f4f4f2;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.chat__send svg { width: 19px; height: 19px; }
.chat__send:hover:not(:disabled) { background: #fff; transform: translateY(-1px); }
.chat__send:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- PROCESS (numbered steps) ---------- */
.process {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 14vh, 165px) 24px clamp(100px, 16vh, 190px);
  overflow: hidden;
}
.process__ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.process .blob--1 { width: 560px; height: 560px; left: -12%; top: 6%;   background: radial-gradient(circle, rgba(96,130,200,0.22), transparent 70%); }
.process .blob--3 { width: 520px; height: 520px; right: -8%; bottom: 8%; background: radial-gradient(circle, rgba(120,90,180,0.18), transparent 70%); }

.process__head {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.process__title {
  font-family: "Geltivo", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-top: 22px;
  color: #f4f4f2;
}

.process__steps {
  position: relative;
  z-index: 2;
  max-width: 700px;              /* tighter, centred column */
  margin: clamp(46px, 7vh, 84px) auto 0;
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 4vh, 52px);
}

/* padding-top reserves the space where the numeral rises above the card */
.step {
  position: relative;
  max-width: 450px;
  width: 100%;
  padding-top: clamp(66px, 7vw, 100px);
}
.step--left  { align-self: flex-start; }
.step--right { align-self: flex-end; }

/* giant numeral BEHIND the card: its top stays fully visible while the lower
   part tucks behind the glass, so it appears to rise from behind the card */
.step__num {
  position: absolute;
  top: -0.02em;
  left: -0.02em;
  z-index: 0;
  margin: 0;
  font-family: "Geltivo", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(116px, 15vw, 194px);
  /* line-height >= 1 so background-clip:text never crops the glyph top */
  line-height: 1.06;
  letter-spacing: -0.01em;
  opacity: 0.8;                  /* subtle background element */
  background: linear-gradient(180deg, #ffffff 0%, #c6c6c5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
}
/* 02 sits on the right — pull it inward (left) so it stays within the card's edge */
.step--right .step__num { left: auto; right: -0.02em; text-align: right; transform: translateX(-0.18em); }

.step__body {
  position: relative;
  z-index: 1;                    /* in front of the numeral */
  max-width: 450px;
  padding: 24px 30px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.1);
}
.step__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f6f6f4;
  margin-bottom: 14px;
}
.step__text { font-size: 15px; line-height: 1.65; color: #a9a9a7; }

.process__outro {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: clamp(64px, 11vh, 130px);
}
.process__outro-text {
  font-family: "Geltivo", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
  color: #f4f4f2;
  margin-bottom: 28px;
}

/* ---------- FAQ (accordion) ---------- */
.faq {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 14vh, 160px) 24px clamp(100px, 16vh, 190px);
  overflow: hidden;
}
.faq__ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.faq .blob--1 { width: 540px; height: 540px; left: -12%; top: 10%;  background: radial-gradient(circle, rgba(96,130,200,0.2), transparent 70%); }
.faq .blob--3 { width: 500px; height: 500px; right: -6%; bottom: 4%; background: radial-gradient(circle, rgba(120,90,180,0.16), transparent 70%); }

.faq__inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.faq__title {
  font-family: "Geltivo", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 22px 0 20px;
  color: #f4f4f2;
}
.faq__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: #b8b8b5;
  max-width: 340px;
  margin-bottom: 30px;
}

/* accordion list */
.faq__list { display: flex; flex-direction: column; gap: 14px; }

.faq__item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(155deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  transition: border-color .3s ease, background .3s ease;
}
.faq__item:hover { border-color: rgba(255, 255, 255, 0.16); }
.faq__item.is-open {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(155deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #f2f2ef;
}
.faq__q-text {
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* + icon that rotates into an × when open */
.faq__icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: #b9b9b6;
  transition: transform .38s cubic-bezier(.4, 0, .2, 1), color .3s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq__icon::before { top: 50%; left: 1px; width: 18px; height: 1.7px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 1px; height: 18px; width: 1.7px; transform: translateX(-50%); }
.faq__item.is-open .faq__icon { transform: rotate(135deg); color: #f4f4f2; }

/* animated reveal via grid-template-rows (0fr → 1fr) */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .42s cubic-bezier(.4, 0, .2, 1);
}
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner { overflow: hidden; }
.faq__answer p {
  margin: 0;
  padding: 0 56px 24px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #a9a9a7;
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  z-index: 2;
  overflow: hidden;               /* crops the giant brand watermark at the bottom */
  padding: clamp(80px, 12vh, 140px) 24px 0;
}
.footer__top {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.footer__headline {
  display: flex;
  align-items: flex-end;
  gap: 22px;
}
.footer__title {
  font-family: "Geltivo", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #f4f4f2;
}
.footer__circle {
  flex: none;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4f4f2;
  color: #0a0a0b;
  transition: transform .25s ease, background .25s ease;
}
.footer__circle svg { width: 20px; height: 20px; }
.footer__circle:hover { background: #fff; transform: translateY(-2px) rotate(0deg); }
.footer__circle:hover svg { transform: translate(1px, -1px); }

.footer__sub {
  margin: 26px 0 22px;
  font-size: 15px;
  color: #a9a9a7;
}

.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__col .eyebrow { margin-bottom: 24px; }
.footer__col a {
  font-size: 15px;
  color: #b0b0ae;
  padding: 7px 0;
  transition: color .2s ease;
}
.footer__col a:hover { color: #fff; }

/* giant brand watermark — cropped at the bottom by the footer's overflow */
.footer__brand {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: clamp(48px, 7vh, 92px);
  margin-bottom: -0.34em;         /* pulls the footer bottom up into the text = bottom crop */
  text-align: center;
  white-space: nowrap;
  font-family: "Geltivo", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(92px, 19.5vw, 300px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: rgba(244, 244, 242, 0.055);
  user-select: none;
  pointer-events: none;
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav { top: 14px; padding: 10px 12px 10px 18px; border-radius: 16px; min-height: 62px; }

  .hero__inner { margin-top: 22vh; padding: 0 20px; }
  .hero__title {
    font-size: clamp(19px, 6.15vw, 44px);
    font-stretch: 100%;
    line-height: 1.1;
  }
  /* keep each phrase on a single line so the headline collapses to exactly
     two lines: "WEBDESIGN SZYTY NA MIARĘ" / "NAJWYŻSZYCH AMBICJI." */
  .hero__title .line { white-space: nowrap; }

  .hero__cta { margin-top: 44px; }
  .scroll-hint { bottom: 18px; }

  /* two corner monoliths + centred moon for a tall screen */
  .r-peak  { left: -34vw; top: -14vh; bottom: auto; width: 94vw; }
  .r-lean  { right: -34vw; bottom: -12vh; top: auto; width: 98vw; }
  /* far wider so the 16:9 planet is tall enough to reach the bottom of a
     tall phone screen — its dark surface fills down past the viewport, no strip */
  .moon { width: 300vw; top: 28%; }
  /* mobile shows a much larger slice, so keep it at the softer lift */
  .moon__inner img { filter: brightness(1.12); }

  .services { padding: 80px 18px 96px; }
  .services__grid { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 34px 28px 38px; }

  .assistant { padding: 72px 18px 90px; }
  .features { gap: 18px; }
  .feature__label { font-size: 12.5px; }
  .chat { height: 560px; }

  .process { padding: 74px 18px 90px; }
  .process__steps { gap: 26px; max-width: 460px; }
  .step { max-width: none; align-self: stretch; padding-top: clamp(60px, 22vw, 96px); }
  .step__num { font-size: clamp(104px, 26vw, 156px); }
  .step--right .step__num { left: -0.02em; right: auto; text-align: left; transform: none; }
  .step__body { max-width: none; }

  .faq { padding: 74px 18px 90px; }
  .faq__inner { grid-template-columns: 1fr; gap: 34px; max-width: 560px; }
  .faq__lead { max-width: none; }
  .faq__q { padding: 18px 18px; gap: 14px; }
  .faq__answer p { padding: 0 40px 20px 18px; }

  .footer { padding: 72px 18px 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__cta { grid-column: 1 / -1; }
  /* truly centre the oversized watermark on the viewport (overflowing nowrap
     text won't centre on its own) and let it crop evenly on both sides */
  .footer__brand {
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    font-size: 32vw;
    margin-bottom: -0.36em;
  }
  /* watermark reads just "vebis" on mobile */
  .footer__brand-studio { display: none; }
}

@media (max-width: 980px) and (min-width: 721px) {
  .services__grid { grid-template-columns: 1fr; max-width: 560px; gap: 20px; }
  .faq__inner { grid-template-columns: 1fr; gap: 40px; max-width: 640px; }
  .faq__lead { max-width: none; }
}

/* stack the assistant columns before the chat panel gets too narrow */
@media (max-width: 900px) {
  .assistant__inner {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 560px;
  }
  .assistant__copy { max-width: none; }
  .assistant__lead { max-width: none; }
  /* chat now sits below the copy, not beside it — swap "Po prawej stronie" → "Niżej" */
  .assistant__pos--wide { display: none; }
  .assistant__pos--narrow { display: inline; }
}

/* ==================================================================
   CONSULTATION PAGE (konsultacja.html)
   ================================================================== */
.consult-nav { justify-content: space-between; }
.consult-nav__back {
  font-size: 15px;
  color: #d7d7d4;
  transition: color .25s ease;
}
.consult-nav__back:hover { color: #fff; }

.consult {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(120px, 18vh, 180px) 24px clamp(70px, 10vh, 120px);
}
.consult__ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.consult .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.65; }
.consult .blob--1 { width: 620px; height: 620px; left: -12%; top: -6%;   background: radial-gradient(circle, rgba(96,130,200,0.24), transparent 70%); }
.consult .blob--3 { width: 560px; height: 560px; right: -10%; bottom: -8%; background: radial-gradient(circle, rgba(120,90,180,0.2), transparent 70%); }

.consult__head {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vh, 68px);
  text-align: center;
}
.consult__title {
  font-family: "Geltivo", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin: 22px 0 18px;
  color: #f4f4f2;
}
.consult__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: #b8b8b5;
  max-width: 540px;
  margin: 0 auto;
}

.consult__grid {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}

/* shared glass card */
.consult__card {
  position: relative;
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02));
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.consult__card-head { margin-bottom: 24px; }
.consult__card-title {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f6f6f4;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.consult__card-note { color: #8f8f8d; font-weight: 500; }
.consult__card-sub { margin-top: 8px; font-size: 14.5px; color: #a9a9a7; }

/* --- direct contact fallback below the booking/form grid.
   Quiet, flat (no glass card) so it doesn't compete with the two cards:
   email on the left, phone on the right, split by a thin divider. --- */
.consult__contact {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: clamp(28px, 3vw, 44px) auto 0;
  padding-top: clamp(24px, 2.6vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.consult__contact-item + .consult__contact-item {
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.consult__contact-label {
  margin: 0 0 10px;
  font-size: 14px;
  color: #a9a9a7;
}
.consult__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  color: #f6f6f4;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.consult__contact-link:hover { color: #fff; transform: translateY(-1px); }
.consult__contact-note { margin: 8px 0 0; font-size: 13.5px; color: #8f8f8d; }

/* --- Cal.com prototype widget --- */
.cal {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
/* Cal.com inline embed — capped to roughly the form's height so the two
   columns stay balanced; the calendar scrolls internally if it's taller. */
.cal--embed { height: 560px; overflow-y: auto; overflow-x: hidden; }
.cal--embed > #calInline { min-height: 100%; }
.cal--embed iframe { border-radius: 16px; }

/* ==================================================================
   PRIVACY POLICY PAGE (polityka-prywatnosci.html) — shares the
   consult-page shell (nav, ambient, background); adds a readable
   legal-document column.
   ================================================================== */
.legal__wrap {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.legal__head { text-align: center; }
.legal__body { position: relative; z-index: 2; }
.legal__section { margin-bottom: clamp(30px, 5vh, 48px); }
.legal__section:last-child { margin-bottom: 0; }
.legal__body h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 23px);
  letter-spacing: -0.01em;
  color: #f6f6f4;
  margin-bottom: 14px;
}
.legal__body p {
  color: #b7b7b4;
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal__body p:last-child { margin-bottom: 0; }
.legal__body strong { color: #f2f2ef; font-weight: 600; }
.legal__body a {
  color: #f6f6f4;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.legal__body a:hover { color: #fff; }
.legal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.legal__list li {
  position: relative;
  padding-left: 22px;
  color: #b7b7b4;
  font-size: 15.5px;
  line-height: 1.75;
}
.legal__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.legal__back {
  margin-top: clamp(34px, 5vh, 52px);
  display: inline-flex;
}

/* ==================================================================
   COOKIE CONSENT BANNER (injected by cookie-consent.js on every page)
   ================================================================== */
.cookie-banner {
  position: fixed;
  left: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 200;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 14, 16, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #b7b7b4;
}
.cookie-banner__text a {
  color: #f2f2ef;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.cookie-banner__text a:hover { color: #fff; }
.cookie-banner__btn {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 10px;
  border: none;
  background: #f2f2ef;
  color: #0a0a0b;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cookie-banner__btn:hover { background: #fff; transform: translateY(-1px); }
@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__btn { width: 100%; }
}
.cal__bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.cal__dot { width: 8px; height: 8px; border-radius: 50%; background: #5ce08a; box-shadow: 0 0 8px rgba(92,224,138,0.8); }
.cal__brand { font-size: 14px; font-weight: 600; color: #f2f2ef; }
.cal__meta { margin-left: auto; font-size: 12.5px; color: #8f8f8d; }
.cal__body { padding: 18px 16px; }
.cal__month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cal__month-label { font-size: 15px; font-weight: 600; color: #ededea; }
.cal__nav {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #cfcfcc;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.cal__nav:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.24); }
.cal__weekdays,
.cal__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal__weekdays { margin-bottom: 8px; }
.cal__weekdays span { text-align: center; font-size: 11.5px; color: #7c7c7a; letter-spacing: 0.04em; }
.cal__day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.03);
  color: #cfcfcc;
  font-size: 13.5px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.cal__day:hover:not(:disabled) { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22); transform: translateY(-1px); }
.cal__day:disabled { color: #4a4a49; background: transparent; cursor: default; }
.cal__day.is-selected { background: #f2f2ef; color: #0a0a0b; border-color: #f2f2ef; font-weight: 600; }
.cal__slots {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
  align-items: center;
}
.cal__slots-label { font-size: 13px; color: #8f8f8d; }
.cal__slot {
  font: inherit;
  font-size: 13px;
  color: #e2e2df;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.cal__slot:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-1px); }
.cal__slot.is-selected { background: #f2f2ef; color: #0a0a0b; border-color: #f2f2ef; font-weight: 600; }
.cal__hint { margin-top: 16px; font-size: 12px; color: #6f6f6d; text-align: center; }

/* --- Contact form --- */
.cform { display: flex; flex-direction: column; gap: 18px; }
.cform__field { display: flex; flex-direction: column; gap: 8px; }
.cform__field label { font-size: 13.5px; font-weight: 500; color: #d0d0cd; }
.cform__req { color: #7fa8ff; }
.cform__opt { color: #85857f; font-weight: 400; }
.cform input,
.cform textarea {
  font: inherit;
  font-size: 15px;
  color: #f4f4f2;
  width: 100%;
  padding: 13px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.cform textarea { resize: vertical; min-height: 118px; line-height: 1.55; }
.cform input::placeholder,
.cform textarea::placeholder { color: #7f7f7d; }
.cform input:focus,
.cform textarea:focus { border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.08); }
.cform input.is-invalid,
.cform textarea.is-invalid { border-color: rgba(255, 110, 110, 0.6); background: rgba(255, 90, 90, 0.06); }

.cform__submit { justify-content: center; margin-top: 6px; }
.cform__submit:disabled { opacity: 0.55; cursor: not-allowed; }
.cform__status { font-size: 14px; line-height: 1.5; min-height: 1px; }
.cform__status.is-ok { color: #7fe0a0; }
.cform__status.is-err { color: #ffb4b4; }

@media (max-width: 880px) {
  .consult__grid { grid-template-columns: 1fr; max-width: 560px; gap: 20px; }
}
@media (max-width: 720px) {
  .consult { padding: 104px 18px 70px; }
  .consult-nav__back { font-size: 13px; }
  /* stack the contact columns; swap the side divider for a top one */
  .consult__contact { grid-template-columns: 1fr; gap: 24px; }
  .consult__contact-item + .consult__contact-item {
    padding-left: 0;
    border-left: none;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }
}
