:root {
  --navy: #10284f;
  --navy-dark: #071a37;
  --orange: #e8501f;
  --orange-dark: #c9400f;
  --tint: #f2f6fb;
  --text: #24334a;
  --muted: #55647a;
  --border: #dbe3ec;
  --shadow: 0 14px 40px rgba(16, 40, 79, .10);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 8px; }

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

.ico { width: 1.05em; height: 1.05em; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--border); }
.topbar { background: var(--navy); color: #dce6f3; font-size: .875rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { font-weight: 700; color: #fff; }
.topbar a:hover { text-decoration: underline; }

.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand img { height: 68px; width: auto; display: block; }

nav { display: flex; align-items: center; gap: 28px; font-weight: 600; color: var(--navy); }
nav a:hover { color: var(--orange-dark); }
.nav-cta { background: var(--orange); color: #fff !important; padding: 11px 20px; border-radius: 8px; transition: background .2s; }
.nav-cta:hover { background: var(--orange-dark); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--orange-dark); font-weight: 700; margin: 0 0 12px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); letter-spacing: -.03em; margin-bottom: 20px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.02em; margin-bottom: 14px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
.hero-text, .lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent; border-radius: 8px; padding: 13px 22px;
  font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9eff7; }
.btn[disabled] { opacity: .7; cursor: wait; }
.full { width: 100%; margin-top: 10px; }

.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 0; font-weight: 600; color: var(--navy); font-size: .95rem; }
.trust-row li::before { content: "\2713"; color: var(--orange-dark); font-weight: 800; margin-right: 8px; }

.hero-art svg { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: var(--shadow); }

/* Sections */
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.section-heading { max-width: 640px; margin-bottom: 40px; }
.section-heading p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.service-card p { color: var(--muted); margin: 0; }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--navy); margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.split-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 56px; align-items: center; }
.sign-list, .check-list { list-style: none; padding: 0; margin: 0; }
.sign-list li { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--orange); border-radius: 6px; padding: 12px 16px; margin-bottom: 10px; font-weight: 600; color: var(--navy); }
.sign-list li:last-child { margin-bottom: 0; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 0 64px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.steps p { color: var(--muted); margin: 0; }

.about-panel p { color: var(--muted); max-width: 60ch; }
.check-list { margin-top: 22px; }
.check-list li { margin: 10px 0; font-weight: 600; color: var(--navy); }
.check-list li::before { content: "\2713"; color: var(--orange-dark); font-weight: 800; margin-right: 10px; }

.cta-panel { background: var(--navy); color: #fff; padding: 36px; border-radius: 14px; box-shadow: var(--shadow); }
.cta-panel h3 { color: #fff; font-size: 1.6rem; }
.cta-panel p { color: #dce6f3; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-items { display: grid; gap: 14px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: #fff; transition: border-color .2s; }
.contact-item:hover { border-color: var(--orange); }
.contact-item strong, .contact-item small { display: block; }
.contact-item small { color: var(--muted); font-size: 1rem; }
.contact-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 9px; background: var(--tint); flex: none; }
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.contact-form-card { border: 1px solid var(--border); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); background: #fff; }
.contact-form-card h3 { font-size: 1.5rem; margin-bottom: 18px; }
form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.req { color: var(--orange-dark); }
input, select, textarea {
  width: 100%; border: 1px solid #c3cfdc; border-radius: 8px; padding: 12px 14px;
  font: inherit; color: var(--text); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232, 80, 31, .18); }
textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 4px 0 0; padding: 0; font-weight: 600; }
.form-status.success { background: #e8f6ee; color: #14633a; border: 1px solid #b6e2c7; padding: 12px 14px; border-radius: 8px; }
.form-status.error { background: #fdeceb; color: #a02418; border: 1px solid #f3c1bc; padding: 12px 14px; border-radius: 8px; }

/* Footer */
footer { background: var(--navy-dark); color: #dce6f3; padding: 38px 0 20px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-wrap strong, .footer-wrap span, .footer-wrap a { display: block; }
.footer-wrap strong { color: #fff; font-size: 1.1rem; }
.footer-wrap a:hover { color: #fff; text-decoration: underline; }
.footer-wrap > div:last-child { text-align: right; }
.copyright { padding-top: 18px; font-size: .85rem; color: #a9b9cf; }

@media (max-width: 960px) {
  .hero-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  nav {
    display: none; position: absolute; top: 100%; left: -20px; right: -20px; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  nav.open { display: flex; }
  nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0 !important; }
  .brand img { height: 56px; }
  .nav-wrap { min-height: 72px; }
  .topbar-inner span { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding: 44px 0 48px; }
  .section { padding: 60px 0; }
  .cards, .field-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 22px; }
  .footer-wrap { flex-direction: column; }
  .footer-wrap > div:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
