/* ========================================================================
   O'Show Residential Services — site styles
   Palette: charcoal navy, cool stone, burnt-orange rust
   ======================================================================== */

:root {
  --navy: #10171E;
  --navy-deep: #0A0E13;
  --navy-mid: #1B242D;
  --teal: #A8481C;
  --teal-hover: #8F3F16;
  --teal-bright: #D17E3C;
  --teal-soft: #EFE4DA;
  --sand: #E8E6E2;
  --sand-mid: #D6D3CD;
  --gold: #D17E3C;
  --cream: #F3F2EF;
  --white: #ffffff;
  --text: #14191F;
  --text-muted: #3A434C;
  --border: #D0CDC8;
  --error: #8B2E2E;
  --focus: #A8481C;
  --header-h: 4.5rem;
  --radius: 2px;
  --radius-sm: 2px;
  --shadow: 0 6px 20px rgba(16, 23, 30, 0.10);
  --shadow-lg: 0 12px 32px rgba(16, 23, 30, 0.16);
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Calibri, sans-serif;
  --content: 72rem;
  --ease: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--teal-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14, "wght" 700;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

p:last-child { margin-bottom: 0; }

/* ---------- Utilities ---------- */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--navy);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 0 0 2px 2px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: var(--cream);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--content), calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 48rem) {
  .container {
    width: min(var(--content), calc(100% - 3.5rem));
  }
}

.kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.section {
  padding: 4.25rem 0;
}

@media (min-width: 48rem) {
  .section { padding: 5.5rem 0; }
}

.section-sand { background: var(--sand); }
.section-soft { background: var(--teal-soft); }
.section-navy {
  background: var(--navy);
  color: var(--cream);
}
.section-navy h2,
.section-navy h3 { color: var(--cream); }
.section-navy .kicker { color: var(--gold); }
.section-navy .lead,
.section-navy p { color: #C9D1D6; }

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head.centered {
  margin-inline: auto  auto;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.centered .lead {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn:hover { color: inherit; }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--teal-hover);
  color: var(--white);
  border-color: var(--teal-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--navy);
  color: var(--cream);
}

.btn-light {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.btn-light:hover,
.btn-light:focus-visible {
  background: var(--white);
  color: var(--navy-deep);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover,
.btn-teal:focus-visible {
  background: var(--teal-hover);
  color: var(--white);
  border-color: var(--teal-hover);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 0.85rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header .logo {
  background: var(--cream);
  padding: 0.15rem 0.4rem 0.15rem 0.15rem;
  border-radius: var(--radius-sm);
}

@media (min-width: 28rem) {
  .site-header .logo {
    padding: 0.2rem 0.55rem 0.2rem 0.22rem;
  }
}

.logo img {
  height: 40px;
  width: auto;
}

@media (min-width: 28rem) {
  .logo img { height: 48px; }
}

@media (min-width: 48rem) {
  .logo img { height: 54px; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
  position: relative;
  transition: transform var(--ease), opacity var(--ease);
  border-radius: 1px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  padding: 0.5rem 1rem 1.25rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  text-decoration: none;
  color: var(--cream);
  font-weight: 700;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: var(--navy-mid);
  color: var(--white);
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--teal);
}

.nav-cta { margin-top: 0.5rem; }
.nav-cta .btn { width: 100%; }

@media (min-width: 64rem) {
  .nav-toggle { display: none; margin-left: 0; }
  .site-nav {
    display: flex !important;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin-left: auto;
    align-items: center;
    gap: 0.75rem;
  }
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .nav-list a {
    padding: 0.45rem 0.75rem;
  }
  .nav-list a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--teal);
    background: transparent;
  }
  .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
  }
  .nav-cta .btn {
    width: auto;
    padding: 0.55rem 1.1rem;
    font-size: 0.98rem;
  }
}


.header-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.05rem;
  min-width: 0;
  flex: 1 1 auto;
}

.header-contact-name,
.header-contact-phone,
.header-contact-email {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--cream);
  line-height: 1.25;
}

.header-contact-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  min-height: 1.5rem;
}

.header-contact-phone,
.header-contact-email {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-color: var(--teal-bright);
  text-underline-offset: 0.16em;
  min-height: 1.55rem;
  overflow-wrap: normal;
  white-space: nowrap;
}

.header-contact-name:hover,
.header-contact-name:focus-visible,
.header-contact-phone:hover,
.header-contact-phone:focus-visible,
.header-contact-email:hover,
.header-contact-email:focus-visible {
  color: var(--white);
}

.site-header .btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.site-header .btn-primary:hover,
.site-header .btn-primary:focus-visible {
  background: var(--teal-hover);
  color: var(--white);
  border-color: var(--teal-hover);
}

@media (min-width: 48rem) {
  .header-contact-name { font-size: 0.95rem; }
  .header-contact-phone,
  .header-contact-email { font-size: 0.88rem; }
}

@media (min-width: 64rem) {
  .header-contact {
    flex: 0 1 auto;
    margin-right: 0.5rem;
  }
  .header-contact-name { min-height: 1.4rem; }
  .header-contact-phone,
  .header-contact-email { min-height: 1.45rem; }
  .nav-cta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
  }
}

.footer-owner {
  font-weight: 700;
  color: #e8eef0;
  padding: 0.25rem 0 0.15rem;
}
/* ---------- Hero ---------- */

.hero {
  padding: 3rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 0%, rgba(168, 72, 28, 0.12), transparent 55%),
    linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 { margin-bottom: 1rem; }

.hero-visual {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

@media (min-width: 60rem) {
  .hero { padding: 4rem 0 5rem; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

/* ---------- Service cards ---------- */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 70rem) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid .service-card:nth-child(4) { grid-column: 1 / 2; }
  /* last two sit naturally; with 5 cards, row 2 has 2 cards starting at col 1 if we don't force.
     Leave auto placement: 3 + 2. Fine. */
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

a.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sand-mid);
  color: inherit;
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--teal);
  flex-shrink: 0;
}

.service-icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  flex: 1;
}

.card-link {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--teal);
  font-size: 1rem;
}

a.service-card:hover .card-link { color: var(--teal-hover); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 70rem) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.step h3 { font-size: 1.2rem; }
.step p { color: var(--text-muted); font-size: 1.02rem; }

/* ---------- Features / why us ---------- */

.features {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 0.25rem 0;
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--gold);
}

.section-navy .feature-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

/* ---------- Service area ---------- */

.area-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 56rem) {
  .area-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}

.community-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.community-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.area-panel {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.area-panel img { width: 100%; }

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  padding: 4rem 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(209, 126, 60, 0.18), transparent 55%),
    var(--navy-deep);
  color: var(--cream);
}

.cta-band h2 { color: var(--cream); }
.cta-band p {
  color: #C9D1D6;
  max-width: 36rem;
  margin-inline: auto;
  font-size: 1.15rem;
}
.cta-band .btn-row { justify-content: center; }

/* ---------- Page hero (interior) ---------- */

.page-hero {
  padding: 3rem 0 2.5rem;
  background:
    linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 0.5rem; }

/* ---------- Service detail blocks ---------- */

.service-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 3.25rem 0;
}

.service-block + .service-block {
  border-top: 1px solid var(--border);
}

.service-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--sand);
}

.service-media img { width: 100%; }

.includes {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.includes li {
  padding-left: 1.7rem;
  position: relative;
  color: var(--text);
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 3px var(--teal-soft);
}

@media (min-width: 56rem) {
  .service-block {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.25rem;
    padding: 4rem 0;
  }
  .service-block.is-reversed {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .service-block.is-reversed .service-media {
    order: 2;
  }
}

/* ---------- About ---------- */

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.25rem; }

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.callout {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}

.callout h2,
.callout h3 { font-size: 1.25rem; }

.note {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--sand);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem;
  color: var(--text);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 46rem;
  margin: 0 auto;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1.2rem;
  margin-bottom: 0.8rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.08rem;
  color: var(--navy);
  padding: 1.1rem 2rem 1.1rem 0;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--ease);
}

.faq-list details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-list .faq-body {
  padding: 0 0 1.2rem;
  color: var(--text-muted);
}

/* ---------- Contact / forms ---------- */

.contact-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 56rem) {
  .contact-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
    align-items: start;
  }
}

.form-card,
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
}

@media (min-width: 48rem) {
  .form-card,
  .info-card { padding: 2rem; }
}

.form-row { margin-bottom: 1.15rem; }

.form-row.two {
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

label,
.legend {
  display: block;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.hint {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.92rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(168, 72, 28, 0.28);
}

textarea { min-height: 8.5rem; resize: vertical; }

.checkbox-group {
  display: grid;
  gap: 0.45rem;
}

.checkbox-group label {
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text);
  cursor: pointer;
}

.checkbox-group input {
  margin-top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions { margin-top: 1.4rem; }

.info-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.info-list li {
  margin-bottom: 1rem;
}

.info-list .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.15rem;
}

.info-list a { font-weight: 650; }

.placeholder-value {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.98em;
  background: var(--sand);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-sm);
}

/* ---------- Status pages ---------- */

.status-page {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 4rem 0 5rem;
}

.status-card {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.status-card h1 { margin-bottom: 1rem; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: auto;
  background: var(--navy-deep);
  color: #C9D1D6;
  padding: 3.25rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}

@media (min-width: 70rem) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 0.9fr 1.15fr;
    gap: 2.5rem;
  }
}

.footer-brand .logo { display: inline-flex; margin-bottom: 1rem; }

.footer-brand .logo img {
  height: 48px;
  /* Invert isn't needed — logo is already navy on transparent;
     on dark footer the navy mark still works; wordmark would disappear.
     Use a filter to invert carefully? Navy logo on navy footer is a problem.
     Provide a light treatment via CSS filter, or a second logo.
     The shield is navy-filled so it will vanish.
     I'll apply a footer-specific logo treatment. */
}

.logo-on-dark {
  /* Turn the navy mark/wordmark light for the footer */
  filter: brightness(0) invert(1) sepia(0.15) saturate(0.4);
  opacity: 0.95;
}

.footer-brand p {
  color: #c5d0d4;
  font-size: 1.02rem;
  max-width: 24rem;
}

.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.footer-nav,
.footer-area {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #e8eef0;
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
  font-weight: 600;
}

.footer-nav a:hover { color: var(--gold); }

.footer-area li { margin-bottom: 0.3rem; }

.footer-disclaimer {
  margin-top: 2.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  color: #a9b8be;
}

.footer-legal {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: #a9b8be;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

/* ---------- 404 / misc ---------- */

main { flex: 1; }

/* ---------- Reduced motion ---------- */

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

.logo-plate {
  background: var(--cream);
  padding: 0.35rem 0.7rem 0.35rem 0.35rem;
  border-radius: var(--radius-sm);
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 64rem) {
  body.nav-open { overflow: visible; }
}

.cta-band .btn-light {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.cta-band .btn-light:hover,
.cta-band .btn-light:focus-visible {
  background: var(--teal-hover);
  color: var(--white);
  border-color: var(--teal-hover);
}

.cta-band .btn-secondary {
  border-color: var(--cream);
  color: var(--cream);
}
.cta-band .btn-secondary:hover,
.cta-band .btn-secondary:focus-visible {
  background: var(--cream);
  color: var(--navy);
}


/* ---------- Tagline and two-column service cards ---------- */

.tagline {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--teal);
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}

.hero-copy .tagline {
  margin: -0.15rem 0 1rem;
}

.page-hero .tagline {
  margin: 0 0 0.85rem;
}

.page-hero .lead-wide {
  max-width: 48rem;
}

@media (min-width: 40rem) {
  .services-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 70rem) {
  .services-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid.grid-2 .service-card:nth-child(4) {
    grid-column: auto;
  }
}
