/* ==========================================================================
   HostRyze — HR-02 /operations-and-revenue (24/7 Property Management + Revenue Optimization)
   Page-only rules on top of css/styles.css + css/pages.css + css/solutions.css.
   Two surfaces only (.green / .beige); everything here inherits --fg / --bg.
   Breakpoints as everywhere: 1180 / 900 / 640.
   ========================================================================== */

/* ---------- Hero: revenue and operations desk mock as a full-width band under the hero grid ---------- */
.phero__desk { margin-top: clamp(36px, 6vh, 64px); }
.revdesk .ops-dash__v { font-size: clamp(1rem, 1.15vw, 1.12rem); letter-spacing: -0.015em; line-height: 1.25; font-stretch: 100%; }
.revdesk .ops-dash__tiles small { line-height: 1.35; }
.revdesk .ops-dash__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-weight: 600; color: rgba(var(--fgc), 0.78); }
.revdesk .ops-dash__foot small { font-size: inherit; font-weight: 400; color: rgba(var(--fgc), 0.62); }

/* ---------- Outcome: two ledes beside the review chips, bold closing line ---------- */
#outcome .lede { margin-top: 18px; }
#outcome .lede + .lede { margin-top: 14px; }
.ob-line { margin-top: clamp(20px, 3.4vh, 32px); padding-top: clamp(16px, 2.6vh, 24px); border-top: 1px solid rgba(var(--fgc), 0.2); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; letter-spacing: -0.015em; max-width: 30ch; }

/* ---------- Offer: two scope cards side by side, then the what-stays-with-you / scope-and-pricing note ---------- */
.offer-cards { align-items: stretch; }
.offer-cards .sys { height: 100%; }
.offer-cards .sys .list { margin-bottom: 0; border-bottom: 0; }
.offer-cards .sys__why { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(var(--fgc), 0.2); }
.offer-note { margin-top: var(--stack); padding-top: var(--stack); border-top: 1px solid rgba(var(--fgc), 0.2); }
.offer-note h3 { margin-bottom: 12px; }
.offer-note .list { margin-bottom: 0; }
.offer-note p:not(.label) { color: rgba(var(--fgc), 0.82); max-width: 52ch; }
.offer-note p + p { margin-top: 12px; }

/* ---------- How it works: six stages on one rail (3 × 2 on desktop, 2 × 3 on tablets, vertical rail on phones) ---------- */
.timeline--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
.timeline--6 .tl:nth-child(2n)::before { right: calc(var(--gap) * -1); }
.timeline--6 .tl:nth-child(3n)::before, .timeline--6 .tl:last-child::before { right: 0; }
.timeline--6 .tl p { max-width: 34ch; }

/* ---------- Pricing decisions: calendar mock beside the seven date types ---------- */
.pdgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.dtypes { border-top: 1.5px solid var(--fg); }
.dtype { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(var(--fgc), 0.2); }
.dtype__sw { width: 18px; height: 18px; margin-top: 3px; border-radius: 3px; border: 1px solid rgba(var(--fgc), 0.4); }
.dtype.is-weekend .dtype__sw { background: repeating-linear-gradient(135deg, rgba(var(--fgc), 0.22) 0 2px, transparent 2px 5px); }
.dtype.is-event .dtype__sw { background: var(--fg); border-color: var(--fg); }
.dtype.is-gap .dtype__sw { border: 1.5px dashed var(--fg); }
.dtype.is-last .dtype__sw { border: 2px solid var(--fg); }
.dtype.is-far .dtype__sw { border-color: rgba(var(--fgc), 0.3); }
.dtype.is-min .dtype__sw { box-shadow: inset 0 -4px 0 0 var(--fg); }
.dtype h3 { font-size: 1.05rem; letter-spacing: -0.015em; margin-bottom: 4px; }
.dtype p { font-size: 0.96rem; line-height: 1.45; color: rgba(var(--fgc), 0.85); }
.dtype__chk { margin-top: 4px; font-size: 0.88rem; color: rgba(var(--fgc), 0.66); }
#deliverables .closing { max-width: 40em; }

/* ---------- Reporting: weekly revenue review as Wins / Risks / Actions rows with a left tag ---------- */
.revrev .mock__head { flex-wrap: wrap; row-gap: 6px; }
.revrev .mock__title { flex-wrap: wrap; row-gap: 2px; }
.revrev .mock__title b { white-space: normal; overflow: visible; text-overflow: clip; }
.revrev .report__rows li { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 14px 0; }
.revrev .report__rows li .tag { margin-top: 1px; }
.revrev .report__rows li div { font-weight: 500; line-height: 1.45; }
.cadence { margin-top: var(--stack); }

/* ---------- Systems: beige inner block for the PMS wall inside the green section ---------- */
.pmsblock { margin-top: var(--stack); padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-lg); }
.pmsblock__cap { margin-top: 16px; font-size: 0.92rem; line-height: 1.5; color: rgba(var(--fgc), 0.72); max-width: 72ch; }

/* ---------- Trust: verified ticks + quiet fallback line (the editable proof block ships hidden) ---------- */
#trust .ticks { margin-top: 0; }
.trust-fallback { margin-top: clamp(20px, 3vh, 28px); padding-top: clamp(16px, 2.6vh, 22px); border-top: 1px solid rgba(var(--fgc), 0.2); font-weight: 600; color: rgba(var(--fgc), 0.78); max-width: 60ch; }

/* ---------- Conversion: contact links under the headline, form title size on the final form ---------- */
.cta__links { margin-top: clamp(20px, 3.4vh, 28px); padding-top: clamp(16px, 2.6vh, 22px); border-top: 1px solid rgba(var(--fgc), 0.2); }
.cta .audit .frow { gap: 0 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pdgrid { grid-template-columns: 1fr; gap: 32px; }
  .offer-note { padding-top: 32px; margin-top: 32px; }
  .timeline--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .timeline--6 .tl:nth-child(3n)::before { right: calc(var(--gap) * -1); }
  .timeline--6 .tl:nth-child(2n)::before, .timeline--6 .tl:last-child::before { right: 0; }
}
@media (max-width: 640px) {
  .phero__desk { margin-top: 28px; }
  .revdesk .ops-dash__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .revdesk .ops-dash__foot { flex-direction: column; gap: 4px; }
  .ob-line { font-size: 1.15rem; max-width: none; }
  .timeline--6 { grid-template-columns: 1fr; row-gap: 0; }
  .timeline--6 .tl:nth-child(n)::before { right: auto; }
  .timeline--6 .tl p { max-width: none; }
  .dtype { gap: 12px; padding: 12px 0; }
  .dtype__sw { width: 16px; height: 16px; }
  .pmsblock { padding: 18px 16px; }
  .cta__links { margin-top: 20px; }
  /* phones: let the three mock titles wrap beside the chip instead of truncating to "Revenue a…" */
  .revdesk .mock__head, #deliverables .mock__head, .revrev .mock__head { flex-wrap: wrap; row-gap: 6px; }
  .revdesk .mock__title b, #deliverables .mock__title b, .revrev .mock__title b { white-space: normal; overflow: visible; text-overflow: clip; }
  /* keep the long CTA label on one line in the sticky bar */
  .sticky-cta .btn { font-size: 0.92rem; padding-inline: 14px; }
}
