:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eaf1ff;
  --text: #1a2742;
  --text-soft: #51607b;
  --primary: #0f4ab8;
  --primary-dark: #0b3a8f;
  --accent: #ff7b16;
  --accent-dark: #df660a;
  --border: #d8e1f1;
  --success: #0c8c55;
  --danger: #b3261e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px rgba(16, 40, 88, 0.08);
  --maxw: 1140px;
  --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);
  background: linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  border: 2px solid var(--primary);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  z-index: 999;
}

.container { width: min(calc(100% - 2rem), var(--maxw)); margin: 0 auto; }
.section { padding: 4.6rem 0; }
.section-soft { background: var(--surface-soft); }

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

.menu-toggle {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: .55rem;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

.main-nav {
  position: fixed;
  inset: 76px 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: none;
  flex-direction: column;
  gap: .2rem;
  padding: .9rem;
}
.main-nav.open { display: flex; }
.main-nav a {
  color: var(--text);
  font-weight: 600;
  padding: .75rem .8rem;
  border-radius: 8px;
}
.main-nav a:hover,
.main-nav a.active {
  background: #edf3ff;
  color: var(--primary);
}
.nav-cta { display: none; }

.eyebrow {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: .6rem;
}
h1 { font-size: clamp(1.7rem, 5vw, 2.95rem); line-height: 1.2; margin-bottom: .8rem; }
h2 { font-size: clamp(1.35rem, 4vw, 2.2rem); line-height: 1.25; margin-bottom: .8rem; }
h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: .45rem; }

.hero-grid {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}
.hero-subtitle { color: var(--text-soft); margin-bottom: .7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0; }
.hero-trust { list-style: none; display: grid; gap: .4rem; color: var(--text-soft); }
.hero-trust li::before { content: "✔ "; color: var(--success); font-weight: 700; }

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: .8rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: .25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2f6ce2);
  color: #fff;
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: #b9cbec;
  background: #f8fbff;
}
.btn-light {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn-light:hover { background: rgba(255,255,255,.26); color: #fff; }

.section-head { max-width: 780px; margin-bottom: 1.4rem; }
.cards-grid { display: grid; gap: 1rem; }
.card,
.service-card,
.panel,
.contact-card,
.trust-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.05rem;
}
.card-icon { font-size: 1.3rem; margin-bottom: .45rem; }

.about-grid,
.location-grid { display: grid; gap: 1rem; }
.check-list { list-style: none; display: grid; gap: .45rem; }
.check-list li::before { content: "• "; color: var(--primary); font-weight: 800; }

.service-card { border-top: 4px solid #cfe0ff; }
.text-link { display: inline-block; margin-top: .55rem; font-weight: 700; }

.steps-list { list-style: none; display: grid; gap: .9rem; }
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .95rem 1rem;
}
.step p { color: var(--text-soft); }

.trust-panel p { margin-bottom: .8rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags span {
  background: #eef4ff;
  border: 1px solid #ceddf7;
  color: var(--primary);
  padding: .32rem .68rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
}

.contact-card ul { list-style: none; display: grid; gap: .45rem; margin-top: .65rem; }
address { font-style: normal; margin: .6rem 0; }

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

.cta-section {
  background: linear-gradient(135deg, #123f9e, #2e69dd);
  color: #fff;
}
.cta-box p { color: #e3edff; margin-bottom: 1rem; }

.contact-hero { padding-top: 6.8rem; }
.contact-layout { display: grid; gap: 1rem; }
.contact-list { list-style: none; display: grid; gap: .5rem; margin-top: .65rem; }

form { display: grid; gap: .85rem; }
.field { display: grid; gap: .35rem; }
label { font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .72rem .8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus, button:focus, a:focus {
  outline: 3px solid rgba(15, 74, 184, 0.18);
  outline-offset: 2px;
  border-color: var(--primary);
}
.check-label {
  display: inline-flex;
  align-items: flex-start;
  gap: .55rem;
  font-weight: 500;
}
.check-label input { width: auto; margin-top: .2rem; }
.error { font-size: .86rem; color: var(--danger); min-height: 1.1em; }
.form-note { color: var(--text-soft); font-size: .92rem; }
.form-message {
  border: 1px solid #c9d7f2;
  background: #f3f7ff;
  color: #17325e;
  padding: .78rem;
  border-radius: 10px;
}

.legal-main { padding-top: 6.8rem; padding-bottom: 2rem; }
.legal-wrap {
  width: min(calc(100% - 2rem), 920px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.legal-meta { color: var(--text-soft); margin-bottom: .9rem; }
.legal-index {
  background: #f6f9ff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .8rem;
  margin: 1rem 0;
}
.legal-index ul { padding-left: 1.1rem; }
.legal-wrap section { margin-top: 1.1rem; }
.legal-wrap h2 { font-size: 1.22rem; margin-bottom: .45rem; }
.legal-wrap ul { padding-left: 1.1rem; }
.legal-wrap p, .legal-wrap li { color: #314261; }

.site-footer {
  background: #0d1d3b;
  color: #d8e4ff;
  margin-top: 2rem;
}
.footer-grid {
  padding: 2rem 0;
  display: grid;
  gap: 1rem;
}
.site-footer h3, .site-footer h4 { color: #fff; margin-bottom: .45rem; }
.site-footer ul { list-style: none; display: grid; gap: .3rem; }
.site-footer a { color: #d8e4ff; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.16);
  text-align: center;
  padding: .95rem;
  font-size: .92rem;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent-dark); }

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

@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: .25rem;
    border-bottom: 0;
    background: transparent;
    padding: 0;
  }
  .nav-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .about-grid,
  .location-grid,
  .contact-layout { grid-template-columns: 1.05fr .95fr; }
  .footer-grid { grid-template-columns: 1.3fr .8fr .9fr 1fr; }
}

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