/* /partners/uniplaces/ — "Fact sheet": white, airy, documentary. Cyan price-anatomy bar,
   numbered index steps, thin rules. Deliberately unlike the two /offers/ Uniplaces pages
   (dark cork board, dark departures board). Base tokens in /partners/partners.css. */

:root {
  --pv-brand: #006f9c;            /* cyan ink — readable on white (5:1) */
  --pv-brand-ink: #ffffff;
  --pv-brand-soft: rgba(0, 173, 239, 0.12);
  --pv-accent: #00adef;
  --pv-bg: #ffffff;
  --pv-surface: #ffffff;
  --pv-surface-2: #f2fafe;
  --pv-ink: #0e1b24;
  --pv-muted: #55656f;
  --pv-border: #d6e7ef;
  --pv-link: #006f9c;
  --pv-radius: 14px;
  --pv-radius-sm: 10px;
  --pv-shadow: 0 10px 28px rgba(0, 111, 156, 0.08);
  --pv-nav-bg: rgba(255, 255, 255, 0.92);
  --pv-nav-line: rgba(0, 173, 239, 0.22);
  --up-cyan: #00adef;             /* decorative fills only */
  --up-cyan-text: #0b8fc4;        /* large display text (3.6:1) */
  --up-rule: #bfe3f4;
}

/* =========================================================================
   Hero
   ========================================================================= */
.up-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(180deg, #f6fcff 0%, #ffffff 60%);
  border-bottom: 1px solid var(--up-rule);
}
.up-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.up-hero__kicker {
  display: inline-flex; align-items: center; gap: 0.9rem; margin-bottom: 1.2rem;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--up-rule); background: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pv-muted);
}
.up-hero__kicker img { height: 24px; width: auto; }
.up-hero h1 {
  font-family: var(--pv-font-display);
  font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 600; line-height: 1.03; letter-spacing: -0.035em;
  color: var(--pv-ink);
}
.up-hero h1 em { font-style: normal; color: var(--up-cyan-text); }
.up-hero__dek { max-width: 36rem; margin-top: 1.25rem; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--pv-muted); }
.up-hero__dek strong { color: var(--pv-ink); }
.up-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.up-hero__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--up-rule); list-style: none; }
.up-hero__facts li { display: flex; flex-direction: column; min-width: 0; }
.up-hero__facts strong { font-family: var(--pv-font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--pv-ink); line-height: 1.1; }
.up-hero__facts span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pv-muted); margin-top: 0.25rem; }

/* ---------- Price anatomy ---------- */
.up-anatomy {
  margin: 0; padding: 1.5rem 1.5rem 1.4rem; border-radius: 18px;
  background: #fff; border: 1px solid var(--up-rule);
  box-shadow: 0 24px 50px rgba(0, 111, 156, 0.1);
}
.up-anatomy__title {
  display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 1.1rem;
  font-family: var(--pv-font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: var(--pv-ink);
}
.up-anatomy__title span { font-family: var(--pv-font-body); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pv-brand); }
.up-anatomy__rows { list-style: none; display: grid; gap: 0.85rem; }
.up-anatomy__row { display: grid; grid-template-columns: 1fr; gap: 0.3rem; }
.up-anatomy__bar { display: block; height: 10px; border-radius: 999px; background: var(--up-cyan); width: var(--w, 60%); transform-origin: left center; animation: up-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.up-anatomy__row--rent .up-anatomy__bar { --w: 100%; }
.up-anatomy__row--fee .up-anatomy__bar { --w: 32%; background: var(--up-cyan-text); animation-delay: 0.1s; }
.up-anatomy__row--deposit .up-anatomy__bar { --w: 78%; background: #9fd9f2; animation-delay: 0.2s; }
.up-anatomy__row--later .up-anatomy__bar { --w: 100%; background: repeating-linear-gradient(90deg, #9fd9f2 0 10px, transparent 10px 16px); animation-delay: 0.3s; }
@keyframes up-grow { from { transform: scaleX(0); } }
.up-anatomy__what { font-weight: 700; font-size: 0.95rem; color: var(--pv-ink); }
.up-anatomy__what small { font-weight: 600; font-size: 0.75rem; color: var(--pv-muted); margin-left: 0.3rem; }
.up-anatomy__to { font-size: 0.85rem; color: var(--pv-muted); }
.up-anatomy__chip {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.2rem;
  padding: 0.45rem 0.9rem 0.45rem 0.65rem; border-radius: 999px;
  background: var(--pv-surface-2); border: 1px solid var(--up-rule);
  font-size: 0.8rem; font-weight: 700; color: var(--pv-brand);
}
.up-anatomy__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--up-cyan); box-shadow: 0 0 0 4px rgba(0, 173, 239, 0.2); animation: up-pulse 2.2s ease-in-out infinite; }
@keyframes up-pulse { 50% { box-shadow: 0 0 0 8px rgba(0, 173, 239, 0); } }

@media (max-width: 900px) {
  .up-hero__inner { grid-template-columns: 1fr; }
  .up-anatomy { max-width: 30rem; }
}

/* =========================================================================
   Sections
   ========================================================================= */
.up-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; } }

/* Numbered index: 01–04 with a thin cyan rule */
.up-index .pv-steps { gap: 0; }
.up-index .pv-step {
  grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0 1.25rem;
  padding: 1.35rem 0; border: 0; border-top: 1px solid var(--up-rule); border-radius: 0; background: transparent;
}
.up-index .pv-step:last-child { border-bottom: 1px solid var(--up-rule); }
.up-index .pv-step::before {
  width: auto; height: auto; border-radius: 0; background: transparent; place-items: start;
  font-family: var(--pv-font-display); font-size: 2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1;
  color: var(--up-cyan-text);
}
.up-index .pv-step h3 { font-size: 1.15rem; }
@media (max-width: 600px) { .up-index .pv-step { grid-template-columns: 3rem minmax(0, 1fr); } .up-index .pv-step::before { font-size: 1.5rem; } }

/* Offer aside — the only place this page points at the promo pages */
.up-offer {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 1.5rem; align-items: center;
  margin-top: 1.5rem; padding: 1.5rem 1.6rem; border-radius: 16px;
  background: var(--pv-surface-2); border: 1px dashed var(--up-cyan);
}
.up-offer__copy p { margin-top: 0.4rem; color: var(--pv-muted); font-size: 0.97rem; }
.up-offer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.up-offer__links .pv-btn { width: 100%; }
@media (max-width: 760px) { .up-offer { grid-template-columns: 1fr; } }

.up-listings { background: #fff; border-top: 1px solid var(--up-rule); border-bottom: 1px solid var(--up-rule); }
.up-faq { max-width: 56rem; }
.up-guides__title { margin: 2rem 0 0.75rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pv-muted); }
.up-sources { display: grid; gap: 1.25rem; }

/* Final band */
.up-final { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--up-cyan); color: #06222f; text-align: center; }
.up-final h2 { font-family: var(--pv-font-display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 600; letter-spacing: -0.03em; }
.up-final p { max-width: 34rem; margin: 0.8rem auto 1.5rem; color: rgba(6, 34, 47, 0.8); }
.up-final .pv-btn--ink { background: #06222f; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .up-anatomy__bar { animation: none; }
  .up-anatomy__pulse { animation: none; }
}
