/* Client compliance site styles — full-bleed section bands with centered content.
   Brand colors use CSS vars with fallbacks so the site renders before client values are set. */
:root {
  --primary-color: #c93433;
  --secondary-color: #a12828;
  /* Primary = former red/--brand; secondary = former dark-red/--brand-dark and blue accents */
  --brand: var(--primary-color, #c93433);
  --brand-dark: var(--secondary-color, #a12828);
  --ink: #1a1a1b;
  --muted: #4a4a4a;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --amber: #f59e0b;
  --blue: var(--secondary-color, #a12828);
  --max: 1120px;
  --gutter: 1.25rem;
  --font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-color, #c93433); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Centered content column inside full-bleed bands */
.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.brand-lockup img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 4px;
  background: transparent;
}
.brand-lockup .name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav a { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--primary-color, #c93433); }

.merge {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--secondary-color, #a12828);
  background: #fff1f0;
  border: 1px dashed var(--primary-color, #c93433);
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
  vertical-align: middle;
  white-space: nowrap;
}
.merge-block { margin-top: 0.35rem; }

.hero {
  position: relative;
  width: 100%;
  min-height: min(72vh, 560px);
  display: grid;
  align-items: end;
  color: #fff;
  background: #222 center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.72) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-block: 2.5rem 3rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  max-width: 16ch;
}
.hero p {
  margin: 0 0 1.25rem;
  max-width: 40ch;
  font-size: 1.05rem;
}
.btn {
  display: inline-block;
  background: var(--primary-color, #c93433);
  color: #fff !important;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  font-size: 0.95rem;
}
.btn:hover { background: var(--secondary-color, #a12828); }
.btn-ghost {
  background: transparent;
  border: 2px solid #fff;
  margin-left: 0.5rem;
}

/* Full-bleed section band; content centered via .wrap */
.section {
  width: 100%;
  margin: 0;
  padding: 3rem 0;
}
.section .wrap { padding-block: 0; }
.section-label {
  color: var(--primary-color, #c93433);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}
.section .lede {
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 52ch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.card-media {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.card-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card-media .body { padding: 1rem 1.1rem 1.2rem; }
.card-media h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.offers { background: var(--bg-soft); }
.offer {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: 6px;
  padding: 1.1rem 1.15rem;
}
.offer strong { display: block; font-size: 1.05rem; margin-bottom: 0.35rem; }
.offer span { color: var(--muted); font-size: 0.92rem; }

/* Membership — centered intro + alternating image/copy rows */
.membership-intro {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 40rem;
}
.membership-intro .lede {
  margin-left: auto;
  margin-right: auto;
}
.membership-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2.5rem 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.membership-row:last-child { margin-bottom: 0; }
.membership-row--image-right {
  grid-template-columns: 7fr 5fr;
}
.membership-media {
  margin: 0;
  text-align: center;
}
.membership-media img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: inline-block;
}
.membership-media figcaption {
  margin-top: 0.5rem;
}
.membership-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  text-transform: uppercase;
  color: var(--secondary-color, #a12828);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.membership-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
}
.bullets {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink);
  font-weight: 700;
}
.bullets li { margin-bottom: 0.35rem; }

.proof { background: var(--ink); color: #fff; }
.proof .section-label { color: #f5a5a4; }
.proof .lede { color: #c9c9c9; }
.proof-card {
  background: #262628;
  border-radius: 6px;
  padding: 1rem;
}
.proof-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.proof-card p { margin: 0 0 0.75rem; font-size: 0.95rem; color: #e8e8e8; }
.proof-card cite { font-style: normal; font-weight: 700; color: #fff; }

.financing {
  background: linear-gradient(90deg, var(--primary-color, #c93433) 0%, var(--secondary-color, #a12828) 100%);
  color: #fff;
  text-align: center;
}
.financing h2 { color: #fff; }
.financing .lede { color: #ffe4e4; margin-left: auto; margin-right: auto; }
.financing .btn { background: #fff; color: var(--primary-color, #c93433) !important; }

.site-footer {
  width: 100%;
  background: #111;
  color: #ddd;
  padding: 2.5rem 0 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h4 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; font-size: 0.92rem; }
.site-footer a { color: #ddd; }
.site-footer p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: #bbb; }
.footer-logo {
  display: block;
  max-height: 56px;
  width: auto;
  margin: 0 0 0.85rem;
  object-fit: contain;
}
.legal-bar {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
  font-size: 0.8rem;
  color: #999;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* Legal / contact — same full-bleed + centered wrap */
.page-hero {
  width: 100%;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 0;
}
.page-hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 0.5rem;
}
.prose-band {
  width: 100%;
  padding: 2rem 0 3.5rem;
}
.prose h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}
.prose p, .prose li { color: var(--muted); }
.prose ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}
.prose li { margin-bottom: 0.35rem; }
.clause {
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-band {
  width: 100%;
  padding: 2rem 0 3.5rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
}
.contact-aside h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem 1.35rem 1.5rem;
  background: #fff;
}
.form-panel label {
  display: block;
  font-weight: 650;
  font-size: 0.88rem;
  margin: 0.85rem 0 0.35rem;
}
.form-panel input[type="text"],
.form-panel input[type="email"],
.form-panel input[type="tel"],
.form-panel textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.65rem 0.7rem;
  font: inherit;
}
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 0.65rem;
  margin-top: 1rem;
  padding: 0.85rem;
  background: var(--bg-soft);
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.consent input { margin-top: 0.2rem; }
.form-footer-links {
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

@media (max-width: 800px) {
  .grid-2, .grid-3, .footer-grid, .contact-layout {
    grid-template-columns: 1fr;
  }
  .membership-row,
  .membership-row--image-right {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .membership-row--image-right .membership-media {
    order: -1;
  }
  .btn-ghost { margin-left: 0; margin-top: 0.5rem; display: inline-block; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
}
