/* Clever Frame — formularz wizualizacji. Paleta i charakter: cleverframe.pl (czerwień #e30613, czerń, biel, wersaliki w nawigacji). */
:root {
  --red: #e30613;
  --red-dark: #b8050f;
  --ink: #111111;
  --muted: #5b5f66;
  --line: #e2e2df;
  --soft: #f4f4f2;
  --white: #ffffff;
  --radius: 2px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ── Nagłówek ─────────────────────────────────────────────────────────────── */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-text { font-weight: 800; letter-spacing: .12em; color: var(--red); font-size: 26px; }
.header-nav { display: flex; gap: 28px; align-items: center; }
.header-nav a {
  text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.header-nav a:hover { border-bottom-color: var(--red); }

/* ── Hero + formularz ─────────────────────────────────────────────────────── */
.hero { background: var(--soft); padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.eyebrow-light { color: #ff6a73; }
h1 { margin: 0 0 20px; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
.lead { margin: 0 0 24px; font-size: 18px; color: #2b2e33; max-width: 34em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15px; color: #2b2e33; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: var(--red);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3'/></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'><path d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3'/></svg>") center/contain no-repeat;
}

.card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 28px; box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.card-title { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }

label { display: block; margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.opt { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
input[type=text], input[type=email], input[type=number], select {
  width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid #c9c9c5; border-radius: var(--radius);
}
input[type=file] { width: 100%; margin-top: 6px; font: inherit; font-size: 14px; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(227, 6, 19, .35); outline-offset: 1px; border-color: var(--red);
}
.hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.cf-turnstile-wrap { margin-top: 20px; min-height: 65px; }
.devnote { margin: 12px 0 0; font-size: 12px; color: #b00020; }

.btn {
  display: inline-block; width: 100%; margin-top: 22px; padding: 15px 22px; font: inherit; font-size: 14px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; border: 0; border-radius: var(--radius); cursor: pointer;
  transition: background .15s ease, transform .05s ease;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover:not(:disabled) { background: var(--red-dark); }
.btn-primary:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.msg { margin: 14px 0 0; font-size: 14px; min-height: 1.2em; }
.msg.error { color: #b00020; }
.msg.ok { color: #0a7d3c; font-weight: 600; }
.fine { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

/* ── Wyniki ───────────────────────────────────────────────────────────────── */
.results { padding: 64px 0 40px; background: var(--white); text-align: center; }
.results .progress { max-width: 980px; margin-left: auto; margin-right: auto; }
.logo-needed { max-width: 560px; margin: 0 auto 28px; text-align: left; }
.gallery-note { max-width: 980px; margin: 22px auto 0; font-size: 13px; color: var(--muted); }
.section-title { margin: 0 0 16px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -.015em; font-weight: 800; }
.section-title.light { color: var(--white); }
.progress { height: 4px; background: var(--line); margin: 18px 0 12px; overflow: hidden; }
.progress-bar { height: 100%; width: 4%; background: var(--red); transition: width .6s ease; }
.progress-bar.indeterminate { width: 30%; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { margin-left: -30%; } 100% { margin-left: 100%; } }
.status-text { margin: 0 auto 28px; max-width: 760px; color: var(--muted); font-size: 15px; }
.status-text a { color: var(--red); }

.gallery { display: grid; gap: 28px; max-width: 980px; margin: 0 auto; }
.shot { margin: 0; border: 1px solid var(--line); background: var(--white); }
.shot-frame { position: relative; aspect-ratio: 4 / 3; background: #1a1a1a; overflow: hidden; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; animation: fade .6s ease; }
@keyframes fade { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
.shot-wait {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: #cfcfcf; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(110deg, #1a1a1a 30%, #262626 50%, #1a1a1a 70%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.spinner { width: 26px; height: 26px; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--red); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.shot-cap { text-align: left; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; padding: 14px 18px; font-size: 15px; }
.shot-cap .spec { font-weight: 700; }
.shot-cap .price { color: var(--ink); }
.shot-cap .price b { font-weight: 800; }

/* ── Oferta ───────────────────────────────────────────────────────────────── */
.offer { background: var(--ink); color: var(--white); padding: 72px 0; margin-top: 40px; }
.offer-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
.points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.points svg { width: 44px; height: 44px; padding: 10px; border: 1px solid #3a3a3a; fill: none; stroke: #ff6a73; stroke-width: 1.8; stroke-linecap: square; }
.points strong { display: block; font-size: 17px; margin-bottom: 2px; }
.points span { color: #c9c9c9; font-size: 15px; }
.offer-card { color: var(--ink); border-top-color: var(--red); }
.offer-lead { margin: 0; color: var(--muted); font-size: 15px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--red); }
.consent label { margin: 0; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #3b3e44; }
.consent a { color: var(--red); }

/* ── Stopka ───────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: 13px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--red); }

/* ── Desktop ──────────────────────────────────────────────────────────────── */
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .hero-copy { padding-top: 12px; }
  .offer-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
}
@media (max-width: 520px) {
  .header-nav .nav-strong { display: none; }
  .card { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
