:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3fa;
  --text: #10223a;
  --text-soft: #42556f;
  --line: #d8e1ec;
  --brand: #d93930;
  --brand-dark: #a7231d;
  --accent: #0b74de;
  --ok: #148d57;
  --shadow: 0 12px 36px rgba(16, 34, 58, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at 0% 0%, #ffffff 0%, var(--bg) 44%, #e8edf6 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.top-strip {
  background: linear-gradient(90deg, #10223a 0%, #0d315f 100%);
  color: #f1f5fb;
  font-size: 0.88rem;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.76rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand);
}

.header-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.btn,
.btn-secondary {
  border: 0;
  border-radius: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.7rem 1rem;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn {
  background: var(--brand);
  color: #ffffff;
}

.btn:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: #eef3fa;
  color: #10223a;
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: #e1e8f3;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.4rem 0 3rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.27;
  z-index: -1;
}

.hero::before {
  width: 24rem;
  height: 24rem;
  right: -9rem;
  top: -10rem;
  background: #fac5c1;
}

.hero::after {
  width: 16rem;
  height: 16rem;
  left: -6rem;
  bottom: -8rem;
  background: #bfdcfb;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.8rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid #f5b6b2;
  background: #fff1f0;
  padding: 0.45rem 0.8rem;
  color: #952722;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero h1 {
  margin: 0.9rem 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 1rem 0 0;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 62ch;
}

.hero-cta {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-list {
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  list-style: none;
  padding: 0;
}

.hero-list li {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.quote-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.quote-card p {
  margin: 0.5rem 0 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  background: #fbfdff;
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field.full {
  grid-column: 1 / -1;
}

.note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.section {
  padding: 3.2rem 0;
}

.section-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
}

.section-lead {
  margin: 0.65rem 0 0;
  max-width: 72ch;
  color: var(--text-soft);
  line-height: 1.7;
}

.product-grid,
.trust-grid,
.testimonial-grid,
.info-grid,
.payment-grid,
.legal-grid {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.95rem;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid,
.payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid,
.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(16, 34, 58, 0.07);
}

.card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.93rem;
}

.card .mini {
  margin-top: 0.45rem;
  display: inline-flex;
  border-radius: 999px;
  background: #edf4ff;
  color: #0d315f;
  border: 1px solid #cadef9;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.pill-row {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f9fbff;
  padding: 0.35rem 0.65rem;
  font-size: 0.79rem;
  color: var(--text-soft);
}

.policy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  padding: 0.75rem;
  font-weight: 700;
  color: #1a2f4a;
  background: #fcfdff;
}

.policy-link:hover {
  border-color: #b9cadf;
  background: #f1f6fe;
}

.footer {
  background: #0f2137;
  color: #deebff;
  margin-top: 2.5rem;
}

.footer .container {
  padding: 2rem 0 1.1rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.footer h4 {
  margin: 0;
  font-size: 1rem;
}

.footer p,
.footer li {
  margin: 0.5rem 0 0;
  color: #c7d8ef;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(199, 216, 239, 0.2);
  padding-top: 0.9rem;
  font-size: 0.8rem;
  color: #bcd0ea;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-kpis {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.kpi {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  min-width: 132px;
  padding: 0.65rem;
}

.kpi strong {
  display: block;
  font-size: 1rem;
}

.kpi span {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.page-hero {
  padding: 3rem 0 1.8rem;
}

.page-hero .card {
  background: linear-gradient(130deg, #ffffff 0%, #eef4ff 100%);
}

.policy-content {
  padding-bottom: 2.5rem;
}

.policy-content .card {
  margin-top: 1rem;
}

.policy-content h2 {
  margin: 0;
  font-size: 1.35rem;
}

.policy-content h3 {
  margin: 1rem 0 0;
  font-size: 1.03rem;
}

.policy-content p,
.policy-content li {
  margin: 0.55rem 0 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.policy-content ul {
  margin: 0.6rem 0 0;
}

.highlight {
  background: #f5f9ff;
  border: 1px solid #d2e3fb;
  border-radius: 0.8rem;
  padding: 0.8rem;
  color: #173b69;
  font-size: 0.92rem;
}

@media (max-width: 1020px) {
  .hero-grid,
  .product-grid,
  .trust-grid,
  .testimonial-grid,
  .info-grid,
  .payment-grid,
  .legal-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(16, 34, 58, 0.09);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-grid,
  .product-grid,
  .trust-grid,
  .testimonial-grid,
  .info-grid,
  .payment-grid,
  .legal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .top-strip .container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}