:root {
  --brand: #ff6619;
  --brand-dark: #c43200;
  --ink: #24140e;
  --muted: #6d584e;
  --line: rgba(255, 102, 25, 0.16);
  --bg: #fff8f4;
  --card: #fff;
  --shadow: 0 24px 60px rgba(120, 42, 8, 0.12);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(255, 159, 74, 0.35), transparent 46%),
    var(--bg);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6vw;
  background: rgba(255, 248, 244, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 102, 25, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand img,
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(232, 53, 0, 0.25);
}

.nav nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.nav nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--muted);
}

.nav nav a:hover { color: var(--brand-dark); }

main { padding-bottom: 24px; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 0;
}

.kicker {
  margin: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.banner h2,
.estimator h2 {
  margin: 8px 0 0;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.hero h1 { font-size: clamp(36px, 5vw, 62px); }

.lead,
.section-head p,
.banner p,
.note,
footer p {
  color: var(--muted);
  line-height: 1.6;
}

.hero .lead { max-width: 38rem; font-size: 18px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7a33, var(--brand-dark));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(232, 53, 0, 0.28);
}

.btn-ghost {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-stats strong { display: block; font-size: 20px; }
.hero-stats span { color: var(--muted); font-size: 12px; font-weight: 700; }

.hero-photo {
  position: relative;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: min(560px, 72vw);
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  background: rgba(36, 20, 14, 0.55);
  backdrop-filter: blur(8px);
}

.hero-photo strong { display: block; }
.hero-photo span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; }

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 0;
}

.strip p {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.strip strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 15px; }

.advantages,
.steps,
.questions {
  width: min(1120px, calc(100% - 40px));
  margin: 72px auto 0;
}

.section-head { max-width: 680px; }
.section-head h2,
.banner h2,
.estimator h2 { font-size: clamp(28px, 4vw, 42px); }

.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.advantage-grid article,
.faq article,
.steps li,
.estimator {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.advantage-grid article { padding: 22px; }
.advantage-grid h3,
.steps h3,
.faq h3 { margin: 0 0 8px; font-size: 18px; }
.advantage-grid p,
.steps p,
.faq p { margin: 0; color: var(--muted); line-height: 1.55; }

.photo-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px !important;
}

.photo-card img {
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 16px;
}

.banner {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 72px auto 0;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner div {
  position: relative;
  max-width: 560px;
  margin: 28px;
  padding: 22px;
  border-radius: 20px;
  color: #fff;
  background: rgba(36, 20, 14, 0.55);
  backdrop-filter: blur(8px);
}

.banner .kicker { color: #ffd0b4; }
.banner h2,
.banner p { color: #fff; }

.steps ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.steps li { padding: 20px; }
.steps li span {
  display: block;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.estimator {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  width: min(1120px, calc(100% - 40px));
  margin: 72px auto 0;
  padding: 28px;
  box-shadow: var(--shadow);
}

.field-label {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.figure {
  margin: 4px 0 8px;
  color: var(--brand);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

input[type="range"] { width: 100%; accent-color: var(--brand); }

.range-ends {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.presets,
.terms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.presets button { height: 38px; border-radius: 999px; }
.terms button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  border-radius: 16px;
  font-size: 20px;
}
.terms button span { font-size: 11px; color: var(--muted); }
button.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #ff7a33, var(--brand-dark));
}
.terms button.is-active span { color: #fff; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.stats p {
  margin: 0;
  padding: 12px;
  border-radius: 16px;
  background: #fff8f4;
  border: 1px solid var(--line);
}

.stats span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.stats strong { display: block; margin-top: 4px; font-size: 18px; }
.stats .wide { grid-column: 1 / -1; }
.stats .wide strong { color: var(--brand); font-size: 26px; }

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-head h3 { margin: 0; font-size: 22px; }

.rate-pill {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 102, 25, 0.12);
  font-size: 12px;
  font-weight: 800;
}

.plan {
  max-height: 520px;
  margin: 14px 0 0;
  padding: 0 4px 0 0;
  overflow: auto;
  list-style: none;
}

.plan li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.plan b {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  line-height: 32px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #ff7a33, var(--brand-dark));
  font-size: 13px;
}

.plan strong { display: block; }
.plan .due { color: var(--ink); font-weight: 800; }
.plan em {
  grid-column: 2;
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
}

.note { margin: 12px 0 0; font-size: 13px; }

.faq {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.faq article { padding: 20px; }

footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 64px auto 0;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

footer h2 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer p { margin: 0 0 6px; font-size: 14px; }
footer strong { display: block; margin-bottom: 4px; font-size: 18px; }

.footer-company {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-company a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.footer-company a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .hero,
  .estimator,
  .steps ol,
  .faq,
  .strip,
  footer { grid-template-columns: 1fr 1fr; }

  .hero { align-items: start; }
  .faq { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .hero,
  .advantage-grid,
  .strip,
  .estimator,
  .steps ol,
  .hero-stats { grid-template-columns: 1fr; }
  .photo-card { grid-template-columns: 1fr; }
  .photo-card img { width: 100%; height: 180px; }
  .hero-photo img { height: 280px; }
  .figure { font-size: 36px; }
  .presets,
  .terms { grid-template-columns: repeat(2, 1fr); }
  .banner div { margin: 16px; }
}
