:root {
  --ink: #0f1b2d;
  --muted: #5a6b82;
  --paper: #f4f8fd;
  --surface: #ffffff;
  --line: #dde6f2;
  --blue: #1f6feb;
  --blue-deep: #0b4bc4;
  --blue-dark: #0a2a52;
  --blue-soft: #e7f0fe;
  --accent: #ff7a18;
  --accent-deep: #e8650a;
  --green: #16a34a;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 18px 44px rgba(15, 43, 90, 0.12);
  --shadow-sm: 0 6px 18px rgba(15, 43, 90, 0.08);
  --shadow-lg: 0 28px 64px rgba(15, 43, 90, 0.20);
}

* { box-sizing: border-box; }
/* Pola/opcje oznaczone jako hidden mają znikać całkowicie, nawet gdy mają własny display */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, p { margin-top: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { width: 150px; height: auto; }

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a { text-decoration: none; transition: color 0.18s ease; }
nav a:hover { color: var(--blue); }

.header-cta { display: inline-flex; align-items: center; gap: 10px; }
.phone-cta, .wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.phone-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 10px 22px rgba(255, 122, 24, 0.35);
}
.phone-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(255, 122, 24, 0.45); }
.wa-cta {
  padding: 7px 14px;
  background: #fff;
  color: var(--blue-deep);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.wa-cta .ico { color: var(--blue); }
.wa-cta .cta-label { color: var(--muted); }
.wa-cta .cta-strong { font-size: 15px; color: var(--blue-deep); }
.wa-cta:hover { transform: translateY(-1px); border-color: var(--blue); box-shadow: 0 8px 18px rgba(31, 111, 235, 0.18); }
.ico { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
.cta-text { display: flex; flex-direction: column; line-height: 1.1; }
.cta-label { font-size: 11px; font-weight: 700; opacity: 0.9; }
.cta-strong { font-size: 17px; font-weight: 900; letter-spacing: 0.01em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 64px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue-dark), var(--blue-deep));
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 30, 64, 0.92) 0%, rgba(8, 30, 64, 0.78) 34%, rgba(8, 30, 64, 0.30) 66%, rgba(8, 30, 64, 0.05) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(36px, 6vw, 72px) clamp(16px, 5vw, 72px);
}

.hero-copy { width: min(680px, 100%); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero .lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}
.hero-badges li { display: flex; align-items: baseline; gap: 7px; }
.hero-badges strong { font-size: 19px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 122, 24, 0.36);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(255, 122, 24, 0.46); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.2); border-color: #fff; }

.btn-wa {
  background: #fff;
  color: var(--blue-deep);
  border-color: rgba(31, 111, 235, 0.45);
  box-shadow: var(--shadow-sm);
}
.btn-wa .ico { color: var(--blue); }
.btn-wa:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 12px 26px rgba(31, 111, 235, 0.22); }

.calc-result .btn-ghost,
.lead-form + * .btn-ghost {
  color: var(--blue-deep);
  border-color: rgba(31, 111, 235, 0.4);
  background: var(--blue-soft);
}

/* ---------- Sections ---------- */
.section { padding: clamp(54px, 8vw, 96px) clamp(16px, 4vw, 64px); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.55; margin: 0; }

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: var(--shadow); }
.service-card.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.18), var(--shadow);
}
.service-ico {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-deep);
  border-radius: 14px;
  margin-bottom: 8px;
}
.service-ico svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 4px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; flex: 1; }
.service-cta {
  margin-top: 14px;
  font-weight: 800;
  font-size: 14px;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-cta span { transition: transform 0.18s ease; }
.service-card:hover .service-cta span,
.service-card:focus-visible .service-cta span { transform: translateX(4px); }

/* ---------- Calculator ---------- */
.calc-section {
  background: linear-gradient(165deg, #ffffff 0%, var(--blue-soft) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calc-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }

.estimator {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.85fr);
  max-width: 1120px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.estimator-main { padding: clamp(22px, 3vw, 36px); min-width: 0; }
.calc-progress {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.progress-track {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--blue-soft);
}
.progress-track span {
  display: block;
  width: 16%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transition: width 0.2s ease;
}

.calc-form { display: grid; gap: 22px; }
.calc-step { display: none; min-height: 350px; }
.calc-step.active { display: grid; align-content: start; gap: 18px; }
.step-kicker {
  margin: 0;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.calc-step h3 {
  margin: -10px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

select,
.field input,
.field textarea,
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
select:focus,
.field input:focus,
.field textarea:focus,
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.16);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.option-tile input,
.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option-tile > span {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 116px;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.option-tile strong { font-size: 17px; line-height: 1.2; letter-spacing: -0.01em; }
.option-tile small { color: var(--muted); font-size: 13px; line-height: 1.42; }
.option-tile > span:hover { border-color: var(--blue); }
.option-tile input:checked + span {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.18);
}
.option-tile input:checked + span strong { color: var(--blue-deep); }
.option-tile input:focus-visible + span,
.pill input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field-grid .full { grid-column: 1 / -1; }
.field,
.inline-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.inline-field { border: 0; padding: 0; margin: 0; }
.inline-field legend { padding: 0; color: var(--ink); font-size: 14px; font-weight: 850; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}
.pill input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.field-help {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 650;
}

.zone-detected {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 750;
  color: var(--muted);
}
.zone-detected::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
}
.zone-detected[data-state="city"] { color: var(--green); }
.zone-detected[data-state="city"]::before { background: var(--green); }
.zone-detected[data-state="near"] { color: var(--blue); }
.zone-detected[data-state="near"]::before { background: var(--blue); }
.zone-detected[data-state="regional"],
.zone-detected[data-state="far"] { color: var(--accent-deep); }
.zone-detected[data-state="regional"]::before,
.zone-detected[data-state="far"]::before { background: var(--accent); }

.access-group-label {
  margin: 4px 0 10px;
  font-size: 13px;
  font-weight: 850;
  color: var(--blue-deep);
}
.dest-access {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

/* Gabaryty / ciężkie rzeczy — wielokrotny wybor */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.check-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check-tile > span {
  display: grid;
  align-content: start;
  gap: 3px;
  height: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.check-tile strong { font-size: 14.5px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.check-tile small { color: var(--muted); font-size: 12.5px; line-height: 1.38; font-weight: 650; }
.check-tile > span:hover { border-color: var(--blue); }
.check-tile input:checked + span {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.18);
}
.check-tile input:checked + span strong { color: var(--blue-deep); }
.check-tile input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Wgrywanie zdjec */
.upload-field { gap: 10px; }
.upload-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}
.upload-title em { color: var(--muted); font-style: normal; font-weight: 650; font-size: 12.5px; }
.upload-drop {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  padding: 22px 16px;
  border: 1.5px dashed rgba(31, 111, 235, 0.45);
  border-radius: 14px;
  background: var(--blue-soft);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.upload-drop:hover { border-color: var(--blue); background: #dfeafe; }
.upload-drop input[type="file"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.upload-cta { color: var(--blue-deep); font-weight: 850; font-size: 15px; }
.upload-help { color: var(--muted); font-weight: 650; font-size: 12.5px; line-height: 1.4; }
.upload-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.upload-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.upload-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 13px; font-weight: 750; }
.upload-size { color: var(--muted); font-size: 12px; font-weight: 650; flex-shrink: 0; }
.upload-remove {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.upload-remove:hover { background: #d4e3fd; }

@media (max-width: 540px) {
  .check-grid { grid-template-columns: 1fr; }
}

.final-estimate {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(31, 111, 235, 0.2);
  border-radius: 14px;
  background: var(--blue-soft);
}
.final-estimate span {
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.final-estimate strong {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.final-estimate p { margin: 0; color: var(--muted); line-height: 1.45; }

.calc-error {
  min-height: 20px;
  margin: 0;
  color: #b42318;
  font-size: 13px;
  font-weight: 800;
}
.calc-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}
.btn-soft {
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-color: rgba(31, 111, 235, 0.24);
}
.btn-soft:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.btn-line {
  color: var(--blue-deep);
  background: #fff;
  border-color: var(--line);
}

.calc-result {
  background: linear-gradient(165deg, var(--blue-dark), var(--blue-deep));
  color: #fff;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.result-label { font-size: 14px; font-weight: 750; color: rgba(255,255,255,0.8); margin: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.result-price { margin: 0; font-size: clamp(38px, 5vw, 52px); font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.result-price .cur { font-size: 0.5em; font-weight: 800; }
.result-note { margin: 0; font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.5; }
.estimate-facts {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.estimate-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.estimate-facts dt { color: rgba(255,255,255,0.72); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.estimate-facts dd { margin: 0; font-size: 14px; font-weight: 900; text-align: right; }
.result-actions { display: grid; gap: 10px; margin-top: 6px; }
.calc-result .btn-ghost { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); color: #fff; }
.calc-result .btn-ghost:hover { background: rgba(255,255,255,0.22); }
.result-incl { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.result-incl li { position: relative; padding-left: 26px; color: rgba(255,255,255,0.92); }
.result-incl li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; border-radius: 50%;
  font-size: 11px; font-weight: 900;
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 900; font-size: 20px;
  margin-bottom: 16px;
}
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); line-height: 1.55; margin: 0; }

/* ---------- Area ---------- */
.area-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.area-map {
  background: linear-gradient(160deg, var(--blue-soft), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.area-map svg { width: 100%; height: auto; display: block; }
.area-map .region-shape {
  fill: rgba(31, 111, 235, 0.05);
  stroke: rgba(31, 111, 235, 0.35);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.area-map .reach-ring {
  fill: none;
  stroke: rgba(31, 111, 235, 0.30);
  stroke-width: 1.4;
  stroke-dasharray: 4 6;
}
.area-map .map-pin circle {
  fill: var(--blue);
  stroke: #fff;
  stroke-width: 2;
}
.area-map .map-pin text {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 750;
  text-anchor: middle;
}
.area-map .map-pin-base circle {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 2.5;
}
.area-map .map-pin-base text {
  fill: var(--blue-deep);
  font-size: 14px;
  font-weight: 850;
}

/* ---------- Contact band ---------- */
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 64px);
  background: radial-gradient(130% 150% at 0% 0%, var(--blue-deep) 0%, var(--blue-dark) 64%, #061a34 100%);
  color: #fff;
}
.contact-band .eyebrow, .contact-band h2 { color: #fff; }
.contact-band h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 12px; }
.contact-sub { color: rgba(255,255,255,0.85); font-size: 17px; line-height: 1.55; margin: 0; }

.lead-form {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.lead-form .full, .lead-form button, #formStatus { grid-column: 1 / -1; }
.lead-form input, .lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.lead-form input:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.14);
}
.lead-form textarea { resize: vertical; }
#formStatus { min-height: 20px; margin: 0; color: var(--green); font-weight: 750; }
.calc-lead-form {
  border: 1px solid var(--line);
  box-shadow: none;
  padding: 18px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ---------- Floating call / WhatsApp (mobile) ---------- */
.fab-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.fab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  font-size: 14px;
  color: #fff;
}
.fab .ico { width: 18px; height: 18px; }
.phone-fab { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 14px 30px rgba(255, 122, 24, 0.5); }
.wa-fab {
  width: 42px;
  padding: 10px;
  justify-content: center;
  background: #fff;
  color: var(--blue);
  border: 1.5px solid rgba(31, 111, 235, 0.5);
  box-shadow: 0 10px 24px rgba(15, 43, 90, 0.18);
}
.wa-fab .ico { width: 16px; height: 16px; }
.wa-fab .fab-text { display: none; }

.demo-back {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 49;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  background: rgba(10, 42, 82, 0.9);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- About ---------- */
.about-section { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}
.about-copy p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.about-copy p strong { color: var(--ink); }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-points li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 18px 20px;
}
.about-points strong { display: block; color: var(--blue-deep); font-size: 16px; margin-bottom: 4px; }
.about-points span { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: #cfe0fb; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(16px, 4vw, 64px) 40px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo-chip {
  display: inline-flex;
  padding: 12px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(3, 18, 42, 0.35);
}
.footer-logo-chip img { width: 160px; height: auto; }
.footer-brand p { color: #9db9e6; font-size: 14px; line-height: 1.6; margin: 18px 0 0; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer-col h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 12px; }
.footer-col a { display: block; color: #cfe0fb; text-decoration: none; font-size: 15px; padding: 5px 0; transition: color 0.18s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact span { display: block; color: #9db9e6; font-size: 14px; padding-top: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px clamp(16px, 4vw, 64px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-bottom p { margin: 0; color: #8fabda; font-size: 13px; }
.footer-legal-links a { color: #cfe0fb; text-decoration: none; margin-left: 16px; }
.footer-legal-links a:hover { color: #fff; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
}
.cookie-banner[hidden] { display: none; }
.cookie-text { flex: 1 1 320px; }
.cookie-text strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.cookie-text p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.cookie-text a { color: var(--blue-deep); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 44px; padding: 0 18px; }

/* ---------- Consent checkbox ---------- */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.consent-check input { margin-top: 2px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--blue); }
.consent-check a { color: var(--blue-deep); }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 880px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 40px); }
.legal-page .legal-back { display: inline-block; color: var(--blue-deep); text-decoration: none; font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.legal-page h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 6px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal-page h2 { font-size: 22px; margin: 36px 0 12px; color: var(--blue-dark); }
.legal-page h3 { font-size: 17px; margin: 22px 0 8px; }
.legal-page p, .legal-page li { color: #334863; font-size: 16px; line-height: 1.7; }
.legal-page ul { padding-left: 22px; margin: 0 0 16px; }
.legal-page li { margin-bottom: 6px; }
.legal-note {
  background: var(--blue-soft);
  border: 1px solid #c9ddfb;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--blue-dark);
  font-size: 14px;
  margin: 24px 0;
}
.legal-toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 32px;
}
.legal-toc strong { display: block; margin-bottom: 8px; }
.legal-toc a { color: var(--blue-deep); text-decoration: none; display: block; padding: 3px 0; font-size: 15px; }
.legal-toc a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .estimator { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .area-section { grid-template-columns: 1fr; }
  .contact-band { grid-template-columns: 1fr; }
  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .about-points { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
  .cta-label { display: none; }
  .cta-text { flex-direction: row; }
  .header-cta .cta-text { display: none; }
  .header-cta .phone-cta, .header-cta .wa-cta { padding: 10px; }
  .hero { min-height: 600px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(8, 30, 64, 0.6) 0%, rgba(8, 30, 64, 0.86) 55%, rgba(8, 30, 64, 0.95) 100%);
  }
  .service-grid { grid-template-columns: 1fr; }
  .option-grid, .field-grid { grid-template-columns: 1fr; }
  .calc-step { min-height: 0; }
  .calc-progress { grid-template-columns: 1fr; gap: 8px; }
  .calc-nav { display: grid; grid-template-columns: 1fr; }
  .calc-nav .btn { width: 100%; }
  .lead-form { grid-template-columns: 1fr; }
  .contact-actions { display: grid; }
  .fab-stack { display: flex; }
  .demo-back { font-size: 12px; padding: 8px 12px; }
}

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); }
.faq-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-weight: 750;
  color: var(--ink);
  font-size: clamp(15px, 1.6vw, 17px);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 600;
  color: var(--blue);
  transition: transform 0.18s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--blue-deep); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { margin: 0; color: var(--muted); line-height: 1.6; }
