:root {
  --navy: #061936;
  --navy-2: #0b2a55;
  --blue: #123f78;
  --gold: #b97817;
  --gold-2: #e2b458;
  --ink: #10182b;
  --muted: #5f6878;
  --line: #e7ddce;
  --paper: #fbfaf8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(6, 25, 54, .13);
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #eee2d3;
  backdrop-filter: blur(10px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.05;
  color: var(--navy);
}
.tagline {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  margin-top: 2px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 6px;
  padding: 9px 11px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  padding: 9px 10px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: white !important;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 10px 14px !important;
  box-shadow: 0 8px 18px rgba(6,25,54,.16);
}

.section {
  padding: 58px 22px;
}

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

.hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251,250,248,.98) 0%, rgba(251,250,248,.92) 42%, rgba(251,250,248,.73) 100%),
    radial-gradient(circle at 74% 40%, rgba(226,180,88,.2), transparent 35%),
    linear-gradient(135deg, #ffffff, #f3efe7);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 530px;
  padding: 58px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: 34px;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
}

h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: 0; }
h2 { font-size: clamp(30px, 3vw, 44px); }
h3 { font-size: 24px; }

.lead {
  color: #33405a;
  font-size: 18px;
  max-width: 720px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(6,25,54,.18));
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  font-weight: 750;
}

.btn.primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 10px 24px rgba(6,25,54,.2);
}

.btn.secondary {
  background: white;
  color: var(--navy);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 28px rgba(6,25,54,.06);
}

.card.featured {
  border-color: rgba(185,120,23,.55);
  box-shadow: var(--shadow);
}

.card p { color: var(--muted); margin: 11px 0 0; }
.card ul { margin: 14px 0 0; padding-left: 20px; color: #34405a; }
.card li { margin: 5px 0; }

.card-link {
  display: inline-flex;
  color: var(--gold);
  font-weight: 800;
  margin-top: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}
.section-head p { color: var(--muted); max-width: 680px; margin: 10px 0 0; }

.service-icon,
.shield-icon {
  width: 86px;
  height: 86px;
  margin-bottom: 18px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #082247, #0e3f78);
  border: 3px solid #d9b05e;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.28), 0 10px 20px rgba(6,25,54,.18);
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 800;
}

.shield-icon.notary::before { content: "◎"; font-size: 42px; }
.shield-icon.legal::before { content: "§"; }
.shield-icon.medical::before { content: "+"; }
.shield-icon.workflow::before { content: "⌁"; }

.icon-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 16px;
}

.band {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dark-band {
  background: linear-gradient(135deg, var(--navy), #09284f);
  color: white;
}
.dark-band h2, .dark-band h3 { color: white; }
.dark-band p { color: #d9e2f1; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.logo-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}
.logo-panel img { max-height: 250px; object-fit: contain; }

.notice {
  border-left: 4px solid var(--gold);
  background: #fff9ee;
  padding: 18px 20px;
  border-radius: 6px;
  color: #3b4050;
}

.mini-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.mini-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
  text-align: center;
  color: var(--navy);
  font-weight: 750;
}

.form-card label {
  display: block;
  color: var(--navy);
  font-weight: 750;
  margin: 12px 0 6px;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 1px solid #d9d0c2;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  background: white;
}

.form-card textarea { min-height: 130px; resize: vertical; }

.site-footer {
  background: #05142d;
  color: #dbe5f4;
  padding: 42px 22px;
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
}
.site-footer h3 { color: white; font-size: 20px; margin-bottom: 12px; }
.site-footer a { display: block; margin: 7px 0; color: #dbe5f4; }
.footer-bottom {
  max-width: 1240px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #aeb9ca;
  font-size: 13px;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 91px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    padding: 12px 22px 20px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .hero-grid,
  .split,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mini-list { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { min-height: auto; }
}

@media (max-width: 620px) {
  .brand { min-width: 0; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 18px; }
  .tagline { font-size: 12px; }
  .section { padding: 42px 18px; }
  .hero-grid { padding: 42px 18px; grid-template-columns: 1fr; }
  .mini-list { grid-template-columns: 1fr; }
}
