:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #0b1020;
  --muted: #4b556a;
  --primary: #0a66ff;
  --primary-dark: #0049c7;
  --ring: rgba(10, 102, 255, 0.25);
  --radius: 20px;
  --shadow: 0 10px 30px rgba(11, 16, 32, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
  line-height: 1.55;
}
.container { width: min(1120px, 92vw); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 10px; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(245, 247, 251, 0.8);
  border-bottom: 1px solid #e4e8f0;
}
.nav-wrap { display: flex; gap: 16px; align-items: center; padding: 10px 0; }
.brand { font-weight: 800; text-decoration: none; color: var(--text); }
.nav-links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; }
.lang-toggle { border: 1px solid #d7deea; background: #fff; border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.hero { display: grid; gap: 32px; grid-template-columns: 1.1fr 1fr; align-items: center; padding: 78px 0 44px; }
.hero-rich {
  position: relative;
  isolation: isolate;
  border-radius: 28px;
  overflow: hidden;
  padding-left: 28px;
  padding-right: 28px;
}
.hero-rich::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(110deg, rgba(246, 250, 255, 0.96) 0%, rgba(246, 250, 255, 0.9) 48%, rgba(25, 43, 78, 0.35) 100%),
    url("media/webp/hero-rider.webp");
  background-size: cover;
  background-position: center 34%;
}
.hero-rich::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 55%);
}
.eyebrow { color: var(--primary); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.1; margin: 0 0 12px; }
.lead { font-size: clamp(1rem, 2.3vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.btn { border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px var(--ring); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #eef3ff; color: #08327e; }
.microcopy { color: var(--muted); font-size: 0.95rem; }
.phone-shell { background: #111; border-radius: 46px; width: min(340px, 88vw); padding: 14px; box-shadow: var(--shadow); margin: 0 auto; }
.phone-notch { width: 40%; height: 24px; background: #222; border-radius: 0 0 16px 16px; margin: 0 auto 10px; }
.phone-screen { background: linear-gradient(160deg, #dfe8ff, #fefeff); border-radius: 34px; min-height: 510px; position: relative; overflow: hidden; }
.screen { position: absolute; inset: 0; padding: 34px 24px; opacity: 0; transform: translateX(10px); transition: 500ms ease; display: flex; flex-direction: column; justify-content: center; }
.screen.active { opacity: 1; transform: translateX(0); }
.screen h3 { font-size: 1.65rem; margin-bottom: 8px; }
.tag { background: #fff; border-radius: 999px; padding: 8px 14px; width: fit-content; font-weight: 700; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.dots button { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #7e89a5; }
.dots button.active { background: #fff; transform: scale(1.2); }
.section { padding: 64px 0; }
.section-alt { background: #eef2fa; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-top: 0; }
.pain-list { padding-left: 18px; color: #1b2740; }
.vignette { color: var(--muted); background: #fff; padding: 20px; border-radius: var(--radius); border: 1px solid #e3e8f4; }
.section-problem { padding-top: 74px; }
.problem-layout { display: grid; gap: 22px; grid-template-columns: 1.2fr 0.8fr; align-items: stretch; }
.problem-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e7ecf6;
  box-shadow: var(--shadow);
}
.problem-visual img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.gallery-intro { color: var(--muted); max-width: 70ch; margin-bottom: 18px; }
.photo-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e7ecf6;
  box-shadow: var(--shadow);
  background: var(--card);
}
.photo-card img {
  display: block;
  width: 100%;
  height: clamp(220px, 28vw, 320px);
  object-fit: cover;
}
.card-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .price-card, .testimonials blockquote {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; border: 1px solid #e7ecf6;
}
.feature-card .why { color: #21345d; font-weight: 600; }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps article {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #dde5f5;
  box-shadow: var(--shadow);
}
.steps article img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #dbe7ff; font-weight: 800; margin-bottom: 10px; }
.rating { font-size: 1.2rem; font-weight: 700; }
.testimonials { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonials cite { display: block; margin-top: 8px; color: var(--muted); font-style: normal; }
.pricing-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.pricing-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price { font-size: 1.8rem; font-weight: 800; }
.popular { border: 2px solid #5e8fff; transform: translateY(-6px); }
.badge { background: #0a66ff; color: #fff; width: fit-content; padding: 6px 10px; border-radius: 999px; font-weight: 700; }
.risk { text-align: center; color: var(--muted); margin-top: 22px; }
.faq-list details { background: #fff; padding: 14px 16px; border-radius: 14px; margin-bottom: 10px; border: 1px solid #e3e8f4; }
.faq-list summary { cursor: pointer; font-weight: 700; }
form { background: #fff; border: 1px solid #e3e8f4; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
label { display: grid; gap: 6px; font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
input, select {
  width: 100%; border: 1px solid #ccd6ea; border-radius: 12px; padding: 11px 12px; font: inherit;
}
input:focus, select:focus { outline: 3px solid var(--ring); border-color: var(--primary); }
.consent { margin: 10px 0; display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
#formMessage { min-height: 26px; font-weight: 700; }
#formMessage.error { color: #9f1c1c; }
#formMessage.success { color: #0a6f2e; }
.center { text-align: center; }
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  color: #fff;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(110deg, rgba(9, 26, 58, 0.86) 0%, rgba(9, 26, 58, 0.66) 45%, rgba(9, 26, 58, 0.58) 100%),
    url("media/webp/cta-stable.webp");
  background-size: cover;
  background-position: center;
}
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 56, 124, 0.2) 0%, rgba(15, 56, 124, 0.48) 100%);
}
.final-cta h2 { color: #fff; }
.final-cta .btn-primary { background: #fff; color: #0d3f8d; box-shadow: none; }
.final-cta .btn-primary:hover { background: #e9f1ff; }
@media (max-width: 960px) {
  .hero, .problem-layout, .photo-grid, .card-grid, .steps, .testimonials, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .hero-phone { order: -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero, .problem-layout, .photo-grid, .card-grid, .steps, .testimonials, .pricing-grid, .grid-2 { grid-template-columns: 1fr; }
  .hero-rich { padding-left: 16px; padding-right: 16px; border-radius: 22px; }
  .problem-visual img { min-height: 280px; }
  .nav-wrap { flex-wrap: wrap; }
}
