/* =====================================================================
   THE HALE GROUP — Jordan Hale, Realtor — Premium Multi-Page Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: edit the CSS variables in :root below. Swap --accent for
   your primary color, adjust --ink for the dark sections, and update
   --font-head / --font-body plus the Google Fonts <link> in each HTML
   file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:      #ffffff;   /* page background                              */
  --ink:     #14213d;   /* deep navy — headings & dark sections         */
  --ink-2:   #1c2c54;   /* slightly lifted navy for gradients           */
  --accent:  #b8893b;   /* warm gold — primary accent                   */
  --accent-2:#cda35b;   /* lighter gold for gradients / highlights      */
  --muted:   #6b7280;   /* muted body / secondary text                  */
  --surface: #f6f7f9;   /* soft alt background                          */
  --line:    #e6e8ec;   /* borders / dividers                           */
  --text:    #2b3245;   /* default body text                           */

  /* --- Fonts --- */
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 10px 30px rgba(20, 33, 61, .08);
  --shadow-lg: 0 24px 60px rgba(20, 33, 61, .16);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--ink); }

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

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 92px 0; }
.section--soft { background: var(--surface); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(184, 137, 59, .1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.12rem; color: var(--text); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(184, 137, 59, .34);
}
.btn-primary:hover { background: #a3792f; color: #fff; box-shadow: 0 12px 30px rgba(184, 137, 59, .44); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-dark:hover { background: #0e1830; color: #fff; }

.btn-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-light:hover { background: #fff; color: var(--ink); }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(20, 33, 61, .3);
  border: 1px solid rgba(205, 163, 91, .4);
}
.brand .logo-mark svg path { stroke: var(--accent-2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .96rem;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: var(--surface); color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--surface);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(184,137,59,.14), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(20,33,61,.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  padding: 86px 0 92px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero .lead { max-width: 540px; margin-bottom: 30px; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero-badges .badge span { font-size: 1rem; }

/* Hero visual — pure CSS agent portrait card */
.agent-card-visual {
  position: relative;
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  overflow: hidden;
}
.agent-card-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 320px at 80% 0%, rgba(184,137,59,.3), transparent 60%);
  pointer-events: none;
}
.portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  border-radius: 18px;
  background:
    radial-gradient(120px 120px at 50% 38%, #e9c89a 0 46%, transparent 47%),
    linear-gradient(180deg, #2a3a66 0%, #1a2747 100%);
  overflow: hidden;
  border: 1px solid rgba(205,163,91,.3);
  display: grid;
  place-items: end center;
}
/* head */
.portrait::before {
  content: "";
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  aspect-ratio: 1 / 1.15;
  border-radius: 50% 50% 48% 48%;
  background: linear-gradient(180deg, #f0d3a8, #e3bd87);
}
/* shoulders / suit */
.portrait::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 38%;
  border-radius: 60% 60% 0 0;
  background: linear-gradient(180deg, #243358, #182544);
  box-shadow: inset 0 6px 0 rgba(205,163,91,.35);
}
.portrait .initials {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
}
.agent-card-visual .acv-meta {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.agent-card-visual .acv-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: #fff;
}
.agent-card-visual .acv-role { font-size: .82rem; color: rgba(255,255,255,.65); }
.agent-card-visual .acv-badge {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  padding: 8px 12px;
  border-radius: 10px;
}

/* ---------------------------------------------------------------------
   RESULTS / STATS BAND
   --------------------------------------------------------------------- */
.stats-band {
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(184,137,59,.22), transparent 60%),
    linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
}
.stats-band .section-head h2 { color: #fff; }
.stats-band .section-head p { color: rgba(255,255,255,.78); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  display: block;
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: rgba(255,255,255,.82); font-size: .95rem; }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.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: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(184,137,59,.35); }

.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--surface);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text); margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
}
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Feature list */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature .tick {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(184,137,59,.32);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .98rem; color: var(--muted); }

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: 22px;
  min-height: 380px;
  background: linear-gradient(150deg, var(--ink), var(--ink-2));
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 32px;
}
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 80% 20%, rgba(184,137,59,.32), transparent 60%);
}

/* ---------------------------------------------------------------------
   LISTINGS GRID + CARDS (no external images — CSS façades)
   --------------------------------------------------------------------- */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.listing-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  color: inherit;
}
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(184,137,59,.35); color: inherit; }

/* CSS "photo": layered house façade using gradients/shapes */
.listing-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #cfe0f0 0%, #e9eef5 55%, #dfe6ee 100%);
  overflow: hidden;
}
.listing-media .scene {
  position: absolute; inset: 0;
}
/* sky shimmer */
.listing-media .scene::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(220px 120px at 78% 18%, rgba(255,255,255,.7), transparent 60%);
}
/* ground */
.listing-media .scene::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: linear-gradient(180deg, #b8c2a8, #95a37f);
}
/* house body */
.listing-media .house {
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 56%;
  height: 42%;
  background: linear-gradient(180deg, #f3eee5, #e4dccb);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 8px 16px rgba(20,33,61,.12);
}
/* roof */
.listing-media .house::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -8%;
  width: 116%;
  height: 34%;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
/* door + windows */
.listing-media .house::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22%;
  height: 52%;
  background: linear-gradient(180deg, var(--accent), #9c7430);
  border-radius: 4px 4px 0 0;
}
.listing-media .win {
  position: absolute;
  bottom: 22%;
  width: 16%;
  height: 22%;
  background: linear-gradient(135deg, #bcd2ea, #8fb2d8);
  border: 2px solid #f3eee5;
  border-radius: 3px;
}
.listing-media .win.left  { left: 16%; bottom: 30%; }
.listing-media .win.right { right: 16%; bottom: 30%; }
/* variant hues via modifier classes */
.listing-media.v2 { background: linear-gradient(180deg, #e7dff2 0%, #f1ecf6 55%, #e6def0 100%); }
.listing-media.v3 { background: linear-gradient(180deg, #d4ece7 0%, #e8f3f0 55%, #dcefe9 100%); }
.listing-media.v4 { background: linear-gradient(180deg, #f4e3d6 0%, #f8ede3 55%, #f1e0d2 100%); }

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  box-shadow: var(--shadow);
}
.tag-sale    { background: var(--accent); }
.tag-pending { background: #b45309; }
.tag-sold    { background: #1f2937; }
.tag-new     { background: #15803d; }

.listing-body { padding: 22px 22px 24px; }
.listing-price {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.listing-price .per { font-size: .9rem; color: var(--muted); font-weight: 500; }
.listing-title { font-size: 1.12rem; margin-bottom: 6px; }
.listing-address { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.listing-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.listing-specs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .86rem;
  color: var(--text);
  font-weight: 500;
}

/* ---------------------------------------------------------------------
   FILTER BAR (listings page)
   --------------------------------------------------------------------- */
.filter-bar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.search-field { display: flex; flex-direction: column; }
.search-field label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .8rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.search-field input, .search-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.search-field input:focus, .search-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(184,137,59,.14);
}
.filter-bar .btn { height: 47px; justify-content: center; }

.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.listings-count { margin: 0; color: var(--muted); }
.listings-count strong { color: var(--ink); font-family: var(--font-head); }
.sort-field { display: flex; align-items: center; gap: 10px; }
.sort-field label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.sort-field select {
  font-family: var(--font-body);
  font-size: .9rem;
  padding: 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}
.page-btn {
  min-width: 44px; height: 44px;
  padding: 0 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  transition: all var(--ease);
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-ellipsis { color: var(--muted); padding: 0 4px; }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 280px;
  background:
    linear-gradient(rgba(20,33,61,.05), rgba(20,33,61,.05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 44px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: var(--accent); margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.1rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.55;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  border: 1px solid rgba(205,163,91,.4);
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(184,137,59,.3), transparent 60%),
    linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #fff;
  border-radius: 28px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(184,137,59,.14), transparent 60%),
    linear-gradient(180deg, var(--surface), #fff);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 10px; }
.page-banner p { max-width: 620px; color: var(--muted); margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ---------------------------------------------------------------------
   SERVICES PAGE — detailed blocks
   --------------------------------------------------------------------- */
.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-block .s-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--surface);
  display: grid; place-items: center;
  font-size: 1.9rem;
}
.service-block h3 { margin-bottom: 8px; }
.deliverables {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 16px;
}
.deliverables li {
  font-size: .85rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--accent);
  background: rgba(184,137,59,.1);
  padding: 6px 13px;
  border-radius: 999px;
}

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step .num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin-bottom: 0; font-size: .95rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.faq-item h3 .q {
  color: var(--accent);
  font-weight: 700;
}
.faq-item p { margin-bottom: 0; color: var(--muted); }

/* ---------------------------------------------------------------------
   ABOUT — values, timeline, credentials
   --------------------------------------------------------------------- */
.value-card .icon { background: linear-gradient(135deg, rgba(184,137,59,.12), rgba(205,163,91,.2)); }

.credentials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cred {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cred .cred-ic { font-size: 2rem; margin-bottom: 10px; }
.cred b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.cred span { font-size: .85rem; color: var(--muted); }

/* Timeline */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--line));
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.tl-item .tl-year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
}
.tl-item h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.tl-item p { margin-bottom: 0; color: var(--muted); }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(184,137,59,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #dc2626; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #047857;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: #fff;
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .94rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.footer-about p { font-size: .95rem; color: rgba(255,255,255,.7); max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col a { display: block; color: rgba(255,255,255,.72); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--accent-2); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 1rem;
}
.social a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: var(--accent-2); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .agent-card-visual { max-width: 460px; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .btn { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .service-block { grid-template-columns: 1fr; }
  .stats-grid, .steps, .credentials { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 26px; }
}

@media (max-width: 480px) {
  .stats-grid, .steps, .credentials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 8px; }
}
