/* ==========================================================================
   Chisholm Realty Group — site styles
   Palette taken from the CRG logo: crimson, royal purple, gold crown.
   ========================================================================== */

:root {
  --red: #9e2a2b;
  --red-dark: #761f20;
  --red-darker: #390f10;

  --purple: #695087;
  --purple-dark: #503d67;
  --purple-deep: #2b2137;
  --purple-light: #8266a4;
  --purple-pale: #a996c1;

  --gold: #e3c53f;
  --gold-dark: #b99b1f;

  --ink: #1d1724;
  --muted: #5f5a66;
  --line: #e6e2ea;
  --bg: #ffffff;
  --bg-soft: #faf8fb;
  --bg-tint: #f3eff6;

  --serif: "Lustria", Georgia, "Times New Roman", serif;
  --body: "Merriweather", Georgia, serif;
  --ui: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(43, 33, 55, .08), 0 1px 2px rgba(43, 33, 55, .06);
  --shadow: 0 4px 16px rgba(43, 33, 55, .10);
  --shadow-lg: 0 12px 32px rgba(43, 33, 55, .16);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--purple-deep);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.4vw, 2.85rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4, h5 {
  font-family: var(--ui);
  font-weight: 600;
  line-height: 1.3;
  color: var(--purple-deep);
  margin: 0 0 .5em;
}
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }

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

/* Accessibility ---------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--purple-deep);
  color: #fff;
  padding: .75rem 1.25rem;
  font-family: var(--ui);
}
.skip-link:focus { left: 0; }

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

.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;
}

/* Layout ----------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--tint { background: var(--bg-tint); }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  font-family: var(--ui);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 .6rem;
}

.rule {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border: 0;
  margin: 0 0 1.4rem;
}
.section-head--center .rule { margin-inline: auto; }

/* Utility bar ------------------------------------------------------------ */

.utility {
  background: var(--purple-deep);
  color: #e9e3f0;
  font-family: var(--ui);
  font-size: .85rem;
}
.utility .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.5rem;
  min-height: 44px;
  padding-block: .4rem;
}
.utility a { color: #e9e3f0; }
.utility a:hover { color: var(--gold); text-decoration: none; }
.utility__item { display: inline-flex; align-items: center; gap: .45rem; }
.utility__social { margin-left: auto; display: flex; gap: .35rem; }
.utility__social a {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transition: background .18s ease, transform .18s ease;
}
.utility__social a:hover { background: var(--red); transform: translateY(-1px); }
.utility svg { width: 15px; height: 15px; fill: currentColor; }

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

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .85rem;
}
.brand { display: block; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { width: 232px; max-width: 58vw; }

/* Navigation ------------------------------------------------------------- */

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: var(--purple-deep);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--ui);
  font-size: .9rem;
  font-weight: 600;
  padding: .6rem .9rem;
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; fill: currentColor; }

.nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  font-family: var(--ui);
  font-size: .93rem;
  font-weight: 600;
  color: var(--purple-deep);
  padding: .55rem .7rem;
  border-radius: var(--radius);
  transition: color .18s ease, background .18s ease;
}
.nav a:hover { background: var(--bg-tint); color: var(--red); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav .nav-cta a {
  background: var(--red);
  color: #fff;
  margin-left: .5rem;
  padding-inline: 1.1rem;
  box-shadow: none;
}
.nav .nav-cta a:hover { background: var(--red-dark); color: #fff; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--ui);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  padding: .85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.btn--secondary { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn--secondary:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: #fff; }

.btn--ghost { background: transparent; border-color: currentColor; color: var(--purple-deep); }
.btn--ghost:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; }

.btn--light { background: #fff; border-color: #fff; color: var(--purple-deep); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: var(--purple-deep); }

.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(43, 33, 55, .93) 0%, rgba(80, 61, 103, .88) 55%, rgba(118, 31, 32, .85) 100%),
    var(--purple-deep);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 78% 18%, rgba(227, 197, 63, .16), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(169, 150, 193, .18), transparent 46%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero h1 { color: #fff; margin-bottom: .5rem; }
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #ece6f2;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}
.hero .eyebrow { color: var(--gold); }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}
.hero__stat span {
  font-family: var(--ui);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d9d0e4;
}

/* Agent card ------------------------------------------------------------- */

.agent-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.agent-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}
.agent-card__body { padding: 1.5rem; text-align: center; }
.agent-card__body h2 {
  font-size: 1.4rem;
  margin-bottom: .1rem;
}
.agent-card__role {
  font-family: var(--ui);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.agent-card__meta {
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.agent-card__meta a { color: var(--purple-dark); font-weight: 600; }

/* Cards ------------------------------------------------------------------ */

.grid { display: grid; gap: 1.75rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--purple-pale); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--purple));
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 26px; height: 26px; fill: #fff; }

/* Area cards ------------------------------------------------------------- */

.area-card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  background: var(--purple-deep);
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.area-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: .72;
  transition: opacity .2s ease, transform .35s ease;
}
.area-card:hover img { opacity: .55; transform: scale(1.04); }
.area-card__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.25rem 1.15rem;
  background: linear-gradient(to top, rgba(43, 33, 55, .92), transparent);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.2rem;
}
.area-card__label span {
  display: block;
  font-family: var(--ui);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .2rem;
}

/* Simple community link list -------------------------------------------- */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pill-list a {
  display: inline-block;
  font-family: var(--ui);
  font-size: .9rem;
  font-weight: 600;
  color: var(--purple-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  transition: all .18s ease;
}
.pill-list a:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: #fff;
  text-decoration: none;
}

/* Page header ------------------------------------------------------------ */

.page-head {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-dark) 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.page-head h1 { color: #fff; margin-bottom: .35rem; }
.page-head p { color: #ded6e8; max-width: 44rem; margin-bottom: 0; }
.page-head .eyebrow { color: var(--gold); }

.breadcrumb {
  font-family: var(--ui);
  font-size: .85rem;
  color: #c9bed6;
  margin-bottom: 1rem;
}
.breadcrumb a { color: #c9bed6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .55; margin-inline: .4rem; }

/* Prose ------------------------------------------------------------------ */

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }

.layout-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.sidebar-card {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.75rem;
  position: sticky;
  top: 96px;
}
.sidebar-card h3 { font-size: 1.25rem; }
.sidebar-card p { font-size: .93rem; color: var(--muted); }

/* Callout ---------------------------------------------------------------- */

.callout {
  background: linear-gradient(135deg, var(--red-darker) 0%, var(--red) 55%, var(--purple-dark) 100%);
  color: #fff;
  border-radius: 12px;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.callout h2 { color: #fff; }
.callout p { color: #f4e9ea; max-width: 40rem; margin-inline: auto; }
.callout .btn-row { justify-content: center; margin-top: 1.75rem; }

/* Guarantee blocks ------------------------------------------------------- */

.guarantee {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.guarantee__num {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--purple-pale);
}
.guarantee h3 { margin-bottom: .4rem; }
.guarantee p { color: var(--muted); font-size: .96rem; }

/* Listings --------------------------------------------------------------- */

.listing {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.listing:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.listing__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-tint); }
.listing__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.listing__status {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 3px;
  padding: .25rem .6rem;
  margin-bottom: .75rem;
}
.listing__status--sold { background: var(--purple); }
.listing__status--pending { background: var(--gold-dark); }
.listing__price {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--purple-deep);
  line-height: 1.1;
  margin-bottom: .3rem;
}
.listing__addr { font-size: .96rem; color: var(--muted); margin-bottom: .9rem; }
.listing__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--ui);
  font-size: .88rem;
  color: var(--purple-deep);
  border-top: 1px solid var(--line);
  padding-top: .9rem;
  margin-top: auto;
}
.listing__specs strong { font-weight: 700; }

.empty-state {
  background: var(--bg-tint);
  border: 1px dashed var(--purple-pale);
  border-radius: 10px;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.empty-state p { color: var(--muted); max-width: 36rem; margin-inline: auto; }

/* Forms ------------------------------------------------------------------ */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 1.35rem; }
.field:last-of-type { margin-bottom: 0; }

.field > label,
.fieldset > legend {
  display: block;
  font-family: var(--ui);
  font-size: .9rem;
  font-weight: 600;
  color: var(--purple-deep);
  margin-bottom: .4rem;
  padding: 0;
}

.req { color: var(--red); margin-left: .15rem; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--ui);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfc8d6;
  border-radius: var(--radius);
  padding: .7rem .85rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%235f5a66' d='M8 11 3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.2rem; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(105, 80, 135, .16);
}

.field-hint { font-family: var(--ui); font-size: .84rem; color: var(--muted); margin-top: .35rem; }

.fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.fieldset > legend { margin-bottom: .6rem; }

.choices { display: grid; gap: .5rem; }
.choices--cols { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.choice {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-family: var(--ui);
  font-size: .93rem;
  color: var(--ink);
  cursor: pointer;
}
.choice input { margin: .3rem 0 0; accent-color: var(--purple); flex-shrink: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.25rem; }
.form-grid .field--full { grid-column: 1 / -1; }

.form-section-title {
  font-family: var(--ui);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--line);
  padding-bottom: .5rem;
  margin: 2.25rem 0 1.35rem;
}
.form-section-title:first-child { margin-top: 0; }

.form-status {
  font-family: var(--ui);
  font-size: .95rem;
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  margin-top: 1.25rem;
}
.form-status[hidden] { display: none; }
.form-status--ok { background: #e8f5ec; border: 1px solid #a8d5b8; color: #1e5b34; }
.form-status--err { background: #fdeaea; border: 1px solid #f0b4b4; color: #8a2020; }

/* Contact details -------------------------------------------------------- */

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: .9rem;
  align-items: start;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-tint);
}
.contact-list .ico svg { width: 18px; height: 18px; fill: var(--purple); }
.contact-list dt {
  font-family: var(--ui);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list dd { margin: 0; font-size: 1.02rem; color: var(--purple-deep); }
.contact-list dd a { color: var(--purple-deep); font-weight: 600; }

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

.site-footer {
  background: var(--purple-deep);
  color: #cdc4d8;
  font-size: .94rem;
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.site-footer h3 {
  color: #fff;
  font-family: var(--ui);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer a { color: #cdc4d8; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-logo {
  width: 220px;
  background: #fff;
  border-radius: 6px;
  padding: .75rem 1rem;
  margin-bottom: 1.25rem;
}
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transition: background .18s ease, transform .18s ease;
}
.footer-social a:hover { background: var(--red); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .13);
  padding-block: 1.5rem;
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
}
.footer-bar p { margin: 0; }
.footer-bar .footer-legal { margin-left: auto; display: flex; gap: 1.25rem; }
.eho {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
}
.eho svg { width: 22px; height: 22px; fill: #cdc4d8; flex-shrink: 0; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-split { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .75rem 1.25rem 1.25rem;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; background: var(--bg-tint); }
  .nav .nav-cta a { margin: .85rem 0 0; text-align: center; border-bottom: 0; border-radius: var(--radius); }
  .site-header .wrap { position: relative; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { max-width: 340px; margin-inline: auto; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bar .footer-legal { margin-left: 0; width: 100%; }
  .utility__social { margin-left: 0; }
  .utility .wrap { justify-content: center; text-align: center; }
  .hero__stats { gap: 1.5rem; }
  .guarantee { grid-template-columns: 1fr; gap: .5rem; }
}

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

/* Print ------------------------------------------------------------------ */

@media print {
  .utility, .nav, .nav-toggle, .site-footer, .callout { display: none; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
