/* ── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #1a5276;
  --blue-dark: #154360;
  --blue-lt:   #2980b9;
  --green:     #27ae60;
  --green-dk:  #1e8449;
  --amber:     #f39c12;
  --red:       #c0392b;
  --gray-50:   #f8f9fa;
  --gray-100:  #f1f3f4;
  --gray-200:  #e8eaed;
  --gray-400:  #9aa0a6;
  --gray-600:  #5f6368;
  --gray-800:  #3c4043;
  --white:     #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --radius:    12px;
  --radius-sm: 8px;
}

html { font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white);
  padding: 14px 28px; border-radius: 50px;
  font-size: 1rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn-primary:hover { background: var(--green-dk); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--gray-100); }

.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue); border-radius: 50px;
  padding: 12px 24px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-outline-sm {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue-lt); border-radius: 50px;
  padding: 7px 16px; font-size: .875rem; font-weight: 500;
  cursor: pointer; transition: all .2s;
}
.btn-outline-sm:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.btn-back {
  background: transparent; border: none;
  color: var(--gray-600); font-size: .95rem; font-weight: 500;
  cursor: pointer; padding: 0; transition: color .2s;
}
.btn-back:hover { color: var(--blue); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 100;
  padding: 16px 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 1.2rem; font-weight: 800; color: var(--blue);
  letter-spacing: -.5px;
}
.logo span { color: var(--green); }
.logo-sm { font-size: 1rem; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--gray-600); font-weight: 500; transition: color .2s; }
.site-nav a:hover { color: var(--blue); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 80px 0 96px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  color: var(--white); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 14px; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .5px;
  margin-bottom: 20px; text-transform: uppercase;
}
.hero h1 {
  font-size: 2.8rem; font-weight: 800; line-height: 1.15;
  margin-bottom: 20px; letter-spacing: -.5px;
}
.hero-sub { font-size: 1.15rem; opacity: .9; margin-bottom: 28px; max-width: 480px; }
.hero-checks { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.hero-checks li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.check { color: var(--green); font-size: 1rem; font-weight: 700; }
.hero-note { margin-top: 16px; opacity: .7; font-size: .875rem; }

/* Mini form card in hero */
.mini-form-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-lg);
  color: var(--gray-800);
}
.mini-form-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.mini-step {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .875rem; flex-shrink: 0;
}
.mini-step.active { background: var(--green); }
.mini-bar { flex: 1; height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.mini-progress { height: 100%; background: var(--green); border-radius: 3px; transition: width .4s; }
.mini-form-q { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.mini-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.mini-opt {
  display: block; padding: 12px 10px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500;
  text-align: center; cursor: pointer;
  transition: all .2s; color: var(--gray-800);
}
.mini-opt:hover { border-color: var(--blue); color: var(--blue); background: #eef3f9; }
.mini-hint { font-size: .8rem; color: var(--gray-400); text-align: center; }

/* ── Trust bar ──────────────────────────────────────────────── */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 20px 0; }
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; align-items: center; padding: 0 32px; }
.trust-item strong { font-size: 1.4rem; font-weight: 800; color: var(--blue); }
.trust-item span { font-size: .8rem; color: var(--gray-600); margin-top: 2px; }
.trust-sep { width: 1px; height: 36px; background: var(--gray-200); }

/* ── Section common ─────────────────────────────────────────── */
section { padding: 80px 0; }
.section-title { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 12px; color: var(--blue); }
.section-sub { text-align: center; color: var(--gray-600); margin-bottom: 48px; font-size: 1.05rem; }

/* ── How it works ───────────────────────────────────────────── */
.how-it-works { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.step-card { background: var(--gray-50); border-radius: var(--radius); padding: 32px 24px; text-align: center; position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--gray-600); font-size: .95rem; line-height: 1.6; }
.cta-center { text-align: center; }

/* ── Services ───────────────────────────────────────────────── */
.services-section { background: var(--gray-50); }
.services-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.service-chip {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: 50px; padding: 10px 20px;
  font-size: .95rem; font-weight: 500;
  transition: all .2s;
}
.service-chip:hover { border-color: var(--blue); color: var(--blue); }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: var(--gray-50); border-radius: var(--radius); padding: 28px; }
.stars { color: var(--amber); font-size: 1.1rem; margin-bottom: 14px; }
.testi-card p { color: var(--gray-600); font-size: .95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.testi-author strong { display: block; font-size: .9rem; }
.testi-author span { font-size: .8rem; color: var(--gray-400); }

/* ── Bottom CTA ─────────────────────────────────────────────── */
.bottom-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white); text-align: center; padding: 80px 0;
}
.bottom-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.bottom-cta p { opacity: .85; font-size: 1.1rem; margin-bottom: 36px; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--gray-800); color: var(--white); padding: 48px 0 0; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 32px; }
.footer-tag { font-size: .85rem; color: var(--gray-400); margin-top: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--gray-400); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom p { text-align: center; font-size: .8rem; color: var(--gray-400); }

/* ── Form page ──────────────────────────────────────────────── */
.form-page { background: var(--gray-100); }
.form-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
}
.form-trust { font-size: .875rem; color: var(--gray-600); display: flex; align-items: center; gap: 6px; }
.lock-icon { font-size: 1rem; }

.form-main { padding: 40px 0 80px; }
.form-wrapper { max-width: 640px; margin: 0 auto; padding: 0 24px; }

.progress-wrap { margin-bottom: 32px; }
.progress-bar { height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.progress-fill { height: 100%; background: var(--green); border-radius: 3px; transition: width .5s cubic-bezier(.4,0,.2,1); }
.progress-label { font-size: .8rem; color: var(--gray-600); font-weight: 500; }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

.step-icon { font-size: 2.5rem; margin-bottom: 16px; }
.form-step h2 { font-size: 1.5rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.step-sub { color: var(--gray-600); margin-bottom: 28px; font-size: .95rem; }

/* Choice cards (radio with icons) */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.choice-card { cursor: pointer; }
.choice-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.choice-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 20px 16px;
  border: 2px solid var(--gray-200); border-radius: var(--radius);
  background: var(--white); text-align: center;
  transition: all .2s; cursor: pointer;
}
.choice-inner:hover { border-color: var(--blue-lt); background: #eef3f9; }
.choice-card input:checked + .choice-inner {
  border-color: var(--blue); background: #eef3f9;
  box-shadow: 0 0 0 3px rgba(26,82,118,.1);
}
.choice-icon { font-size: 1.8rem; }
.choice-inner strong { font-size: .95rem; font-weight: 700; color: var(--gray-800); }
.choice-inner small { font-size: .8rem; color: var(--gray-400); }

/* Choice list (radio list) */
.choice-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.choice-row { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.choice-row input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.choice-row span {
  flex: 1; display: flex; align-items: center;
  padding: 16px 20px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--white); font-size: .95rem; font-weight: 500;
  transition: all .2s; cursor: pointer;
}
.choice-row span:hover { border-color: var(--blue-lt); background: #eef3f9; }
.choice-row input:checked + span { border-color: var(--blue); background: #eef3f9; font-weight: 600; }
.choice-row input:checked + span::before { content: '✓ '; color: var(--green); font-weight: 700; }

/* Checkbox grid */
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.check-card { cursor: pointer; }
.check-card input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.check-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 18px 14px;
  border: 2px solid var(--gray-200); border-radius: var(--radius);
  background: var(--white); text-align: center;
  transition: all .2s; cursor: pointer;
}
.check-inner:hover { border-color: var(--blue-lt); background: #eef3f9; }
.check-card input:checked + .check-inner {
  border-color: var(--green); background: #eafaf1;
  box-shadow: 0 0 0 3px rgba(39,174,96,.1);
}
.check-icon { font-size: 1.6rem; }
.check-inner strong { font-size: .875rem; font-weight: 700; }
.check-inner small { font-size: .75rem; color: var(--gray-400); }

/* Fields */
.field-group { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; color: var(--gray-800); }
.field label small { font-weight: 400; color: var(--gray-400); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--gray-800);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,82,118,.1);
}
.field textarea { resize: vertical; min-height: 90px; }

.consent-row { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consent-row input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 18px; height: 18px; cursor: pointer; accent-color: var(--blue); }
.consent-row span { font-size: .85rem; color: var(--gray-600); line-height: 1.5; }
.consent-row a { color: var(--blue); text-decoration: underline; }

/* Error */
.step-error {
  background: #fdecea; color: var(--red);
  border: 1px solid #f5c6cb; border-radius: var(--radius-sm);
  padding: 10px 16px; font-size: .875rem; font-weight: 500;
  display: none; margin-bottom: 16px;
}
.step-error.visible { display: block; }

/* Nav */
.form-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.btn-submit { font-size: 1.05rem; padding: 16px 32px; }

.form-footer-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 28px;
  font-size: .8rem; color: var(--gray-400);
}

/* ── Tack page ──────────────────────────────────────────────── */
.tack-page { background: var(--gray-100); }
.tack-main { padding: 60px 0 100px; }
.tack-card {
  max-width: 600px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius);
  padding: 48px 40px; box-shadow: var(--shadow);
  text-align: center;
}
.tack-icon { font-size: 3.5rem; margin-bottom: 20px; }
.tack-card h1 { font-size: 2rem; font-weight: 800; color: var(--blue); margin-bottom: 16px; }
.tack-lead { color: var(--gray-600); font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px; }

.tack-steps { text-align: left; margin-bottom: 36px; display: flex; flex-direction: column; gap: 20px; }
.tack-step { display: flex; align-items: flex-start; gap: 16px; }
.tack-step-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
  background: var(--gray-200); color: var(--gray-600);
}
.tack-step-num.done { background: var(--green); color: var(--white); }
.tack-step-num.active { background: var(--blue); color: var(--white); }
.tack-step strong { display: block; font-size: .95rem; color: var(--gray-800); }
.tack-step p { font-size: .875rem; color: var(--gray-600); margin-top: 2px; }

.tack-tips {
  background: var(--gray-50); border-radius: var(--radius-sm);
  padding: 20px 24px; margin-bottom: 32px; text-align: left;
}
.tack-tips h3 { font-size: .95rem; font-weight: 700; margin-bottom: 12px; color: var(--blue); }
.tack-tips ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tack-tips li { font-size: .875rem; color: var(--gray-600); display: flex; align-items: flex-start; gap: 8px; }

/* ── Admin page ─────────────────────────────────────────────── */
.admin-page { background: var(--gray-100); min-height: 100vh; }
.admin-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.admin-main { padding: 32px 0 80px; }
.admin-title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.admin-title-row h1 { font-size: 1.6rem; font-weight: 800; color: var(--blue); }
.admin-badge {
  background: var(--amber); color: var(--white);
  padding: 4px 12px; border-radius: 50px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
}

.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue);
}
.stat-card.stat-new { border-left-color: var(--amber); }
.stat-card.stat-revenue { border-left-color: var(--green); }
.stat-card.stat-confirmed { border-left-color: #27ae60; background: #f0faf4; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--gray-800); margin-bottom: 4px; }
.stat-label { font-size: .8rem; color: var(--gray-600); font-weight: 500; }

.admin-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 2px solid var(--gray-200); }
.tab-btn {
  background: none; border: none; cursor: pointer;
  padding: 10px 20px; font-size: .9rem; font-weight: 600;
  color: var(--gray-600); border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all .2s;
}
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.admin-table th {
  text-align: left; padding: 12px 14px;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  background: var(--gray-50); color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}
.admin-table td { padding: 12px 14px; font-size: .875rem; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }
.td-id { color: var(--gray-400); font-size: .8rem; white-space: nowrap; }
.td-date { white-space: nowrap; color: var(--gray-600); font-size: .8rem; }
.td-contact { font-size: .8rem; }
.td-contact a { color: var(--blue); }
.td-areas { max-width: 160px; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-muted { color: var(--gray-400); font-size: .8rem; }

/* Chips */
.chip {
  display: inline-block; padding: 2px 9px;
  border-radius: 50px; font-size: .75rem; font-weight: 600;
  margin: 1px 2px;
}
.chip-type { background: #e3f2fd; color: #1565c0; }
.chip-service { background: #e8f5e9; color: #2e7d32; }
.chip-tier { background: #fff3e0; color: #e65100; }
.chip-pref { background: var(--gray-200); color: var(--gray-800); }
.chip-exclusive { background: #f3e5f5; color: #6a1b9a; }
.chip-shared { background: #e1f5fe; color: #0277bd; }

/* Status badges */
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.status-new { background: #fff8e1; color: #f57f17; }
.status-contacted { background: #e3f2fd; color: #1565c0; }
.status-sent { background: #e3f2fd; color: #1565c0; }
.status-accepted { background: #e8f5e9; color: #2e7d32; }
.status-won { background: #e8f5e9; color: #2e7d32; }
.status-rejected { background: #fce4ec; color: #c62828; }
.status-lost { background: #fce4ec; color: #c62828; }
.status-active { background: #e8f5e9; color: #2e7d32; }

.inline-form { display: inline; }
.status-select {
  padding: 4px 8px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .8rem; cursor: pointer;
}

.empty-state { padding: 60px 0; text-align: center; color: var(--gray-600); }
.empty-state p { margin-bottom: 20px; font-size: 1rem; }

/* ── Social proof toast ─────────────────────────────────────── */
.sp-toast {
  position: fixed; bottom: 24px; left: 24px; z-index: 9999;
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  max-width: 320px; width: calc(100vw - 48px);
  opacity: 0; pointer-events: none;
  transform: translateY(16px);
  transition: none;
}
.sp-toast.sp-visible {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
  animation: spSlideIn .35s cubic-bezier(.16,1,.3,1) forwards;
}
.sp-toast.sp-hide {
  animation: spSlideOut .3s ease-in forwards;
}
@keyframes spSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spSlideOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(10px); }
}
.sp-icon { font-size: 1.4rem; flex-shrink: 0; }
.sp-body { flex: 1; min-width: 0; }
.sp-name { display: block; font-size: .875rem; font-weight: 700; color: var(--gray-800); }
.sp-msg  { display: block; font-size: .8rem; color: var(--gray-600); margin-top: 2px; }
.sp-close {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); font-size: 1.2rem; line-height: 1;
  padding: 0 0 0 8px; flex-shrink: 0;
}
.sp-close:hover { color: var(--gray-800); }

/* ── Contact preference step ────────────────────────────────── */
.pref-section { margin-bottom: 28px; }
.pref-label {
  font-size: .875rem; font-weight: 700;
  color: var(--gray-600); text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 12px;
}
.pref-label small { text-transform: none; font-weight: 400; letter-spacing: 0; }
.contact-pref-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}
.contact-pref-grid .check-inner { padding: 14px 8px; }

/* Online badge */
.chip-online { background: #e8f5e9; color: #1b5e20; }

/* ── Partner page ───────────────────────────────────────────── */
.partner-hero { background: linear-gradient(135deg, #154360 0%, #1a5276 100%); }
.partner-value-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-lg); color: var(--gray-800);
}
.partner-value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--blue); }
.price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.price-item { flex: 1; text-align: center; padding: 16px; background: var(--gray-50); border-radius: var(--radius-sm); }
.price-item strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--blue); }
.price-item span { font-size: .8rem; color: var(--gray-600); }
.price-item small { display: block; font-size: .75rem; color: var(--gray-400); margin-top: 2px; }
.price-premium { background: #eafaf1; }
.price-premium strong { color: var(--green); }
.price-sep { color: var(--gray-400); font-size: .875rem; font-weight: 600; flex-shrink: 0; }
.price-note { font-size: .85rem; color: var(--gray-600); line-height: 1.5; margin-bottom: 16px; }
.partner-divider { border: none; border-top: 1px solid var(--gray-200); margin: 16px 0; }
.partner-stat-row { display: flex; justify-content: space-between; text-align: center; }
.partner-stat-row div { display: flex; flex-direction: column; }
.partner-stat-row strong { font-size: 1.2rem; font-weight: 800; color: var(--blue); }
.partner-stat-row small { font-size: .75rem; color: var(--gray-600); margin-top: 2px; }

.partner-form-section { background: var(--gray-50); padding: 80px 0; }
.partner-form-wrap { max-width: 720px; margin: 0 auto; }
.partner-form-wrap h2 { font-size: 2rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.partner-form { display: flex; flex-direction: column; gap: 16px; }
.form-section-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--gray-600); padding-bottom: 8px; border-bottom: 1px solid var(--gray-200);
  margin-top: 8px;
}

/* ── Verify / dev notice ─────────────────────────────────────── */
.verify-steps { margin-bottom: 24px; }
.verify-info { background: var(--gray-50); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; font-size: .875rem; color: var(--gray-600); }
.verify-info a { color: var(--blue); }
.dev-notice {
  background: #fff8e1; border: 1.5px dashed var(--amber);
  border-radius: var(--radius-sm); padding: 16px 20px;
  margin: 16px 0; font-size: .875rem; color: var(--gray-700);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.dev-badge {
  background: var(--amber); color: var(--white);
  font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  text-transform: uppercase;
}

/* ── Admin: applications ─────────────────────────────────────── */
.tab-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); color: var(--white);
  width: 18px; height: 18px; border-radius: 50%;
  font-size: .7rem; font-weight: 700; margin-left: 6px;
}
.row-highlight td { background: #fffbf0 !important; }
.row-highlight:hover td { background: #fff8e1 !important; }
.action-btns { display: flex; gap: 6px; }
.btn-approve {
  background: var(--green); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  padding: 5px 12px; font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.btn-approve:hover { background: var(--green-dk); }
.btn-reject {
  background: transparent; color: var(--red);
  border: 1.5px solid var(--red); border-radius: var(--radius-sm);
  padding: 5px 12px; font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.btn-reject:hover { background: var(--red); color: var(--white); }
.td-message { max-width: 180px; font-size: .8rem; color: var(--gray-600);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* ── Trust badges ───────────────────────────────────────────── */
.firm-badges-bar {
  background: #eafaf1; border: 1.5px solid #a9dfbf;
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px;
}
.firm-badges-label { font-size: .8rem; font-weight: 700; color: var(--green-dk); display: block; margin-bottom: 10px; }
.firm-badges-list { display: flex; flex-wrap: wrap; gap: 8px; }
.firm-badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1.5px solid #a9dfbf;
  border-radius: 50px; padding: 6px 14px;
  font-size: .85rem; font-weight: 600; color: #1b5e20;
}

/* Badge preview on profile page */
.profile-saved-banner {
  display: flex; align-items: center; gap: 16px;
  background: #eafaf1; border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 20px;
}
.profile-saved-icon { font-size: 2rem; }
.profile-saved-banner strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--green-dk); }
.profile-saved-banner p { font-size: .9rem; color: var(--gray-600); margin-top: 4px; }
.badge-preview-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px;
}
.badge-preview-card h3 { font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 16px; }
.badge-list { display: flex; flex-direction: column; gap: 10px; }
.badge-item { display: flex; align-items: center; gap: 12px; }
.badge-icon { font-size: 1.4rem; width: 32px; text-align: center; }
.badge-text { font-size: .95rem; font-weight: 600; color: var(--gray-800); }
.badge-note { font-size: .8rem; color: var(--gray-400); margin-top: 16px; }
.firm-profile-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px;
}
.firm-profile-card h1 { font-size: 1.5rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.field-hint { font-size: .75rem; color: var(--gray-400); margin-top: 4px; display: block; }

/* ── Firm lead page ─────────────────────────────────────────── */
.firm-lead-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px; margin-bottom: 24px;
}
.firm-lead-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px; gap: 16px;
}
.firm-lead-badge {
  display: inline-block; background: #e3f2fd; color: #1565c0;
  font-size: .75rem; font-weight: 700; padding: 4px 12px;
  border-radius: 50px; margin-bottom: 10px;
}
.firm-lead-header h1 { font-size: 1.4rem; font-weight: 800; color: var(--blue); }
.decline-link { font-size: .875rem; color: var(--gray-400); white-space: nowrap; margin-top: 6px; }
.decline-link:hover { color: var(--red); }

.lead-summary-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 20px;
}
.lead-info-item label {
  display: block; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px;
  color: var(--gray-400); margin-bottom: 4px;
}
.lead-info-item strong, .lead-info-item a { font-size: .95rem; color: var(--gray-800); }
.lead-info-item a { color: var(--blue); text-decoration: underline; }

.lead-free-text {
  background: var(--gray-50); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-top: 4px;
}
.lead-free-text label { font-size: .75rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; margin-bottom: 6px; display: block; }
.lead-free-text p { font-size: .9rem; color: var(--gray-600); font-style: italic; }

.lead-contact-locked {
  background: var(--gray-50); border: 1.5px dashed var(--gray-200);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: .875rem; color: var(--gray-600); text-align: center; margin-top: 4px;
}
.lead-contact-revealed {
  background: #eafaf1; border: 1.5px solid #a9dfbf;
  border-radius: var(--radius-sm); padding: 20px; margin-top: 4px;
}
.revealed-badge {
  display: inline-block; background: var(--green); color: var(--white);
  font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 4px;
}
.revealed-note { font-size: .8rem; color: var(--green-dk); margin-top: 12px; font-weight: 600; }

.firm-response-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px;
}
.firm-response-card h2 { font-size: 1.3rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.firm-response-card > p { color: var(--gray-600); margin-bottom: 24px; font-size: .95rem; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero h1 { font-size: 2rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { gap: 0; flex-wrap: wrap; }
  .trust-item { padding: 8px 20px; }
  .trust-sep { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: 1.7rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .contact-pref-grid { grid-template-columns: 1fr 1fr; }
  .field-row-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ── Lead selection page ────────────────────────────────────── */
.selection-header { margin-bottom:32px }
.selection-header h1 { font-size:1.7rem;color:var(--blue) }
.selection-header p { color:var(--gray-600);margin-top:8px }

.section-label-sm {
  font-size:.8rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.06em;color:var(--gray-400);
  display:flex;align-items:center;gap:8px;margin-bottom:14px
}
.count-badge {
  background:var(--blue);color:#fff;
  border-radius:50px;padding:2px 8px;font-size:.75rem;font-weight:700
}

.sel-card {
  background:#fff;border-radius:var(--radius);
  border:1.5px solid var(--gray-200);padding:20px;
  display:flex;align-items:flex-start;gap:16px;
  margin-bottom:14px;transition:border-color .15s
}
.sel-card--accepted { border-color:#27ae60;background:#f6fdf9 }
.sel-card--interested:hover { border-color:var(--blue) }
.sel-card--interested:has(input:checked) { border-color:var(--blue);background:#eaf1fb }

.sel-check-wrap { flex-shrink:0;padding-top:2px }
.sel-checkbox { display:none }
.sel-checkmark {
  width:22px;height:22px;border-radius:6px;
  border:2px solid var(--gray-200);
  background:#fff;transition:all .15s;
  display:flex;align-items:center;justify-content:center
}
.sel-card:has(.sel-checkbox:checked) .sel-checkmark {
  background:var(--blue);border-color:var(--blue);
}
.sel-card:has(.sel-checkbox:checked) .sel-checkmark::after {
  content:'✓';color:#fff;font-size:.85rem;font-weight:700
}
.sel-card-body { flex:1 }
.sel-firm-name { font-size:1.05rem;font-weight:700;margin-bottom:8px }
.sel-badges { display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px }
.badge-pill-sm {
  background:#eaf1fb;color:var(--blue);
  border-radius:50px;padding:3px 10px;font-size:.78rem;font-weight:500
}
.firm-pitch {
  font-style:italic;color:var(--gray-600);
  font-size:.88rem;margin:8px 0;line-height:1.5
}
.pitch-label { font-style:normal;font-weight:600;color:var(--gray-600);margin-right:4px }
.firm-services-sm { display:flex;flex-wrap:wrap;gap:5px;margin-top:8px }
.chip-sm { padding:2px 8px !important;font-size:.75rem !important }

.selection-empty {
  text-align:center;padding:60px 24px;
  background:#fff;border-radius:var(--radius);border:1.5px dashed var(--gray-200)
}
.sel-empty-icon { font-size:2.5rem;margin-bottom:16px }
.selection-empty h2 { color:var(--blue);margin-bottom:12px }
.selection-empty p { color:var(--gray-600) }

/* ── Chat interface ─────────────────────────────────────────── */
.contact-reveal-card {
  background:#f6fdf9;border:1.5px solid #27ae60;border-radius:var(--radius);
  padding:20px;margin-bottom:24px
}
.contact-grid {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-top:16px
}

.chat-container {
  background:#fff;border:1.5px solid var(--gray-200);border-radius:var(--radius);
  padding:20px;min-height:280px;max-height:440px;
  overflow-y:auto;display:flex;flex-direction:column;gap:14px;
  margin-bottom:16px;scroll-behavior:smooth
}
.chat-empty { text-align:center;color:var(--gray-400);padding:40px 0;font-size:.9rem }

.chat-msg { display:flex;flex-direction:column;max-width:75% }
.msg-mine { align-self:flex-end;align-items:flex-end }
.msg-other { align-self:flex-start;align-items:flex-start }

.msg-label { font-size:.75rem;font-weight:600;color:var(--gray-400);margin-bottom:4px }
.msg-bubble {
  padding:10px 14px;border-radius:16px;
  font-size:.9rem;line-height:1.5;word-break:break-word
}
.msg-mine .msg-bubble { background:var(--blue);color:#fff;border-bottom-right-radius:4px }
.msg-other .msg-bubble { background:var(--gray-100);color:var(--gray-800);border-bottom-left-radius:4px }
.msg-time { font-size:.72rem;color:var(--gray-400);margin-top:4px }

.chat-form { background:#fff;border:1.5px solid var(--gray-200);border-radius:var(--radius);padding:16px }
.chat-input {
  width:100%;border:1.5px solid var(--gray-200);border-radius:var(--radius-sm);
  padding:10px 14px;font-size:.9rem;resize:vertical;font-family:inherit;
  margin-bottom:12px;line-height:1.5
}
.chat-input:focus { outline:none;border-color:var(--blue) }
.chat-form-footer { display:flex;align-items:center;justify-content:space-between;gap:12px }
.btn-sm { padding:10px 20px;font-size:.9rem }

.flagged-notice {
  background:#fff8e1;border:1px solid #f39c12;border-radius:var(--radius-sm);
  padding:12px 16px;color:#7d6608;font-size:.88rem;margin-bottom:16px
}

/* ── Admin: flagged messages ────────────────────────────────── */
.flagged-msg-card {
  background:#fff;border:1.5px solid #f5c6cb;border-radius:var(--radius);
  padding:20px;margin-bottom:16px
}
.flagged-msg-header {
  display:flex;justify-content:space-between;align-items:center;margin-bottom:8px
}
.flagged-sender { font-weight:600;font-size:.9rem }
.flagged-time { font-size:.8rem;color:var(--gray-400) }
.flagged-reason {
  background:#fff3cd;border-radius:6px;padding:6px 12px;
  font-size:.82rem;color:#856404;margin-bottom:12px
}
.flagged-body {
  background:var(--gray-50);border-radius:var(--radius-sm);padding:12px 16px;
  font-style:italic;color:var(--gray-800);line-height:1.6;margin-bottom:12px
}
.flagged-context { margin-bottom:10px }
.flagged-actions { display:flex;gap:10px }

/* ── Admin distribution statuses ────────────────────────────── */
.status-badge.status-interested { background:#e8f0fe;color:#1a5276 }
.status-badge.status-declined-by-lead,
.status-badge.status-declined_by_lead { background:#fce8e6;color:#c0392b }

/* ── Firm profile: field tags ───────────────────────────────── */
.field-tag {
  display:inline-flex;align-items:center;
  border-radius:50px;padding:2px 10px;font-size:.72rem;font-weight:600
}
.tag-required    { background:#fce8e6;color:#c0392b }
.tag-recommended { background:#e8f0fe;color:#1a5276 }
.tag-optional    { background:var(--gray-100);color:var(--gray-600) }
.req-star        { color:#c0392b }

/* ── Specialty chips (profile page) ────────────────────────── */
.specialty-chips { display:flex;flex-wrap:wrap;gap:8px }
.specialty-chip {
  background:var(--gray-100);color:var(--gray-600);
  border-radius:50px;padding:5px 14px;font-size:.82rem;
  border:1.5px solid var(--gray-200);
  transition:background .15s,color .15s,border-color .15s
}
.specialty-chip:hover { background:#e8f0fe;color:var(--blue);border-color:var(--blue) }
