:root {
  --navy: #071a2d;
  --navy-2: #0d2944;
  --navy-3: #143956;
  --gold: #b9975b;
  --gold-light: #dcc693;
  --green: #1d5947;
  --ink: #162331;
  --muted: #5c6873;
  --line: #dce2e6;
  --paper: #f7f8f8;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(7, 26, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .8rem 1rem; background: var(--gold); color: var(--navy); font-weight: 800; }
.skip-link:focus { top: 1rem; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.16); }
.nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { width: 302px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 1.65rem; }
.nav-links a { color: #fff; text-decoration: none; font-size: .91rem; font-weight: 650; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-light); }
.lang-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 3px; }
.lang-toggle button { border: 0; border-radius: 999px; padding: .35rem .55rem; background: transparent; color: #fff; cursor: pointer; font-size: .77rem; font-weight: 800; }
.lang-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--navy); }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; border-radius: 6px; padding: .55rem .7rem; }

.hero { position: relative; min-height: 760px; color: #fff; background: var(--navy); overflow: hidden; display: grid; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,19,33,.98) 0%, rgba(4,19,33,.88) 35%, rgba(4,19,33,.32) 65%, rgba(4,19,33,.15) 100%), url("maryland-home.webp") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(transparent, rgba(7,26,45,.72)); }
.hero-inner { position: relative; z-index: 2; min-height: 760px; display: flex; align-items: center; padding-top: 112px; padding-bottom: 72px; }
.hero-content { width: min(860px, 100%); }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem; color: var(--gold-light); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 42px; height: 2px; background: var(--gold); }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; font-weight: 500; }
h1 { margin-bottom: 1.5rem; font-size: 3.25rem; letter-spacing: -.03em; line-height: 1.04; }
.headline-line { display: block; white-space: nowrap; }
.hero-copy { max-width: 680px; margin: 0 0 2rem; color: #e7edf1; font-size: 1.14rem; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: 4px; background: var(--gold); color: var(--navy); text-decoration: none; font-weight: 850; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: var(--gold-light); }
.button-secondary { border-color: rgba(255,255,255,.5); background: transparent; color: #fff; }
.button-secondary:hover { background: #fff; color: var(--navy); }

.facts { position: relative; z-index: 3; margin-top: 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: var(--shadow); }
.fact { padding: 1.65rem 2rem; border-right: 1px solid var(--line); }
.fact:last-child { border: 0; }
.fact strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.fact span { color: var(--muted); font-size: .9rem; }

.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-soft { background: var(--paper); }
.section-title { max-width: 720px; margin-bottom: 3rem; }
.kicker { color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.section-dark .kicker { color: var(--gold-light); }
h2 { margin: .5rem 0 1rem; color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.65rem); letter-spacing: -.03em; }
.section-dark h2 { color: #fff; }
.lead { color: var(--muted); font-size: 1.08rem; }
.section-dark .lead { color: #cbd6df; }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 6rem; align-items: center; }
.seal { position: relative; min-height: 520px; padding: 3.25rem; background: var(--navy); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.seal::before { content: "BP"; position: absolute; right: -1rem; top: -3rem; color: rgba(185,151,91,.12); font-family: Georgia, serif; font-size: 18rem; line-height: 1; }
.seal::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(185,151,91,.45); }
.seal > * { position: relative; z-index: 1; }
.seal-label { color: var(--gold-light); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.seal h3 { margin: .8rem 0; font-size: 2.35rem; }
.seal p { margin: 0; color: #cbd6df; }
.detail-list { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.detail-list li { display: grid; grid-template-columns: 26px 1fr; gap: .75rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.detail-list li::before { content: "✓"; color: var(--green); font-weight: 900; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.service-card { min-height: 300px; padding: 2.2rem; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04); }
.service-number { display: block; margin-bottom: 3rem; color: var(--gold-light); font: 1.05rem Georgia, serif; }
.service-card h3 { margin-bottom: .75rem; font-size: 1.65rem; }
.service-card p { margin: 0; color: #cbd6df; }

.standards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.standard { padding-top: 1.25rem; border-top: 3px solid var(--gold); }
.standard h3 { color: var(--navy); font-size: 1.45rem; }
.standard p { color: var(--muted); }

.contact-wrap { display: grid; grid-template-columns: .8fr 1.2fr; background: #fff; box-shadow: var(--shadow); }
.contact-panel { padding: 3.2rem; background: var(--navy-2); color: #fff; }
.contact-panel h2 { color: #fff; font-size: 2.6rem; }
.contact-panel p { color: #d4dde4; }
.contact-items { margin-top: 2.3rem; }
.contact-item { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.17); }
.contact-item small { display: block; color: var(--gold-light); text-transform: uppercase; letter-spacing: .11em; }
.contact-item a, .contact-item address { color: #fff; text-decoration: none; font-style: normal; }
.form-panel { padding: 3.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-full { grid-column: 1 / -1; }
label { display: block; margin-bottom: .35rem; color: var(--navy); font-size: .88rem; font-weight: 750; }
input, textarea, select { width: 100%; border: 1px solid #cfd7dc; border-radius: 3px; background: #fff; color: var(--ink); padding: .9rem 1rem; }
textarea { min-height: 126px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(185,151,91,.28); border-color: var(--gold); }
.form-note { margin: 1rem 0; color: var(--muted); font-size: .8rem; }
.form-note a { color: var(--navy); }
.form-status { margin-bottom: 1rem; padding: .85rem 1rem; border-left: 4px solid #a33a32; background: #fff1ef; color: #7a241e; font-size: .92rem; }
.button-dark { background: var(--navy); color: #fff; cursor: pointer; }
.button-dark:hover { background: var(--navy-3); }
.honeypot { position: absolute !important; left: -9999px !important; }

.site-footer { padding: 48px 0 24px; background: #041321; color: #c5cfd6; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.footer-brand img { width: 260px; margin-bottom: 1rem; }
.footer-title { color: #fff; font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin: .45rem 0; }
.footer-links a { color: #c5cfd6; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.copyright { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; color: #8fa0ad; }

.legal-header { padding: 56px 0; background: var(--navy); color: #fff; }
.legal-header .brand img { width: 280px; }
.legal-main { padding: 72px 0; }
.legal-main article { max-width: 820px; }
.legal-main h1 { color: var(--navy); font-size: clamp(2.6rem, 5vw, 4.2rem); }
.legal-main h2 { margin-top: 2.5rem; font-size: 1.65rem; }
.legal-main h3 { margin-top: 2rem; color: var(--navy); font: 700 1.15rem/1.4 Inter, sans-serif; }
.legal-meta { color: var(--muted); }
.legal-divider { margin: 4rem 0; border: 0; border-top: 1px solid var(--line); }
.back-link { display: inline-block; margin-top: 2rem; color: var(--green); font-weight: 750; }
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: radial-gradient(circle at 75% 15%, var(--navy-3), var(--navy) 52%, #041321); color: #fff; }
.thanks-card { width: min(720px, 100%); padding: clamp(2rem, 6vw, 4.5rem); border: 1px solid rgba(185,151,91,.42); background: rgba(255,255,255,.04); text-align: center; box-shadow: var(--shadow); }
.thanks-card img { width: min(360px, 100%); margin: 0 auto 2.5rem; }
.thanks-card h1 { font-size: clamp(2.7rem, 6vw, 4.7rem); }
.thanks-card p { color: #d6dfe6; font-size: 1.08rem; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 82px; padding: 1.2rem; background: var(--navy); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .lang-toggle { align-self: flex-start; }
  .hero { min-height: 780px; }
  .hero-inner { min-height: 780px; padding-top: 120px; padding-bottom: 84px; }
  .hero-content { width: min(720px, 100%); }
  .hero h1 { font-size: clamp(2.4rem, 6vw, 3.35rem); }
  .hero::before { background: linear-gradient(90deg, rgba(4,19,33,.97), rgba(4,19,33,.68)), url("maryland-home.webp") 62% center/cover no-repeat; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .about-grid, .contact-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .service-grid, .standards-grid { grid-template-columns: 1fr; }
  .seal { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand img { width: 235px; }
  .nav { min-height: 78px; }
  .nav-links { top: 72px; }
  .hero { min-height: 720px; }
  .hero-inner { min-height: 720px; padding-top: 104px; padding-bottom: 72px; }
  h1 { font-size: clamp(1.55rem, 8vw, 2rem); line-height: 1.1; letter-spacing: -.025em; }
  .hero-copy { font-size: 1rem; }
  .actions .button { width: 100%; }
  .section { padding: 76px 0; }
  .section-sm { padding: 54px 0; }
  .seal, .contact-panel, .form-panel { padding: 2rem; }
  .seal::before { font-size: 12rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
