/* ============================================================================
   Provara Advantage — consumer marketplace design system
   Operated by Mocombe Financial Services LLC.
   Palette is intentionally distinct from the Mocombe CRM (blue #016099 / gold).
   Primary: deep teal-indigo.  Accent: warm coral.  Generous, roomy, full-width.
   Plain CSS — no framework, no build step.
   ============================================================================ */

:root {
  /* Brand */
  --ink:        #0e1b2b;   /* near-black navy for headings */
  --ink-soft:   #2c3a4d;
  --primary:    #1c75bc;   /* logo blue — primary brand */
  --primary-dk: #13568f;
  --primary-lt: #2f93d6;
  --indigo:     #1d2b4f;   /* deep indigo, used in gradients */
  --accent:     #f2683c;   /* warm coral — CTA / highlights */
  --accent-dk:  #d6512a;
  --gold:       #e8b04b;   /* warm amber, for stars */

  /* Neutrals */
  --bg:         #f7f8f6;   /* warm off-white page bg */
  --surface:    #ffffff;
  --surface-2:  #f0f3f1;
  --line:       #e2e7e4;
  --muted:      #5d6b6b;
  --muted-2:    #8a9695;

  /* Effects */
  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  26px;
  --shadow-sm:  0 1px 2px rgba(14,27,43,.05), 0 2px 8px rgba(14,27,43,.04);
  --shadow-md:  0 6px 22px rgba(14,27,43,.08), 0 2px 6px rgba(14,27,43,.05);
  --shadow-lg:  0 24px 60px rgba(14,27,43,.16);

  --maxw:       1180px;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif:      'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
/* [hidden] must beat component display rules (.btn is inline-flex) — auth-aware chrome relies on it */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dk); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .4em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary-lt); margin-bottom: .9rem;
}
.serif { font-family: var(--serif); font-weight: 500; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer;
  padding: .82rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(15,94,99,.28); }
.btn-primary:hover { background: var(--primary-dk); color: #fff; box-shadow: 0 10px 26px rgba(15,94,99,.34); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(242,104,60,.3); }
.btn-accent:hover { background: var(--accent-dk); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--surface); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.32); backdrop-filter: blur(4px); }
.btn-light:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ── Header / nav ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,248,246,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.28rem;
  color: var(--ink); letter-spacing: -.03em; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--indigo) 100%);
  color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(15,94,99,.3);
}
.brand .brand-mark { height: 46px; width: auto; display: block; }
.brand-words { display: inline-flex; flex-direction: column; line-height: .98; }
.brand-words .bw-1 { color: #d4a017; font-weight: 800; font-size: .92rem; letter-spacing: .14em; }
.brand-words .bw-2 { color: #1c75bc; font-weight: 800; font-size: 1.18rem; letter-spacing: .02em; }
.footer-brand .brand-words .bw-1 { color: #e8b923; }
.footer-brand .brand-words .bw-2 { color: #2f93d6; }

/* ── Account quick-actions (Find / Request / Coverage) ───────────────────── */
.acct-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.acct-action { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.acct-action:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(28,117,188,.4); }
.acct-action .aa-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; }
.acct-action .aa-ico svg { width: 24px; height: 24px; }
.act-find .aa-ico { background: rgba(28,117,188,.1); color: var(--primary); }
.act-rfq  .aa-ico { background: rgba(212,160,23,.15); color: #a8810f; }
.act-cov  .aa-ico { background: rgba(19,86,143,.1); color: var(--primary-dk); }
.acct-action .aa-txt { display: flex; flex-direction: column; line-height: 1.2; }
.acct-action .aa-txt strong { color: var(--ink); font-size: 1.02rem; }
.acct-action .aa-txt span { color: var(--muted); font-size: .85rem; margin-top: .15rem; }
@media (max-width: 760px) { .acct-actions { grid-template-columns: 1fr; } }
.brand small { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .98rem; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); }
.nav-links .mobile-only { display: none; }
.nav-cta { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.nav-cta .btn { white-space: nowrap; }
/* signed-in name button: long names must not inflate the nav */
.nav-cta [data-auth="member"] { max-width: 160px; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; flex-shrink: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
/* The full nav (brand 114 + links 582 + CTAs ~320 + gaps/padding ~100) needs ~1120px.
   Below that, collapse straight to the hamburger — no squeezed intermediate state. */
@media (max-width: 1160px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 1rem 28px; box-shadow: var(--shadow-md); z-index: 60; }
  .nav.open .nav-links a { padding: .7rem 0; width: 100%; font-size: 1rem; }
  .nav.open .nav-links .mobile-only { display: block; }
  .nav.open .nav-links .mobile-sep { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: 1rem; }
}
/* small phones: keep brand + CTA + hamburger on one comfortable line */
@media (max-width: 430px) {
  .nav-cta .btn-primary { padding: .55rem .95rem; font-size: .9rem; }
  .nav { gap: .8rem; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: linear-gradient(180deg, #1a2c50 0%, #0c1830 100%); color: #c4d0d6; margin-top: 5rem; padding: 4rem 0 2.2rem; }
.site-footer h4 { color: #fff; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.4rem; }
.site-footer a { color: #aab9bf; display: block; padding: .28rem 0; font-size: .96rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: .9rem; display: inline-flex; align-items: center; gap: .6rem; }
.footer-brand p { color: #8a9ba2; font-size: .95rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.6rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: #7d8e95; font-size: .88rem; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 78% -10%, rgba(47,147,214,.20), transparent 60%),
              linear-gradient(160deg, var(--indigo) 0%, #142039 55%, #0c1830 100%);
  color: #eaf1f3; padding: 5.5rem 0 6rem;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 340px at 12% 110%, rgba(242,104,60,.16), transparent 60%);
}
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: 0;
  background-size: cover; background-position: center right; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 14%, rgba(0,0,0,.7) 44%, #000 64%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 14%, rgba(0,0,0,.7) 44%, #000 64%);
}
@media (max-width: 820px) { .hero-photo { display: none; } }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #b9c8d4; font-size: 1.3rem; max-width: 54ch; margin-top: 1.2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; color: #9fb3bf; font-size: .95rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-badges .dot { color: var(--accent); }

/* ── The doors ───────────────────────────────────────────────────────────── */
.doors { margin-top: -3.6rem; position: relative; z-index: 5; }
.doors .wrap { max-width: 1460px; }
.doors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.door {
  background: var(--surface); border-radius: var(--radius); padding: 1.8rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease;
  min-height: 290px;
}
.door::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.door-2::before { background: #d4a017; }
.door-3::before { background: var(--primary-dk); }
.door-4::before { background: var(--accent); }
.door.is-live:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(28,117,188,.4); }
.door.is-live:hover::before { transform: scaleX(1); }
.door .door-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  margin-bottom: 1.25rem; transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.door .door-icon svg { width: 26px; height: 26px; }
.door-1 .door-icon { background: rgba(28,117,188,.10); color: var(--primary); }
.door-2 .door-icon { background: rgba(212,160,23,.15); color: #a8810f; }
.door-3 .door-icon { background: rgba(19,86,143,.10); color: var(--primary-dk); }
.door-4 .door-icon { background: rgba(242,104,60,.12); color: var(--accent); }
.door.is-live:hover .door-icon { color: #fff; box-shadow: 0 8px 20px -6px rgba(14,27,43,.3); }
.door-1.is-live:hover .door-icon { background: var(--primary); }
.door-2.is-live:hover .door-icon { background: #d4a017; color: #1b1a1a; }
.door-3.is-live:hover .door-icon { background: var(--primary-dk); }
.door-4.is-live:hover .door-icon { background: var(--accent); color: #fff; }
.door h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.door p { color: var(--muted); flex: 1; font-size: .98rem; line-height: 1.62; }
.door .door-cta { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.door .soon-tag {
  position: absolute; top: 1.4rem; right: 1.4rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dk);
  background: rgba(242,104,60,.12); padding: .3rem .65rem; border-radius: 999px;
}
.door.is-soon { opacity: .96; }
.door.is-soon h3 { color: var(--ink-soft); }
.door .door-link { color: var(--primary); font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .4rem; transition: gap .2s ease; }
.door.is-live:hover .door-link { gap: .72rem; }
.door-2 .door-link { color: #a8810f; }
.door-3 .door-link { color: var(--primary-dk); }
.door-4 .door-link { color: var(--accent); }
.door .door-link.is-disabled { color: var(--muted-2); cursor: default; }

/* ── Generic sections ────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step { }
.step .num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); margin: 0; }

.trust-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-item { display: flex; gap: .9rem; align-items: flex-start; }
.trust-item .ti-ico { font-size: 1.5rem; color: var(--primary); line-height: 1; }
.trust-item h4 { font-size: 1.02rem; margin: 0 0 .25rem; color: var(--ink); text-transform: none; letter-spacing: 0; }
.trust-item p { font-size: .92rem; color: var(--muted); margin: 0; }

.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 3.4rem; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 0 auto 1.8rem; }
.cta-band { position: relative; overflow: hidden; }
.cta-band > * { position: relative; z-index: 1; }

/* ── Who we help (personal / business) ───────────────────────────────────── */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.aud-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.aud-photo { aspect-ratio: 16 / 9; background-size: cover; background-position: center; position: relative; }
.aud-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 52%, var(--surface) 100%); }
.aud-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.aud-tag { position: absolute; left: 1.1rem; top: 1.1rem; z-index: 2;
  background: var(--primary); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: .32rem .8rem; border-radius: 9999px; }
.aud-tag.gold { background: var(--gold); color: #1b1a1a; }
.aud-body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.aud-body h3 { font-size: 1.25rem; margin: 0 0 .45rem; }
.aud-body p { color: var(--ink-soft); margin: 0 0 1rem; }
/* Pin the chip row to the bottom so Personal & Business cards align even when their copy wraps to different line counts. */
.aud-chips { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: auto; }
.aud-chips span { font-size: .78rem; font-weight: 600; color: var(--primary-dk); background: var(--surface-2);
  border: 1px solid var(--line); padding: .3rem .7rem; border-radius: 9999px; }
@media (max-width: 760px) { .aud-grid { grid-template-columns: 1fr; } }

/* ── Stars ───────────────────────────────────────────────────────────────── */
.stars { display: inline-flex; align-items: center; gap: .15rem; line-height: 1; }
.stars .s { color: var(--gold); font-size: 1.05em; }
.stars .s.off { color: #d4dad7; }
.rating-line { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .92rem; }
.rating-line b { color: var(--ink); }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600;
  padding: .28rem .68rem; border-radius: 999px; line-height: 1;
}
.badge-verified { background: rgba(15,94,99,.1); color: var(--primary-dk); }
.badge-soft { background: var(--surface-2); color: var(--ink-soft); }
.badge-rfq { background: rgba(242,104,60,.12); color: var(--accent-dk); }
.chip { display: inline-block; font-size: .82rem; padding: .3rem .7rem; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); }

/* ── Search / directory ──────────────────────────────────────────────────── */
.search-hero { background: linear-gradient(160deg, var(--indigo), #142039); color: #fff; padding: 3.4rem 0 2.4rem; }
.search-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.search-hero p { color: #b9c8d4; }
.searchbar {
  display: flex; gap: .6rem; background: #fff; padding: .55rem; border-radius: 999px;
  box-shadow: var(--shadow-md); max-width: 680px; margin-top: 1.6rem;
}
.searchbar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.05rem; padding: .6rem 1.1rem; background: transparent; color: var(--ink); }
.searchbar input::placeholder { color: var(--muted-2); }

.directory { display: grid; grid-template-columns: 280px 1fr; gap: 2.4rem; align-items: start; }
.filters {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); position: sticky; top: 96px;
}
.filters h3 { font-size: 1.05rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .4rem; }
.field input, .field select {
  width: 100%; font: inherit; font-size: .95rem; padding: .62rem .8rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); outline: none;
}
.field input:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,94,99,.12); }
.check { display: flex; align-items: center; gap: .55rem; font-size: .95rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: auto; }

.results-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.4rem; gap: 1rem; flex-wrap: wrap; }
.results-head .count { color: var(--muted); font-size: .95rem; }

.cards { display: grid; gap: 1.2rem; }
.agent-card {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 1.3rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .15s ease, border-color .2s ease;
}
.agent-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #cfd9d3; }
.avatar {
  width: 84px; height: 84px; border-radius: 18px; object-fit: cover; background: var(--surface-2);
  display: grid; place-items: center; color: var(--primary); font-weight: 700; font-size: 1.7rem;
  font-family: var(--serif); border: 1px solid var(--line);
}
.avatar.lg { width: 132px; height: 132px; border-radius: 24px; font-size: 2.6rem; }
.agent-card .ac-name { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .15rem; }
.agent-card .ac-name h3 { margin: 0; font-size: 1.22rem; }
.agent-card .ac-title { color: var(--muted); font-size: .94rem; margin-bottom: .5rem; }
.agent-card .ac-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.agent-card .ac-right { display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.6rem; }
.pagination button { font: inherit; }
.pagination .pginfo { color: var(--muted); font-size: .95rem; }

/* states / empties */
.empty, .loading { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty .ico { font-size: 2.6rem; margin-bottom: 1rem; }
.skeleton { background: linear-gradient(90deg, #eef1ef 25%, #f6f8f6 50%, #eef1ef 75%);
  background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-card { height: 120px; margin-bottom: 1.2rem; }

/* ── Profile page ────────────────────────────────────────────────────────── */
.profile-hero { background: linear-gradient(160deg, var(--indigo), #16243f); color: #fff; padding: 3rem 0 6rem; }
.profile-hero .crumbs { font-size: .9rem; color: #9fb3bf; margin-bottom: 1.6rem; }
.profile-hero .crumbs a { color: #cfe0e6; }
.profile-top { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; }
.profile-top h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: .3rem; }
.profile-top .pt-title { color: #b9c8d4; font-size: 1.1rem; }
.profile-top .pt-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; align-items: center; }

.profile-body { margin-top: -4rem; position: relative; z-index: 2; }
.profile-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.2rem; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.panel h2 { font-size: 1.4rem; margin-bottom: 1.1rem; }
.panel h3 { margin-bottom: .8rem; }
.kv { display: flex; flex-wrap: wrap; gap: .5rem; }
.spec-list { display: flex; flex-wrap: wrap; gap: .5rem; }

.cta-card { position: sticky; top: 96px; }
.cta-card .btn { margin-bottom: .7rem; }
.cta-card .ccnote { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .4rem; }

.review { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.review:first-of-type { border-top: 0; padding-top: 0; }
.review .rv-head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .5rem; }
.review .rv-author { font-weight: 600; color: var(--ink); }
.review .rv-date { color: var(--muted-2); font-size: .85rem; }
.review h4 { margin: .2rem 0 .35rem; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 1.05rem; }
.review .rv-body { color: var(--ink-soft); }
.agent-reply { background: var(--surface-2); border-left: 3px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .9rem 1.1rem; margin-top: .9rem; }
.agent-reply .ar-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: .3rem; }
.agent-reply p { margin: 0; font-size: .95rem; }

/* ── Forms / auth ────────────────────────────────────────────────────────── */
.auth-shell { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 3rem 1.5rem;
  background: radial-gradient(900px 500px at 80% -10%, rgba(24,136,143,.12), transparent 60%); }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.6rem; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 1.7rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .45rem; }
.input, textarea.input, select.input {
  width: 100%; font: inherit; font-size: 1rem; padding: .8rem 1rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); outline: none;
}
.input:focus, textarea.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,94,99,.12); }
textarea.input { resize: vertical; min-height: 110px; }
.rating-input { display: inline-flex; gap: .2rem; direction: rtl; font-size: 1.9rem; cursor: pointer; }
.rating-input input { display: none; }
.rating-input label { color: #d4dad7; transition: color .12s; }
.rating-input label:hover, .rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: var(--gold); }

.note { padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .93rem; margin: 1rem 0; }
.note-ok { background: rgba(15,94,99,.08); color: var(--primary-dk); border: 1px solid rgba(15,94,99,.2); }
.note-err { background: rgba(214,81,42,.08); color: var(--accent-dk); border: 1px solid rgba(214,81,42,.25); }
.note-info { background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); }

/* ── Account ─────────────────────────────────────────────────────────────── */
.acct-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.saved-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow-sm); display: flex; gap: 1rem; align-items: center; }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-backdrop { position: fixed; inset: 0; background: rgba(14,27,43,.55); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 1.5rem; }
.modal-backdrop.open { display: flex; }
.modal { background: var(--surface); border-radius: var(--radius-lg); padding: 2.2rem; max-width: 480px; width: 100%;
  box-shadow: var(--shadow-lg); max-height: 90vh; overflow: auto; }
.modal h2 { font-size: 1.4rem; }
.modal-close { float: right; background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--muted); line-height: 1; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doors-grid, .steps, .trust-grid { grid-template-columns: 1fr; }
  .directory { grid-template-columns: 1fr; }
  .filters { position: static; }
  .profile-layout { grid-template-columns: 1fr; }
  .cta-card { position: static; }
}
@media (max-width: 760px) {
  .doors { margin-top: -2rem; }
  .profile-top { grid-template-columns: 1fr; text-align: center; }
  .profile-top .pt-meta { justify-content: center; }
  .agent-card { grid-template-columns: 64px 1fr; }
  .agent-card .avatar { width: 64px; height: 64px; font-size: 1.3rem; }
  .agent-card .ac-right { grid-column: 1 / -1; flex-direction: row; align-items: center;
    justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1rem; }
  .cta-band { padding: 2.2rem 1.4rem; }
}
