:root {
  --bg: #0f1115;
  --bg-alt: #171a21;
  --card: #1e222b;
  --text: #eef0f4;
  --muted: #a3a9b6;
  --accent: #ff6a1a;
  --accent-dark: #e25300;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.edu-bar { background: #2a2f3a; color: var(--muted); font-size: 13px; text-align: center; padding: 6px 16px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(15, 17, 21, .92); backdrop-filter: blur(6px); border-bottom: 1px solid #262a33; }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }

.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--accent-dark); }
.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--ghost { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.note { color: var(--muted); font-size: 14px; }

/* first screen: photo under the text, dark gradient on the left so the text reads */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; padding: 72px 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 15%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.55) 45%, rgba(15,17,21,.92) 70%); }
.hero__in { position: relative; z-index: 2; display: flex; justify-content: flex-end; width: 100%; }
.hero__text { max-width: 520px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; margin: 0 0 18px; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.lead { font-size: 18px; color: #d3d7df; margin: 0 0 28px; }

.photo { display: block; width: 100%; border-radius: var(--radius); object-fit: cover; }
.photo--wide { margin-top: 24px; aspect-ratio: 21 / 9; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.benefits .photo { height: 100%; min-height: 280px; }
.cards--2 { grid-template-columns: 1fr 1fr !important; }

.block { padding: 64px 0; }
.block--alt { background: var(--bg-alt); }
.block h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 28px; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cards li { background: var(--card); border-radius: var(--radius); padding: 22px; color: var(--muted); }
.cards b { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.reviews figure { margin: 0; background: var(--card); border-radius: var(--radius); padding: 0 0 22px; overflow: hidden; }
.reviews figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; }
.reviews blockquote, .reviews figcaption { padding: 0 22px; }
.reviews blockquote { margin: 0 0 12px; }
.reviews figcaption { color: var(--accent); font-weight: 700; }
.brands { color: var(--muted); margin-top: 24px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--card); border-radius: var(--radius); padding: 22px; color: var(--muted); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps b { display: block; color: var(--text); margin-bottom: 4px; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price { background: var(--card); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.price img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.price h3 { margin: 0; font-size: 22px; }
.price .sum { font-size: 26px; font-weight: 800; color: var(--accent); margin: 0; }
.price p { color: var(--muted); margin: 0 0 12px; flex: 1; }
.price--main { outline: 2px solid var(--accent); }

details { background: var(--card); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

.block--cta { background: linear-gradient(135deg, #3a1d0d, var(--bg-alt)); }
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
#lead-form { background: var(--card); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
#lead-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
#lead-form input { background: #11141a; border: 1px solid #333946; border-radius: 10px; color: var(--text); font-size: 16px; padding: 12px 14px; }
#lead-form input:focus { outline: 2px solid var(--accent); border-color: transparent; }
#lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-msg.ok { color: #4ade80; }
.form-msg.err { color: #f87171; }

.foot { padding: 28px 0; color: var(--muted); font-size: 14px; border-top: 1px solid #262a33; }

@media (max-width: 760px) {
  .form-wrap, .benefits, .cards--2 { grid-template-columns: 1fr !important; }
  .hero { min-height: 0; padding: 220px 0 48px; }
  .hero::after { background: linear-gradient(180deg, rgba(15,17,21,.1) 0%, rgba(15,17,21,.75) 45%, rgba(15,17,21,.95) 70%); }
  .hero__in { justify-content: flex-start; }
  .top .btn--small { display: none; }
}
