/* Maryland Property Group — shared styles for standalone marketing/SEO pages.
   Matches the brand tokens used in index.html (navy + gold + serif headings).
   No build step; plain CSS. */
:root {
  --navy: #0a2240;
  --navy-700: #0c2c57;
  --navy-600: #143a63;
  --navy-500: #1e4b7a;
  --gold: #c9a227;
  --gold-2: #a9851e;
  --gold-soft: #f3e7be;
  --ink: #15202b;
  --body: #33424f;
  --muted: #6a7785;
  --line: #e3e9ef;
  --line-2: #eef2f6;
  --bg: #f6f8fa;
  --bg-2: #eef2f6;
  --white: #ffffff;
  --ok: #1f8a5b;
  --warn: #b4641e;
  --bad: #c0392b;
  --shadow-sm:
    0 1px 2px rgba(10, 34, 64, 0.06), 0 1px 3px rgba(10, 34, 64, 0.08);
  --shadow: 0 6px 24px rgba(10, 34, 64, 0.1);
  --shadow-lg: 0 18px 50px rgba(10, 34, 64, 0.2);
  --serif: "Georgia", "Times New Roman", serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --rad: 14px;
  --maxw: 1140px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--navy-500);
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
.serif {
  font-family: var(--serif);
}
.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 820px;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 300;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip:focus {
  left: 0;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 34, 64, 0.97);
  backdrop-filter: saturate(140%) blur(6px);
  color: #fff;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand .mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
}
.brand b {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #fff;
}
.brand small {
  display: block;
  color: var(--gold-soft);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
header.site nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
header.site nav a {
  color: #cdd9e6;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
header.site nav a:hover {
  color: #fff;
}
header.site .cta {
  background: var(--gold);
  color: var(--navy);
  padding: 9px 16px;
  border-radius: 10px;
}
header.site .cta:hover {
  background: var(--gold-soft);
  text-decoration: none;
}
@media (max-width: 820px) {
  header.site nav a:not(.cta) {
    display: none;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 11px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
  line-height: 1;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover {
  background: var(--gold-2);
  color: #fff;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-600);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: #fff;
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn-lg {
  padding: 15px 26px;
  font-size: 1.02rem;
}

/* ---------- hero / pagehead ---------- */
.pagehead {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-600));
  color: #fff;
  padding: 54px 0 48px;
}
/* page-head with a background photo: photo set inline via background-image,
   navy gradient overlay keeps the text fully legible */
.pagehead.has-img {
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}
.pagehead.has-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(10, 34, 64, 0.93) 0%,
    rgba(12, 44, 87, 0.86) 45%,
    rgba(20, 75, 122, 0.66) 100%
  );
}
.pagehead .wrap {
  position: relative;
  z-index: 1;
}
/* in-content feature image */
.feature-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rad);
  box-shadow: var(--shadow);
}
figure.feature {
  margin: 0;
}
figure.feature figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
}
.pagehead h1 {
  color: #fff;
  max-width: 20ch;
}
.pagehead p.lead {
  color: #cdd9e6;
  font-size: 1.12rem;
  max-width: 62ch;
}
.pagehead .eyebrow {
  color: var(--gold-soft);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* ---------- trust strip ---------- */
.truststrip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.truststrip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ---------- layout blocks ---------- */
.block {
  padding: 54px 0;
}
.block.alt {
  background: var(--bg-2);
}
.block.navy {
  background: linear-gradient(135deg, var(--navy), var(--navy-600));
  color: #fff;
}
.block.navy h2,
.block.navy h3 {
  color: #fff;
}
.block.navy p {
  color: #cdd9e6;
}
.sec-head {
  margin-bottom: 26px;
}
.sec-head p {
  color: var(--muted);
  max-width: 64ch;
}
.sec-head.center {
  text-align: center;
}
.sec-head.center p {
  margin-left: auto;
  margin-right: auto;
}

/* breadcrumb */
.crumbs {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 14px 0;
}
.crumbs a {
  color: var(--navy-500);
}
.crumbs span[aria-current] {
  color: var(--ink);
  font-weight: 600;
}

/* grids + cards */
.grid {
  display: grid;
  gap: 20px;
}
.g2 {
  grid-template-columns: repeat(2, 1fr);
}
.g3 {
  grid-template-columns: repeat(3, 1fr);
}
.g4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .g3,
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin-top: 0;
}
.card.lift {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.card.lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--gold-soft);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

/* numbered process */
.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps .step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.steps .step::before {
  counter-increment: step;
  content: counter(step);
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--serif);
}
.steps .step h4 {
  margin: 0.1em 0 0.2em;
}
.steps .step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* checklist */
ul.check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
ul.check li {
  position: relative;
  padding-left: 30px;
}
ul.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

/* placeholder blocks (clearly editable, never fake) */
.placeholder {
  background: repeating-linear-gradient(
    135deg,
    #fff,
    #fff 12px,
    #fbfaf3 12px,
    #fbfaf3 24px
  );
  border: 1.5px dashed var(--gold-2);
  border-radius: 12px;
  padding: 20px;
  color: var(--navy-700);
}
.placeholder .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: var(--gold-soft);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.placeholder p {
  margin: 0.2em 0;
  font-size: 0.92rem;
}

/* metric tiles */
.metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.metric b {
  display: block;
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.05rem;
  min-height: 1.2em;
}
.metric .ph-val {
  display: block;
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.86rem;
  margin: 6px 0;
}
.metric span.lbl {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold-2);
  font-weight: 700;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details .a {
  padding: 0 18px 16px;
  color: var(--body);
}

/* note / disclaimer callout */
.note {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.92rem;
  margin: 22px 0;
}
.note.warn {
  border-left-color: var(--warn);
}

/* CTA band */
.ctaband {
  background: linear-gradient(135deg, var(--navy), var(--navy-600));
  color: #fff;
  text-align: center;
}
.ctaband h2 {
  color: #fff;
}
.ctaband p {
  color: #cdd9e6;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.ctaband .row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* leadership cards */
.leader {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.leader .photo {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  flex: none;
  background: var(--bg-2);
  border: 1px dashed var(--gold-2);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

/* forms */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 0.92rem;
}
.field .req {
  color: var(--bad);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 75, 122, 0.15);
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field .hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
@media (max-width: 620px) {
  .formgrid {
    grid-template-columns: 1fr;
  }
}
.formgrid .full {
  grid-column: 1/-1;
}

/* deliverables list */
.deliver {
  display: grid;
  gap: 10px;
}
.deliver li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  list-style: none;
}

/* internal link row */
.linkrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.linkrow a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: none;
}
.linkrow a:hover {
  border-color: var(--navy);
  text-decoration: none;
}

/* area chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.chips a:hover {
  border-color: var(--gold-2);
  text-decoration: none;
}

/* footer */
footer.site {
  background: var(--navy);
  color: #cdd9e6;
  padding: 46px 0 30px;
  font-size: 0.92rem;
}
footer.site h5 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 760px) {
  footer.site .cols {
    grid-template-columns: 1fr 1fr;
  }
}
footer.site a {
  display: block;
  color: #cdd9e6;
  text-decoration: none;
  margin: 6px 0;
}
footer.site a:hover {
  color: #fff;
}
footer.site .brand b {
  color: #fff;
}
footer.site .disc {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  margin-top: 28px;
  padding-top: 20px;
}
footer.site .eho {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.8rem;
  color: #9fb1c4;
  max-width: 90ch;
}
footer.site .legal {
  font-size: 0.74rem;
  color: #8497ab;
  margin-top: 16px;
  line-height: 1.5;
}
footer.site .foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.78rem;
}
footer.site .foot-bottom a {
  display: inline;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
