/* ── Tokens ── */
:root {
  --petrol: #366871;
  --deep: #1E4148;
  --cta: #C4541A;
  --cta-hover: #A84615;
  --light: #F5F8F9;
  --white: #FFFFFF;
  --text: #1E1E1E;
  --muted: #5A6B6F;
  --border: #D0DFE2;
  --success: #2E7D32;
  --radius: 8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--deep);
  padding: 0 16px;
}
.header-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.header-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
}
.header-logo img { height: 38px; width: auto; }
.header-logo span { font-size: .95rem; font-weight: 600; letter-spacing: .3px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none;
  font-weight: 600; font-size: .95rem;
  background: var(--cta); padding: 8px 18px;
  border-radius: var(--radius); transition: background .2s;
}
.header-phone:hover { background: var(--cta-hover); }
.header-phone svg { width: 18px; height: 18px; fill: currentColor; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--petrol) 100%);
  padding: 56px 16px 64px;
  color: var(--white);
}
.hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 48px;
  align-items: start;
}
.hero h1 {
  font-size: 2.1rem; line-height: 1.25;
  margin-bottom: 16px; font-weight: 700;
}
.hero-sub {
  font-size: 1.1rem; opacity: .9;
  margin-bottom: 28px; line-height: 1.5;
}
.hero-points { list-style: none; }
.hero-points li {
  padding: 6px 0 6px 28px;
  position: relative; font-size: 1rem; opacity: .92;
}
.hero-points li::before {
  content: '✓'; position: absolute; left: 0;
  color: #8FD4A4; font-weight: 700;
}

/* ── Form card ── */
.form-card {
  background: var(--white); border-radius: 12px;
  padding: 32px 28px; color: var(--text);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.form-card h2 {
  font-size: 1.25rem; text-align: center;
  margin-bottom: 4px; color: var(--deep);
}
.form-card .form-sub {
  text-align: center; font-size: .85rem;
  color: var(--muted); margin-bottom: 20px;
}

/* Steps indicator */
.steps-indicator {
  display: flex; justify-content: center;
  gap: 8px; margin-bottom: 24px;
}
.step-dot {
  width: 32px; height: 4px;
  border-radius: 2px; background: var(--border);
  transition: background .3s;
}
.step-dot.active { background: var(--petrol); }
.step-dot.done { background: var(--success); }

/* Step panels */
.form-step { display: none; }
.form-step.active { display: block; }

.form-step h3 {
  font-size: 1rem; margin-bottom: 16px;
  color: var(--deep); text-align: center;
}

/* Option grid */
.option-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 16px;
}
.option-grid.col-3 { grid-template-columns: 1fr 1fr 1fr; }

.option-btn {
  background: var(--light); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 14px 10px;
  cursor: pointer; text-align: center;
  font-size: .9rem; color: var(--text);
  transition: border-color .2s, background .2s;
  font-weight: 500;
}
.option-btn:hover { border-color: var(--petrol); background: #EAF2F3; }
.option-btn.selected {
  border-color: var(--petrol); background: #DCE9EC;
  font-weight: 600;
}
.option-btn .option-icon {
  display: block; font-size: 1.5rem; margin-bottom: 4px;
}

/* Form fields */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: .85rem;
  font-weight: 600; margin-bottom: 4px; color: var(--deep);
}
.field input, .field select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .95rem; color: var(--text);
  background: var(--white); transition: border-color .2s;
  font-family: inherit;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(54,104,113,.12);
}
.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

/* Range slider */
.range-group { margin-bottom: 14px; }
.range-group label {
  display: flex; justify-content: space-between;
  font-size: .85rem; font-weight: 600; color: var(--deep);
  margin-bottom: 6px;
}
.range-group label span { color: var(--cta); font-weight: 700; font-size: 1rem; }
.range-group input[type="range"] {
  width: 100%; accent-color: var(--petrol);
  cursor: pointer; height: 6px;
}

/* Checkbox */
.consent-check {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 0 20px; font-size: .78rem; color: var(--muted);
  line-height: 1.4;
}
.consent-check input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 2px; accent-color: var(--petrol);
}
.consent-check a { color: var(--petrol); }

/* Buttons */
.btn-primary {
  display: block; width: 100%;
  padding: 14px; border: none;
  background: var(--cta); color: var(--white);
  font-size: 1rem; font-weight: 700;
  border-radius: var(--radius); cursor: pointer;
  transition: background .2s; font-family: inherit;
}
.btn-primary:hover { background: var(--cta-hover); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }

.btn-back {
  display: block; width: 100%;
  padding: 10px; border: none;
  background: transparent; color: var(--muted);
  font-size: .85rem; cursor: pointer;
  margin-top: 8px; font-family: inherit;
}
.btn-back:hover { color: var(--deep); }

.form-legal {
  font-size: .72rem; color: var(--muted);
  text-align: center; margin-top: 12px; line-height: 1.4;
}

/* Success message */
.form-success {
  display: none; text-align: center; padding: 32px 16px;
}
.form-success.active { display: block; }
.form-success .check-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--success); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.6rem;
}
.form-success h3 { color: var(--deep); margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: .9rem; }

/* ── Trust banner ── */
.trust {
  background: var(--light); padding: 28px 16px;
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  text-align: center;
}
.trust-item { font-size: .85rem; color: var(--deep); }
.trust-item strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.trust-icon { font-size: 1.5rem; margin-bottom: 4px; }

/* ── Section commons ── */
.section {
  padding: 56px 16px;
}
.section-inner {
  max-width: 1120px; margin: 0 auto;
}
.section-title {
  font-size: 1.6rem; font-weight: 700;
  color: var(--deep); text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--muted);
  max-width: 640px; margin: 0 auto 36px;
  font-size: 1rem;
}
.section--alt { background: var(--light); }

/* Steps how it works */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.step-card {
  text-align: center; padding: 24px 16px;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.step-card .step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--petrol); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  margin: 0 auto 14px;
}
.step-card h3 { font-size: 1rem; color: var(--deep); margin-bottom: 6px; }
.step-card p { font-size: .88rem; color: var(--muted); }

/* Advantages grid */
.adv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.adv-card {
  padding: 28px 20px;
  border: 1.5px solid var(--border);
  border-radius: 12px; background: var(--white);
}
.adv-card .adv-icon { font-size: 2rem; margin-bottom: 12px; }
.adv-card h3 { font-size: 1.05rem; color: var(--deep); margin-bottom: 8px; }
.adv-card p { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 18px 0; cursor: pointer;
  font-weight: 600; font-size: 1rem;
  color: var(--deep); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; color: var(--petrol);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer {
  padding: 0 0 18px; font-size: .92rem;
  color: var(--muted); line-height: 1.6;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--deep) 0%, var(--petrol) 100%);
  padding: 48px 16px; text-align: center; color: var(--white);
}
.cta-band h2 { font-size: 1.5rem; margin-bottom: 12px; }
.cta-band p { opacity: .9; margin-bottom: 24px; }
.cta-band .btn-primary {
  display: inline-block; width: auto;
  padding: 14px 40px; font-size: 1.05rem;
}

/* Footer */
.footer {
  background: #0F2B30; color: rgba(255,255,255,.6);
  padding: 32px 16px; text-align: center;
  font-size: .82rem; line-height: 1.6;
}
.footer a { color: rgba(255,255,255,.8); }
.footer-links {
  display: flex; justify-content: center;
  gap: 24px; margin-bottom: 12px; flex-wrap: wrap;
}

/* Google review badge in hero */
.google-review {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); border-radius: 8px;
  padding: 10px 16px; margin-top: 20px;
}
.google-stars {
  display: flex; align-items: center; gap: 6px;
}
.google-g { flex-shrink: 0; }
.stars-text {
  color: #FBBC05; font-size: 1.1rem; letter-spacing: 1px;
}
.rating-text {
  font-weight: 700; font-size: 1rem; color: var(--white);
}
.review-label {
  font-size: .82rem; opacity: .8;
}

/* Savings cards */
.savings-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.savings-card {
  text-align: center; padding: 32px 20px;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: var(--white);
  transition: transform .2s, box-shadow .2s;
}
.savings-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.savings-card--highlight {
  border-color: var(--petrol);
  background: linear-gradient(180deg, #EDF5F6 0%, var(--white) 100%);
  box-shadow: 0 4px 16px rgba(54,104,113,.12);
}
.savings-profile {
  font-size: 1.1rem; font-weight: 700; color: var(--deep);
  margin-bottom: 4px;
}
.savings-detail {
  font-size: .85rem; color: var(--muted); margin-bottom: 16px;
}
.savings-amount {
  font-size: 2.4rem; font-weight: 800; color: var(--cta);
  line-height: 1.1; margin-bottom: 4px;
}
.savings-label {
  font-size: .82rem; color: var(--muted);
}

/* Reviews banner */
.reviews-banner {
  display: flex; justify-content: center;
  padding: 24px 0;
}
.reviews-score {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); padding: 20px 32px;
  border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.google-g-big { flex-shrink: 0; }
.reviews-stars {
  color: #FBBC05; font-size: 1.2rem; letter-spacing: 1px;
}
.reviews-stars strong { color: var(--deep); margin-left: 4px; }
.reviews-count {
  font-size: .85rem; color: var(--muted); margin-top: 2px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--deep); color: var(--white);
  padding: 16px; z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,.2);
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.cookie-inner p { font-size: .82rem; flex: 1; min-width: 240px; line-height: 1.5; }
.cookie-inner a { color: #8FD4A4; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button {
  padding: 8px 20px; border: none; border-radius: var(--radius);
  cursor: pointer; font-size: .85rem; font-weight: 600; font-family: inherit;
}
.btn-accept { background: var(--cta); color: var(--white); }
.btn-refuse { background: rgba(255,255,255,.15); color: var(--white); }

/* ── Legal pages ── */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 16px 60px; }
.legal h1 { font-size: 1.6rem; color: var(--deep); margin-bottom: 24px; }
.legal h2 { font-size: 1.15rem; color: var(--deep); margin-top: 28px; margin-bottom: 8px; }
.legal p, .legal li { font-size: .92rem; color: var(--muted); line-height: 1.7; margin-bottom: 8px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--petrol); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 36px 16px 40px; }
  .hero h1 { font-size: 1.6rem; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps-grid, .adv-grid, .savings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-logo span { display: none; }
  .header-phone { font-size: .82rem; padding: 6px 12px; }
  .form-card { padding: 24px 18px; }
  .option-grid { grid-template-columns: 1fr; }
  .option-grid.col-3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; text-align: center; }
}
