/* ============ Prime Concierge — Results Page ============ */

:root {
  --bg: #0d0d0f;
  --bg-card: #16161a;
  --bg-card-hover: #1b1b20;
  --border: #26262c;
  --text: #f2efe9;
  --text-dim: #9b978f;
  --gold: #c9a86a;
  --gold-soft: rgba(201, 168, 106, 0.12);
  --radius: 16px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }

a { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: 0.22em; font-weight: 600;
}
.logo span { color: var(--gold); font-weight: 400; margin-left: 6px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  white-space: nowrap;
  background: var(--gold);
  color: #141414;
  font-weight: 600;
  border-radius: 100px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(201, 168, 106, 0.35); }
.btn-small { padding: 9px 20px; font-size: 13px; }
.btn-large { padding: 16px 40px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  max-width: 900px; margin: 0 auto;
  padding: 96px 24px 72px;
  text-align: center;
}
.eyebrow {
  color: var(--gold);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(42px, 7vw, 76px); margin-bottom: 20px; }
.hero-intro { color: var(--text-dim); font-size: 18px; max-width: 560px; margin: 0 auto; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 64px;
}
.stat { background: var(--bg-card); padding: 28px 16px; }
.stat .value {
  font-family: var(--font-display);
  font-size: 34px; color: var(--gold);
}
.stat .label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { max-width: 1140px; margin: 0 auto; padding: 72px 24px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-sub { color: var(--text-dim); margin-top: 10px; font-size: 15px; }

/* ---------- Before / After ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.ba-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ba-compare {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.ba-compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  width: 2px; background: var(--gold);
  transform: translateX(-1px);
  pointer-events: none;
}
.ba-handle::after {
  content: "◂ ▸";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold); color: #141414;
  font-size: 11px; font-weight: 700;
  padding: 8px 10px; border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.ba-label {
  position: absolute; top: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(13, 13, 15, 0.75);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba-label.before { left: 12px; }
.ba-label.after { right: 12px; color: var(--gold); }
.ba-meta { padding: 18px 20px; }
.ba-meta .name { font-weight: 600; }
.ba-meta .result { color: var(--gold); font-size: 14px; margin-top: 2px; }
.ba-meta .caption { color: var(--text-dim); font-size: 13px; margin-top: 6px; }

/* ---------- Testimonials ---------- */
.quote-grid {
  columns: 3;
  column-gap: 24px;
}
@media (max-width: 980px) { .quote-grid { columns: 2; } }
@media (max-width: 640px) { .quote-grid { columns: 1; } }
.quote-card {
  break-inside: avoid;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  transition: border-color 0.2s ease;
}
.quote-card:hover { border-color: var(--gold); }
.quote-card .stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; margin-bottom: 14px; }
.quote-card blockquote { font-size: 16px; line-height: 1.65; }
.quote-card .who { margin-top: 18px; font-size: 14px; }
.quote-card .who .name { font-weight: 600; }
.quote-card .who .detail { color: var(--text-dim); margin-left: 8px; }

/* ---------- Case Studies ---------- */
.cs-list { display: flex; flex-direction: column; gap: 24px; }
.cs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 780px) { .cs-card { grid-template-columns: 1fr; gap: 24px; } }
.cs-tag {
  display: inline-block;
  background: var(--gold-soft); color: var(--gold);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px;
  margin-bottom: 14px;
}
.cs-card h3 { font-size: 26px; margin-bottom: 6px; }
.cs-client { color: var(--text-dim); font-size: 14px; margin-bottom: 14px; }
.cs-story { color: var(--text-dim); font-size: 15px; }
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-left: 1px solid var(--border);
  padding-left: 40px;
}
@media (max-width: 780px) {
  .cs-metrics { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
}
.cs-metric .value { font-family: var(--font-display); font-size: 28px; color: var(--gold); }
.cs-metric .label { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* ---------- Client gallery (one card per client) ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
  gap: 24px;
}
.client-card {
  font-family: inherit;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.client-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.card-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
}
.card-half {
  position: relative;
  flex: 1 1 50%;
  overflow: hidden;
}
.card-half img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.card-half:first-child { border-right: 1px solid var(--gold); }
.card-half:last-child { border-left: 1px solid var(--gold); }
.half-label {
  position: absolute; bottom: 10px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  background: rgba(13, 13, 15, 0.78);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.half-label.before { left: 10px; color: var(--text-dim); }
.half-label.after { right: 10px; color: var(--gold); }
.card-meta { padding: 18px 20px 22px; }
.card-tag {
  display: inline-block;
  background: var(--gold-soft); color: var(--gold);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 12px; border-radius: 100px;
  margin-bottom: 10px;
}
.card-name { font-family: var(--font-display); font-size: 22px; }
.card-headline { color: var(--gold); font-size: 14px; margin-top: 4px; line-height: 1.4; }

/* ---------- Detail modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
}
.modal.open { display: block; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 6, 8, 0.82);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  max-width: 1040px;
  margin: 40px auto;
  max-height: calc(100vh - 80px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: modalIn 0.22s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute; top: 14px; right: 16px; z-index: 3;
  width: 40px; height: 40px;
  border: none; border-radius: 100px;
  background: rgba(13, 13, 15, 0.7);
  color: var(--text); font-size: 24px; line-height: 1;
  cursor: pointer; backdrop-filter: blur(4px);
}
.modal-close:hover { background: var(--gold); color: #141414; }
.modal-body { overflow-y: auto; padding: 40px; }
@media (max-width: 640px) {
  .modal-panel { margin: 0; max-height: 100vh; border-radius: 0; border: none; }
  .modal-body { padding: 24px 20px 40px; }
}

.detail-head { margin-bottom: 28px; }
.detail-head h2 { font-size: clamp(28px, 4vw, 40px); }
.detail-protocol { color: var(--text-dim); font-size: 15px; margin-top: 6px; }
.detail-angles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.detail-angle .ba-compare {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.detail-angle-label {
  text-align: center; margin-top: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
}
.detail-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  text-align: center;
}
.detail-quote {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.5;
  margin-bottom: 24px;
}
.detail-story { color: var(--text-dim); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.detail-bloods img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}
.detail-report { margin-top: 28px; }
.detail-report-head { text-align: center; margin-bottom: 18px; }
.detail-report-head h3 {
  font-size: 22px;
}
.detail-report-head p { color: var(--text-dim); font-size: 14px; margin-top: 6px; }
.report-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 180px));
  justify-content: center;
  gap: 14px;
}
.report-thumb {
  padding: 0; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  background: #fff; cursor: zoom-in;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.report-thumb:hover { transform: translateY(-3px); border-color: var(--gold); }
.report-thumb img { display: block; width: 100%; height: auto; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(6, 6, 8, 0.92);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(94vw, 900px);
  max-height: 92vh;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute; top: 16px; right: 18px;
  width: 42px; height: 42px;
  border: none; border-radius: 100px;
  background: rgba(13, 13, 15, 0.7);
  color: var(--text); font-size: 25px; line-height: 1;
  cursor: pointer;
}

.detail-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 420px));
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.detail-photo { margin: 0; }
.detail-photo img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}
.detail-photo figcaption {
  text-align: center; margin-top: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- CTA & Footer ---------- */
.cta {
  text-align: center;
  padding: 96px 24px;
  background: radial-gradient(ellipse at center, var(--gold-soft) 0%, transparent 70%);
}
.cta h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 32px; }

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px 48px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}
.footer-brand { margin-top: 8px; letter-spacing: 0.08em; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .logo { font-size: 15px; }
}
