:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --ink: #142033;
  --muted: #4f5e74;
  --brand: #1f4fa3;
  --brand-dark: #173c7a;
  --line: #dce3ef;
  --shadow: 0 14px 34px rgba(20, 32, 51, 0.12);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 420px at 12% -8%, rgba(31, 79, 163, 0.08), transparent 60%),
    radial-gradient(900px 360px at 92% 8%, rgba(23, 60, 122, 0.08), transparent 55%),
    linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  background: #0f2f64;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  padding: 0.55rem 0.8rem;
}

.topbar a {
  color: #fff;
  font-weight: 700;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 20;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

nav a:hover {
  color: var(--brand);
}

.nav .btn {
  justify-self: end;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.76rem 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(31, 79, 163, 0.3);
}

.btn-secondary {
  background: #f7f1e6;
  color: #29466f;
  border: 1px solid #e2d3b9;
}

.hero {
  padding: 2.2rem 0 1.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.3rem;
  align-items: center;
}

/* Hero visual */
.hero-image-wrap {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  min-height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrap img {
  width: min(100%, 640px);
  max-height: 340px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(20, 32, 51, 0.14));
}

.eyebrow {
  margin: 0;
  font-weight: 800;
  color: #8a6b34;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
}

h1 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.trust-strip {
  padding: 0.45rem 0 0.8rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.trust-pill {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  text-align: center;
  font-weight: 700;
  color: #27406c;
  box-shadow: 0 8px 18px rgba(20, 32, 51, 0.08);
}

.micro {
  color: #5c6a7f;
  font-size: 0.93rem;
}

.section {
  padding: 2.2rem 0;
  scroll-margin-top: 112px;
}

#services,
#process,
#why,
#contact {
  scroll-margin-top: 112px;
}

.section h2 {
  text-align: center;
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.section-lead {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 1.2rem;
  max-width: 760px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2f6bd0, #4c8ffb);
}

.card h3 {
  margin-top: 0.15rem;
  margin-bottom: 0.45rem;
  color: #1f3f75;
  font-family: Georgia, "Times New Roman", serif;
}

.alt {
  background: #edf2fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.steps article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 10px 20px rgba(20, 32, 51, 0.08);
}

.process-section .steps article {
  position: relative;
}

.process-section .steps article::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #2f6bd0;
  transform: translateY(-50%);
}

.process-section .steps article:last-child::after {
  display: none;
}

.steps h3 {
  margin-top: 0;
  color: #153d7d;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.checks {
  margin: 0;
  padding-left: 1.2rem;
}

.checks li {
  margin-bottom: 0.6rem;
}

.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.faq h3 {
  margin-top: 0;
}

details {
  border-top: 1px solid #e2e8f4;
  padding-top: 0.7rem;
  margin-top: 0.7rem;
}

summary {
  font-weight: 700;
  cursor: pointer;
}

.contact {
  background: linear-gradient(130deg, #162f58 0%, #1d4178 70%, #214f8e 100%);
  color: #fff;
  padding: 2rem 0;
  border-top: 1px solid rgba(202, 168, 106, 0.45);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.contact h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-line a {
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
}

.lead-form {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 1rem;
}

.lead-form label {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 20, 35, 0.28);
  color: #fff;
  border-radius: 10px;
  padding: 0.65rem 0.72rem;
  font: inherit;
}

.lead-form ::placeholder {
  color: #d6e0f3;
}

footer {
  background: #0f2448;
  color: #dce7fb;
  text-align: center;
  padding: 1.1rem 0;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .nav .btn {
    justify-self: center;
  }

  .hero-grid,
  .cards,
  .steps,
  .split,
  .contact-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap {
    min-height: 280px;
  }

  .hero-image-wrap img {
    max-height: 320px;
    width: min(100%, 620px);
  }

  .process-section .steps article::after {
    display: none;
  }

  .hero-cta .btn,
  .lead-form .btn {
    width: 100%;
    text-align: center;
  }

  body {
    font-size: 17px;
  }
}
