:root {
  --primary: #9066eb;
  --primary-deep: #6f43d1;
  --accent: #ffcd25;
  --accent-soft: #ffe790;
  --text: #221a3a;
  --muted: #6f6687;
  --surface: #ffffff;
  --surface-soft: #f8f5ff;
  --surface-warm: #fffaf0;
  --border: rgba(144, 102, 235, 0.16);
  --shadow-lg: 0 24px 60px rgba(52, 31, 104, 0.14);
  --shadow-md: 0 16px 36px rgba(61, 38, 123, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 205, 37, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(144, 102, 235, 0.14), transparent 24%),
    linear-gradient(180deg, #fcfaff 0%, #ffffff 35%, #fffdfa 100%);
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 205, 37, 0.18);
  color: var(--primary-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #a07af3 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(144, 102, 235, 0.28);
}

.btn-secondary {
  background: #fff;
  color: var(--primary-deep);
  border: 1px solid rgba(144, 102, 235, 0.2);
  box-shadow: 0 10px 22px rgba(144, 102, 235, 0.1);
}

.btn-accent {
  background: linear-gradient(135deg, #ffcd25 0%, #ffd95e 100%);
  color: #412d00;
  box-shadow: 0 16px 30px rgba(255, 205, 37, 0.28);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(144, 102, 235, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--text);
}

.brand-logo {
  width: 200px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 40%),
    linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  position: relative;
  box-shadow: 0 14px 26px rgba(144, 102, 235, 0.2);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 999px;
}

.brand-mark::before {
  width: 22px;
  height: 7px;
  left: 12px;
  top: 19px;
  transform: rotate(-24deg);
}

.brand-mark::after {
  width: 10px;
  height: 10px;
  right: 9px;
  top: 10px;
}

.brand-text span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-deep);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(144, 102, 235, 0.15);
  border-radius: 16px;
  background: #fff;
  color: var(--primary-deep);
  font-size: 1.25rem;
}

.hero {
  padding: 42px 0 56px;
  overflow: hidden;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  padding: 40px;
  border-radius: 40px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 255, 0.94)),
    linear-gradient(135deg, rgba(144, 102, 235, 0.08), rgba(255, 205, 37, 0.1));
  border: 1px solid rgba(144, 102, 235, 0.12);
  box-shadow: var(--shadow-lg);
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  z-index: 0;
  opacity: 0.7;
}

.hero-shell::before {
  width: 280px;
  height: 280px;
  background: rgba(255, 205, 37, 0.18);
  right: -60px;
  top: -60px;
}

.hero-shell::after {
  width: 220px;
  height: 220px;
  background: rgba(144, 102, 235, 0.18);
  left: -40px;
  bottom: -60px;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy p {
  max-width: 620px;
  margin-top: 22px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  border: 1px solid rgba(144, 102, 235, 0.12);
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(93, 70, 151, 0.08);
}

.check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 205, 37, 0.22);
  color: var(--primary-deep);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 900;
}

.hero-visual {
  display: grid;
  align-content: center;
  gap: 18px;
}

.visual-stack {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: end;
}

.floating-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(144, 102, 235, 0.12);
  box-shadow: var(--shadow-md);
}

.floating-card strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.placeholder {
  width: 100%;
  border-radius: 28px;
  background: #d8d8dd;
  border: 1px solid #c7c7d1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  color: #5d5f6d;
  text-align: center;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(315deg, rgba(0, 0, 0, 0.05), transparent 35%);
}

.responsive-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 28px;
}

.placeholder span {
  position: relative;
  z-index: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.placeholder small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #76798a;
}

.placeholder.hero-phone {
  min-height: 520px;
}

.placeholder.hero-shot {
  min-height: 420px;
}

.stats-grid,
.features-grid,
.benefits-grid,
.faq-grid,
.legal-grid {
  display: grid;
  gap: 20px;
}

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

.stat-card,
.feature-card,
.benefit-card,
.legal-card,
.contact-card,
.loan-card,
.step-card,
.testimonial-card,
.responsible-box,
.security-box,
.about-copy,
.about-visual,
.trust-copy,
.trust-note {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-card {
  padding: 28px 24px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.trust-layout,
.about-layout,
.loan-layout,
.security-layout,
.contact-layout,
.final-cta-shell {
  display: grid;
  gap: 24px;
  align-items: center;
}

.trust-layout,
.security-layout {
  grid-template-columns: 1.05fr 0.95fr;
}

.contact-layout {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.about-layout {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.loan-layout {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.trust-copy,
.about-copy,
.loan-card,
.security-box,
.contact-card,
.trust-note {
  padding: 30px;
}

.trust-note {
  display: grid;
  gap: 16px;
}

.about-visual {
  padding: 18px;
}

.trust-note .placeholder,
.contact-layout .placeholder {
  min-height: 320px;
}

.about-visual .placeholder {
  min-height: 480px;
}

.security-layout .placeholder {
  min-height: 500px;
}

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

.feature-card,
.benefit-card,
.step-card,
.testimonial-card,
.legal-card {
  padding: 28px;
}

.icon-badge,
.step-badge {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(144, 102, 235, 0.14), rgba(255, 205, 37, 0.22));
  color: var(--primary-deep);
  font-size: 1.4rem;
  margin-bottom: 18px;
  font-weight: 900;
}

.steps-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 205, 37, 0.14);
}

.step-badge {
  background: linear-gradient(135deg, var(--primary) 0%, #b08bff 100%);
  color: #fff;
}

.loan-card ul,
.responsible-box ul,
.security-box ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.loan-card li,
.responsible-box li,
.security-box li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
}

.loan-card li strong,
.security-box li strong {
  color: var(--text);
}

.loan-card li::before,
.responsible-box li::before,
.security-box li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 205, 37, 0.22);
  color: var(--primary-deep);
  font-weight: 900;
  margin-top: 1px;
}

.loan-terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.loan-term {
  padding: 18px;
  background: var(--surface-soft);
  border-radius: 20px;
  border: 1px solid rgba(144, 102, 235, 0.12);
}

.loan-term span {
  display: block;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}

.loan-term strong {
  font-size: 1.15rem;
  color: var(--text);
}

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

.benefit-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 240, 0.96));
}

.responsible-box,
.security-box {
  padding: 34px;
}

.testimonial-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 245, 255, 1));
}

.quote-mark {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

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

.faq-item {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 26px;
  font-weight: 800;
  color: var(--text);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 20px;
  font-size: 1.5rem;
  color: var(--primary-deep);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 26px 24px;
}

.contact-layout .placeholder {
  min-height: 360px;
}

.contact-card a {
  color: var(--primary-deep);
  font-weight: 800;
}

.contact-points {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-point {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid rgba(144, 102, 235, 0.12);
}

.final-cta {
  padding-top: 24px;
}

.final-cta-shell {
  grid-template-columns: 1.1fr auto;
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(144, 102, 235, 0.95), rgba(111, 67, 209, 0.95)),
    linear-gradient(120deg, rgba(255, 205, 37, 0.18), transparent);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.final-cta-shell p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 10px;
  max-width: 680px;
}

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

.legal-card {
  min-height: 100%;
}

.footer {
  padding: 36px 0 46px;
  border-top: 1px solid rgba(144, 102, 235, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 26px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links h4,
.footer-brand h4 {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-note {
  padding-top: 24px;
  display: grid;
  gap: 12px;
}

.copyright {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .hero-shell,
  .trust-layout,
  .about-layout,
  .loan-layout,
  .security-layout,
  .contact-layout,
  .footer-top,
  .final-cta-shell {
    grid-template-columns: 1fr;
  }

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

  .features-grid,
  .steps-grid,
  .testimonials-grid,
  .faq-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-wrap {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 12px);
    display: none;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(144, 102, 235, 0.14);
    box-shadow: var(--shadow-md);
  }

  .nav-wrap.open {
    display: grid;
    gap: 18px;
  }

  .site-nav {
    display: grid;
    gap: 14px;
  }

  .hero-shell {
    padding: 28px 22px;
  }

  .hero-highlights,
  .loan-terms,
  .stats-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header {
    padding: 14px 0;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .final-cta-shell {
    padding: 28px 22px;
  }
}
