:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #1d4ed8;
  --primary-2: #1e3a8a;
  --accent: #0ea5e9;
  --success: #166534;
  --danger: #b91c1c;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 6px 20px rgba(15, 23, 42, 0.06);
  --maxw: 1120px;
  --space: clamp(16px, 2vw, 28px);
  --font: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7ff 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(var(--maxw), calc(100% - 2rem)); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 88px) 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: #000; color: #fff;
  padding: 8px 12px; z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid #dbe4ff;
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-badge {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
}
.brand-text { letter-spacing: 0.5px; }

.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a { font-weight: 600; color: #1e293b; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }

.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px 0; background: #0f172a;
}

.hero-grid { display: grid; gap: 26px; align-items: center; }
.hero-copy h1 { font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.2; margin: 10px 0 14px; }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; font-size: .83rem; }
.hero-copy p { color: var(--muted); }
.hero-cta { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-highlights { margin-top: 16px; display: grid; gap: 8px; color: #1e293b; }
.hero-highlights li::before { content: "✓"; color: var(--success); margin-right: 8px; }
.hero-media img { box-shadow: var(--shadow); min-height: 260px; object-fit: cover; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 12px; font-weight: 700;
  border: 1px solid transparent; transition: .25s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn-ghost { border-color: #c7d2fe; color: var(--primary-2); background: #fff; }
.btn-ghost:hover { background: #eef2ff; }

.section-heading { margin-bottom: 24px; }
.section-heading h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.2; margin: 8px 0; }
.section-heading p { color: var(--muted); }

.card {
  background: var(--surface); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-soft); border: 1px solid #e6ecff;
}
.trust-grid, .services-grid, .steps-grid { display: grid; gap: 16px; }
.service h3, .step h3 { margin-bottom: 8px; }
.service p, .step p, .stat p { color: var(--muted); }
.step span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #dbeafe; color: #1e3a8a; font-weight: 800; margin-bottom: 10px;
}

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid #dbe4ff; border-radius: 12px; overflow: hidden; background: #fff; }
.faq-question {
  width: 100%; text-align: left; padding: 16px; background: #fff; border: 0; font: inherit; font-weight: 700; cursor: pointer;
}
.faq-question:hover { background: #f8faff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 16px 16px; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 240px; }

.cta-box {
  background: linear-gradient(120deg, #0f172a, #1e3a8a);
  color: #fff; border-radius: 20px; padding: clamp(24px, 5vw, 42px);
  text-align: center; box-shadow: var(--shadow);
}
.cta-box p { color: #dbeafe; margin: 10px 0 18px; }

.form-card { background: #fff; padding: clamp(20px, 4vw, 32px); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 14px; }
label { font-weight: 600; font-size: .95rem; }
input, textarea {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 10px;
  padding: 11px 12px; font: inherit; background: #fff;
}
input:focus, textarea:focus, button:focus, a:focus { outline: 2px solid #93c5fd; outline-offset: 2px; }
textarea { min-height: 130px; resize: vertical; }
.field-error { color: var(--danger); font-size: .85rem; display: none; }
.field-error.show { display: block; }
.form-message { margin-top: 12px; padding: 10px 12px; border-radius: 10px; display: none; }
.form-message.success { display: block; background: #dcfce7; color: #14532d; }
.form-message.error { display: block; background: #fee2e2; color: #7f1d1d; }

.site-footer { background: #0b1226; color: #dbeafe; padding-top: 34px; margin-top: 30px; }
.footer-grid { display: grid; gap: 18px; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: #93c5fd; }
.footer-bottom { border-top: 1px solid #1f2a44; margin-top: 16px; padding: 14px 0 18px; font-size: .9rem; }

.back-to-top {
  position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: var(--primary); color: #fff; cursor: pointer;
  box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transition: .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; }

.legal-content { max-width: 820px; }
.legal-content h1 { margin-bottom: 8px; }
.legal-meta { color: var(--muted); margin-bottom: 18px; }
.legal-content h2 { margin-top: 24px; margin-bottom: 8px; font-size: 1.2rem; }
.legal-content p, .legal-content li { color: #1e293b; }
.legal-content ul { list-style: disc; padding-left: 20px; }
.legal-nav { background: #fff; border: 1px solid #dbe4ff; border-radius: 12px; padding: 14px; margin: 20px 0; }
.legal-nav a { color: var(--primary-2); display: inline-block; margin: 4px 10px 4px 0; }

@media (min-width: 840px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr; }
}

@media (max-width: 839px) {
  .menu-toggle { display: inline-block; }
  .main-nav {
    position: absolute; top: 76px; right: 1rem; left: 1rem;
    background: #fff; border: 1px solid #dbe4ff; border-radius: 14px;
    padding: 14px; display: none; flex-direction: column; align-items: stretch;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
}

.reveal { opacity: 0; transform: translateY(14px); transition: .45s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}