/* ==========================================================================
   DBF — Domy bez Formalności · style.css
   Ciemny motyw · akcent bursztyn · mobile-first · inżynieryjna powaga
   ========================================================================== */

/* ----- Fonts (lokalnie, subset PL, swap) --------------------------------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-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;
}

/* ----- Tokens ------------------------------------------------------------ */
:root {
  --bg:           #0a121c;
  --bg-2:         #0d1825;
  --surface:      #122031;
  --surface-2:    #18293c;
  --surface-3:    #213349;
  --border:       rgba(255, 255, 255, .08);
  --border-strong:rgba(255, 255, 255, .15);

  --text:         #f3f1ea;
  --text-muted:   #94a2b6;
  --text-dim:     #8a98ad;

  --amber:        #c9a24a;
  --amber-bright: #e4c47b;
  --amber-deep:   #9a7a2c;
  --amber-soft:   rgba(201, 162, 74, .12);
  --amber-glow:   rgba(201, 162, 74, .28);

  --success:      #34d399;
  --danger:       #f87171;
  --info:         #c9a24a;

  --r-xs: 8px;
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .25);
  --shadow:    0 12px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .5);
  --shadow-amber: 0 18px 50px rgba(201, 162, 74, .20);

  --container: 1200px;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 9vw, 7rem);

  --header-h: 68px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* ----- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: .01em; line-height: 1.12; }
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--amber); color: #0a121c; }

/* ----- Helpers ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-2); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section > .container { position: relative; z-index: 1; }
.section[data-watermark] { overflow: hidden; }
.section[data-watermark]::before {
  content: attr(data-watermark);
  position: absolute; left: 50%; bottom: -.06em; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(4rem, 15vw, 12.5rem); line-height: .8; letter-spacing: .02em;
  color: rgba(255, 255, 255, .022); z-index: 0; pointer-events: none; -webkit-user-select: none; user-select: none;
}
.visually-hidden {
  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-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--amber); color: #1a1206; padding: 10px 18px; border-radius: var(--r-xs);
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
.amber { color: var(--amber); }
.nowrap { white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--amber), transparent);
}
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::before { background: linear-gradient(90deg, transparent, var(--amber)); }
.section__head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--amber), transparent); }
.section__title { font-size: clamp(1.75rem, 4.2vw, 2.85rem); }
.section__lead { margin-top: 1rem; color: var(--text-muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.75rem;
  border-radius: 2px; font-weight: 700; font-size: .9rem; letter-spacing: .09em; text-transform: uppercase;
  background: var(--btn-bg); color: var(--text);
  border: 1px solid var(--border-strong);
  transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  text-align: center; line-height: 1.2;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--amber-bright), var(--amber) 55%, var(--amber-deep));
  color: #1a1206; border-color: transparent;
  box-shadow: var(--shadow-amber);
}
.btn--primary:hover { box-shadow: 0 22px 60px rgba(201, 162, 74, .34); }
.btn--ghost { background: rgba(255,255,255,.03); }
.btn--ghost:hover { background: rgba(255,255,255,.07); border-color: var(--amber); }
.btn--phone { background: var(--surface-2); }
.btn--phone:hover { border-color: var(--amber); }
.btn--lg { min-height: 60px; padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: .6rem 1.1rem; font-size: .92rem; }

/* ----- Header / Nav ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(6, 10, 16, .58), rgba(6, 10, 16, 0));
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 18, 28, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .42);
}
.nav {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__logo { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; }
.nav__logo-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-size: .95rem; font-weight: 800; color: #1a1206;
  background: linear-gradient(135deg, var(--amber-bright), var(--amber-deep));
  box-shadow: var(--shadow-amber);
}
.nav__logo small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.nav__links { display: none; gap: 1.5rem; align-items: center; white-space: nowrap; }
.nav__links a { position: relative; padding: .4rem .1rem; color: var(--text-muted); font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: color .2s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav__links a:hover, .nav__links a.is-active, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__phone { display: none; align-items: center; gap: .5rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.nav__phone svg { width: 18px; height: 18px; color: var(--amber); flex: none; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-xs);
  border: 1px solid var(--border-strong); background: var(--surface);
}
.nav__toggle span { width: 20px; height: 2px; background: var(--text); position: relative; transition: .25s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after { content:""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); transition: .25s var(--ease); }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

.nav__menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: rgba(10,18,28,.97); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: .25rem; padding: 1.4rem var(--gut) 2rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform .25s var(--ease), opacity .25s var(--ease), visibility 0s .25s;
  overflow-y: auto;
}
.nav.is-open .nav__menu { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition: transform .25s var(--ease), opacity .25s var(--ease), visibility 0s 0s; }
.nav__menu a { padding: 1rem .4rem; font-size: 1.2rem; font-weight: 700; border-bottom: 1px solid var(--border); }
.nav__menu .btn { margin-top: 1.2rem; }
.nav__menu-phones { margin-top: 1.4rem; display: grid; gap: .8rem; }
.nav__menu-phones a { border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: .9rem 1rem; }

/* ----- Hero -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(201,162,74,.16), transparent 60%),
    radial-gradient(800px 600px at 8% 110%, rgba(201,162,74,.08), transparent 60%);
}
.hero::after { /* subtle blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent);
          mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent);
}
.hero__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .45rem .9rem; border-radius: var(--r-pill);
  background: var(--amber-soft); border: 1px solid rgba(201,162,74,.3);
  color: var(--amber-bright); font-weight: 700; font-size: .82rem; letter-spacing: .02em; margin-bottom: 1.3rem;
}
.hero__title { font-size: clamp(2.1rem, 6.2vw, 4rem); letter-spacing: .01em; }
.hero__title .grad {
  background: linear-gradient(120deg, var(--amber-bright), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle { margin-top: 1.25rem; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-muted); max-width: 36ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__reassure { margin-top: 1rem; font-size: .9rem; color: var(--text-dim); display: flex; align-items: center; gap: .5rem; }
.hero__reassure svg { width: 16px; height: 16px; color: var(--success); flex: none; }

.hero__trust { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem 1.4rem; padding-top: 1.8rem; border-top: 1px solid var(--border); }
.hero__trust li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; font-weight: 600; color: var(--text-muted); }
.hero__trust svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 1px; }

.hero__media { position: relative; }
.hero__media-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero__media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: -14% -10% auto auto; width: 60%; height: 60%; z-index: -1;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%); filter: blur(20px);
}
.hero__badge {
  position: absolute; left: -10px; bottom: 18px; z-index: 2;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  padding: .8rem 1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .75rem; max-width: 78%;
}
.hero__badge svg { width: 30px; height: 30px; color: var(--amber); flex: none; }
.hero__badge strong { display: block; font-size: .95rem; }
.hero__badge span { font-size: .78rem; color: var(--text-dim); }

/* ----- Hero (home full-bleed) — wariant strony głównej (image #3) --------- */
.hero--home { display: flex; align-items: center; min-height: 100svh; margin-top: calc(var(--header-h) * -1); padding-block: calc(var(--header-h) + clamp(1.5rem, 4vh, 3rem)) clamp(3rem, 7vh, 5rem); isolation: isolate; }
.hero--home::before, .hero--home::after { display: none; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,10,13,.96), rgba(8,10,13,.9) 32%, rgba(8,10,13,.74) 55%, rgba(8,10,13,.34) 80%, rgba(8,10,13,.1)),
    linear-gradient(0deg, rgba(8,10,13,.92), rgba(8,10,13,0) 32%);
}
.hero--home .hero__content { position: relative; max-width: 680px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: .65rem; padding: .5rem 1.1rem; border-radius: 2px;
  background: rgba(20,26,33,.4); border: 1px solid rgba(201,162,74,.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-bright); margin-bottom: 1.7rem;
}
.hero__pill-dot { width: 7px; height: 7px; border-radius: 0; background: var(--amber); transform: rotate(45deg); box-shadow: none; flex: none; }
.hero--home .hero__title { font-size: clamp(2.4rem, 6.6vw, 4.6rem); line-height: 1.04; }
.hero__title-accent { display: block; color: var(--amber); }
.hero--home .hero__subtitle { margin-top: 1.4rem; max-width: 34ch; font-size: clamp(1.12rem, 2.1vw, 1.5rem); font-weight: 600; color: var(--text); }
.hero__desc { margin-top: 1.1rem; max-width: 56ch; color: #cfd6de; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.hero--home .hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero--home .hero__cta .btn { flex: 0 0 auto; }
.hero__signals { display: flex; flex-wrap: wrap; gap: .9rem 1.8rem; margin-top: 2.2rem; }
.hero__signals li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; color: var(--text); }
.hero__signals svg { width: 21px; height: 21px; color: var(--amber); flex: none; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: .55rem; color: var(--text-dim); font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.hero__scroll:hover { color: var(--text); }
.hero__mouse { width: 24px; height: 38px; border: 2px solid currentColor; border-radius: 13px; position: relative; }
.hero__mouse::before { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: heroScroll 1.7s var(--ease) infinite; }
@keyframes heroScroll { 0% { opacity: 0; transform: translateY(-3px); } 35% { opacity: 1; } 75% { opacity: 0; transform: translateY(9px); } 100% { opacity: 0; } }
@media (max-width: 719px) {
  /* --- Nagłówek: kompaktowe, czytelne logo + przycisk --- */
  .nav { gap: .55rem; }
  .nav__logo { font-size: .96rem; gap: .5rem; line-height: 1.12; }
  .nav__logo-mark { width: 34px; height: 34px; border-radius: 10px; font-size: .82rem; }
  .nav__logo small { font-size: .56rem; letter-spacing: .1em; }
  .nav__actions { gap: .4rem; }
  .nav__actions .btn--sm { padding: .5rem .85rem; font-size: .66rem; min-height: 42px; letter-spacing: .05em; white-space: nowrap; }

  /* --- Hero: lepsze proporcje, CTA wyżej --- */
  .hero--home { min-height: auto; margin-top: 0; padding-block: clamp(2.2rem, 9vh, 3.5rem); }
  .hero--home .hero__scrim { background: linear-gradient(180deg, rgba(8,10,13,.84), rgba(8,10,13,.72) 45%, rgba(8,10,13,.9)); }
  .hero__pill { font-size: .66rem; padding: .45rem .85rem; margin-bottom: 1.1rem; letter-spacing: .1em; }
  .hero--home .hero__title { font-size: clamp(2rem, 7.6vw, 3.1rem); line-height: 1.07; }
  .hero--home .hero__subtitle { margin-top: 1rem; font-size: 1.1rem; max-width: 32ch; }
  .hero__desc { margin-top: .85rem; font-size: 1rem; }
  .hero--home .hero__cta { flex-direction: column; gap: .7rem; margin-top: 1.5rem; }
  .hero--home .hero__cta .btn { width: 100%; }
  .hero__signals { gap: .65rem 1.3rem; margin-top: 1.5rem; }
  .hero__signals li { font-size: .9rem; }
  .hero__scroll { display: none; }
}

/* ----- Stats ------------------------------------------------------------- */
.stats { border-block: 1px solid var(--border); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--border); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.stat { background: var(--bg-2); padding: clamp(1.4rem, 3.5vw, 2.2rem) 1.2rem; text-align: center; }
.stat__num { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--amber-bright), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: .4rem; font-size: .9rem; color: var(--text-muted); font-weight: 600; }
.stat__sub { font-size: .75rem; color: var(--text-dim); }

/* ----- Why (pillars) ----------------------------------------------------- */
.why__grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0,1fr); }
.pillar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.6rem; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: linear-gradient(var(--amber), var(--amber-deep)); transition: height .35s var(--ease); }
.pillar:hover::before { height: 100%; }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--amber-soft); border: 1px solid rgba(201,162,74,.25); color: var(--amber);
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar__num { position: absolute; top: 1.3rem; right: 1.5rem; font-size: 2.4rem; font-weight: 800; color: rgba(255,255,255,.05); letter-spacing: -0.04em; }
.pillar__title { font-size: 1.18rem; margin-bottom: .55rem; }
.pillar__text { color: var(--text-muted); font-size: .96rem; }

.credibility {
  margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .7rem .8rem; align-items: center; justify-content: center;
  padding: 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
}
.credibility__label { flex-basis: 100%; text-align: center; font-weight: 700; font-size: .72rem; color: var(--amber); text-transform: uppercase; letter-spacing: .2em; margin-bottom: .15rem; }
.credibility__item { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--text-muted); padding: .5rem .9rem; background: rgba(255,255,255,.025); border: 1px solid var(--border); border-radius: 2px; }
.credibility__item strong { color: var(--text); font-weight: 700; }
.credibility__item svg { width: 14px; height: 14px; color: var(--amber); flex: none; }

/* ----- Marquee ribbon ---------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; align-items: center; padding-block: .95rem; white-space: nowrap; will-change: transform; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .03em; color: var(--text-muted); }
.marquee__group b { color: var(--amber); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ----- Process (steps) --------------------------------------------------- */
.process__steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: 1.1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.4rem 1.5rem;
  position: relative;
}
.step__num {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem; color: var(--amber);
  background: var(--amber-soft); border: 1px solid rgba(201,162,74,.3);
}
.step__side {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: var(--r-pill); margin-bottom: .5rem;
}
.step__side--you { background: rgba(201,162,74,.14); color: #e4c47b; }
.step__side--us { background: var(--amber-soft); color: var(--amber-bright); }
.step__side--win { background: rgba(52,211,153,.14); color: #6ee7b7; }
.step__title { font-size: 1.1rem; margin-bottom: .4rem; }
.step__text { color: var(--text-muted); font-size: .95rem; }

/* ----- Tech -------------------------------------------------------------- */
.tech__grid { display: grid; gap: 1.2rem; grid-template-columns: minmax(0,1fr); }
.tech-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.tech-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.tech-card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.tech-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tech-card:hover .tech-card__media img { transform: scale(1.05); }
.tech-card__tag { position: absolute; left: 12px; top: 12px; background: rgba(10,18,28,.75); backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: .35rem .8rem; font-size: .78rem; font-weight: 700; }
.tech-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.tech-card__title { font-size: 1.25rem; margin-bottom: .5rem; display: flex; align-items: center; gap: .55rem; }
.tech-card__title svg { width: 22px; height: 22px; color: var(--amber); flex: none; }
.tech-card__text { color: var(--text-muted); font-size: .95rem; margin-bottom: 1rem; }
.spec-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font-size: .78rem; font-weight: 600; padding: .35rem .7rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--text-muted); }

/* ----- Scope ------------------------------------------------------------- */
.scope__grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0,1fr); }
.scope-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.5rem; }
.scope-card__head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.scope-card__icon { width: 48px; height: 48px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: var(--amber-soft); border: 1px solid rgba(201,162,74,.25); color: var(--amber); }
.scope-card__icon svg { width: 25px; height: 25px; }
.scope-card__title { font-size: 1.12rem; }
.scope-card__text { color: var(--text-muted); font-size: .93rem; margin-bottom: 1rem; }
.scope-card__chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.scope-card__chips .chip { background: var(--amber-soft); border-color: rgba(201,162,74,.2); color: var(--amber-bright); }
.scope-band { margin-top: 1.4rem; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border);
  display: grid; grid-template-columns: minmax(0,1fr); }
.scope-band__media { aspect-ratio: 16 / 9; }
.scope-band__media img { width: 100%; height: 100%; object-fit: cover; }
.scope-band__body { padding: 1.6rem; display: flex; flex-direction: column; justify-content: center; background: var(--surface); }
.scope-band__body h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.scope-band__body p { color: var(--text-muted); }

/* ----- Gallery (realizacje) ---------------------------------------------- */
.gallery__grid { column-count: 2; column-gap: .9rem; }
.gallery__item { position: relative; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--border);
  display: block; width: 100%; background: var(--surface); break-inside: avoid; margin: 0 0 .9rem; padding: 0; }
.gallery__item figure { margin: 0; }
.gallery__item picture { display: block; }
.gallery__item img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem .9rem .8rem; text-align: left;
  font-size: .82rem; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); transform: translateY(8px); opacity: .92; transition: .25s var(--ease);
}
.gallery__item::after {
  content: "⤢"; position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center;
  background: rgba(10,18,28,.7); border: 1px solid var(--border-strong); border-radius: 8px; font-size: 1rem; color: var(--amber);
  opacity: 0; transform: scale(.8); transition: .2s var(--ease);
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: scale(1); }
.gallery__note { margin-top: 1.2rem; font-size: .88rem; color: var(--text-dim); display: flex; align-items: center; gap: .5rem; }
.gallery__note svg { width: 16px; height: 16px; color: var(--amber); }

/* ----- Lightbox ---------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(5,6,8,.93);
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox.is-open { display: flex; }
.lightbox__figure { max-width: 1100px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox__img { max-height: 80vh; width: auto; max-width: 100%; border-radius: var(--r-sm); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }
.lightbox__caption { color: var(--text-muted); font-size: .92rem; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; top: 50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid var(--border-strong); color: #fff; font-size: 1.5rem; transform: translateY(-50%);
  transition: background .2s; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--amber); color: #1a1206; }
.lightbox__prev { left: clamp(.5rem, 3vw, 2rem); }
.lightbox__next { right: clamp(.5rem, 3vw, 2rem); }
.lightbox__close { top: clamp(.8rem, 3vw, 1.6rem); right: clamp(.8rem, 3vw, 1.6rem); transform: none; }

/* ----- Apex Shelters ----------------------------------------------------- */
.apex { background:
    radial-gradient(900px 500px at 85% 0%, rgba(201,162,74,.10), transparent 60%),
    linear-gradient(180deg, #0a0c10, #0d1014);
  border-block: 1px solid var(--border); }
.apex__grid { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.apex__badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: var(--r-pill);
  background: rgba(201,162,74,.12); border: 1px solid rgba(201,162,74,.3); color: #e4c47b; font-weight: 700; font-size: .82rem; margin-bottom: 1rem; }
.apex__badge svg { width: 15px; height: 15px; flex: none; }
.apex__title { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.apex__lead { margin-top: 1rem; color: var(--text-muted); }
.apex__note { margin-top: 1.4rem; display: flex; gap: .8rem; padding: 1.1rem 1.3rem; border-radius: var(--r-sm);
  background: rgba(201,162,74,.08); border: 1px solid rgba(201,162,74,.28); }
.apex__note svg { width: 24px; height: 24px; color: var(--amber); flex: none; }
.apex__note p { font-size: .92rem; color: var(--text-muted); }
.apex__note strong { color: var(--text); }
.apex__features { margin-top: 1.6rem; display: grid; gap: .8rem; }
.apex__feature { display: flex; gap: .8rem; align-items: flex-start; }
.apex__feature svg { width: 22px; height: 22px; color: #e4c47b; flex: none; margin-top: 2px; }
.apex__feature strong { display: block; font-size: 1rem; }
.apex__feature span { font-size: .9rem; color: var(--text-muted); }

.apex__diagram { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg);
  padding: 1.4rem; box-shadow: var(--shadow); position: relative; }
.apex__diagram svg { width: 100%; height: auto; }
.apex__diagram svg text { font-family: inherit; }
.apex__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.3rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.apex__legend li { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: var(--text-muted); }
.apex__legend .dot { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.apex__legend .dot--amber { background: #f6a623; }
.apex__legend .dot--blue { background: #c9a24a; }
.apex__legend .dot--green { background: #34d399; }
.apex__diagram-cap { margin-top: .8rem; font-size: .8rem; color: var(--text-dim); text-align: center; }

/* ----- Funnel / Kreator CTA --------------------------------------------- */
.funnel { position: relative; overflow: hidden; }
.funnel::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 500px at 50% -20%, rgba(201,162,74,.16), transparent 60%); }
.funnel__card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); border-radius: var(--r-xl); padding: clamp(1.8rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg); text-align: center; max-width: 920px; margin-inline: auto;
}
.funnel__title { font-size: clamp(1.7rem, 4.5vw, 2.7rem); }
.funnel__lead { margin: 1rem auto 0; color: var(--text-muted); max-width: 52ch; }
.funnel__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.8rem 0; }
.funnel__step { font-size: .8rem; font-weight: 600; color: var(--text-muted); padding: .4rem .85rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.funnel__router { margin-top: 1.6rem; }
.funnel__router-label { font-size: .85rem; color: var(--text-dim); margin-bottom: .8rem; }
.funnel__router-grid { display: grid; gap: .7rem; grid-template-columns: minmax(0,1fr); max-width: 560px; margin: 0 auto; }
.funnel__router-grid a { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; text-align: left;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-sm); font-weight: 600;
  transition: border-color .2s, transform .2s, background .2s; }
.funnel__router-grid a:hover { border-color: var(--amber); transform: translateX(4px); background: var(--surface-2); }
.funnel__router-grid svg { width: 22px; height: 22px; color: var(--amber); flex: none; }
.funnel__router-grid .arrow { margin-left: auto; color: var(--text-dim); }
.funnel__cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.funnel__reassure { margin-top: 1.1rem; font-size: .85rem; color: var(--text-dim); }

/* ----- FAQ --------------------------------------------------------------- */
.faq__list { display: grid; gap: .8rem; max-width: 860px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.faq__item[open] { border-color: var(--border-strong); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem;
  font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q-icon { width: 26px; height: 26px; flex: none; position: relative; }
.faq__q-icon::before, .faq__q-icon::after { content: ""; position: absolute; background: var(--amber); border-radius: 2px; transition: transform .25s var(--ease); }
.faq__q-icon::before { top: 12px; left: 4px; width: 18px; height: 2px; }
.faq__q-icon::after { top: 4px; left: 12px; width: 2px; height: 18px; }
.faq__item[open] .faq__q-icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 1.4rem 1.3rem; color: var(--text-muted); font-size: .96rem; }

/* ----- Contact ----------------------------------------------------------- */
.contact__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0,1fr); }
.contact__info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.6rem; }
.contact__row { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact__row:last-child { border-bottom: none; }
.contact__row svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 3px; }
.contact__row-label { font-size: .78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.contact__row a, .contact__row strong { font-weight: 500; font-size: .78rem; letter-spacing: .06em; }
.contact__row span.small { display: block; font-size: .78rem; color: var(--text-muted); font-weight: 500; }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .45rem; }
.field label .req { color: var(--amber); }
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1rem; min-height: 52px; border-radius: var(--r-sm);
  background: var(--bg-2); border: 1px solid var(--border-strong); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); outline: none; }
.field--error input, .field--error textarea { border-color: var(--danger); }
.field__error { display: none; color: var(--danger); font-size: .82rem; margin-top: .4rem; }
.field--error .field__error { display: block; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .82rem; color: var(--text-muted); }
.consent input { width: 22px; height: 22px; min-height: auto; flex: none; margin-top: 2px; accent-color: var(--amber); }
.consent a { color: var(--amber); text-decoration: underline; }
.form__note { margin-top: 1rem; font-size: .82rem; color: var(--text-dim); text-align: center; }

/* ----- Sticky mobile CTA ------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .5rem; padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(10,18,28,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--border-strong);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { min-height: 50px; font-size: .95rem; padding: .7rem .8rem; }

/* ----- Footer ------------------------------------------------------------ */
.site-footer { background: #08090c; border-top: 1px solid var(--border); padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0,1fr); }
.footer__brand .nav__logo { margin-bottom: 1rem; }
.footer__tagline { color: var(--text-muted); font-size: .92rem; max-width: 40ch; }
.footer__col h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a, .footer__col li { color: var(--text-muted); font-size: .94rem; }
.footer__col a:hover { color: var(--amber); }
.footer__contact-item { display: flex; gap: .55rem; align-items: flex-start; }
.footer__contact-item svg { width: 17px; height: 17px; color: var(--amber); flex: none; margin-top: 3px; }
.footer__contact-item small { display: block; color: var(--text-dim); font-size: .76rem; }
.footer__nip { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-dim); }
.footer__nip strong { color: var(--text-muted); }
.footer__bottom { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--text-dim); }
.footer__bottom a { color: var(--text-muted); }
.footer__bottom a:hover { color: var(--amber); }

/* ----- Reveal on scroll (only hidden when JS active) --------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }

/* ----- Responsive -------------------------------------------------------- */
@media (min-width: 560px) {
  .gallery__grid { column-count: 3; }
}
@media (min-width: 720px) {
  .why__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tech__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .scope__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .hero__trust { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .funnel__router-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .scope-band { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
  .scope-band__media { aspect-ratio: auto; }
  .footer__grid { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr); }
  .contact__grid { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); }
}
@media (min-width: 940px) {
  :root { --header-h: 76px; }
  .hero__inner { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
  .why__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .apex__content { max-width: 820px; }
  .gallery__grid { column-count: 3; }
  .process__steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sticky-cta { display: none; }
}
/* Desktop nav appears later (1080) so the curated 6-item menu never crowds */
@media (min-width: 1080px) {
  .nav__links { display: flex; }
  .nav__phone { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__menu { display: none; }
  .nav__logo span:not(.nav__logo-mark) { white-space: nowrap; }
}
@media (min-width: 1140px) {
  .gallery__grid { column-count: 3; }
}

/* ==========================================================================
   KREATOR WYCENY
   ========================================================================== */
.kreator-body { min-height: 100vh; display: flex; flex-direction: column; }
.kreator-top {
  position: sticky; top: 0; z-index: 50; background: rgba(10,18,28,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.kreator-top__row { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.kreator-top__home { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; letter-spacing: -.02em; }
.kreator-top__home .nav__logo-mark { width: 32px; height: 32px; border-radius: 9px; font-size: .8rem; }
.kreator-top__phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem;
  padding: .5rem .9rem; border: 1px solid var(--border-strong); border-radius: var(--r-pill); }
.kreator-top__phone svg { width: 17px; height: 17px; color: var(--amber); }
.kreator-top__phone span { display: none; }
.progress { height: 5px; background: rgba(255,255,255,.06); }
.progress__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--amber-deep), var(--amber-bright));
  border-radius: 0 4px 4px 0; transition: width .45s var(--ease); }
.progress__meta { display: flex; justify-content: space-between; align-items: center; padding: .55rem var(--gut);
  font-size: .82rem; color: var(--text-muted); }
.progress__meta strong { color: var(--text); }
.progress__pct { color: var(--amber); font-weight: 800; }

.kreator-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: clamp(1.4rem,4vw,2.5rem) var(--gut) 3rem; }
.kreator-card { width: 100%; max-width: 720px; }
.kreator-step__head { margin-bottom: 1.6rem; }
.kreator-step__eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: .6rem; }
.kreator-step__title { font-size: clamp(1.4rem, 4vw, 2rem); }
.kreator-step__desc { margin-top: .6rem; color: var(--text-muted); }

.opt-grid { display: grid; gap: .7rem; }
.opt-grid--2 { grid-template-columns: minmax(0,1fr); }
@media (min-width: 600px) { .opt-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.opt {
  position: relative; display: flex; align-items: flex-start; gap: .85rem; width: 100%; text-align: left;
  padding: 1.05rem 1.15rem; min-height: 64px; border-radius: var(--r-sm);
  background: var(--surface); border: 1.5px solid var(--border-strong); color: var(--text);
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .12s var(--ease); cursor: pointer;
}
.opt:hover { border-color: var(--amber); background: var(--surface-2); }
.opt:active { transform: scale(.99); }
.opt.is-selected { border-color: var(--amber); background: var(--amber-soft); box-shadow: 0 0 0 1px var(--amber) inset; }
.opt__icon { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: rgba(201,162,74,.1); border: 1px solid rgba(201,162,74,.22); color: var(--amber); }
.opt__icon svg { width: 22px; height: 22px; }
.opt__body { flex: 1; }
.opt__label { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.opt__hint { font-size: .85rem; color: var(--text-muted); margin-top: .15rem; }
.opt__check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; display: grid; place-items: center; transition: .18s; }
.opt.is-selected .opt__check { background: var(--amber); border-color: var(--amber); }
.opt__check svg { width: 14px; height: 14px; color: #1a1206; opacity: 0; transition: opacity .15s; }
.opt.is-selected .opt__check svg { opacity: 1; }
.opt--multi .opt__check { border-radius: 7px; }
.tag-reco { font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #1a1206;
  background: var(--amber); padding: .12rem .5rem; border-radius: var(--r-pill); }

.subfields { margin-top: 1rem; display: grid; gap: 1rem; padding: 1.1rem; border: 1px dashed var(--border-strong); border-radius: var(--r-sm); background: var(--bg-2); }
.subfields[hidden] { display: none; }

/* Budget slider */
.budget__value { text-align: center; margin: 1rem 0 1.4rem; }
.budget__amount { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--amber-bright), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.budget__range { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--amber) var(--fill,30%), rgba(255,255,255,.1) var(--fill,30%)); outline-offset: 4px; }
.budget__range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-bright), var(--amber-deep)); border: 3px solid #1a1206; cursor: grab; box-shadow: var(--shadow-amber); }
.budget__range::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-bright), var(--amber-deep)); border: 3px solid #1a1206; cursor: grab; }
.budget__scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-dim); margin-top: .6rem; }
.budget__flex { margin-top: 1.2rem; }

/* Contact step */
.kreator .field input, .kreator .field select, .kreator .field textarea { background: var(--surface); }
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .5rem; }
.channel { text-align: center; padding: .7rem .4rem; border-radius: var(--r-sm); border: 1.5px solid var(--border-strong); background: var(--surface); font-size: .85rem; font-weight: 600; cursor: pointer; }
.channel.is-selected { border-color: var(--amber); background: var(--amber-soft); color: var(--amber-bright); }

/* Summary */
.summary__group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 1.1rem 1.25rem; margin-bottom: .8rem; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.summary__row:last-child { border-bottom: none; }
.summary__key { color: var(--text-muted); font-size: .9rem; }
.summary__val { font-weight: 700; text-align: right; }
.summary__edit { color: var(--amber); font-size: .82rem; font-weight: 700; background: none; }
.summary__send { display: grid; gap: .7rem; margin-top: 1.4rem; }
@media (min-width: 560px) { .summary__send { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .summary__send .btn--primary { grid-column: 1 / -1; } }
.btn--wa { background: #25d366; color: #07300f; border-color: transparent; }
.btn--wa:hover { box-shadow: 0 14px 40px rgba(37,211,102,.3); }

/* Nav buttons */
.kreator-nav { display: flex; gap: .8rem; align-items: center; margin-top: 1.8rem; }
.kreator-nav .btn--back { background: transparent; border-color: var(--border-strong); min-width: 110px; }
.kreator-nav .btn--next { flex: 1; }
.kreator-foot { margin-top: 1.3rem; text-align: center; }
.kreator-foot__call { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--amber); }
.kreator-foot__call svg { width: 17px; height: 17px; }
.kreator-foot__note { display: block; margin-top: .5rem; font-size: .82rem; color: var(--text-dim); }
.kreator-error { color: var(--danger); font-size: .9rem; margin-top: 1rem; min-height: 1.2em; font-weight: 600; }

/* Success */
.success { text-align: center; max-width: 560px; margin: 2rem auto; }
.success__icon { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1.5rem; display: grid; place-items: center;
  background: rgba(52,211,153,.12); border: 2px solid rgba(52,211,153,.4); }
.success__icon svg { width: 46px; height: 46px; color: var(--success); }
.success__title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.success__text { margin: 1rem 0 1.6rem; color: var(--text-muted); }
.success__phone { font-size: 1.4rem; font-weight: 800; color: var(--amber); }

.kreator-reset { background: none; color: var(--text-dim); font-size: .8rem; text-decoration: underline; }

/* ----- Overflow safety (no horizontal scroll) ---------------------------- */
.contact__grid > *, .contact__row, .contact__row > div { min-width: 0; }
.contact__row a, .footer__contact-item a, .footer__col a, .credibility__item, .form__note { overflow-wrap: anywhere; }
.scope-band, .scope-band__media, .hero__media, .tech-card, .tech-card__media, .gallery__item { min-width: 0; }
.summary__val { overflow-wrap: anywhere; }

/* ----- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
