:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --text: #14213d;
  --muted: #4e5d78;
  --primary: #1f5eff;
  --primary-2: #1749c6;
  --accent: #00a884;
  --danger: #c62828;
  --success: #1b8f4b;
  --border: #dbe4ff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
  --maxw: 1160px;
  --space: 1rem;
  --font: "Inter", "Segoe UI", Roboto, 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, #f9fbff 0%, var(--bg) 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: .5rem .75rem;
  border-radius: .5rem;
  z-index: 9999;
}

.container { width: min(var(--maxw), 92%); margin: 0 auto; }
.section { padding: 4.5rem 0; }
.section-head { max-width: 760px; margin-bottom: 1.75rem; }
.section-head h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2.2rem); margin-bottom: .6rem; }
.section-head p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); font-weight: 700; }
.brand-mark {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: .95rem;
}
.brand-text { font-size: .95rem; }

.menu { display: flex; align-items: center; gap: 1rem; }
.menu a { padding: .45rem .65rem; border-radius: .5rem; font-weight: 500; color: var(--text); }
.menu a.active, .menu a:hover { background: var(--surface-2); text-decoration: none; }

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 5px auto;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .8rem 1.2rem;
  border-radius: .75rem;
  border: 1px solid transparent;
  font-weight: 600;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:focus-visible { outline: 3px solid rgba(31,94,255,.25); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff !important; box-shadow: var(--shadow); }
.btn-secondary { background: #fff; color: var(--text) !important; border-color: var(--border); }

.hero-grid { display: grid; gap: 2rem; align-items: center; }
.kicker { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.hero h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); line-height: 1.2; margin: .6rem 0 1rem; }
.hero p { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0; }
.hero-highlights { list-style: none; display: grid; gap: .4rem; }
.hero-highlights li::before { content: "✓"; color: var(--accent); margin-right: .5rem; font-weight: 700; }
.hero-media img { min-height: 280px; object-fit: cover; box-shadow: var(--shadow); }

.card-grid { display: grid; gap: 1rem; }
.card, .service-card, .step, .faq-item, .legal-card, .contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.service-card.highlight { border-color: var(--accent); }
.service-card p { color: var(--primary-2); font-weight: 600; margin-top: .4rem; }

.timeline { display: grid; gap: 1rem; }
.step span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--primary-2);
  margin-bottom: .65rem;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
}
.faq-answer { display: none; padding-top: .65rem; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

.cta-box {
  text-align: center;
  background: linear-gradient(135deg, #eaf1ff, #edfdf9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.cta-box h2 { margin-bottom: .6rem; }
.cta-box p { margin-bottom: 1rem; color: var(--muted); }

.form-group { margin-bottom: .95rem; }
label { display: block; margin-bottom: .35rem; font-weight: 600; }
input, textarea {
  width: 100%;
  padding: .82rem .9rem;
  border-radius: .65rem;
  border: 1px solid #cfd9f8;
  background: #fff;
  color: var(--text);
}
input:focus, textarea:focus { border-color: var(--primary); outline: 3px solid rgba(31,94,255,.15); }
textarea { min-height: 130px; resize: vertical; }
.error { color: var(--danger); font-size: .88rem; margin-top: .3rem; }
.form-message { margin-top: .8rem; font-weight: 600; }
.form-message.success { color: var(--success); }
.form-message.fail { color: var(--danger); }

.site-footer {
  margin-top: 2rem;
  background: #0f1b35;
  color: #dce6ff;
  padding-top: 2.2rem;
}
.footer-grid { display: grid; gap: 1.2rem; }
.site-footer h3 { color: #fff; margin-bottom: .45rem; }
.site-footer a { color: #dce6ff; }
.site-footer ul { list-style: none; display: grid; gap: .35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.1rem; padding: .9rem 4%; text-align: center; font-size: .92rem; }

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.legal-layout { display: grid; gap: 1rem; }
.legal-content { max-width: 860px; }
.legal-content h1 { margin-bottom: .5rem; }
.legal-meta { color: var(--muted); margin-bottom: 1rem; }
.legal-content h2 { margin-top: 1.4rem; margin-bottom: .5rem; }
.legal-content p, .legal-content li { color: #253451; }
.legal-content ul { padding-left: 1.2rem; }

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .menu {
    position: absolute;
    right: 4%;
    top: 74px;
    width: min(320px, 92vw);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: .6rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .menu.open { display: flex; }
}

.reveal { opacity: 0; transform: translateY(12px); transition: .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

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