/* ============================================================
   aukcje-b2b.pl - prototyp strony usługi "Aukcja na zlecenie"
   (statyczny, bez WordPress). Motyw neutralny: teal + grafit.
   ============================================================ */

:root {
  /* Paleta - akcent teal, baza grafitowa */
  --brand: #14b8a6;
  --brand-dark: #0f766e;
  --brand-darker: #0b4f4a;
  --brand-soft: #e6f6f4;
  --brand-grad: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);

  --ink: #111827;          /* grafit - podstawowy tekst */
  --ink-2: #1f2937;
  --muted: #5b6572;
  --line: #e6e9ee;
  --bg: #ffffff;
  --bg-alt: #f5f8f8;
  --bg-dark: #0f1c1b;      /* ciemny grafit z nutą teal */

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 118, 110, .10);
  --shadow-lg: 0 24px 60px rgba(11, 79, 74, .16);
  --maxw: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.22; margin: 0 0 .4em; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 760px; margin: 0 auto 44px; }
.section__head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-dark); margin-bottom: 12px;
}
.section h2 { font-size: clamp(26px, 3.4vw, 36px); }
.lead { color: var(--muted); font-size: 18px; }

/* --------------------------- Przyciski --------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: #fff; color: var(--brand-dark); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.42); }
.btn--light:hover { background: rgba(255,255,255,.24); }

/* --------------------------- Header --------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 30px; display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--brand-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* --------------------------- Hero --------------------------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--brand-grad); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 82% -10%, rgba(255,255,255,.22), transparent 60%);
}
.hero .container { position: relative; z-index: 1; padding: 86px 20px 94px; }
.hero__inner { max-width: 720px; }
.hero__badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); color: #fff; margin-bottom: 18px; }
.hero__lead { font-size: 20px; color: #e6fbf8; margin-bottom: 30px; max-width: 620px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* --------------------------- Blok opisowy (split) --------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split__card {
  background: var(--brand-grad); color: #fff; border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-lg); min-height: 220px;
  display: flex; flex-direction: column; justify-content: center;
}
.split__card .big { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; }
.split p { color: var(--muted); }

/* --------------------------- Lista zalet (check) --------------------------- */
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 40px; font-size: 17px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/15px no-repeat;
}

/* --------------------------- Kroki procesu (numerowane) --------------------------- */
.process { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.process__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.process__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.process__num {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff; background: var(--brand-grad);
}
.process__item h3 { font-size: 17px; margin: 4px 0 0; }

/* --------------------------- Korzyści --------------------------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; text-align: center; box-shadow: var(--shadow);
}
.benefit__icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark);
}
.benefit__icon svg { width: 28px; height: 28px; }
.benefit h3 { font-size: 18px; }
.benefit p { color: var(--muted); margin: 0; }

/* --------------------------- Podział ról --------------------------- */
.roles { background: var(--bg-dark); color: #e8f3f1; }
.roles h2 { color: #fff; }
.roles .eyebrow { color: #5eead4; }
.roles .lead { color: #b6cbc8; }
.roles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.role {
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px;
  background: rgba(255,255,255,.03);
}
.role h3 { color: #fff; font-size: 20px; }
.role p { color: #b6cbc8; margin: 0; }
.role .tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5eead4; margin-bottom: 10px; }

/* --------------------------- FAQ --------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 56px 20px 22px; font: inherit; font-weight: 700; font-size: 17px; color: var(--ink);
  position: relative;
}
.faq__q::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--brand-dark); border-bottom: 2px solid var(--brand-dark);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq__item.open .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a-inner { padding: 0 22px 20px; color: var(--muted); }
.faq__item.open .faq__a { max-height: 320px; }

/* --------------------------- CTA końcowe --------------------------- */
.cta { background: var(--brand-grad); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #e6fbf8; font-size: 18px; max-width: 620px; margin: 0 auto 26px; }
.cta__contact { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 26px; font-weight: 700; }
.cta__contact a { color: #fff; }

/* --------------------------- Footer --------------------------- */
.site-footer { background: #08201e; color: #9db8b3; padding: 44px 0; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #cfeae5; }
.site-footer small { color: #6f8c87; }

/* --------------------------- Responsywność --------------------------- */
@media (max-width: 900px) {
  .split, .roles__grid { grid-template-columns: 1fr; gap: 28px; }
  .process { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 54px 0; }
  .nav, .header-phone { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 20px; gap: 16px;
  }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
}
