/* /partners/blueground/ — "Turnkey": navy key card, monthly bill breakdown, hotel-grade
   restraint. Thin hairlines, warm grey paper, Fraunces 500. Base tokens in /partners/partners.css. */

:root {
  --pv-brand: #273656;
  --pv-brand-ink: #ffffff;
  --pv-brand-soft: rgba(39, 54, 86, 0.08);
  --pv-accent: #b8925a;
  --pv-bg: #f4f2ee;
  --pv-surface: #ffffff;
  --pv-surface-2: #ebe8e2;
  --pv-ink: #1b2436;
  --pv-muted: #5f6675;
  --pv-border: #dcd8d0;
  --pv-link: #273656;
  --pv-ok: #1f6f4f;
  --pv-radius: 14px;
  --pv-radius-sm: 10px;
  --pv-shadow: 0 10px 30px rgba(27, 36, 54, 0.08);
  --pv-nav-bg: rgba(244, 242, 238, 0.92);
  --pv-nav-ink: #1b2436;
  --pv-nav-line: rgba(39, 54, 86, 0.14);
  --bg-hairline: rgba(39, 54, 86, 0.18);
}

body.pv--blueground .pv-h2,
body.pv--blueground .pv-stat__value,
body.pv--blueground .pv-card__price,
body.pv--blueground .pv-house h3 { font-weight: 500; }
body.pv--blueground .pv-kicker { color: var(--pv-accent); letter-spacing: 0.18em; }

/* =========================================================================
   Hero
   ========================================================================= */
.bg-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--pv-surface);
  border-bottom: 1px solid var(--bg-hairline);
}
.bg-hero::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--bg-hairline), transparent);
}
.bg-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.bg-hero__kicker {
  display: inline-flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem;
  padding-bottom: 0.7rem; border-bottom: 1px solid var(--bg-hairline);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pv-muted);
}
.bg-hero__kicker img { height: 18px; width: auto; }
.bg-hero h1 {
  font-family: var(--pv-font-display);
  font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--pv-ink);
}
.bg-hero h1 em { font-style: italic; font-weight: 400; color: var(--pv-brand); }
.bg-hero__dek { max-width: 36rem; margin-top: 1.4rem; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--pv-muted); }
.bg-hero__dek strong { color: var(--pv-ink); font-weight: 600; }
.bg-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.bg-hero .pv-btn { border-radius: 6px; }
.bg-hero__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--bg-hairline); list-style: none;
}
.bg-hero__facts li { display: flex; flex-direction: column; min-width: 0; }
.bg-hero__facts strong { font-family: var(--pv-font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; color: var(--pv-brand); line-height: 1.1; white-space: nowrap; }
.bg-hero__facts span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pv-muted); margin-top: 0.3rem; }

/* ---------- Key card ---------- */
.bg-card { display: grid; gap: 0; max-width: 26rem; margin-left: auto; width: 100%; }
.bg-card__key {
  position: relative; display: grid; gap: 0.5rem;
  aspect-ratio: 1.586 / 1; padding: 1.4rem 1.5rem;
  border-radius: 18px;
  background:
    radial-gradient(28rem 14rem at 110% -20%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(160deg, #2f4169 0%, var(--pv-brand) 55%, #1b2742 100%);
  color: #fff;
  box-shadow: 0 30px 50px rgba(27, 36, 54, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: rotate(-2deg);
  z-index: 1;
}
.bg-card__chip {
  position: absolute; left: 1.5rem; top: 1.4rem; width: 2.4rem; height: 1.8rem; border-radius: 5px;
  background: linear-gradient(135deg, #e6d2a8, #b8925a 60%, #d9c08f);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.bg-card__chip::before {
  content: ''; position: absolute; inset: 0.45rem 0.35rem; border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 3px;
}
.bg-card__logo { height: 16px; width: auto; justify-self: end; filter: brightness(0) invert(1); opacity: 0.95; }
.bg-card__room { margin-top: auto; font-family: var(--pv-font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
.bg-card__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.bg-card__meta span:last-child { color: #fff; font-weight: 700; letter-spacing: 0.06em; }

.bg-card__bill {
  margin: -0.9rem 0.8rem 0; padding: 1.6rem 1.3rem 1.1rem;
  border: 1px solid var(--bg-hairline); border-radius: 0 0 14px 14px;
  background: var(--pv-bg);
  font-size: 0.86rem;
}
.bg-card__bill div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--bg-hairline); }
.bg-card__bill div:last-child { border-bottom: 0; }
.bg-card__bill dt { font-weight: 700; color: var(--pv-ink); }
.bg-card__bill dd { margin: 0; text-align: right; color: var(--pv-muted); }
.bg-card__bill-deposit { margin-top: 0.4rem; padding-top: 0.8rem !important; border-top: 1px solid var(--pv-brand); }
.bg-card__bill-deposit dt { color: var(--pv-brand); }

@media (max-width: 900px) {
  .bg-hero__inner { grid-template-columns: 1fr; }
  .bg-card { margin: 1rem auto 0; }
  .bg-card__key { transform: none; }
}
@media (max-width: 480px) {
  .bg-hero__facts { grid-template-columns: 1fr; gap: 0.8rem; }
}

/* =========================================================================
   Sections
   ========================================================================= */
.bg-data { background: var(--pv-surface-2); }
.pv-stat--wide { flex: 2 1 300px; max-width: min(100%, 52rem); }
@media (max-width: 480px) { .pv-stat--wide { flex-basis: 150px; } }

/* Fact sheet as hairline ledger */
body.pv--blueground .pv-fact { border-radius: 0; border: 0; border-top: 1px solid var(--bg-hairline); background: transparent; padding: 1.1rem 0.2rem 1.2rem; }
body.pv--blueground .pv-fact dt { color: var(--pv-accent); }

/* Steps as a numbered ledger */
.bg-ledger .pv-steps { gap: 0; border-top: 1px solid var(--bg-hairline); }
.bg-ledger .pv-step {
  grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 1.25rem;
  padding: 1.3rem 0.2rem; border: 0; border-bottom: 1px solid var(--bg-hairline); border-radius: 0; background: transparent;
}
.bg-ledger .pv-step::before {
  width: 2.4rem; height: 2.4rem; background: var(--pv-brand); color: #fff;
  font-family: var(--pv-font-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0;
}
.bg-ledger .pv-step h3 { font-family: var(--pv-font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.015em; }

.bg-listings { background: var(--pv-surface); border-top: 1px solid var(--bg-hairline); border-bottom: 1px solid var(--bg-hairline); }
body.pv--blueground .pv-card { border-radius: var(--pv-radius); }
body.pv--blueground .pv-card__badge { background: var(--pv-brand); color: #fff; }
.bg-faq { max-width: 56rem; }
.bg-guides__title { margin: 2rem 0 0.75rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pv-muted); }
.bg-sources { display: grid; gap: 1.25rem; }

/* Final band */
.bg-final { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--pv-brand); color: #fff; text-align: center; }
.bg-final h2 { font-family: var(--pv-font-display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 500; letter-spacing: -0.03em; }
.bg-final p { max-width: 34rem; margin: 0.8rem auto 1.5rem; color: rgba(255, 255, 255, 0.78); }
.bg-final .pv-btn--ink { background: #fff; color: var(--pv-brand); border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .bg-card__key { transform: none; }
}
