/* ============================================================
   MONCO GROUP — Główny stylesheet
   Importuje tokens i definiuje wszystkie komponenty landing page'a
   ============================================================ */
@import url('tokens.css');

/* ─────────── LAYOUT ─────────── */
.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}
@media (min-width:1024px){
  .container{ padding:0 32px; }
}

.eyebrow{
  font-size:12px; font-weight:700; letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--zloto);
  margin:0 0 14px;
}

.section{ padding:72px 0; }
@media (min-width:1024px){ .section{ padding:112px 0; } }
.section--alt{ background:var(--tlo-jasne); }

.section-head{ max-width:780px; margin:0 0 40px; }
.section-head--center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:28px; }
@media (min-width:1024px){ .section-head h2{ font-size:42px; } }
.section-head .lead{
  margin-top:14px; font-size:17px; color:var(--szary); line-height:1.6;
}
@media (min-width:1024px){ .section-head .lead{ font-size:19px; } }

/* ─────────── BUTTONS ─────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 22px; border-radius:999px;
  font-weight:700; font-size:15px;
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space:nowrap; line-height:1;
}
.btn--primary{
  background:var(--zloto); color:var(--granat-deep);
  box-shadow:0 6px 18px rgba(201,162,39,.35);
}
.btn--primary:hover{ background:var(--zloto-light); transform:translateY(-1px); }

.btn--outline-light{
  background:transparent; color:var(--bialy);
  border:1.5px solid rgba(255,255,255,.55);
}
.btn--outline-light:hover{ border-color:var(--bialy); background:rgba(255,255,255,.06); }

.btn--outline-dark{
  background:transparent; color:var(--granat);
  border:1.5px solid var(--granat);
}
.btn--outline-dark:hover{ background:var(--granat); color:var(--bialy); }

.btn--block{ width:100%; }

/* ─────────── STATUS PILL ─────────── */
.status-pill{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; color:rgba(255,255,255,.85);
}
.dot{
  width:9px; height:9px; border-radius:50%;
  background:var(--zielony-puls);
  position:relative; flex:0 0 9px;
}
.dot::after{
  content:""; position:absolute; inset:-5px;
  border-radius:50%; background:var(--zielony-puls);
  opacity:.5; animation:puls 1.8s ease-out infinite;
}
@keyframes puls{
  0%{ transform:scale(.4); opacity:.6; }
  100%{ transform:scale(1.8); opacity:0; }
}

/* ─────────── HEADER ─────────── */
.site-header{
  position:sticky; top:0; left:0; right:0; z-index:50;
  background:var(--granat); color:var(--bialy);
  height:var(--header-h);
  width:100%;
  max-width:100vw;
  transition:box-shadow .2s ease;
}
.site-header.is-scrolled{ box-shadow:0 6px 18px rgba(0,0,0,.18); }
.site-header__inner{
  height:100%;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}
@media (max-width:480px){
  .site-header__inner{ gap:8px; }
}
.brand{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.brand svg{ height:30px; width:auto; display:block; }
@media (max-width:767px){ .brand svg{ height:26px; } }

.header__logo{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  line-height:0; /* eliminuje extra space pod img */
  flex-shrink:1;
  min-width:0;
}
.header__logo-img{
  height:40px;
  width:auto;
  display:block;
  max-width:200px;
}
@media (min-width:768px){
  .header__logo-img{ height:44px; }
}
@media (max-width:480px){
  .header__logo-img{ height:36px; max-width:160px; }
}
@media (max-width:360px){
  .header__logo-img{ height:32px; max-width:140px; }
}

.header-spacer{ flex:1 1 auto; }

.header-phone{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:700; font-size:15px;
  padding:6px 10px; border-radius:8px;
  flex-shrink:0;
}
.header-phone:hover{ color:var(--zloto-light); }
.header-phone svg{ width:14px; height:14px; }
@media (min-width:1024px){ .header-phone{ font-size:16px; } }
@media (max-width:480px){
  .header-phone{ display:none; } /* numer dostępny w burger menu */
}

.header-wa{
  display:inline-flex; align-items:center; gap:8px;
  background:#25D366; color:#0B2A1A;
  padding:8px 14px; border-radius:999px;
  font-weight:700; font-size:14px;
  flex-shrink:0;
}
.header-wa:hover{ filter:brightness(1.05); }
.header-wa svg{ width:16px; height:16px; }
.header-wa .full{ display:none; }
@media (min-width:768px){ .header-wa .full{ display:inline; } }
@media (max-width:480px){
  .header-wa{ padding:8px 10px; }
}

.header-status{ display:none; }
@media (min-width:1280px){
  .header-status{
    display:inline-flex; align-items:center; gap:8px;
    font-size:13px; color:rgba(255,255,255,.75); margin-left:8px;
  }
}

/* ─────────── BURGER + NAV MENU ─────────── */
.burger-btn{
  background:transparent;
  border:1.5px solid rgba(255,255,255,0.3);
  border-radius:8px; width:40px; height:40px;
  display:flex; flex-direction:column;
  justify-content:center; align-items:center;
  gap:5px; cursor:pointer; flex:0 0 40px;
  flex-shrink:0;
  transition: border-color .2s ease, background .2s ease;
}
.burger-btn:hover{ border-color:var(--zloto); background:rgba(255,255,255,0.05); }
.burger-btn span{
  display:block; width:18px; height:2px;
  background:#fff; border-radius:1px;
  transition: transform .3s ease, opacity .25s ease;
}
.burger-btn.is-open{ border-color:var(--zloto); background:rgba(201,162,39,.10); }
.burger-btn.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger-btn.is-open span:nth-child(2){ opacity:0; }
.burger-btn.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

#nav-overlay{
  position:fixed; inset:0;
  background:rgba(15,30,60,0.6);
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  z-index:199; opacity:0; visibility:hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
#nav-overlay.is-open{ opacity:1; visibility:visible; }

#nav-menu{
  position:fixed; top:0; right:-100%;
  width: min(360px, 88vw); height:100vh; height:100dvh;
  background:linear-gradient(135deg, var(--granat) 0%, var(--granat-dark) 100%);
  box-shadow:-8px 0 40px rgba(0,0,0,0.3);
  z-index:200; transition: right .3s ease;
  padding: 72px 28px 24px;
  overflow-y:auto;
  display:flex; flex-direction:column;
}
#nav-menu.is-open{ right:0; }

.nav-close{
  position:absolute; top:14px; right:14px;
  width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,0.06); color:#fff;
  border:1px solid rgba(255,255,255,0.12);
  display:grid; place-items:center;
  transition: background .15s ease, color .15s ease;
}
.nav-close:hover{ background:rgba(201,162,39,.20); color:var(--zloto-light); }

.nav-list{ list-style:none; margin:0 0 24px; padding:0; }
.nav-list li{ margin:0; }
.nav-link{
  display:block; padding:14px 0;
  color:#fff; font-size:17px; font-weight:600;
  border-bottom:1px solid rgba(255,255,255,0.10);
  transition: color .15s ease, padding-left .15s ease;
}
.nav-link:hover{ color:var(--zloto-light); padding-left:8px; }

.nav-cta{
  margin-top:auto; padding-top:24px;
  border-top:1px solid rgba(201,162,39,0.30);
  display:flex; flex-direction:column; gap:10px;
}
.nav-phone{
  display:inline-flex; align-items:center; gap:10px;
  color:var(--zloto); font-weight:700; font-size:16px;
}
.nav-phone:hover{ color:var(--zloto-light); }
.nav-wa{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:#25D366; color:#fff;
  padding:12px 20px; border-radius:10px;
  font-weight:700; font-size:15px;
}
.nav-wa:hover{ filter:brightness(1.05); }

/* ─────────── CREATOR BAR + MODAL ─────────── */
.creator-bar{
  background:#0F1F35; color:rgba(255,255,255,0.65);
  text-align:center; padding:14px 16px; font-size:13px;
  border-top:1px solid rgba(255,255,255,0.08);
}
#creator-trigger{
  background:none; border:none; color:var(--zloto);
  font-weight:700; cursor:pointer; padding:0 4px;
  font-size:13px;
  text-decoration:underline;
  text-decoration-color:rgba(201,162,39,0.4);
  text-underline-offset:3px;
  transition: text-decoration-color .2s ease, color .15s ease;
}
#creator-trigger:hover{ color:var(--zloto-light); text-decoration-color:var(--zloto-light); }

#creator-modal{
  position:fixed; inset:0; z-index:300;
  background:rgba(15,30,60,0.7);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  display:none; align-items:center; justify-content:center; padding:16px;
}
#creator-modal.is-open{ display:flex; animation:fadeIn .25s ease; }

.creator-modal-card{
  position:relative; background:#fff; border-radius:24px;
  padding:36px 28px 28px; max-width:480px; width:100%;
  box-shadow:0 24px 80px rgba(0,0,0,0.4);
  animation: popIn .3s ease;
}
#creator-close{
  position:absolute; top:12px; right:12px;
  width:36px; height:36px; border-radius:50%;
  background:var(--tlo-jasne); color:var(--szary);
  border:none; cursor:pointer; display:grid; place-items:center;
  transition: background .15s ease, color .15s ease;
}
#creator-close:hover{ background:var(--tlo-srednie); color:var(--tekst); }
.creator-logo{
  width:60px; height:60px; border-radius:16px;
  background:linear-gradient(135deg, var(--granat), var(--zloto));
  display:grid; place-items:center;
  font-size:22px; color:#fff; font-weight:800; letter-spacing:.05em;
  margin-bottom:18px;
  box-shadow:0 6px 16px rgba(15,30,60,.12);
}
.creator-modal-card h3{
  font-size:22px; font-weight:800; color:var(--granat);
  margin-bottom:6px; letter-spacing:-.01em;
}
.creator-tagline{
  color:var(--szary); margin-bottom:22px;
  font-size:14px; line-height:1.5;
}
.creator-contact{
  border-top:1px solid var(--tlo-srednie);
  padding-top:18px; display:grid; gap:8px;
}
.creator-founder{ margin-bottom:6px; font-size:14px; line-height:1.5; }
.creator-founder strong{ color:var(--granat); font-weight:800; }
.creator-founder span{ color:var(--szary); }
.creator-link{
  display:flex; align-items:center; gap:10px;
  padding:12px 14px; background:var(--tlo-jasne);
  border-radius:10px; color:var(--granat);
  font-weight:600; font-size:14px;
  transition: background .15s ease;
}
.creator-link:hover{ background:var(--tlo-srednie); }
.creator-icon{ font-size:16px; }

/* ─────────── HERO ─────────── */
.hero{
  position:relative; isolation:isolate;
  background:var(--granat-deep);
  color:var(--bialy); overflow:hidden;
  min-height:calc(100vh - var(--header-h));
  display:flex; align-items:center;
  padding:80px 0 64px;
}
.hero__photo{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center 30%;
  z-index:-3; opacity:1;
}
@media (max-width:640px){ .hero__photo{ object-position:center center; } }

.hero__bg{
  position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(560px 360px at 78% 18%, rgba(201,162,39,.20), transparent 70%),
    radial-gradient(420px 320px at 12% 88%, rgba(201,162,39,.12), transparent 70%);
}
.hero__video-placeholder{
  position:absolute; inset:0; z-index:-2; pointer-events:none;
  background:linear-gradient(135deg, rgba(31,58,95,0.85) 0%, rgba(21,41,74,0.92) 100%);
}

.hero__inner{ display:grid; gap:36px; align-items:center; }
@media (min-width:1024px){
  .hero__inner{ grid-template-columns: 1.15fr .85fr; gap:64px; }
}

.hero h1,
.hero__title{
  font-size:36px; line-height:1.07; font-weight:800;
  margin:14px 0 18px;
  color:var(--bialy);
}
.text-gold{ color:var(--zloto); }
@media (min-width:768px){ .hero h1{ font-size:45px; } }
@media (min-width:1024px){ .hero h1{ font-size:52px; } }
@media (min-width:1280px){ .hero h1{ font-size:60px; } }

.hero__sub{
  font-size:17px; color:rgba(255,255,255,.85);
  line-height:1.55; max-width:560px;
  margin-bottom:28px;
}
@media (min-width:1024px){ .hero__sub{ font-size:19px; } }

.hero__bullets{
  list-style:none; padding:0; margin:0 0 32px;
  display:grid; gap:10px 22px;
}
@media (min-width:768px){ .hero__bullets{ grid-template-columns:1fr 1fr; } }
.hero__bullets li{
  display:flex; align-items:flex-start; gap:10px;
  font-size:15px; color:rgba(255,255,255,.92);
}
.hero__bullets li::before{
  content:""; flex:0 0 18px; width:18px; height:18px; margin-top:2px;
  background-color:var(--zloto);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

.hero__ctas{
  display:flex; flex-direction:column; gap:12px;
  margin-bottom:22px;
}
@media (min-width:640px){ .hero__ctas{ flex-direction:row; flex-wrap:wrap; } }

.hero__side{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  border-radius:var(--radius-lg);
  padding:20px;
  backdrop-filter: blur(6px);
}
.hero__side h3{
  font-size:15px; font-weight:700; color:var(--zloto);
  letter-spacing:.12em; text-transform:uppercase;
  margin-bottom:14px;
}
.hero__stats{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.hero__stats div{
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius-md); padding:14px;
}
.hero__stats strong{
  display:block; font-size:24px; color:var(--bialy); line-height:1.1;
}
.hero__stats span{
  font-size:12px; color:rgba(255,255,255,.7);
  line-height:1.4; display:block; margin-top:4px;
}
@media (max-width:1023px){ .hero__side{ display:none; } }

/* ─────────── QUIZ ─────────── */
.quiz-wrap{ display:flex; flex-direction:column; align-items:center; }
.quiz-card{
  width:100%; max-width:720px;
  background:var(--bialy);
  border:1px solid var(--tlo-srednie);
  border-radius:var(--radius-lg);
  padding:24px;
  box-shadow:var(--shadow-md);
}
@media (min-width:768px){ .quiz-card{ padding:36px; } }

.quiz-progress{ margin-bottom:24px; }
.quiz-progress__meta{
  display:flex; justify-content:space-between;
  font-size:13px; color:var(--szary);
  margin-bottom:8px; font-weight:600;
}
.quiz-progress__bar{
  height:6px; background:var(--tlo-srednie);
  border-radius:999px; overflow:hidden;
}
.quiz-progress__fill{
  height:100%; width:25%;
  background:linear-gradient(90deg, var(--granat) 0%, var(--zloto) 100%);
  border-radius:999px;
  transition:width .35s ease;
}
.quiz-progress__hint{
  font-size:12px; color:var(--szary-light); margin-top:8px;
}

.quiz-step{ display:none; animation:fadeIn .3s ease both; }
.quiz-step.is-active{ display:block; }
@keyframes fadeIn{
  from{ opacity:0; transform:translateY(4px); }
  to{ opacity:1; transform:none; }
}

.quiz-question{
  font-size:20px; font-weight:800;
  letter-spacing:-.01em;
  margin-bottom:18px; color:var(--tekst);
}
@media (min-width:768px){ .quiz-question{ font-size:24px; } }

.quiz-options{ display:grid; gap:12px; }
.quiz-tile{
  display:grid; grid-template-columns:48px 1fr; gap:14px;
  text-align:left; padding:18px;
  border:1.5px solid var(--tlo-srednie); background:var(--bialy);
  border-radius:var(--radius-md);
  transition:border-color .15s ease, background .15s ease, transform .1s ease, box-shadow .15s ease;
  cursor:pointer; width:100%;
}
.quiz-tile:hover{ border-color:var(--zloto); box-shadow:var(--shadow-sm); }
.quiz-tile.is-selected{ border-color:var(--zloto); background:var(--zloto-soft); }
.quiz-tile__icon{
  width:44px; height:44px; border-radius:12px;
  background:var(--tlo-jasne);
  display:grid; place-items:center; font-size:22px;
}
.quiz-tile__title{
  font-weight:700; font-size:15px; color:var(--tekst);
  margin-bottom:4px; display:block;
}
.quiz-tile__desc{
  font-size:13px; color:var(--szary); line-height:1.5; display:block;
}

.quiz-tile--critical{ background:var(--czerwony-soft); border-color:#F2C3BE; }
.quiz-tile--critical .quiz-tile__icon{ background:#fff; color:var(--czerwony); }
.quiz-tile--critical:hover{ border-color:var(--czerwony); }
.quiz-tile--critical.is-selected{ border-color:var(--czerwony); background:#FBE7E3; }

/* Multi-select (krok zakres) */
.quiz-question__hint{
  color:var(--szary);
  font-size:14px;
  font-style:italic;
  margin:-10px 0 16px;
}
.quiz-options--multi{
  display:grid; gap:12px;
  grid-template-columns:1fr;
}
@media (min-width:640px){
  .quiz-options--multi{ grid-template-columns:1fr 1fr; }
}
.quiz-tile--multi{
  position:relative;
  display:grid; grid-template-columns:24px 48px 1fr; gap:12px;
  align-items:center;
  padding:16px;
  border:1.5px solid var(--tlo-srednie);
  background:var(--bialy);
  border-radius:var(--radius-md);
  cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
.quiz-tile--multi:hover{ border-color:var(--zloto); background:var(--zloto-soft); }
.quiz-tile__check{
  width:22px; height:22px;
  margin:0;
  accent-color:var(--zloto);
  cursor:pointer;
}
.quiz-tile--multi:has(.quiz-tile__check:checked){
  border-color:var(--zloto);
  background:var(--zloto-soft);
}
.quiz-tile--multi:has(.quiz-tile__check:focus-visible){
  outline:2px solid var(--granat);
  outline-offset:2px;
}
.quiz-tile--multi.is-selected{
  border-color:var(--zloto);
  background:var(--zloto-soft);
}

.quiz-nav--split{ justify-content:space-between; }
.quiz-next:disabled{ opacity:.5; cursor:not-allowed; }

.quiz-nav{
  display:flex; justify-content:space-between;
  align-items:center; margin-top:20px;
}
.quiz-back{
  font-size:13px; color:var(--szary); font-weight:600;
}
.quiz-back:hover{ color:var(--granat); }
.quiz-back[hidden]{ display:none; }

/* Processing */
.quiz-processing{ text-align:center; padding:24px 0; }
.quiz-cog{
  font-size:56px; color:var(--granat); display:inline-block;
  animation:spin 2.4s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }
.quiz-processing__lines{ margin-top:24px; }
.quiz-processing__lines p{
  opacity:0; font-size:15px; color:var(--szary);
  margin:6px 0; animation:lineIn .5s ease forwards;
}
.quiz-processing__lines p:nth-child(1){ animation-delay:.1s; }
.quiz-processing__lines p:nth-child(2){ animation-delay:1.1s; }
.quiz-processing__lines p:nth-child(3){ animation-delay:2.1s; }
@keyframes lineIn{ to{ opacity:1; } }

/* Contact step */
.quiz-contact h3{ font-size:22px; margin-bottom:6px; }
.quiz-contact > p{
  color:var(--szary); margin-bottom:20px; font-size:15px;
}
.field{ display:block; margin-bottom:14px; }
.field__label{
  display:block; font-size:13px; font-weight:600;
  color:var(--tekst); margin-bottom:6px;
}
.field__input{
  width:100%; padding:14px 16px;
  border:1.5px solid var(--tlo-srednie); border-radius:12px;
  background:var(--bialy);
  transition:border-color .15s ease, box-shadow .15s ease;
  font-size:16px;
}
.field__input:focus{
  outline:none; border-color:var(--zloto);
  box-shadow:0 0 0 3px rgba(201,162,39,.18);
}
.field__error{
  display:none; color:var(--czerwony);
  font-size:12px; margin-top:6px;
}
.field.has-error .field__input{ border-color:var(--czerwony); }
.field.has-error .field__error{ display:block; }

.checkbox{
  display:flex; align-items:flex-start; gap:10px;
  font-size:13px; color:var(--szary); line-height:1.45;
  margin:10px 0 18px; cursor:pointer;
}
.checkbox input{ margin-top:3px; accent-color:var(--zloto); }

.radio-stack{ display:grid; gap:10px; margin:8px 0 20px; }
.radio-tile{
  display:grid; grid-template-columns:22px 1fr; gap:12px;
  padding:14px 16px;
  border:1.5px solid var(--tlo-srednie);
  border-radius:14px; cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
.radio-tile:hover{ border-color:var(--zloto); }
.radio-tile input{ margin:3px 0 0; accent-color:var(--zloto); }
.radio-tile.is-selected{ border-color:var(--zloto); background:var(--zloto-soft); }
.radio-tile__title{
  font-weight:700; font-size:14px; color:var(--tekst); display:block;
}
.radio-tile__desc{
  font-size:12px; color:var(--szary); margin-top:2px; display:block;
}

.quiz-meta-note{
  display:block; text-align:center; margin-top:10px;
  font-size:12px; color:var(--szary);
}

.quiz-bonus-label{ margin-bottom:8px; }

.quiz-success__icon{ font-size:56px; }
.quiz-success__title{ margin:16px 0 8px; }
.quiz-success__msg{
  color:var(--szary); max-width:440px; margin:0 auto;
}
.quiz-success-wrap{ padding:40px 0; }
.quiz-success__back{ margin-top:18px; }
.page-back{ margin-top:32px; }

/* ─────────── LEGAL DOCS (regulamin, polityka prywatności) ─────────── */
.legal-doc{
  max-width:800px;
  margin:0 auto;
  padding:0 24px 96px;
  color:var(--tekst);
  line-height:1.7;
}
.legal-doc__head{
  padding:96px 0 48px;
  border-bottom:2px solid var(--zloto);
  margin-bottom:48px;
}
.legal-doc__head h1{
  font-size:36px; font-weight:800;
  color:var(--granat);
  margin:8px 0 12px;
  line-height:1.2;
}
.legal-doc__head .eyebrow{
  color:var(--zloto);
  font-size:12px; font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  margin:0;
}
.legal-doc__meta{
  color:var(--szary);
  font-size:14px;
  font-style:italic;
  margin:0;
}
.legal-doc section{ margin-bottom:40px; }
.legal-doc h2{
  font-size:22px; font-weight:700;
  color:var(--granat);
  margin:0 0 16px;
}
.legal-doc p{ margin:0 0 12px; font-size:16px; }
.legal-doc ul,
.legal-doc ol{ margin:0 0 16px; padding-left:24px; }
.legal-doc li{ margin-bottom:6px; font-size:16px; }
.legal-doc a{
  color:var(--granat);
  text-decoration:underline;
  text-decoration-color:var(--zloto);
  text-underline-offset:3px;
}
.legal-doc a:hover{ color:var(--zloto); }
.legal-doc__foot{
  margin-top:64px; padding-top:32px;
  border-top:1px solid var(--tlo-srednie);
  text-align:center;
  color:var(--szary);
}
.legal-doc__foot p{ margin-bottom:8px; }
@media (min-width:768px){
  .legal-doc__head h1{ font-size:48px; }
  .legal-doc h2{ font-size:26px; }
  .legal-doc{ padding:0 32px 128px; }
}

/* ─────────── SERVICES ─────────── */
.svc-card__figure{
  margin:-24px -24px 16px -24px;
  height:180px; overflow:hidden;
}
.svc-card__figure img{
  width:100%; height:180px;
  object-fit:cover; object-position:center;
  border-radius:12px 12px 0 0;
  display:block;
}

.svc-grid{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width:640px){ .svc-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .svc-grid{ grid-template-columns:repeat(3,1fr); gap:20px; } }

.svc-card{
  background:var(--bialy); border:1px solid var(--tlo-srednie);
  border-radius:var(--radius-md); padding:24px;
  display:flex; flex-direction:column; gap:12px;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.svc-card:hover{
  transform:translateY(-3px);
  border-color:var(--zloto);
  box-shadow:var(--shadow-md);
}
.svc-card__icon{
  width:48px; height:48px; border-radius:12px;
  background:var(--zloto-soft); color:var(--granat);
  display:grid; place-items:center; font-size:22px;
}
.svc-card h3{ font-size:20px; }
.svc-card p{
  font-size:15px; color:var(--szary); line-height:1.55; flex:1;
}
.svc-card__cta{
  color:var(--zloto); font-weight:700; font-size:14px;
  align-self:flex-start; padding:6px 0;
}
.svc-card__cta:hover{ color:var(--granat); }

/* ─────────── WHY ─────────── */
.why-grid{ display:grid; gap:18px; grid-template-columns:1fr; }
@media (min-width:768px){ .why-grid{ grid-template-columns:repeat(2,1fr); gap:24px; } }

.why-card{
  background:var(--bialy); border:1px solid var(--tlo-srednie);
  border-radius:var(--radius-md); padding:28px;
  display:flex; flex-direction:column; gap:14px;
}
.why-card__icon{
  width:56px; height:56px; border-radius:14px;
  background:var(--granat); color:var(--zloto);
  display:grid; place-items:center; font-size:24px;
}
.why-card h3{ font-size:22px; }
.why-card p{ font-size:15px; color:var(--szary); line-height:1.6; }
.why-card__detail{
  font-size:13px; color:var(--tekst);
  background:var(--tlo-jasne); padding:12px 14px;
  border-radius:10px; border-left:3px solid var(--zloto);
  line-height:1.5;
}

.pull-quote{
  margin:48px auto 0; max-width:880px;
  border-left:4px solid var(--zloto);
  padding:12px 0 12px 24px;
  font-size:19px; font-style:italic;
  color:var(--tekst); line-height:1.5;
}
@media (min-width:1024px){
  .pull-quote{ font-size:22px; padding-left:32px; }
}
.pull-quote cite{
  display:block; margin-top:12px;
  font-style:normal; font-size:14px;
  color:var(--szary); font-weight:600;
}

/* ─────────── CENNIK DARK BLOCK ─────────── */
.cennik-block{
  position:relative; isolation:isolate; overflow:hidden;
  max-width:900px; margin:0 auto;
  background:linear-gradient(135deg, var(--granat) 0%, var(--granat-dark) 100%);
  color:var(--bialy);
  border-radius:var(--radius-lg);
  padding:40px 24px;
  display:flex; flex-direction:column; gap:24px;
  text-align:center;
}
.cennik-block::before{
  content:""; position:absolute;
  top:-120px; right:-120px;
  width:360px; height:360px;
  background:radial-gradient(circle, rgba(201,162,39,.18) 0%, transparent 70%);
  pointer-events:none;
  z-index:0;
}
.cennik-block > *{ position:relative; z-index:1; }

.cennik-block__content{ display:contents; }

.cennik-eyebrow{ order:1; }
.cennik-h2{
  order:2;
  font-size:28px; color:var(--bialy);
  margin:0 0 24px;
}
.cennik-mockup-wrap{
  order:3;
  text-align:center;
  margin:0 auto 24px;
}
.cennik-mockup{
  width:100%; max-width:280px;
  border-radius:12px;
  transform:rotate(0deg);
  box-shadow:0 20px 60px rgba(0,0,0,0.4);
}
.cennik-sub{
  order:4;
  color:rgba(255,255,255,.8);
  font-size:16px; max-width:620px;
  margin:0 auto 28px;
}
.cennik-form{ order:5; }
.cennik-privacy{ order:6; }

@media (min-width:768px){
  .cennik-block{
    padding:56px 48px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
    text-align:left;
  }
  .cennik-block__content{ display:block; order:1; }
  .cennik-mockup-wrap{ order:2; margin:0; }
  .cennik-mockup{
    max-width:480px;
    transform:rotate(2deg);
  }
  .cennik-h2{ font-size:38px; }
  .cennik-sub{ margin:0 0 28px; max-width:none; }
  .cennik-form{ margin:0; }
}
.cennik-form{
  display:flex; flex-direction:column; gap:10px;
  max-width:520px; margin:0 auto;
}
@media (min-width:640px){ .cennik-form{ flex-direction:row; } }
.cennik-form input{
  flex:1; padding:14px 18px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06); color:var(--bialy);
  border-radius:999px; font-size:15px;
}
.cennik-form input::placeholder{ color:rgba(255,255,255,.55); }
.cennik-form input:focus{
  outline:none; border-color:var(--zloto);
  background:rgba(255,255,255,.10);
}
.cennik-note{ margin-top:14px; font-size:12px; color:rgba(255,255,255,.6); }

/* ─────────── CASES (accordion) ─────────── */
.cases{ display:grid; gap:12px; }
.case{
  background:var(--bialy); border:1px solid var(--tlo-srednie);
  border-radius:var(--radius-md);
  overflow:hidden;
}
.case__header{
  display:grid; grid-template-columns:48px 1fr auto;
  gap:14px; align-items:center;
  width:100%; padding:18px 20px; text-align:left;
}
.case__icon{
  width:40px; height:40px; border-radius:10px;
  background:var(--zloto-soft); color:var(--granat);
  display:grid; place-items:center; font-size:18px;
}
.case__title{
  font-weight:700; font-size:16px;
  color:var(--tekst); line-height:1.3;
}
@media (min-width:768px){ .case__title{ font-size:17px; } }
.case__toggle{
  width:32px; height:32px; border-radius:50%;
  background:var(--tlo-jasne);
  display:grid; place-items:center;
  color:var(--granat); font-size:18px; font-weight:700;
  transition:transform .25s ease, background .15s ease;
}
.case.is-open .case__toggle{
  transform:rotate(45deg);
  background:var(--zloto); color:var(--granat-deep);
}
.case__body{
  max-height:0; overflow:hidden;
  transition:max-height .35s ease;
}
.case__body-inner{
  padding:0 20px 22px 20px;
  display:grid; gap:12px;
}
.case__body-inner > figure{
  margin:0 0 8px;
  height:200px; overflow:hidden;
  border-radius:12px;
}
.case__body-inner > figure img{
  width:100%; height:200px;
  object-fit:cover; object-position:center;
  display:block;
}
.case__rows{
  margin:0;
  display:grid; gap:12px;
}
.case__row{
  display:grid; grid-template-columns:90px 1fr;
  gap:14px; font-size:14px; line-height:1.55;
}
.case__row dt{
  font-weight:700; color:var(--granat);
  font-size:12px; letter-spacing:.08em;
  text-transform:uppercase; padding-top:3px;
}
.case__row dd{ margin:0; color:var(--tekst); }
.case__missing-note{
  margin:0 0 4px;
  color:var(--szary); font-size:12px; font-style:italic;
}

.badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 12px; border-radius:999px;
  font-size:13px; font-weight:700; line-height:1;
}
.badge--success{ background:#E6F4EC; color:var(--zielony); }
.badge--pending{ background:#FFF6DA; color:#8A6D00; }

/* ─────────── TEAM / CERTS ─────────── */
.team-grid{ display:grid; gap:32px; grid-template-columns:1fr; }
@media (min-width:1024px){
  .team-grid{ grid-template-columns:320px 1fr; gap:48px; align-items:start; }
}
.team-portrait{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 12px 40px rgba(0,0,0,0.4);
}
.team-info h3{ font-size:30px; margin-bottom:6px; }
.team-info p{
  color:var(--szary); font-size:16px;
  line-height:1.65; margin-bottom:14px;
}
.team-info__eyebrow{ margin:6px 0 18px; }
.team-info__second-p{ margin-top:14px; }

/* TEAM SECTION (dark + cert badges) */
.team-section{
  position:relative; isolation:isolate;
  background:
    linear-gradient(135deg, rgba(31,58,95,0.92) 0%, rgba(21,41,74,0.96) 100%),
    url('../assets/images/cert-wall-overview.webp') center/cover no-repeat;
  background-attachment: scroll, fixed;
  color:#fff;
}
@media (max-width:1023px){
  .team-section{ background-attachment: scroll, scroll; }
}
.team-section .section-head h2{ color:#fff; }
.team-section .section-head .eyebrow{ color:var(--zloto); }
.team-section .team-info h3{ color:#fff; }
.team-section .team-info > p{ color:rgba(255,255,255,0.92); }
.team-section .team-info .eyebrow{ color:var(--zloto); }

.cert-intro{
  color:var(--zloto); font-size:13px;
  letter-spacing:.1em; text-transform:uppercase;
  font-weight:700; margin:40px 0 20px; text-align:center;
}
.cert-badge-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(120px,1fr));
  gap:14px; margin-top:12px;
}
.cert-badge-item{
  display:flex; flex-direction:column; align-items:center;
  text-align:center; gap:8px;
  padding:16px 8px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(201,162,39,0.3);
  border-radius:12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.cert-badge-item:hover{
  transform: translateY(-4px);
  background: rgba(201,162,39,0.15);
  border-color: rgba(201,162,39,0.55);
}
.cert-emoji{
  font-size:44px; line-height:1;
  filter: drop-shadow(0 4px 12px rgba(201,162,39,0.4));
}
.cert-badge-item span{
  color:#fff; font-size:11px; font-weight:700;
  line-height:1.3; max-width:120px;
  letter-spacing:.02em;
}

/* ─────────── PROCESS / WORKFLOW STEPPER ─────────── */
.workflow-container{
  position:relative;
  display:grid; gap:32px; grid-template-columns:1fr;
  margin-top:48px;
}
.workflow-line{
  position:absolute; z-index:0;
  top:0; bottom:32px; left:32px; width:3px;
  background:linear-gradient(180deg, var(--granat), var(--zloto));
  border-radius:2px;
}
.workflow-step{
  position:relative; z-index:1;
  display:grid; grid-template-columns:64px 1fr;
  gap:20px; align-items:start;
  opacity:0; transform:translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.workflow-step.visible{ opacity:1; transform:none; }
.step-dot{
  width:64px; height:64px; border-radius:50%;
  background:var(--granat); color:var(--zloto);
  border:4px solid var(--zloto);
  display:grid; place-items:center;
  font-weight:800; font-size:22px; line-height:1;
  box-shadow:0 8px 22px rgba(15,30,60,.18);
}
.step-content h4{
  font-size:18px; color:var(--granat);
  margin:6px 0 6px; font-weight:800; letter-spacing:-.01em;
}
.step-content p{
  color:var(--szary); font-size:14.5px;
  line-height:1.55; max-width:380px;
}
.step-icon{ font-size:22px; line-height:1; }

@media (min-width:1024px){
  .workflow-container{ grid-template-columns:repeat(6,1fr); gap:16px; }
  .workflow-line{
    top:30px; bottom:auto;
    left:calc(8.33% + 32px); right:calc(8.33% + 32px);
    width:auto; height:3px;
    background:linear-gradient(90deg, var(--granat), var(--zloto));
  }
  .workflow-step{
    display:flex; flex-direction:column;
    align-items:center; text-align:center; gap:14px;
  }
  .step-content{ display:flex; flex-direction:column; align-items:center; }
  .step-content p{ max-width:170px; font-size:13.5px; }
}

.process-ctas{
  display:flex; flex-wrap:wrap; gap:12px;
  margin-top:32px; justify-content:center;
}

/* ─────────── MAP ─────────── */
.mapa-container{
  position:relative; width:100%;
  aspect-ratio:13/10;
  border-radius:16px; overflow:hidden;
  box-shadow:0 12px 40px rgba(15,30,60,.15);
  background:#EEF1F6;
}
.mapa-container object{
  width:100%; height:100%;
  display:block; pointer-events:auto;
}
#mapa-tooltip{
  position:absolute;
  background:var(--granat); color:#fff;
  padding:8px 12px; border-radius:8px;
  font-size:13px; font-weight:600; line-height:1.4;
  pointer-events:none; opacity:0;
  transition:opacity .15s ease;
  box-shadow:0 4px 12px rgba(0,0,0,0.3);
  z-index:10; max-width:220px; white-space:nowrap;
}
#mapa-tooltip strong{ display:block; font-size:14px; margin-bottom:2px; }
#mapa-tooltip.is-visible{ opacity:1; }

.mapa-hint{
  position:absolute;
  left:50%; bottom:12px;
  transform:translateX(-50%);
  margin:0;
  padding:6px 14px;
  background:rgba(255,255,255,.94);
  border-radius:999px;
  color:var(--szary);
  font-size:13px;
  font-style:italic;
  pointer-events:none;
  box-shadow:0 2px 8px rgba(15,30,60,.10);
}

.map-grid{
  display:grid; gap:32px;
  grid-template-columns:1fr; align-items:start;
}
@media (min-width:1024px){
  .map-grid{ grid-template-columns:1fr 1fr; gap:48px; }
}
.map-info h3{ font-size:22px; margin-bottom:10px; }
.map-info p{
  font-size:15px; color:var(--szary);
  line-height:1.7; margin-bottom:14px;
}
.map-info__lead{ margin-top:18px; }
.map-cities{
  color:var(--tekst); line-height:1.9;
}
.map-cities span{ margin:0 4px; color:var(--szary-light); }

/* ─────────── FAQ ─────────── */
.faq{ display:grid; gap:8px; max-width:880px; margin:0 auto; }
.faq-item{
  background:var(--bialy);
  border:1px solid var(--tlo-srednie);
  border-radius:var(--radius-md);
}
.faq-header{
  width:100%;
  display:grid; grid-template-columns:1fr 32px;
  gap:14px; align-items:center;
  padding:18px 20px; text-align:left;
  font-weight:700; font-size:16px;
  color:var(--tekst); line-height:1.4;
}
.faq-toggle{
  width:32px; height:32px; border-radius:50%;
  background:var(--tlo-jasne);
  display:grid; place-items:center;
  color:var(--granat); font-size:18px; font-weight:700;
  transition:transform .25s ease, background .15s ease;
}
.faq-item.is-open .faq-toggle{
  transform:rotate(45deg);
  background:var(--zloto); color:var(--granat-deep);
}
.faq-body{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-body-inner{
  padding:0 20px 20px;
  font-size:15px; color:var(--szary); line-height:1.65;
}
.faq-body-inner strong{ color:var(--tekst); }

/* ─────────── FOOTER ─────────── */
.footer{
  background:linear-gradient(135deg, var(--granat) 0%, var(--granat-dark) 100%);
  color:var(--bialy);
  padding:64px 0 24px;
}
.footer-grid{ display:grid; gap:40px; grid-template-columns:1fr; }
@media (min-width:1024px){ .footer-grid{ grid-template-columns:1fr 1fr; gap:64px; } }

.footer h3{ font-size:24px; color:var(--bialy); margin-bottom:16px; }
.footer .eyebrow{ color:var(--zloto); }

.contact-list{
  list-style:none; padding:0;
  margin:0 0 20px;
  display:grid; gap:12px;
}
.contact-list a, .contact-list li{
  display:inline-flex; align-items:center; gap:10px;
  font-size:15px; color:rgba(255,255,255,.92);
}
.contact-list a:hover{ color:var(--zloto-light); }
.contact-list .ic{
  width:20px; height:20px;
  display:grid; place-items:center;
  color:var(--zloto); font-size:14px;
}
.footer-meta{
  font-size:13px; color:rgba(255,255,255,.6);
  line-height:1.6; max-width:420px;
}

.footer-form{ display:grid; gap:12px; }
.footer-form input,
.footer-form textarea{
  width:100%; padding:14px 16px; border-radius:12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  color:var(--bialy); font-size:15px; resize:vertical;
}
.footer-form input::placeholder,
.footer-form textarea::placeholder{ color:rgba(255,255,255,.55); }
.footer-form input:focus,
.footer-form textarea:focus{
  outline:none; border-color:var(--zloto);
  background:rgba(255,255,255,.10);
}
.footer-form textarea{ min-height:96px; }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:48px; padding-top:20px;
  display:flex; flex-direction:column; gap:8px;
  justify-content:space-between;
  font-size:12px; color:rgba(255,255,255,.55);
}
@media (min-width:768px){
  .footer-bottom{ flex-direction:row; align-items:center; }
}
.footer-bottom a:hover{ color:var(--zloto-light); }

/* ─────────── EXIT POPUP ─────────── */
.exit{
  position:fixed; inset:0; z-index:100;
  background:rgba(15,30,60,.70);
  -webkit-backdrop-filter:blur(8px);
          backdrop-filter:blur(8px);
  display:none; align-items:center; justify-content:center;
  padding:16px;
  animation:fadeIn .25s ease;
}
.exit.is-open{ display:flex; }
.exit-card{
  position:relative; background:var(--bialy);
  border-radius:var(--radius-lg);
  padding:32px 24px;
  max-width:480px; width:100%;
  box-shadow:var(--shadow-lg);
  animation:popIn .3s ease;
}
@keyframes popIn{
  from{ transform:scale(.96); opacity:0; }
  to{ transform:scale(1); opacity:1; }
}
.exit-close{
  position:absolute; top:14px; right:14px;
  width:36px; height:36px; border-radius:50%;
  display:grid; place-items:center;
  color:var(--szary); background:var(--tlo-jasne);
}
.exit-close:hover{ background:var(--tlo-srednie); color:var(--tekst); }
.exit-icon{
  width:64px; height:64px; border-radius:50%;
  background:var(--zloto-soft); color:var(--granat);
  display:grid; place-items:center;
  margin:0 auto 16px; font-size:30px;
}
.exit-card h3{
  text-align:center; font-size:22px; margin-bottom:8px;
}
.exit-card > p{
  text-align:center; color:var(--szary);
  font-size:14px; margin-bottom:20px; line-height:1.5;
}
.exit-form{ display:grid; gap:12px; }
.exit-form .field{ margin:0; }
.exit-form .checkbox{ margin:0 0 4px; }
.exit-dismiss{
  display:block; text-align:center;
  margin-top:14px;
  color:var(--szary-light); font-size:13px;
}
.exit-dismiss:hover{ color:var(--szary); }

/* Form success state (used by JS replace) */
.form-success{
  text-align:center; padding:18px 0;
}
.form-success__icon{ font-size:42px; }
.form-success__msg{ margin-top:8px; color:var(--szary); }
