/* krf.biz.pl — szkic strony. Czysty CSS, bez zależności. */

:root {
  --navy: #0f2a43;
  --navy-light: #1c3e5e;
  --gold: #c19a4b;
  --ink: #1a2230;
  --muted: #5c6675;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --border: #e2e7ee;
  --max: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }

p { margin: 0 0 1em; }

a { color: var(--navy-light); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---- Nagłówek / nawigacja ---- */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(6px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem; padding: .85rem 1.25rem;
  max-width: var(--max); margin: 0 auto;
}
.brand { font-family: Georgia, serif; font-weight: 600; font-size: 1.25rem; color: var(--navy); text-decoration: none; letter-spacing: .5px; }
.brand span { color: var(--gold); }
.nav-links { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .95rem; padding: .25rem 0; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* ---- Przyciski ---- */
.btn {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  padding: .75rem 1.4rem; border-radius: var(--radius); font-weight: 600; font-size: .98rem;
  border: 1px solid var(--navy); cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--navy-light); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--bg-alt); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1a1405; }
.btn-gold:hover { background: #ad8838; }

/* ---- Sekcje ---- */
section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 40rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--gold); margin: 0 0 .6rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #eef3f8; padding: 4.5rem 0;
}
.hero h1 { color: #fff; }
.hero .lead { color: #c7d4e1; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-outline:hover { background: rgba(255,255,255,.1); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* ---- Karty / siatki ---- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: 0 1px 2px rgba(15,42,67,.04);
}
.card h3 { color: var(--navy); }
.card .price { font-size: 1.6rem; font-weight: 700; color: var(--navy); font-family: Georgia, serif; }
.card .price small { font-size: .9rem; color: var(--muted); font-weight: 400; }

.feature-icon { font-size: 1.6rem; margin-bottom: .4rem; display: block; }

/* listy */
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { padding-left: 1.6rem; position: relative; margin-bottom: .55rem; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

ul.questions { list-style: none; padding: 0; margin: 1rem 0 0; }
ul.questions li {
  background: #fff; border-left: 3px solid var(--gold); padding: .8rem 1rem;
  margin-bottom: .6rem; border-radius: 0 6px 6px 0; box-shadow: 0 1px 2px rgba(15,42,67,.04);
}

/* kroki procesu */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step .num {
  flex: 0 0 auto; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-family: Georgia, serif;
}

/* baner promo */
.promo {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 1.5rem 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.promo h3 { color: #fff; margin: 0; }
.promo p { margin: .2rem 0 0; color: #c7d4e1; }

/* stat */
.stat-row { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.stat { text-align: center; }
.stat .big { font-family: Georgia, serif; font-size: 2.6rem; color: var(--gold); font-weight: 700; line-height: 1; }
.stat .label { color: var(--muted); font-size: .95rem; }

/* ---- Formularz ---- */
form.contact { max-width: 36rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: .7rem .85rem; border: 1px solid var(--border);
  border-radius: 8px; font: inherit; background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: .25rem; }

/* disclaimer */
.disclaimer { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: .88rem; color: var(--muted); }

/* ---- Stopka ---- */
.site-footer { background: var(--navy); color: #b9c6d4; padding: 2.5rem 0 1.75rem; font-size: .9rem; }
.site-footer a { color: #dfe7ef; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h4 { color: #fff; font-family: Georgia, serif; margin: 0 0 .6rem; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.75rem; padding-top: 1.25rem; font-size: .82rem; color: #8fa1b3; }

.todo { background: #fff8e6; border: 1px dashed var(--gold); border-radius: 8px; padding: .8rem 1rem; font-size: .85rem; color: #6b5418; margin: 1rem 0; }
