:root {
  --navy: #0a1d3d;
  --navy-soft: #16335f;
  --ivory: #f7f4ed;
  --white: #ffffff;
  --silver: #a6a6a6;
  --silver-soft: #e5e1d8;
  --ink: #172033;
  --muted: #5b6578;
  --gold: #d4af37;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(10, 29, 61, 0.12);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Montserrat, Avenir, "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 237, 0.94);
  border-bottom: 1px solid rgba(10, 29, 61, 0.1);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand-name {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.1;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(10, 29, 61, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  min-height: 48px;
  padding: 12px 22px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  box-shadow: 0 12px 28px rgba(10, 29, 61, 0.2);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--navy);
}

.button.light {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.hero {
  padding: 70px 0 58px;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 46px;
}

.eyebrow {
  color: var(--navy-soft);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 5.1rem);
  letter-spacing: 0;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.12rem;
  letter-spacing: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 22px 0 0;
  max-width: 700px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-strip {
  border-top: 1px solid rgba(10, 29, 61, 0.14);
  color: var(--navy);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.86rem;
  font-weight: 800;
  margin-top: 30px;
  padding-top: 18px;
}

.trust-strip span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.trust-strip span::before {
  background: var(--gold);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 7px;
  width: 7px;
}

.hero-visual {
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  box-shadow: var(--shadow);
  margin: 0;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.hero-visual.compact {
  aspect-ratio: 16 / 11;
  min-height: 300px;
}

.hero-visual img,
.section-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-visual figcaption {
  background: linear-gradient(180deg, transparent, rgba(6, 20, 43, 0.9));
  bottom: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  font-weight: 700;
  left: 0;
  line-height: 1.12;
  padding: 80px 28px 28px;
  position: absolute;
  right: 0;
}

.hero-visual figcaption span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-family: Montserrat, Avenir, "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-card {
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--white);
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 55%);
  pointer-events: none;
}

.hero-card > * {
  position: relative;
}

.hero-card h2,
.hero-card h3 {
  color: var(--white);
}

.hero-card .badge {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--white);
}

.section-header {
  margin-bottom: 34px;
  max-width: 760px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 16px 0 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid rgba(10, 29, 61, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(10, 29, 61, 0.06);
  padding: 26px;
}

.alt .card {
  background: var(--ivory);
}

.card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.icon {
  align-items: center;
  background: rgba(212, 175, 55, 0.16);
  border-radius: var(--radius);
  color: var(--navy);
  display: inline-flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 18px;
  width: 44px;
}

.process-band {
  background:
    linear-gradient(rgba(10, 29, 61, 0.82), rgba(10, 29, 61, 0.88)),
    url("../images/notary-hero.webp") center / cover;
  color: var(--white);
}

.process-band h2,
.process-band h3 {
  color: var(--white);
}

.process-band .eyebrow,
.process-band .section-header p {
  color: rgba(255, 255, 255, 0.76);
}

.process-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  min-height: 210px;
  padding: 24px;
}

.process-step span {
  color: var(--gold);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 58px;
}

.process-step p {
  color: rgba(255, 255, 255, 0.78);
  margin: 12px 0 0;
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.feature-card {
  background: var(--ivory);
  border: 1px solid rgba(10, 29, 61, 0.09);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 28px;
}

.feature-card.with-image {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}

.feature-card.with-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.feature-card.with-image div {
  align-self: center;
  padding: 28px 28px 28px 0;
}

.feature-card p {
  color: var(--muted);
  margin: 16px 0 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 44px;
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}

.visual-split {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.visual-split.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.section-photo {
  aspect-ratio: 5 / 4;
  border-radius: 22px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.section-copy {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 16px 0 0;
}

.list {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
}

.list li {
  list-style: none;
  padding-left: 34px;
  position: relative;
}

.list li::before {
  content: "✓";
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 3px;
  width: 22px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.steps li {
  background: var(--white);
  border: 1px solid rgba(10, 29, 61, 0.08);
  border-radius: 16px;
  list-style: none;
  padding: 18px 18px 18px 62px;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  left: 18px;
  position: absolute;
  top: 18px;
  width: 32px;
}

.cta {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0;
}

.cta h2,
.cta p {
  color: var(--white);
}

.cta p {
  max-width: 680px;
  opacity: 0.82;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-summary {
  background: var(--white);
  border: 1px solid rgba(10, 29, 61, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.contact-summary div {
  background: var(--white);
  padding: 24px;
}

.contact-summary span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-summary a,
.contact-summary strong {
  color: var(--navy);
  display: inline-block;
  font-size: 1.08rem;
  font-weight: 800;
  margin-top: 8px;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-item span {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item strong {
  color: var(--navy);
  display: inline-block;
  font-size: 1.06rem;
  font-weight: 800;
  margin-top: 6px;
  text-decoration: none;
}

.site-footer {
  background: #06142b;
  color: rgba(255, 255, 255, 0.74);
  padding: 36px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.fine-print {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  margin: 8px 0 0;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-grid,
  .split,
  .visual-split,
  .visual-split.reverse,
  .cards,
  .process-grid,
  .feature-grid,
  .feature-card.with-image,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .feature-card,
  .process-step {
    min-height: 0;
  }

  .feature-card.with-image div {
    padding: 0 24px 24px;
  }

  .feature-card.with-image img {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .brand img {
    height: 40px;
    width: 40px;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  h1 {
    font-size: clamp(2.25rem, 15vw, 3.1rem);
  }

  .hero {
    padding: 44px 0 46px;
  }

  .hero-card,
  .panel,
  .card,
  .feature-card,
  .process-step {
    padding: 22px;
  }

  .hero-visual,
  .hero-visual.compact,
  .section-photo {
    border-radius: 18px;
    min-height: 260px;
  }

  .hero-visual figcaption {
    padding: 72px 22px 22px;
  }

  .process-step span {
    margin-bottom: 34px;
  }

  .contact-summary div,
  .contact-item {
    padding: 20px;
  }
}
