:root {
  --bg: #f6f9fc;
  --surface: #ffffff;
  --surface-alt: #eef4fb;
  --text: #1f2a37;
  --muted: #5b6777;
  --primary: #0b5fa5;
  --primary-2: #0d77cf;
  --accent: #0ea5a8;
  --border: #d7e0eb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 35, 60, 0.08);
  --container: 1120px;
  --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: var(--bg);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-2); }
img { max-width: 100%; display: block; border-radius: var(--radius); }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: 4rem 0; }
.section-alt { background: var(--surface-alt); }
.section-heading { margin-bottom: 1.8rem; }
.section-heading h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.section-heading p { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 9999; }
.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);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.brand { font-weight: 800; letter-spacing: .2px; color: var(--text); }
.main-nav { display: flex; gap: 1rem; align-items: center; }
.main-nav a { padding: .5rem .8rem; border-radius: 10px; color: var(--text); font-weight: 500; }
.main-nav a.active, .main-nav a:hover { background: #edf4fc; color: var(--primary); }
.menu-toggle { display: none; background: none; border: 0; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; padding: .75rem 1.1rem; font-weight: 700;
  transition: .25s ease; border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff !important; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { background: #fff; border-color: var(--border); color: var(--text); }
.hero { padding-top: 5rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-content h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1rem; }
.hero-content p { color: var(--muted); }
.eyebrow { color: var(--primary); font-weight: 700; margin-bottom: .8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.cards, .service-list, .steps { display: grid; gap: 1rem; }
.cards-3 { grid-template-columns: 1fr; }
.card, .service-item, .step, .cta-box, .faq-item, .contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem;
}
.step span { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-alt); display: inline-grid; place-items: center; font-weight: 800; color: var(--primary); margin-bottom: .7rem; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin-top: .75rem; color: var(--muted); }
.cta-box { text-align: center; background: linear-gradient(135deg, #f8fbff, #eef7ff); }
.contact-layout { display: grid; gap: 1rem; }
.contact-list { list-style: none; display: grid; gap: .7rem; }
.contact-form { display: grid; gap: .8rem; }
label { font-weight: 600; }
input, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  padding: .75rem .85rem; font: inherit; background: #fff;
}
input:focus, textarea:focus, a:focus, button:focus, summary:focus {
  outline: 3px solid rgba(11, 95, 165, .25); outline-offset: 2px;
}
.form-message { font-size: .95rem; min-height: 1.2rem; }
.form-message.success { color: #0f7a42; }
.form-message.error { color: #b42318; }
.site-footer { background: #0f1e31; color: #d9e3ef; padding-top: 2.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 1.2rem; }
.site-footer h3 { color: #fff; margin-bottom: .6rem; }
.site-footer a { color: #d9e3ef; }
.footer-nav { display: grid; gap: .35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 1.2rem; padding: 1rem 0; }
.back-to-top {
  position: fixed; right: 1rem; bottom: 1rem; width: 42px; height: 42px;
  border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.legal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.legal nav { margin: 1rem 0; }
.legal ul { padding-left: 1.2rem; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .cards-3, .service-list, .steps { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
@media (max-width: 859px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; inset: 74px 1rem auto 1rem; background: #fff; border: 1px solid var(--border);
    border-radius: 12px; box-shadow: var(--shadow); padding: .8rem; display: none; flex-direction: column; align-items: stretch;
  }
  .main-nav.open { display: flex; }
}
.reveal { opacity: 0; transform: translateY(16px); transition: .5s 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; }
}