@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --red: #b51d2c;
  --red-dark: #8f1421;
  --ink: #172033;
  --muted: #687386;
  --line: #e5e8ed;
  --soft: #f6f4f2;
  --white: #fff;
  --green: #18794e;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(23, 32, 51, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Outfit, system-ui, sans-serif; color: var(--ink); background: #fbfbfa; line-height: 1.6; }
a { color: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px max(24px, calc((100vw - 1160px) / 2));
  background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand strong { color: var(--red); font-size: 23px; }
.brand span { color: white; background: var(--red); padding: 2px 8px; border-radius: 5px; font-weight: 700; font-size: 14px; }
.header-link { color: var(--red); font-weight: 600; text-decoration: none; }

main > section { max-width: 1160px; margin: 0 auto; padding: 88px 24px; }
.hero { min-height: 690px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-block; color: var(--red); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; margin-bottom: 16px; }
.hero h1, .section-heading h2, .meeting-copy h2 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(42px, 5vw, 68px); }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 690px; color: var(--muted); font-size: 20px; margin: 26px 0 32px; }
.hero small { display: block; color: var(--muted); margin-top: 12px; }
.hero-thought { position: relative; background: var(--ink); color: white; padding: 42px; border-radius: 32px; box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-thought span { position: absolute; top: 4px; left: 24px; color: var(--red); font: 700 78px Georgia, serif; }
.hero-thought p { position: relative; font-size: 21px; line-height: 1.55; margin: 25px 0 0; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border: 0; border-radius: 12px; font: 700 16px Outfit, sans-serif; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button-primary { background: var(--red); color: white; box-shadow: 0 10px 24px rgba(181,29,44,.2); }
.button-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading h2, .meeting-copy h2 { font-size: clamp(34px, 4vw, 50px); }
.section-heading p { color: var(--muted); font-size: 18px; }

.context-section { border-top: 1px solid var(--line); }
.context-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.context-grid article { padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.context-grid strong { color: var(--red); font-size: 20px; }
.context-grid p { color: var(--muted); margin: 8px 0 0; }

.quiz-section { max-width: 920px; }
.quiz-card { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.quiz-question { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; border: 0; border-bottom: 1px solid var(--line); padding: 23px 0; margin: 0; }
.quiz-question legend { display: contents; font-size: 17px; font-weight: 600; }
.quiz-question legend > span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; color: var(--red); background: rgba(181,29,44,.09); font-size: 13px; }
.answer-row { display: flex; gap: 8px; }
.answer-row label { cursor: pointer; }
.answer-row input { position: absolute; opacity: 0; }
.answer-row span { display: inline-grid; place-items: center; min-width: 68px; height: 40px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--muted); }
.answer-row input:checked + span { color: white; border-color: var(--red); background: var(--red); }
.quiz-card > .button { width: 100%; margin-top: 28px; }
.quiz-progress { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 0; }
.quiz-result { margin-top: 24px; padding: 38px; text-align: center; background: #eef8f2; border: 1px solid #cce9d8; border-radius: 24px; }
.result-label { color: var(--green); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.quiz-result h3 { font-size: 30px; margin: 10px 0; }
.quiz-result p { max-width: 680px; margin: 0 auto 24px; color: #3f5a4b; font-size: 17px; }

.meeting-section { max-width: none; background: var(--ink); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-left: max(24px, calc((100vw - 1160px) / 2)); padding-right: max(24px, calc((100vw - 1160px) / 2)); }
.eyebrow-light { color: #ff99a4; }
.meeting-copy p, .meeting-copy li { color: #c7ceda; }
.meeting-copy p { font-size: 18px; }
.meeting-copy ul { padding-left: 20px; }
.meeting-options { display: grid; gap: 16px; }
.meeting-options article { padding: 26px; border: 1px solid #3c465b; background: #202b40; border-radius: var(--radius); }
.option-tag { color: #ff99a4; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.meeting-options h3 { margin: 7px 0 3px; font-size: 22px; }
.meeting-options strong { color: white; }
.meeting-options p { color: #aeb8c8; margin-bottom: 0; }

.lead-section { max-width: 900px; }
.lead-form { background: white; border: 1px solid var(--line); padding: 34px; border-radius: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form label { color: var(--ink); font-size: 14px; font-weight: 600; }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"] { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #ccd2dc; border-radius: 10px; font: inherit; }
.lead-form input:focus { outline: 3px solid rgba(181,29,44,.12); border-color: var(--red); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0; color: var(--muted) !important; font-weight: 400 !important; }
.checkbox input { margin-top: 5px; }
.checkbox a { color: var(--red); }
.lead-form > .button { width: 100%; }
.form-status { min-height: 24px; text-align: center; font-weight: 600; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }

footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px max(24px, calc((100vw - 1160px) / 2)); border-top: 1px solid var(--line); background: white; }
footer p { color: var(--muted); }
footer > a { color: var(--red); }

@media (max-width: 800px) {
  .hero, .meeting-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; gap: 38px; padding-top: 65px; }
  .hero-thought { transform: none; }
  .context-grid, .form-grid { grid-template-columns: 1fr; }
  .quiz-question { grid-template-columns: 1fr; }
  .answer-row { padding-left: 40px; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  main > section { padding: 62px 18px; }
  .site-header { padding: 13px 18px; }
  .header-link { font-size: 14px; }
  .quiz-card, .lead-form { padding: 22px 18px; }
  .answer-row { padding-left: 0; }
  .answer-row label { flex: 1; }
  .answer-row span { width: 100%; }
}

/* Barometr wsparcia przedsiębiorcy */
.quiz-question { display:block; width:100%; border:0; border-bottom:1px solid var(--line); padding:26px 0; margin:0; }
.quiz-question legend { display:block; width:100%; margin-bottom:14px; font-size:17px; font-weight:600; }
.answer-row { display:grid; grid-template-columns:repeat(2,1fr); gap:9px; padding-left:40px; }
.answer-row span { display:flex; align-items:center; width:100%; min-height:48px; height:auto; padding:9px 13px; line-height:1.3; }
.answer-row input:focus-visible + span, .topic-grid input:focus-visible + span { outline:3px solid rgba(181,29,44,.18); }
.topic-question { border:0; margin:0; padding:28px 0 0; }
.topic-question legend { font-size:18px; font-weight:700; }
.topic-question legend small { display:block; margin-top:4px; color:var(--muted); font-size:14px; font-weight:400; }
.topic-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:9px; margin-top:16px; }
.topic-grid label { cursor:pointer; }
.topic-grid input { position:absolute; opacity:0; }
.topic-grid span { display:flex; align-items:center; min-height:46px; padding:10px 13px; border:1px solid var(--line); border-radius:10px; color:var(--muted); }
.topic-grid input:checked + span { color:var(--red); border-color:var(--red); background:rgba(181,29,44,.06); font-weight:600; }
.quiz-result { background:#fff; border-color:var(--line); box-shadow:var(--shadow); }
.quiz-result > p { max-width:680px; margin:0 auto 24px; color:var(--muted); font-size:17px; }
.score { display:flex; justify-content:center; align-items:baseline; margin:5px 0 12px; color:var(--red); }
.score strong { font-size:56px; line-height:1; }
.score span { font-size:20px; font-weight:600; }
.barometer-track { height:14px; overflow:hidden; border-radius:20px; background:linear-gradient(90deg,#d9efe2,#f3df9e,#efb1b7); }
.barometer-track > span { display:block; width:0; height:100%; border-radius:inherit; background:var(--red); transition:width .65s ease; }
.barometer-scale { display:flex; justify-content:space-between; gap:20px; margin:7px 0 24px; color:var(--muted); font-size:12px; }
.recommendation-box { max-width:680px; margin:26px auto; padding:22px; text-align:left; border-radius:16px; background:var(--soft); }
.recommendation-box > strong { color:var(--ink); }
.recommendation-box ul { margin:10px 0; padding-left:22px; color:var(--red); font-weight:600; }
.recommendation-box p { margin:10px 0 0; color:var(--muted); font-size:15px; }
.lead-form input[type="text"], .lead-form textarea { width:100%; margin-top:7px; padding:13px 14px; border:1px solid #ccd2dc; border-radius:10px; font:inherit; }
.lead-form input:focus, .lead-form textarea:focus { outline:3px solid rgba(181,29,44,.12); border-color:var(--red); }
.full-field { display:block; margin-top:18px; }
.full-field > span { color:var(--muted); font-weight:400; }
.lead-form textarea { display:block; resize:vertical; }
.meeting-cta-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.button-secondary { color:var(--red); border:2px solid var(--red); background:white; }
.button-secondary:hover { color:white; background:var(--red); }
.meeting-note { display:block; margin-top:14px; text-align:center; color:var(--muted); }
.button:disabled { opacity:.65; cursor:wait; }
@media (max-width:800px) {
  .answer-row, .meeting-cta-grid { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .answer-row { padding-left:0; }
  .topic-grid { grid-template-columns:1fr; }
}
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav .home-link { color: var(--muted); font-weight: 600; text-decoration: none; }
@media (max-width: 480px) {
  .header-nav { gap: 12px; font-size: 13px; }
}