/* =========================================================
   OPONA24 — Landing wulkanizacji
   Styl: edytorialny / industrialny, jasny motyw
   ========================================================= */

:root {
  --paper:   #f3efe7;   /* ciepłe papierowe tło */
  --paper-2: #ece7dc;   /* delikatnie ciemniejsze sekcje */
  --ink:     #161310;   /* prawie czarny */
  --ink-2:   #161310;
  --muted:   #6c6457;   /* stonowany tekst */
  --line:    #d8d1c2;   /* linie / ramki */
  --accent:  #e2531f;   /* spalona pomarańcz */
  --accent-d:#c4440f;

  --maxw: 1180px;
  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, .logo, .amount, .step-no, .sec-num, .hero-stamp { font-family: var(--f-display); }

/* ===== przyciski ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-body); font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 2px; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  border: 1.5px solid transparent;
}
.btn.full { width: 100%; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-d); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-light { border-color: rgba(243,239,231,.5); color: var(--paper); }
.btn-line-light:hover { background: var(--paper); color: var(--ink); }

/* ===== logo ===== */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo-accent { color: var(--accent); }
.logo-mark { width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--accent); background: var(--ink); box-sizing: border-box; }

/* ===== header ===== */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(243,239,231,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd-row { display: flex; align-items: center; gap: 32px; height: 72px; }
.hd-nav { display: flex; gap: 30px; margin-left: auto; font-size: .94rem; font-weight: 500; }
.hd-nav a { color: var(--muted); position: relative; padding: 4px 0; }
.hd-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .2s ease; }
.hd-nav a:hover { color: var(--ink); }
.hd-nav a:hover::after { width: 100%; }
.hd-phone { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: 2px; transition: background .18s, color .18s; }
.hd-phone:hover { background: var(--ink); color: var(--paper); }

/* ===== hero ===== */
.hero { padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.kicker-line { width: 46px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 1.18rem; color: var(--muted); margin: 26px 0 32px; max-width: 30em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stats dt { font-family: var(--f-display); font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: -0.02em; }
.hero-stats dd { font-size: .85rem; color: var(--muted); margin-top: 6px; }

.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); display: block; }
.hero-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--accent); border-radius: 4px; z-index: -1; }

/* ===== marquee ===== */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 16px 0; margin-top: 30px; }
.marquee-track { display: flex; align-items: center; gap: 0; white-space: nowrap; width: max-content; animation: scroll 28s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; padding: 0 28px; letter-spacing: -0.01em; }
.marquee-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== sekcje ===== */
.section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.sec-num { font-size: .95rem; font-weight: 700; color: var(--accent); letter-spacing: .05em; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.sec-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 40px; max-width: 40em; }

/* ===== usługi (lista edytorialna) ===== */
.svc-list { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.svc-list li { display: flex; gap: 28px; padding: 30px 6px; border-bottom: 1px solid var(--line); transition: padding-left .25s ease, background .25s ease; }
.svc-list li:hover { padding-left: 22px; background: var(--paper-2); }
.svc-no { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--accent); padding-top: 4px; min-width: 28px; }
.svc-body h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.svc-body p { color: var(--muted); max-width: 46em; }

/* ===== AI ===== */
.ai { background: var(--paper-2); }
.ai-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.ai-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); display: block; }
.ai-lead { color: var(--muted); font-size: 1.1rem; margin: 22px 0 26px; }
.ai-feats { list-style: none; display: grid; gap: 0; margin-bottom: 32px; }
.ai-feats li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.ai-feats li:last-child { border-bottom: 1px solid var(--line); }
.ai-feats strong { color: var(--ink); font-weight: 600; }

/* ===== proces ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border: 1px solid var(--line); }
.step { padding: 40px 34px; border-right: 1px solid var(--line); }
.step:last-child { border-right: none; }
.step-no { display: block; font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 18px; letter-spacing: -0.03em; }
.step h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { color: var(--muted); }

/* ===== cennik ===== */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price { border: 1px solid var(--line); border-radius: 4px; padding: 34px 28px; display: flex; flex-direction: column; background: var(--paper); position: relative; }
.price.feat { border-color: var(--ink); border-width: 1.5px; }
.price-tag { position: absolute; top: -11px; left: 28px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; }
.price h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 22px; }
.amount span { font-family: var(--f-body); font-size: .95rem; font-weight: 500; color: var(--muted); }
.price ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.price ul li { color: var(--muted); padding-left: 22px; position: relative; }
.price ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; background: var(--accent); border-radius: 50%; }
.price .btn { margin-top: auto; }

/* ===== CTA ===== */
.cta { background: var(--ink); color: var(--paper); padding: 70px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; }
.cta p { color: rgba(243,239,231,.7); margin-top: 8px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== stopka ===== */
.ft { background: var(--paper); padding: 40px 0; }
.ft-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ft-meta { color: var(--muted); font-size: .9rem; }
.ft-copy { color: var(--muted); font-size: .9rem; }

/* ===== responsywność ===== */
@media (max-width: 900px) {
  .hd-nav { display: none; }
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { order: -1; max-width: 480px; }
  .hero-media img { aspect-ratio: 3 / 2; }
  .hero-media::before { inset: 12px -12px -12px 12px; }
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
  .ai-media { max-width: 480px; }
  .ai-media img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .prices { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
