/* =====================================================================
   STRONA SPRZEDAŻOWA (premium) — pierwszy ekran na cały ekran + sekcje:
   korzyści, Doradzamy, konfigurator, realizacje, opinie, pytania, kontakt.
   Kolory i czcionki: zmienne na górze css/styl.css (jedno miejsce).
   ===================================================================== */
:root { --hero-tekst: #ffffff; --ciemny: #15181c; }

/* ---------- nagłówek na scenie ---------- */
.naglowek-premium { position: absolute; z-index: 6; inset: 0 0 auto 0; color: #fff; }
.naglowek-premium .kontener { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.naglowek-premium nav { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; }
.naglowek-premium nav a { color: inherit; text-decoration: none; opacity: .86; min-height: 44px; display: inline-flex; align-items: center; }
.naglowek-premium nav a:hover { opacity: 1; }
.naglowek-premium .naglowek-tel { opacity: 1; font-family: var(--czcionka); font-weight: 600; font-size: 14.5px; padding: 0 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(255,255,255,.08); }
.naglowek-premium .logo { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
@media (max-width: 960px) { .naglowek-premium nav { display: none; } }

/* ---------- pierwszy ekran: scena na cały ekran ---------- */
.hero-premium { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: var(--hero-tekst); background: #9fb6c8; isolation: isolate; }
.hero-premium .hero-plakat { position: absolute; inset: 0; z-index: 0; padding: 0; display: block; transition: opacity 1.2s ease; }
.hero-premium .hero-plakat img { width: 100%; height: 100%; object-fit: cover; display: block; animation: plakat-ruch 24s ease-in-out infinite alternate; }
@keyframes plakat-ruch { from { transform: scale(1.02); } to { transform: scale(1.08) translateX(-1.2%); } }
.hero-premium[data-faza="3d"] .hero-plakat { opacity: 0; pointer-events: none; }
.hero-premium .hero-scena { position: absolute; inset: 0; z-index: 0; }
.hero-premium .hero-scena canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-premium::before { /* miękki gradient pod tekstem */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(12,16,22,.62) 0%, rgba(12,16,22,.34) 34%, rgba(12,16,22,0) 58%), linear-gradient(0deg, rgba(12,16,22,.55) 0%, rgba(12,16,22,0) 30%), linear-gradient(180deg, rgba(12,16,22,.38) 0%, rgba(12,16,22,0) 18%);
}
.hero-premium .hero-tresc { position: absolute; z-index: 2; inset: 0; display: flex; align-items: flex-end; padding-bottom: clamp(96px, 15vh, 150px); pointer-events: none; }
.hero-premium .hero-tekst { max-width: 600px; pointer-events: auto; }
.hero-premium .hero-znacznik { color: #f3d9b8; }
.hero-premium h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.0; letter-spacing: -.04em; font-weight: 600; margin: 0 0 20px; color: #fff; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-premium .hero-zdanie { color: rgba(255,255,255,.88); font-size: clamp(16px, 1.35vw, 19px); max-width: 470px; margin: 0 0 30px; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.hero-przyciski { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-jasny { display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 600; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s ease; }
.btn-jasny:hover { background: rgba(255,255,255,.2); }
.hero-zaufanie { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255,255,255,.85); }
.hero-zaufanie li { display: flex; align-items: center; gap: 8px; }
.hero-zaufanie li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--akcent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; flex-shrink: 0; }
.hero-tekst > * { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.hero-premium[data-koniec="1"] .hero-tekst > * { opacity: 1; transform: none; }
.hero-premium[data-koniec="1"] .hero-tekst > *:nth-child(2) { transition-delay: .1s; }
.hero-premium[data-koniec="1"] .hero-tekst > *:nth-child(3) { transition-delay: .2s; }
.hero-premium[data-koniec="1"] .hero-tekst > *:nth-child(4) { transition-delay: .3s; }
.hero-premium[data-koniec="1"] .hero-tekst > *:nth-child(5) { transition-delay: .4s; }
.hero-premium .hero-etapy { z-index: 3; bottom: 26px; color: #fff; }
.hero-premium .hero-etapy li { color: rgba(255,255,255,.5); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero-premium .hero-etapy li[data-stan="aktywny"] { color: #fff; }
.hero-premium .hero-etapy li[data-stan="zrobiony"] { color: rgba(255,255,255,.75); }
.hero-premium .hero-pomin { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(10,14,20,.25); }
.hero-premium .hero-powtorz { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.35); background: rgba(10,14,20,.2); }
.hero-przewin { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px; opacity: 0; transition: opacity .8s ease 1s; }
.hero-przewin::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: przewin 1.8s ease-in-out infinite; }
@keyframes przewin { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.hero-premium[data-koniec="1"] .hero-przewin { opacity: 1; }
@media (max-width: 760px) {
  .hero-premium { min-height: 640px; }
  .hero-premium::before { background: linear-gradient(0deg, rgba(12,16,22,.82) 0%, rgba(12,16,22,.55) 38%, rgba(12,16,22,0) 64%), linear-gradient(180deg, rgba(12,16,22,.35) 0%, rgba(12,16,22,0) 16%); }
  .hero-premium .hero-tresc { padding-bottom: 88px; }
  .hero-premium .hero-tekst > * { opacity: 1; transform: none; }
  .hero-premium h1 { font-size: clamp(34px, 9.6vw, 46px); }
  .hero-premium .hero-etapy { top: auto; bottom: 18px; }
  .hero-premium .hero-powtorz { top: auto; bottom: 18px; }
  .hero-przyciski a { flex: 1 1 100%; justify-content: center; }
  .hero-premium .btn-hero { justify-content: space-between; }
  .hero-zaufanie { font-size: 13px; gap: 6px 14px; margin-top: 18px; }
  .hero-przewin { display: none; }
}

/* ---------- sekcje ---------- */
.sekcja { padding: clamp(64px, 9vw, 124px) 0; }
.sekcja-ciemna { background: var(--ciemny); color: #eceae5; }
.sekcja-ciemna .sek-lead { color: rgba(236,234,229,.72); }
.sek-glowa { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sek-znacznik { display: inline-flex; align-items: center; gap: 10px; font-family: var(--czcionka-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--akcent); margin-bottom: 16px; }
.sek-znacznik::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.sek-tytul { font-size: clamp(32px, 4vw, 54px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; margin: 0 0 16px; text-wrap: balance; }
.sek-lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--tekst-2); margin: 0; max-width: 640px; }

.korzysci { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.korzysc { padding: 30px 28px 32px; background: var(--tlo-karta); border: 1px solid var(--linia); border-radius: 20px; }
.korzysc-ikona { width: 52px; height: 52px; border-radius: 14px; background: var(--akcent-jasny); display: grid; place-items: center; margin-bottom: 22px; }
.korzysc-ikona svg { width: 26px; height: 26px; stroke: var(--akcent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.korzysc h3 { font-size: 21px; letter-spacing: -.015em; margin: 0 0 8px; }
.korzysc p { margin: 0; color: var(--tekst-2); }
.korzysc-liczba { display: block; font-size: 40px; font-weight: 600; letter-spacing: -.03em; color: var(--tekst); margin: 18px 0 0; }
.korzysc-liczba small { font-size: 14px; font-weight: 500; color: var(--tekst-2); letter-spacing: 0; margin-left: 6px; }

/* Doradzamy */
.doradzamy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.doradca { position: sticky; top: 24px; padding: 34px; border-radius: 24px; background: linear-gradient(160deg, #20252b, #15181c); color: #eceae5; border: 1px solid rgba(255,255,255,.07); }
.doradca-cytat { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; letter-spacing: -.015em; margin: 0 0 22px; color: #fff; }
.doradca-osoba { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.doradca-awatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--akcent), #6d4a2b); display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 19px; flex-shrink: 0; }
.doradca-osoba strong { display: block; color: #fff; }
.doradca-osoba span { font-size: 14px; color: rgba(236,234,229,.65); }
.doradca-tel { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; border-radius: 999px; background: var(--akcent); color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: .01em; }
.doradca-godziny { margin: 12px 0 0; font-size: 13.5px; text-align: center; color: rgba(236,234,229,.6); }
.uslugi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.usluga { padding: 26px 24px; border-radius: 18px; background: var(--tlo-karta); border: 1px solid var(--linia); }
.usluga h3 { font-size: 18px; margin: 14px 0 6px; letter-spacing: -.01em; }
.usluga p { margin: 0; color: var(--tekst-2); font-size: 15px; }
.usluga-nr { font-family: var(--czcionka-mono); font-size: 12px; color: var(--akcent); letter-spacing: .1em; }
.etapy-wspolpracy { grid-column: 1 / -1; margin: 10px 0 0; padding: 26px 24px; border-radius: 18px; border: 1px dashed var(--linia-mocna); list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: et; }
.etapy-wspolpracy li { counter-increment: et; font-size: 14px; color: var(--tekst-2); }
.etapy-wspolpracy li strong { display: block; color: var(--tekst); font-size: 15px; margin-bottom: 2px; }
.etapy-wspolpracy li::before { content: counter(et, decimal-leading-zero); display: block; font-family: var(--czcionka-mono); font-size: 12px; color: var(--akcent); margin-bottom: 8px; }

/* realizacje */
.realizacje { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 280px; gap: 16px; }
.realizacja { position: relative; overflow: hidden; border-radius: 20px; background: #222; color: #fff; margin: 0; }
.realizacja:first-child { grid-row: span 2; }
.realizacja img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.realizacja:hover img { transform: scale(1.04); }
.realizacja figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,0)); }
.realizacja figcaption strong { display: block; font-size: 18px; letter-spacing: -.01em; }
.realizacja figcaption span { font-size: 14px; color: rgba(255,255,255,.8); }
.znaczek-przyklad { position: absolute; top: 14px; left: 14px; font-family: var(--czcionka-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.9); color: #333; padding: 4px 9px; border-radius: 999px; }

/* opinie */
.opinie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.opinia { position: relative; margin: 0; padding: 30px 28px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.opinia .znaczek-przyklad { position: static; display: inline-block; margin-bottom: 16px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.gwiazdki { color: #f1b956; letter-spacing: 3px; font-size: 16px; margin-bottom: 12px; }
.opinia blockquote { margin: 0 0 20px; font-size: 17px; line-height: 1.5; color: #fff; }
.opinia figcaption { font-size: 14px; color: rgba(236,234,229,.62); }
.opinia figcaption strong { color: #eceae5; display: block; font-size: 15px; }
.ocena-zbiorcza { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 15px; color: rgba(236,234,229,.72); }
.ocena-zbiorcza strong { font-size: 32px; color: #fff; letter-spacing: -.02em; }

/* pytania */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.faq-lista details { border-bottom: 1px solid var(--linia); }
.faq-lista summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; min-height: 44px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: '+'; font-family: var(--czcionka-mono); font-size: 22px; color: var(--akcent); transition: transform .3s ease; flex-shrink: 0; }
.faq-lista details[open] summary::after { transform: rotate(45deg); }
.faq-lista p { margin: -6px 0 22px; color: var(--tekst-2); max-width: 640px; }

/* kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.kontakt-karta { padding: clamp(28px, 3.4vw, 44px); border-radius: 24px; background: var(--tlo-karta); border: 1px solid var(--linia); }
.kontakt-karta-ciemna { background: var(--ciemny); color: #eceae5; border: 0; }
.kontakt-karta h3 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 10px; }
.kontakt-karta p { margin: 0 0 22px; color: var(--tekst-2); }
.kontakt-karta-ciemna p { color: rgba(236,234,229,.7); }
.kontakt-dane { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kontakt-dane li { display: flex; flex-direction: column; }
.kontakt-dane span { font-family: var(--czcionka-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--tekst-2); }
.kontakt-dane a, .kontakt-dane strong { font-size: 19px; font-weight: 600; color: inherit; text-decoration: none; }
.kontakt-akcje { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.stopka-premium { background: #0f1215; color: rgba(236,234,229,.6); padding: 34px 0 46px; font-size: 14px; }
.stopka-premium .kontener { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.stopka-premium a { color: inherit; }

@media (max-width: 960px) {
  .korzysci, .opinie { grid-template-columns: 1fr; }
  .doradzamy, .faq, .kontakt { grid-template-columns: 1fr; }
  .doradca { position: static; }
  .etapy-wspolpracy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .realizacje { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .realizacja:first-child { grid-column: 1 / -1; grid-row: span 1; }
}
@media (max-width: 560px) {
  .uslugi { grid-template-columns: 1fr; }
  .realizacje { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .etapy-wspolpracy { grid-template-columns: 1fr; }
  .faq-lista summary { font-size: 16.5px; }
}
.hero-premium::after { display: none; }   /* stary gradient z wersji kreślarskiej */
/* scena i obraz zawsze na cały pierwszy ekran (nadpisuje stare wysokości z wersji kreślarskiej) */
.hero-premium .hero-scena, .hero-premium .hero-plakat { height: auto; min-height: 0; max-height: none; }
.naglowek-premium .naglowek-tel { white-space: nowrap; }
@media (max-width: 760px) {
  .hero-premium .hero-plakat { position: absolute; inset: 0; }
  .naglowek-premium .logo { font-size: 15.5px; gap: 8px; }
  .naglowek-premium .naglowek-tel { font-size: 13px; padding: 0 12px; }
}
@media (max-width: 400px) {
  .naglowek-premium .naglowek-tel { font-size: 0; width: 44px; padding: 0; justify-content: center; }
  .naglowek-premium .naglowek-tel::before { content: ''; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 01-2.2 2 19.8 19.8 0 01-8.6-3.1 19.5 19.5 0 01-6-6A19.8 19.8 0 012.1 4.2 2 2 0 014.1 2h3a2 2 0 012 1.7c.1 1 .4 1.9.7 2.8a2 2 0 01-.5 2.1L8 9.9a16 16 0 006 6l1.3-1.3a2 2 0 012.1-.4c.9.3 1.8.6 2.8.7a2 2 0 011.7 2z'/%3E%3C/svg%3E") center/contain no-repeat; }
}
.naglowek-premium .logo { min-height: 44px; }
/* 13.11: szeroki 4. kafelek tylko przy 4 zdjęciach; przy 5 siatka 3 kolumny zamyka się sama (duże po lewej + 2 × 2) */
.realizacja:nth-child(4):last-child { grid-column: span 2; }
@media (max-width: 960px) { .realizacja:nth-child(4):last-child { grid-column: auto; } }
.realizacja picture { display: block; width: 100%; height: 100%; }
