/* centralkawirtualna.pl — paleta otocentralka: pomarańcz #f37021 */
:root {
  --brand: #f37021;
  --brand-dark: #d9550f;
  --brand-light: #ff7a1a;
  --brand-tint: #fff7f2;
  --brand-tint2: #ffd7b8;
  --ink: #222222;
  --ink-soft: #6b7280;
  --line: #e5e7eb;
  --bg: #fafafa;
  --surface: #ffffff;
  --ok: #15803d;
  --danger: #b91c1c;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(34, 34, 34, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, 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(--bg); line-height: 1.65; font-size: 16px; }
a { color: var(--brand-dark); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.hidden { display: none !important; }

/* ------- naglowek ------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.site-header .container { display: flex; align-items: center; gap: 30px; height: 70px; }
.logo { font-weight: 800; font-size: 1.3rem; text-decoration: none; color: var(--ink); letter-spacing: -0.02em; }
.logo em { color: var(--brand); font-style: normal; }
.nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-soft); padding: 9px 13px; border-radius: 9px; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a.active { background: var(--brand-tint); color: var(--brand-dark); }
.nav a.nav-cta { background: var(--brand); color: #fff; margin-left: 8px; }
.nav a.nav-cta:hover { background: var(--brand-dark); }

/* ------- hero ------- */
.hero { padding: 72px 0 44px; background: linear-gradient(180deg, #fff 0%, var(--brand-tint) 100%); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.025em; max-width: 780px; }
.hero h1 span { color: var(--brand); }
.hero p.sub { color: var(--ink-soft); font-size: 1.18rem; max-width: 660px; margin: 0 0 26px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.badge { background: #fff; border: 1px solid var(--brand-tint2); border-radius: 999px; padding: 7px 16px; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.badge b { color: var(--brand-dark); }

/* ------- przyciski ------- */
.btn { display: inline-block; border: none; border-radius: 11px; padding: 13px 26px; font-size: 1.02rem; font-weight: 700; cursor: pointer; text-decoration: none; font-family: inherit; transition: background .15s, transform .05s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(243, 112, 33, 0.35); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled { background: var(--brand-tint2); box-shadow: none; cursor: default; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-lg { padding: 16px 34px; font-size: 1.12rem; }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; }
.linklike { background: none; border: none; color: var(--brand-dark); cursor: pointer; text-decoration: underline; font-size: 0.85rem; padding: 0; font-family: inherit; }

/* ------- sekcje ------- */
.section { padding: 58px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 10px; letter-spacing: -0.02em; }
.sec-lead { color: var(--ink-soft); max-width: 680px; margin: 0 0 34px; font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step .no { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.case-flow { background: var(--brand-tint); border-left: 3px solid var(--brand); border-radius: 8px; padding: 10px 14px; font-size: 0.88rem; margin-top: 12px; color: var(--ink); }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 700; }
.faq-item .faq-a { padding: 0 20px 16px; color: var(--ink-soft); }

/* ------- konfigurator ------- */
.konf-wrap { margin: 30px 0 70px; }
.konf { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.konf-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--brand-tint)); }
.konf-tab { padding: 15px 16px; font-size: 0.86rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; border-bottom: 3px solid transparent; display: flex; gap: 8px; align-items: center; }
.konf-tab .n { width: 23px; height: 23px; border-radius: 50%; background: var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 0.76rem; }
.konf-tab.active { color: var(--brand-dark); border-bottom-color: var(--brand); }
.konf-tab.active .n, .konf-tab.done .n { background: var(--brand); color: #fff; }
.konf-tab.done { color: var(--brand-dark); cursor: pointer; }
.konf-body { padding: 30px; }
.konf-body h3 { margin: 0 0 6px; font-size: 1.35rem; letter-spacing: -0.01em; }
.konf-body p.hint { color: var(--ink-soft); margin: 0 0 24px; max-width: 720px; }
.konf-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.field { margin-bottom: 18px; }
.field label, .lbl { display: block; font-weight: 700; margin-bottom: 7px; font-size: 0.95rem; }
input[type=text], input[type=email], input[type=tel], input[type=time], textarea {
  width: 100%; max-width: 460px; padding: 12px 15px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 1.03rem; font-family: inherit; background: #fff; color: var(--ink);
}
input[type=time] { width: auto; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.15); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 18px; }

/* dni tygodnia */
.day-picks { display: flex; gap: 8px; flex-wrap: wrap; }
.day-pick { width: 52px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; color: var(--ink-soft); font-family: inherit; }
.day-pick.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.quick-picks { margin-top: 10px; display: flex; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 600; cursor: pointer; color: var(--ink-soft); font-family: inherit; }
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.hours-common { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-soft); }
.hours-perday { margin-top: 12px; display: grid; gap: 8px; }
.perday-row { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.perday-row span { min-width: 110px; font-weight: 600; }
.switch-row { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; cursor: pointer; font-size: 0.95rem; }
.switch-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); }
.switch-lg { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px; max-width: 720px; }
.switch-lg span span, .switch-lg span { color: var(--ink-soft); }
.switch-lg b { color: var(--ink); }

/* duze opcje wyboru */
.big-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; max-width: 760px; margin-bottom: 18px; }
.big-option { border: 2px solid var(--line); border-radius: 14px; padding: 18px 20px; cursor: pointer; background: #fff; display: block; }
.big-option:hover { border-color: var(--brand-tint2); }
.big-option.selected { border-color: var(--brand); background: var(--brand-tint); }
.big-option b { display: block; margin-bottom: 4px; }
.big-option span { color: var(--ink-soft); font-size: 0.9rem; }

/* karta komunikatu */
.ann-card { background: var(--brand-tint); border: 1px solid var(--brand-tint2); border-radius: 14px; padding: 16px 20px; margin: 18px 0; max-width: 760px; }
.ann-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.ann-ico { font-size: 1.1rem; }
.ann-text { margin: 0; font-style: italic; color: var(--ink); }
.ann-input { max-width: 100%; width: 100%; }
.ann-hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 8px; }
.ann-summary h4 { margin: 26px 0 4px; }

/* dzialy i osoby */
.dep-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.dep-key { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dep-row .rm { background: none; border: none; color: var(--ink-soft); cursor: pointer; font-size: 1rem; }
.people-box { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; max-width: 760px; }
.people-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; min-height: 34px; }
.chip-person { background: var(--brand-tint); border: 1px solid var(--brand-tint2); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 0.9rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.chip-person button { background: none; border: none; cursor: pointer; color: var(--ink-soft); padding: 0; }
.chips-empty { color: var(--ink-soft); font-size: 0.85rem; font-style: italic; }
.people-add { display: flex; gap: 10px; align-items: center; }
.people-add input { max-width: 300px; }

/* diagram przeplywu */
.flow { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 26px; margin: 10px 0 26px; }
.flow-node { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 0 auto; max-width: 420px; text-align: center; background: #fff; }
.flow-node b { display: block; font-size: 0.98rem; }
.flow-node span { color: var(--ink-soft); font-size: 0.84rem; }
.flow-node.n-start { background: var(--brand); border-color: var(--brand); }
.flow-node.n-start b, .flow-node.n-start span { color: #fff; }
.flow-node.n-menu, .flow-node.n-time { border-color: var(--brand-tint2); background: var(--brand-tint); }
.flow-line { width: 2px; height: 22px; background: var(--brand-tint2); margin: 0 auto; }
.flow-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.flow-col { display: flex; flex-direction: column; gap: 12px; }
.flow-branch { text-align: center; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 6px; border-radius: 8px; }
.flow-branch.ok { background: #ecfdf3; color: var(--ok); }
.flow-branch.off { background: #f3f4f6; color: var(--ink-soft); }
.flow-note { margin-top: 18px; font-size: 0.88rem; color: var(--brand-dark); font-weight: 600; text-align: center; }
@media (max-width: 620px) { .flow-split { grid-template-columns: 1fr; } }

/* zamowienie */
.test-info { background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; border-radius: 14px; padding: 20px 24px; margin: 24px 0; max-width: 760px; }
.order-form { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 26px; max-width: 760px; }
.order-form h4 { margin: 0 0 16px; font-size: 1.2rem; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: 0.83rem; color: var(--ink-soft); margin: 12px 0; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.error-box { background: #fef2f2; color: var(--danger); border-radius: 10px; padding: 12px 16px; margin: 12px 0; font-weight: 600; }
.notice { background: #ecfdf3; color: var(--ok); border: 1px solid #bbf7d0; border-radius: 10px; padding: 12px 16px; margin: 12px 0; font-weight: 600; }

/* kontakt */
.contact-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 28px; max-width: 640px; }

/* stopka */
.site-footer { background: #201510; color: #d8c9c0; padding: 44px 0 30px; margin-top: 30px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 0.95rem; }
.site-footer a { color: #d8c9c0; text-decoration: none; display: block; padding: 3px 0; font-size: 0.9rem; }
.site-footer a:hover { color: var(--brand-light); }
.site-footer .bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid #3a2a20; font-size: 0.8rem; }
@media (max-width: 640px) { .konf-body { padding: 20px; } .hero { padding: 46px 0 30px; } }
