:root {
  --navy: #10284a;
  --blue: #2454a6;
  --sky: #eef6ff;
  --green: #37a56b;
  --mint: #eaf8f1;
  --text: #13233a;
  --muted: #637083;
  --border: #dce6f2;
  --white: #ffffff;
  --bg: #f7fbff;
  --shadow: 0 18px 45px rgba(16, 40, 74, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.top-strip {
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  text-align: center;
}

.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--navy);
  font-size: 19px;
  white-space: nowrap;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--sky);
  color: var(--navy);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 22px;
  cursor: pointer;
}

.pill,
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--green);
  color: white !important;
  font-weight: 900;
  border: 2px solid var(--green);
  box-shadow: 0 14px 30px rgba(55, 165, 107, 0.25);
  cursor: pointer;
}

.pill {
  padding: 10px 15px;
  box-shadow: 0 10px 20px rgba(55, 165, 107, 0.18);
}

.pill.outline,
.btn.outline {
  background: white;
  color: var(--blue) !important;
  border-color: var(--blue);
  box-shadow: none;
}

.btn.blue {
  background: var(--blue);
  border-color: var(--blue);
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(55, 165, 107, 0.22), transparent 35%),
    linear-gradient(135deg, #0f294d 0%, #2454a6 58%, #4d7ee6 100%);
  color: white;
}

.hero .wrap,
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 22px 74px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -1px;
}

.hero p,
.page-hero p {
  font-size: 20px;
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}

.hero-card,
.panel,
.card,
.form {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.panel,
.form {
  padding: 28px;
}

.hero-card h2,
.hero-card h3,
.panel h2,
.panel h3,
.card h3 {
  color: var(--navy);
  margin-top: 0;
}

.quote-mini,
.form {
  display: grid;
  gap: 14px;
}

.quote-mini input,
.quote-mini select,
.field input,
.field select,
.field textarea,
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: white;
}

.field label,
.form label {
  display: block;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

textarea {
  min-height: 120px;
}

.section {
  padding: 72px 22px;
}

.section.alt,
.soft,
.portal-shell {
  background: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-head h2,
.section h2,
.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.8px;
}

.section-head p,
.section p,
.card p,
.panel p {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 26px;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: var(--sky);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.card a,
.link {
  font-weight: 900;
  color: var(--blue);
}

.split,
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checklist {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  color: var(--muted);
  font-weight: 700;
}

.checklist li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  margin-right: 10px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-link {
  border: 1px solid var(--border);
  background: white;
  padding: 18px;
  border-radius: 18px;
  font-weight: 900;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(16, 40, 74, 0.05);
}

.page-hero {
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  padding: 68px 22px;
  border-bottom: 1px solid var(--border);
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.page-hero h1 {
  color: var(--navy);
}

.page-hero p {
  color: var(--muted);
}

.cta {
  padding: 70px 22px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
}

.cta p {
  margin: 0 auto 24px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.footer {
  background: #081a31;
  color: white;
  padding: 44px 22px 22px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.footer h4 {
  margin: 0 0 12px;
  color: white;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  margin: 8px 0;
}

.footer-brand {
  color: white !important;
  margin-bottom: 12px;
}

.footer p {
  color: rgba(255, 255, 255, 0.75);
}

.copyright {
  max-width: 1200px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

/* Portal pages */
.dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.side {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  height: max-content;
  box-shadow: var(--shadow);
}

.side a {
  display: block;
  padding: 12px;
  border-radius: 14px;
  font-weight: 800;
  color: var(--navy);
}

.side a:hover {
  background: var(--sky);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(16, 40, 74, 0.06);
}

.stat strong {
  display: block;
  font-size: 30px;
  color: var(--navy);
}

@media (max-width: 900px) {
  .top-strip {
    display: none;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero .wrap,
  .hero-grid,
  .page-hero .container,
  .split,
  .form-wrap,
  .dashboard,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .service-grid,
  .stat-grid,
  .two {
    grid-template-columns: 1fr;
  }

  .hero .wrap,
  .hero-grid {
    padding: 58px 18px;
  }

  .section,
  .page-hero {
    padding: 56px 18px;
  }
}
