:root {
  --qw-navy: #06104d;
  --qw-blue: #003bdc;
  --qw-blue-2: #0056ff;
  --qw-soft: #f5f8ff;
  --qw-panel: #ffffff;
  --qw-line: #dce6fb;
  --qw-muted: #48547c;
  --qw-shadow: 0 18px 45px rgba(5, 31, 120, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--qw-navy);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.qw-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 96px;
  padding: 14px clamp(28px, 5vw, 86px);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}
.qw-logo img { width: 246px; }
.qw-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 48px);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}
.qw-nav a {
  position: relative;
  padding: 12px 0;
}
.qw-nav a.active::after,
.qw-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: var(--qw-blue);
}
.qw-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.qw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 2px solid var(--qw-blue);
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease;
}
.qw-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 55, 200, .18); }
.qw-btn-primary { color: #fff; background: linear-gradient(135deg, #0631bd, #0049ff); }
.qw-btn-outline { color: var(--qw-blue); background: #fff; }
.qw-btn-light { color: var(--qw-navy); background: #fff; border-color: #fff; }
.qw-btn-ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.95); }
.qw-menu {
  display: none;
  justify-self: end;
  width: 48px;
  height: 48px;
  border: 2px solid var(--qw-blue);
  border-radius: 50%;
  background: #fff;
}
.qw-menu span { display: block; width: 21px; height: 2px; margin: 5px auto; background: var(--qw-blue); }

.qw-hero {
  position: relative;
  width: 100%;
  background: #fff;
  overflow: hidden;
}
.qw-hero picture {
  display: block;
}
.qw-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.qw-hero-link {
  position: absolute;
  left: calc(var(--x) / 3190 * 100%);
  top: calc(var(--y) / 806 * 100%);
  width: calc(var(--w) / 3190 * 100%);
  height: calc(var(--h) / 806 * 100%);
  border-radius: 999px;
}
.qw-hero-link:focus-visible { outline: 3px solid #00d4ff; outline-offset: 3px; }

.qw-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 24px clamp(28px, 7vw, 118px);
  background: #fff;
}
.qw-benefit {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  padding: 0 32px;
  border-right: 1px solid #ccd9f2;
}
.qw-benefit:last-child { border-right: 0; }
.qw-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 35% 25%, #315dff, #061f91 72%);
  font-size: 30px;
  font-weight: 950;
}
.qw-benefit h2,
.qw-trust h2 {
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}
.qw-benefit p,
.qw-trust p {
  margin: 0;
  color: var(--qw-navy);
  font-size: 15px;
  line-height: 1.45;
}

.qw-home-grid {
  display: grid;
  grid-template-columns: minmax(480px, 1.15fr) minmax(420px, .95fr);
  gap: 34px;
  align-items: center;
  padding: 28px clamp(28px, 7vw, 118px) 16px;
}
.qw-promo {
  overflow: hidden;
  display: grid;
  grid-template-columns: .82fr 1fr;
  min-height: 222px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #052281, #0032c8);
  box-shadow: var(--qw-shadow);
}
.qw-promo-copy { padding: 25px 0 22px 40px; }
.qw-promo h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: .95;
  font-weight: 950;
  font-style: italic;
  text-transform: uppercase;
}
.qw-promo p { margin: 0 0 18px; max-width: 335px; line-height: 1.45; }
.qw-promo img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }

.qw-categories h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 2.1vw, 36px);
  line-height: 1;
  font-weight: 950;
  font-style: italic;
  text-transform: uppercase;
}
.qw-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(76px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.qw-category-grid a {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 12px 8px;
  border-radius: 10px;
  color: var(--qw-navy);
  background: linear-gradient(180deg, #fff, #f4f7ff);
  box-shadow: 0 12px 28px rgba(4, 27, 105, .08);
  text-align: center;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 950;
  text-transform: uppercase;
}
.qw-category-grid span { display: block; color: var(--qw-blue); font-size: 42px; line-height: 1; }

.qw-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
  min-height: 84px;
  margin: 0 clamp(28px, 7vw, 118px) 28px;
  padding: 16px 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #052caa, #001d87);
  box-shadow: var(--qw-shadow);
}
.qw-stats div { display: grid; gap: 2px; }
.qw-stats strong { font-size: clamp(20px, 1.55vw, 26px); line-height: 1.1; text-transform: uppercase; }
.qw-stats span { font-size: 14px; text-transform: uppercase; }

.qw-package-hero {
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 28px;
  padding: 48px clamp(28px, 7vw, 88px);
  text-align: center;
}
.qw-package-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: .96;
  font-weight: 950;
  font-style: italic;
  letter-spacing: -1px;
  text-transform: uppercase;
}
.qw-package-hero h1 span,
.qw-package-hero strong { color: var(--qw-blue-2); }
.qw-package-hero p {
  margin: 0;
  color: #49527a;
  font-size: clamp(22px, 2vw, 28px);
}
.qw-package-hero img { width: 220px; }

.qw-pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding: 16px clamp(28px, 7vw, 88px) 30px;
}
.qw-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 34px 30px;
  border: 1px solid #e1e8f7;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--qw-shadow);
  text-align: center;
}
.qw-price-card.popular { border: 2px solid var(--qw-blue); transform: translateY(-14px); }
.qw-badge {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 178px;
  padding: 7px 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--qw-blue);
  font-weight: 950;
}
.qw-price-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--qw-blue);
  background: #eaf2ff;
  font-size: 30px;
  font-weight: 950;
}
.qw-price-card h2 { margin: 0 0 24px; font-size: 24px; line-height: 1; }
.qw-price { margin: 0 0 14px; color: var(--qw-blue); font-size: 48px; font-weight: 950; line-height: 1; }
.qw-price span { color: #3d4774; font-size: 18px; font-weight: 500; }
.qw-price-card .sub { min-height: 54px; margin: 0 0 20px; color: #3d4774; line-height: 1.45; }
.qw-price-card ul {
  display: grid;
  gap: 14px;
  margin: 0 0 30px;
  padding: 24px 0 0;
  border-top: 1px solid var(--qw-line);
  list-style: none;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
}
.qw-price-card li::before { content: "✓"; margin-right: 12px; color: var(--qw-blue); font-weight: 950; }
.qw-price-card .qw-btn { margin-top: auto; width: 100%; min-height: 54px; text-transform: none; font-size: 17px; }

.qw-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 clamp(28px, 7vw, 88px) 26px;
  padding: 22px 28px;
  border-radius: 16px;
  background: #edf5ff;
}
.qw-trust article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: center;
  padding: 0 24px;
  border-right: 1px solid #c6d7f7;
}
.qw-trust article:last-child { border-right: 0; }
.qw-guarantee {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 clamp(28px, 7vw, 88px) 34px;
  padding: 22px 38px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0631bd, #001b82);
  box-shadow: var(--qw-shadow);
}
.qw-guarantee .qw-icon { color: var(--qw-blue); background: #fff; }
.qw-guarantee h2 { margin: 0 0 8px; font-size: 22px; }
.qw-guarantee p { margin: 0; }

.qw-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px clamp(28px, 7vw, 88px);
  color: rgba(255,255,255,.72);
  background: #050b3b;
}
.qw-footer a { margin-left: 16px; }

@media (max-width: 1260px) {
  .qw-header { grid-template-columns: 240px 1fr auto; gap: 18px; }
  .qw-logo img { width: 220px; }
  .qw-nav { gap: 18px; font-size: 13px; }
  .qw-benefits,
  .qw-pricing,
  .qw-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qw-benefit,
  .qw-trust article { border-right: 0; border-bottom: 1px solid #cddbf6; padding: 20px; }
  .qw-home-grid { grid-template-columns: 1fr; }
  .qw-price-card.popular { transform: none; }
}

@media (max-width: 920px) {
  .qw-header { grid-template-columns: 1fr auto; min-height: 82px; }
  .qw-menu { display: block; }
  .qw-nav,
  .qw-actions { display: none; }
  .qw-header.menu-open .qw-nav,
  .qw-header.menu-open .qw-actions { display: flex; grid-column: 1 / -1; }
  .qw-header.menu-open .qw-nav { flex-direction: column; align-items: stretch; padding-top: 12px; }
  .qw-header.menu-open .qw-actions { justify-content: stretch; }
  .qw-header.menu-open .qw-actions .qw-btn { flex: 1; }
  .qw-package-hero { grid-template-columns: 1fr; }
  .qw-package-hero img { justify-self: center; }
  .qw-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qw-stats,
  .qw-guarantee { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .qw-header { padding: 12px 18px; }
  .qw-logo img { width: 190px; }
  .qw-benefits,
  .qw-home-grid,
  .qw-package-hero,
  .qw-pricing { padding-left: 18px; padding-right: 18px; }
  .qw-header.menu-open .qw-actions { flex-direction: column; }
  .qw-btn { width: 100%; }
  .qw-benefits,
  .qw-pricing,
  .qw-trust,
  .qw-stats,
  .qw-guarantee { grid-template-columns: 1fr; }
  .qw-promo { grid-template-columns: 1fr; }
  .qw-promo-copy { padding: 26px; }
  .qw-promo img { min-height: 180px; }
  .qw-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qw-stats,
  .qw-trust,
  .qw-guarantee { margin-left: 18px; margin-right: 18px; padding: 22px; }
  .qw-hero-link {
    left: calc(var(--x) / 1120 * 100%);
    width: calc(var(--w) / 1120 * 100%);
  }
}
