/* ============================================================
   TruPoint Consulting — Independent HOA Consulting, Twin Cities
   Shared stylesheet for all pages.
   Palette: blueprint navy / warm paper / construction orange.
   Display font: Barlow Condensed (Google Fonts, loaded per page).
   Body font: system sans-serif stack (no download).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy: #0e2e4e;         /* blueprint navy */
  --navy-deep: #0a2138;
  --navy-line: #2b5379;    /* thin drawing lines on navy */
  --paper: #f7f4ec;        /* warm off-white paper */
  --paper-2: #efeadd;
  --ink: #1a2b3c;
  --ink-soft: #46586a;
  --line: #d9d2c2;         /* thin rules on paper */
  --line-blue: #a9bfd2;
  --accent: #c2410c;       /* construction orange (AA on paper/white) */
  --accent-dark: #9a3412;
  --white: #ffffff;
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --radius: 3px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.6em 1.2em;
  font-weight: 700;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  color: var(--white);
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.5rem 0; }
.section-tight { padding: 2.5rem 0; }
.center { text-align: center; }

/* Kicker: small uppercase label with measurement-style rule */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}
.kicker::before, .kicker::after {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: currentColor;
}
.kicker::after { display: none; }
.center .kicker::after { display: inline-block; }

/* Measurement-style divider: thin rule with end ticks */
.measure-rule {
  border: 0;
  height: 1px;
  background: var(--line-blue);
  position: relative;
  margin: 2.5rem auto;
  max-width: var(--wrap);
}
.measure-rule::before, .measure-rule::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: var(--line-blue);
}
.measure-rule::before { left: 0; }
.measure-rule::after { right: 0; }

/* Blueprint grid texture for navy bands */
.blueprint {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  color: #e8eef4;
}
.blueprint h1, .blueprint h2, .blueprint h3 { color: var(--white); }
.blueprint a { color: #f3c6a5; }
.blueprint a:hover { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 0.7em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--navy); }
.btn-sm { font-size: 0.9rem; padding: 0.45em 1em; }

/* ============================================================
   HEADER: sticky utility bar + main nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled { box-shadow: 0 3px 14px rgba(10, 33, 56, 0.25); }

/* Utility bar */
.utility-bar {
  background: var(--navy-deep);
  color: var(--white);
  border-bottom: 1px solid var(--navy-line);
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  flex-wrap: wrap;
}
.phone-link {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.phone-link:hover { color: #f3c6a5; }
.phone-link svg { flex: none; }
.utility-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Main nav */
.main-nav { background: var(--white); border-bottom: 2px solid var(--navy); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 62px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.1;
  padding: 0.4rem 0;
}
.brand small {
  display: block;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
}
.brand:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu a, .dropdown-toggle {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 1.05rem 0.9rem;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-menu a:hover, .dropdown-toggle:hover { color: var(--accent); }
.nav-menu a[aria-current="page"] {
  color: var(--accent-dark);
  box-shadow: inset 0 -3px 0 var(--accent);
}
/* Last top-level item (Contact) renders as a solid block button — logo left,
   spaced links across, filled CTA at the right. CSS-only, so all 14 pages
   pick it up without markup changes. */
.nav-menu > li:last-child > a {
  background: var(--navy);
  color: var(--white);
  padding: 0.8em 1.5em;
  margin-left: 0.6rem;
}
.nav-menu > li:last-child > a:hover {
  background: var(--accent);
  color: var(--white);
}
.nav-menu > li:last-child > a[aria-current="page"] {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: none;
}
.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 0.4em;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  box-shadow: 0 10px 24px rgba(10, 33, 56, 0.18);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  z-index: 50;
}
.has-dropdown.open .dropdown { display: block; }
.dropdown a {
  font-size: 0.98rem;
  padding: 0.5rem 1.1rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  font-weight: 500;
}
.dropdown a:hover { background: var(--paper); }
.dropdown .dropdown-all {
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.3rem;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--navy);
    box-shadow: 0 12px 24px rgba(10, 33, 56, 0.2);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a, .dropdown-toggle {
    padding: 0.85rem 1.25rem;
    width: 100%;
    text-align: left;
    border-top: 1px solid var(--line);
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--accent);
    margin: 0 0 0.5rem 1.25rem;
    padding: 0;
  }
  .nav-menu > li:last-child > a { margin-left: 0; }
  .utility-actions .btn { font-size: 0.82rem; padding: 0.4em 0.7em; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 33, 56, 0.72) 0%, rgba(10, 33, 56, 0.38) 50%, rgba(10, 33, 56, 0.12) 100%);
}
/* Decorative accent frame floating over the hero photos (photo-forward hero
   with a framed band). Hidden on small screens. */
.hero-frame {
  position: absolute;
  top: 8%;
  right: 5vw;
  width: min(36vw, 480px);
  height: 84%;
  border: 7px solid var(--accent);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 960px) { .hero-frame { display: none; } }
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 4.5rem 0;
  max-width: 720px;
}
.hero-content h1 { color: var(--white); margin: 0 0 0.5em; line-height: 1.25; }
/* Headline sits on solid navy plates that hug each wrapped line. */
.hl-plate {
  background: var(--navy);
  padding: 0.08em 0.35em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-sub {
  display: inline-block;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #e4ecf3;
  background: rgba(10, 33, 56, 0.78);
  padding: 0.9em 1.1em;
  max-width: 34em;
  margin: 0 0 1.6em;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
/* Accent tab sitting flush on top of the headline plate. */
.hero-tagline {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--accent);
  padding: 0.35em 0.9em;
  margin: 0;
}

/* Page hero for interior pages */
.page-hero { padding: 3.2rem 0 2.8rem; }
.page-hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cfdae4;
  max-width: 44em;
  margin: 0;
}

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin-top: 0; }
.card .card-more {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-decoration: none;
}

/* Service icon grid (home “What can we help you with?”) */
.service-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .service-grid { grid-template-columns: 1fr; } }
.service-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--navy);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.service-tile:hover {
  border-color: var(--accent);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 33, 56, 0.12);
}
.service-tile svg { color: var(--accent-dark); flex: none; }
.service-tile .tile-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-tile .tile-desc { font-size: 0.9rem; color: var(--ink-soft); }

/* ============================================================
   INDEPENDENCE CONTRAST (two-column vs.)
   ============================================================ */
.contrast { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .contrast { grid-template-columns: 1fr; } }
.contrast-col {
  padding: 1.75rem;
  border-radius: var(--radius);
}
.contrast-them {
  background: var(--paper-2);
  border: 1px dashed var(--ink-soft);
}
.contrast-us {
  background: var(--navy);
  color: #e8eef4;
  border: 1px solid var(--navy);
}
.contrast-us h3 { color: var(--white); }
.contrast-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.contrast-them .contrast-label { color: var(--ink-soft); }
.contrast-us .contrast-label { color: #f3c6a5; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--navy); }
.stats-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); text-align: center; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr; } }
.stat { padding: 1.5rem 1rem; border: 1px solid var(--navy-line); border-radius: var(--radius); }
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--white);
  display: block;
}
.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9bfd2;
}
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy-line);
  list-style: none;
  padding-left: 0;
}
.cred-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #dbe5ee;
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  padding: 0.35em 1em;
}
.cred-strip li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  flex: none;
}

/* ============================================================
   STEPS (3 easy steps, SF 1750 walkthrough)
   ============================================================ */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.steps h3 { font-size: 1.25rem; margin-bottom: 0.35em; }
.steps p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }

/* Long-form numbered walkthrough (SF 1750 page) */
.walkthrough { list-style: none; padding: 0; margin: 0; counter-reset: wstep; }
.walkthrough > li {
  counter-increment: wstep;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.walkthrough > li::before {
  content: counter(wstep);
  position: absolute;
  left: 1.2rem;
  top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.walkthrough h3 { margin-bottom: 0.5em; }
.wstep-meta { margin: 0.6rem 0 0; font-size: 0.98rem; }
.wstep-meta dt {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--accent-dark);
  margin-top: 0.6rem;
}
.wstep-meta dd { margin: 0.15rem 0 0; color: var(--ink-soft); }
.wstep-flag {
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  background: #fdf1e7;
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
}

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2.2rem;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--navy);
  background: var(--white);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 0.75rem; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.25;
}
.faq-q .faq-icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
}
.faq-q .faq-icon::before, .faq-q .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .faq-icon::before { width: 100%; height: 2px; }
.faq-q .faq-icon::after { width: 2px; height: 100%; transition: transform 0.2s; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { padding: 0 1.25rem 1.15rem; color: var(--ink-soft); }
.faq-a[hidden] { display: none; }
.faq-a p:last-child { margin-bottom: 0; }

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.review::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--accent);
  position: absolute;
  top: 0.6rem;
  left: 1.1rem;
  opacity: 0.85;
}
.review blockquote { margin: 1.1rem 0 1rem; font-size: 1rem; color: var(--ink); flex: 1; }
.review .stars { color: var(--accent); letter-spacing: 0.15em; font-size: 1.05rem; }
.review-byline { font-size: 0.92rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 0.8rem; }
.review-byline strong { color: var(--navy); display: block; font-size: 1rem; }

/* Trust-signal logo row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.trust-row img { max-height: 52px; width: auto; filter: grayscale(1); opacity: 0.75; }
.trust-row a:hover img { filter: none; opacity: 1; }
.trust-label {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--navy); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-inner h2 { margin-bottom: 0.2em; }
.cta-inner p { margin: 0; color: #cfdae4; max-width: 36em; }
.cta-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.cta-phone {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  white-space: nowrap;
}
.cta-phone:hover { color: #f3c6a5; }

/* ============================================================
   FORMS
   ============================================================ */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 640px;
}
.form-row { margin-bottom: 1.1rem; }
label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-soft);
  border-radius: var(--radius);
  padding: 0.65em 0.8em;
}
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}
.form-hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* Option rows for radios / checkboxes (review form) */
fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.1rem;
}
legend {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--navy);
  padding: 0 0.4em;
}
.option-row { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0.35rem 0; }
.option-row input { width: auto; margin-top: 0.3em; accent-color: var(--accent); }
.option-row label {
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
}

/* Lead capture band (SF 1750) */
.lead-capture { background: var(--navy-deep); }
.lead-capture .form-panel { background: transparent; border-color: var(--navy-line); max-width: none; }
.lead-capture label { color: var(--white); }
.lead-inline { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.lead-inline .form-row { flex: 1 1 220px; margin-bottom: 0; }
.lead-inline .btn { flex: 0 0 auto; align-self: end; }

/* ============================================================
   MISC CONTENT BLOCKS
   ============================================================ */
.note-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  padding: 1.1rem 1.3rem;
  font-size: 0.98rem;
  border-radius: var(--radius);
}
.callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.callout h2, .callout h3 { margin-bottom: 0.25em; }
.callout p { margin: 0; color: var(--ink-soft); max-width: 40em; }

/* Definition trio: what it is / who it's for / how it works */
.svc-structure { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.svc-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.75rem;
}
.svc-block h2 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.svc-block h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-blue);
}
.svc-block ul { margin-bottom: 0; }
.svc-block li { margin-bottom: 0.35em; }

/* Audience cards */
.audience-card { border-top-color: var(--accent); }
.audience-card .who {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.4rem;
}
.audience-card .want { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }
.audience-card .want strong { color: var(--navy); }

/* Team profile (about) */
.profile {
  display: grid;
  gap: 2rem;
  grid-template-columns: 280px 1fr;
  align-items: start;
}
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } }
.profile-photo {
  background: var(--paper-2);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}
.profile-creds { list-style: none; padding: 0; margin: 1rem 0 0; }
.profile-creds li {
  padding: 0.5rem 0 0.5rem 1.6rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 0.98rem;
}
.profile-creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--accent);
}

/* ============================================================
   FOOTER — drawing-sheet title block
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: #cfdae4;
  border-top: 4px solid var(--accent);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.3fr 1fr 1fr;
  padding-top: 3rem;
  padding-bottom: 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 {
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.8em;
}
.site-footer a { color: #cfdae4; }
.site-footer a:hover { color: var(--white); }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 0.22rem 0; }
.footer-contact p { margin-bottom: 0.5em; }
.footer-contact .phone-link { font-size: 1.3rem; }

/* Title block: bordered corner frame like a drawing sheet */
.footer-titleblock {
  border: 1px solid var(--navy-line);
  outline: 1px solid var(--navy-line);
  outline-offset: 3px;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-titleblock > div {
  flex: 1 1 200px;
  padding: 0.6rem 1rem;
  border-right: 1px solid var(--navy-line);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.footer-titleblock > div:last-child { border-right: 0; }
.footer-titleblock .tb-label {
  display: block;
  font-size: 0.68rem;
  color: #7f97ab;
  letter-spacing: 0.2em;
}
.footer-titleblock .tb-value { color: var(--white); font-weight: 600; }
.footer-legal {
  border-top: 1px solid var(--navy-line);
  padding: 1rem 0 1.4rem;
  font-size: 0.85rem;
  color: #93a9bc;
}
.footer-legal p { margin: 0.3em 0; }

/* ============================================================
   SITE GUIDE WIDGET (assistant.js)
   ============================================================ */
.guide-launcher {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6em 1.1em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(10, 33, 56, 0.35);
}
.guide-launcher:hover { background: var(--accent); border-color: var(--accent); }
.guide-launcher svg { flex: none; }

.guide-panel {
  position: fixed;
  bottom: 4.6rem;
  right: 1rem;
  z-index: 150;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(560px, 75vh);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--navy);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(10, 33, 56, 0.35);
}
.guide-panel[hidden] { display: none; }

.guide-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: var(--navy);
  color: var(--white);
}
.guide-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.guide-badge {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  padding: 0.2em 0.7em;
  color: #a9bfd2;
}
.guide-close {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2em;
}
.guide-close:hover { color: #f3c6a5; }

.guide-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.g-msg {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  font-size: 0.93rem;
  line-height: 1.5;
  max-width: 95%;
}
.g-user {
  align-self: flex-end;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  max-width: 85%;
}
.g-links { display: flex; flex-direction: column; gap: 0.3rem; padding-left: 0.3rem; }
.g-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.guide-options { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.3rem; }
.g-option {
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 0.9rem;
  min-height: 44px; /* comfortable tap target */
  cursor: pointer;
}
.g-option:hover { background: var(--navy); color: var(--white); }

.guide-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.guide-call {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--accent-dark);
  text-decoration: none;
  white-space: nowrap;
}
.guide-call:hover { color: var(--accent); }
.guide-disclaimer { font-size: 0.72rem; color: var(--ink-soft); text-align: right; }

@media (max-width: 480px) {
  .guide-panel { right: 0.5rem; left: 0.5rem; width: auto; bottom: 4.4rem; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.max-prose { max-width: 46em; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
