/* Credit OK — односторінковий лендінг */
:root {
  --blue: #1657d0;
  --blue-dark: #0e3c94;
  --yellow: #ffd400;
  --yellow-dark: #f0b400;
  --ink: #1b2337;
  --muted: #5b6478;
  --bg: #f4f7fd;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 60, 148, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Кнопки */
.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--yellow-dark); }
.btn:active { transform: scale(.98); }
.btn--small { padding: 10px 18px; font-size: 15px; }
.btn--full { width: 100%; padding: 16px; font-size: 18px; }

/* Хедер */
.header {
  background: var(--white);
  border-bottom: 1px solid #e7ecf5;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.5px;
}
.logo span { color: var(--blue); }

/* Герой */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 56px 0 64px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}
.hero__text h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.accent { color: var(--yellow); }
.hero__benefits {
  list-style: none;
  margin-bottom: 28px;
}
.hero__benefits li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
  font-size: 17px;
}
.hero__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Форма */
.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}
.form-card h2 { font-size: 26px; margin-bottom: 18px; }

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin: 16px 0 6px;
}
.amount-value {
  font-size: 34px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
}
input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #e2e9f6;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

input[type="tel"] {
  width: 100%;
  font-size: 18px;
  padding: 14px 16px;
  border: 2px solid #dfe6f2;
  border-radius: 12px;
  outline: none;
  transition: border-color .15s;
}
input[type="tel"]:focus { border-color: var(--blue); }
input[type="tel"].invalid { border-color: #e03131; }

.field-error {
  display: none;
  color: #e03131;
  font-size: 13px;
  margin-top: 6px;
}
.field-error.show { display: block; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  margin: 18px 0 16px;
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--blue); }

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* Екран «дякуємо» */
.thanks { text-align: center; }
.thanks__icon {
  width: 72px;
  height: 72px;
  margin: 8px auto 18px;
  border-radius: 50%;
  background: #e6f7ec;
  color: #2b9348;
  font-size: 38px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks p { margin-bottom: 10px; }

/* Секції */
.section { padding: 64px 0; }
.section--alt { background: var(--bg); }
.section__title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -.5px;
}
.section__title--left { text-align: left; }

/* Кроки */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Спліт фото + текст */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split--reverse .split__img { order: 2; }
.split__img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.check-list {
  list-style: none;
  margin-bottom: 26px;
}
.check-list li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 14px;
  font-size: 17px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calc-example { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.calc-example strong { color: var(--ink); }

/* Партнери */
.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner {
  border: 1px solid #e7ecf5;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 4px 14px rgba(14, 60, 148, .05);
}
.partner h3 {
  font-size: 21px;
  color: var(--blue);
  margin-bottom: 12px;
}
.partner p { font-size: 13.5px; color: var(--muted); margin-bottom: 5px; }
.partner p strong { color: var(--ink); }
.partner__example {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #dfe6f2;
  font-size: 12.5px !important;
}

/* Футер */
.footer {
  background: var(--ink);
  color: #aab3c8;
  padding: 40px 0;
  font-size: 14px;
}
.footer a { color: #cdd6ea; }
.footer p { margin-bottom: 10px; }
.footer__disclaimer { font-size: 13px; line-height: 1.6; }
.footer__copy { margin-top: 18px; color: #7c869e; }

/* Мобілка */
@media (max-width: 860px) {
  .hero { padding: 32px 0 44px; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__text h1 { font-size: 32px; }
  .hero__img { display: none; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split--reverse .split__img { order: 0; }
  .partners { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .section__title { font-size: 26px; margin-bottom: 28px; }
}
