/* /partners/housing-anywhere/ — "Move-in timeline": coral signal on white, 48-hour dial,
   horizontal booking rail. Base tokens in /partners/partners.css. */

:root {
  --pv-brand: #ff4b27;
  --pv-brand-ink: #ffffff;
  --pv-brand-soft: rgba(255, 75, 39, 0.1);
  --pv-accent: #002630;
  --pv-bg: #fffaf7;
  --pv-surface: #ffffff;
  --pv-surface-2: #fff1ec;
  --pv-ink: #0f1f26;
  --pv-muted: #5a666d;
  --pv-border: #f2d9d0;
  --pv-link: #c2330f;
  --pv-radius: 22px;
  --pv-radius-sm: 14px;
  --pv-shadow: 0 14px 36px rgba(255, 75, 39, 0.1);
  --pv-nav-bg: rgba(255, 250, 247, 0.9);
  --pv-nav-line: rgba(255, 75, 39, 0.15);
  --ha-navy: #002630;
}

/* =========================================================================
   Hero
   ========================================================================= */
.ha-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: #fff;
}
.ha-blob {
  position: absolute; border-radius: 48% 52% 55% 45% / 55% 45% 55% 45%;
  background: var(--pv-brand); opacity: 0.12; pointer-events: none;
  animation: ha-float 14s ease-in-out infinite alternate;
}
.ha-blob--a { width: 34rem; height: 30rem; right: -10rem; top: -12rem; }
.ha-blob--b { width: 18rem; height: 16rem; left: -8rem; bottom: -8rem; opacity: 0.08; animation-delay: -6s; }
.ha-blob--c { width: 26rem; height: 22rem; right: -8rem; bottom: -12rem; opacity: 0.2; }
@keyframes ha-float { to { transform: translate3d(1.5rem, 1rem, 0) rotate(6deg); } }

.ha-hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.ha-hero__kicker {
  display: inline-flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem; border-radius: 999px;
  background: var(--pv-surface-2); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pv-muted);
}
.ha-hero__kicker img { height: 22px; width: auto; }
.ha-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(--ha-navy);
}
.ha-hero h1 em { font-style: normal; color: var(--pv-brand); }
.ha-hero__dek { max-width: 36rem; margin-top: 1.25rem; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--pv-muted); }
.ha-hero__dek strong { color: var(--pv-ink); }
.ha-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.ha-hero__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px dashed var(--pv-border); list-style: none; }
.ha-hero__facts li { display: flex; flex-direction: column; min-width: 0; }
.ha-hero__facts strong { font-family: var(--pv-font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ha-navy); line-height: 1.1; }
.ha-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; }

/* ---------- 48 h dial ---------- */
.ha-dial {
  position: relative; display: grid; place-items: center; gap: 1.25rem;
  padding: 2rem 1.5rem 1.5rem; border-radius: 28px;
  background: var(--ha-navy); color: #fff;
  box-shadow: 0 30px 60px rgba(0, 38, 48, 0.25);
}
.ha-dial__ring { width: min(240px, 60vw); height: auto; transform: rotate(-90deg); }
.ha-dial__track { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 14; }
.ha-dial__arc {
  fill: none; stroke: var(--pv-brand); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 527.8; stroke-dashoffset: 527.8;
  animation: ha-dial 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
@keyframes ha-dial { to { stroke-dashoffset: 105; } }
.ha-dial__center { position: absolute; top: calc(2rem + min(240px, 60vw) / 2); transform: translateY(-50%); text-align: center; }
.ha-dial__big { display: block; font-family: var(--pv-font-display); font-size: clamp(3rem, 8vw, 4.2rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.ha-dial__big small { font-size: 0.45em; font-weight: 500; color: var(--pv-brand); }
.ha-dial__label { display: block; max-width: 9rem; margin: 0.2rem auto 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb3ba; }
.ha-dial__legend { list-style: none; display: grid; gap: 0.45rem; width: 100%; font-size: 0.85rem; color: #d7e1e5; }
.ha-dial__legend li { display: flex; align-items: center; gap: 0.6rem; }
.ha-dial__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.ha-dial__dot--pay { background: #fff; }
.ha-dial__dot--in { background: var(--pv-brand); }
.ha-dial__dot--out { background: #6ee7b7; }

@media (max-width: 900px) {
  .ha-hero__inner { grid-template-columns: 1fr; }
  .ha-dial { max-width: 26rem; margin: 0 auto; width: 100%; }
}

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

/* Horizontal booking rail */
.ha-timeline .pv-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; position: relative; }
.ha-timeline .pv-steps::before {
  content: ''; position: absolute; left: 1.5rem; right: 1.5rem; top: 2.1rem; height: 4px;
  background: linear-gradient(90deg, var(--pv-brand) 0 70%, #6ee7b7 100%); border-radius: 4px; opacity: 0.55;
}
.ha-timeline .pv-step { grid-template-columns: 1fr; padding-top: 1rem; }
.ha-timeline .pv-step::before { grid-row: auto; margin-bottom: 0.8rem; box-shadow: 0 0 0 6px var(--pv-bg); }
.ha-timeline .pv-step:last-child::before { background: #0f9f6e; }
@media (max-width: 900px) {
  .ha-timeline .pv-steps { grid-template-columns: 1fr; }
  .ha-timeline .pv-steps::before { display: none; }
  .ha-timeline .pv-step { grid-template-columns: 3rem minmax(0, 1fr); }
  .ha-timeline .pv-step::before { grid-row: 1 / span 2; margin: 0; box-shadow: none; }
}

.ha-listings { background: #fff; }
.ha-faq { max-width: 56rem; }
.ha-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); }
.ha-sources { display: grid; gap: 1.25rem; }

/* Final band */
.ha-final { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--pv-brand); color: #fff; text-align: center; }
.ha-final__inner { position: relative; }
.ha-final h2 { font-family: var(--pv-font-display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 600; letter-spacing: -0.03em; }
.ha-final p { max-width: 34rem; margin: 0.8rem auto 1.5rem; color: rgba(255, 255, 255, 0.85); }
.ha-final .pv-btn--ink { background: var(--ha-navy); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .ha-blob { animation: none; }
  .ha-dial__arc { animation: none; stroke-dashoffset: 105; }
}
