/* =====================================================================
   szybkawizytówka.pl — landing agencji
   ===================================================================== */
:root {
  --c-bg:       #ffffff;
  --c-surface:  #f4f6fb;
  --c-text:     #0f1729;
  --c-muted:    #5a6478;
  --c-primary:  #4f46e5;   /* indygo */
  --c-primary-d:#3c34c9;
  --c-accent:   #16b981;   /* zielony „go" */
  --c-line:     #e4e8f1;
  --c-dark:     #0f1729;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 22px 60px -28px rgba(15, 23, 41, .4);
  --maxw: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--c-text); background: var(--c-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.18rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .73rem; font-weight: 600; color: var(--c-primary); margin-bottom: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .96rem; padding: 13px 26px; border-radius: 100px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-d); transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--c-primary); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-line); }
.btn-outline:hover { border-color: var(--c-primary); }
.btn-light { background: #fff; color: var(--c-text); }
.btn-light:hover { transform: translateY(-2px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--c-text); text-decoration: none; margin-right: auto; letter-spacing: -.02em; }
.brand-mark { height: 24px; width: auto; display: block; }
.brand-text { white-space: nowrap; }
.brand-text span { color: var(--c-primary); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--c-text); text-decoration: none; font-size: .93rem; font-weight: 500; opacity: .82; }
.nav a:hover { opacity: 1; color: var(--c-primary); }
.header-cta { padding: 10px 22px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--c-text); }

/* Hero */
.hero { background: radial-gradient(120% 120% at 80% -10%, #2a2580 0%, var(--c-dark) 55%); color: #fff; padding: 92px 0 100px; }
.hero-inner { max-width: 760px; }
.hero .eyebrow { color: #a5b4fc; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.22rem; opacity: .92; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { margin-top: 28px; font-size: .92rem; opacity: .72; }

/* Sections */
.section { padding: 86px 0; }
.section-alt { background: var(--c-surface); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-sub { color: var(--c-muted); margin-top: 12px; font-size: 1.08rem; }

/* Cards 3 (problem) */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--c-muted); }
.card::before { content: ""; display: block; width: 38px; height: 4px; border-radius: 3px; background: var(--c-accent); margin-bottom: 18px; }

/* Features 4 (co dostajesz) */
.cards-4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 24px; }
.section-alt .feat { background: #fff; }
.feat strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 6px; }
.feat span { color: var(--c-muted); font-size: .94rem; }

/* Demo grid */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.demo-card { display: block; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--c-text); transition: transform .2s ease, box-shadow .2s ease; background: #fff; }
.demo-card:not(.demo-soon):hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.demo-thumb { aspect-ratio: 16/10; background-size: cover; background-position: center; }
.demo-fryzjer { background-image: linear-gradient(160deg, rgba(123,45,78,.15), rgba(15,23,41,.25)), url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=800&q=70"); }
.demo-dentysta { background-image: linear-gradient(160deg, rgba(31,111,139,.2), rgba(15,23,41,.25)), url("https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=800&q=70"); }
.demo-mechanik { background-image: linear-gradient(160deg, rgba(28,43,58,.25), rgba(15,23,41,.3)), url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=800&q=70"); }
.demo-label { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.demo-label strong { font-family: var(--font-head); }
.demo-label span { color: var(--c-primary); font-size: .9rem; font-weight: 600; }
.demo-soon { opacity: .72; }
.demo-soon .demo-label span { color: var(--c-muted); }

/* Kroki */
.kroki { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.krok { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; }
.krok-nr { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.krok h3 { margin-bottom: 8px; }
.krok p { color: var(--c-muted); }

/* Cennik */
.cennik-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px; position: relative; }
.plan-featured { border-color: var(--c-primary); box-shadow: var(--shadow); }
.plan-tag { position: absolute; top: -13px; left: 32px; background: var(--c-primary); color: #fff; font-size: .76rem; font-weight: 600; padding: 5px 14px; border-radius: 100px; letter-spacing: .03em; }
.plan h3 { margin-bottom: 12px; }
.plan-cena { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--c-text); margin-bottom: 22px; }
.plan-cena small { display: block; font-size: .82rem; font-weight: 500; color: var(--c-muted); font-family: var(--font-body); margin-top: 4px; }
.plan ul { list-style: none; margin-bottom: 26px; }
.plan li { padding: 9px 0 9px 28px; position: relative; font-size: .95rem; border-bottom: 1px solid var(--c-line); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }
.plan .btn { width: 100%; }
.cennik-note { text-align: center; margin-top: 26px; color: var(--c-muted); font-size: .95rem; }

/* O mnie */
.omnie { max-width: 720px; }
.omnie h2 { margin: 0 0 16px; }
.omnie p { color: var(--c-muted); font-size: 1.08rem; margin-bottom: 26px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.faq summary { font-family: var(--font-head); font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--c-primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--c-muted); }

/* CTA section */
.section-cta { background: radial-gradient(120% 140% at 20% 0%, #2a2580 0%, var(--c-dark) 60%); color: #fff; text-align: center; }
.kontakt { max-width: 640px; }
.kontakt h2 { margin-bottom: 14px; }
.kontakt p { opacity: .9; font-size: 1.1rem; margin-bottom: 30px; }
.kontakt-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Footer */
.site-footer { padding: 30px 0; border-top: 1px solid var(--c-line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--c-muted); font-size: .88rem; }
.footer-inner span:first-child { font-family: var(--font-head); font-weight: 600; color: var(--c-text); }

/* Sticky call bar */
.call-bar { display: none; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; background: var(--c-primary); color: #fff; text-align: center; padding: 16px; border-radius: 100px; text-decoration: none; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .cards-3, .cards-4, .kroki, .cennik-grid, .demo-grid { grid-template-columns: 1fr; }
  .cards-4 { gap: 14px; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-line); padding: 8px 22px; }
  .nav.open a { padding: 13px 0; border-bottom: 1px solid var(--c-line); }
  .hero { padding: 64px 0 76px; }
  .section { padding: 60px 0; }
  .call-bar { display: block; }
  body { padding-bottom: 84px; }
}
