/* re-b.css: Nov 6 re-audit fixes for /services/, /services/recurring-house-cleaning/ and /services/deep-cleaning/ only.
   Every rule is scoped to body[data-re=hub|upk|rst]. */

/* ---------- shared: inline text links inside sentences keep an even line height ---------- */
[data-re] :is(.h8-fit-n,.h8-area-n,.h8-fin-n,.lead,.h8-q p,.pc-row p,.rs2-price p,.u-est) > a.lnk{display:inline;min-height:0;line-height:inherit;padding:0}

/* ================= SERVICES HUB ================= */
/* hero tiles: price chip and checklist tag stack in flow, so the price never clips and keeps its basis at every width */
[data-re=hub] .h8-strip .re-tl{position:absolute;left:10px;right:10px;top:10px;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
[data-re=hub] .h8-strip .re-tl .h8-strip-pr,[data-re=hub] .h8-strip .re-tl .t1-ck{position:relative;left:auto;top:auto;max-width:100%}
[data-re=hub] .h8-strip .re-tl .h8-strip-pr{display:flex;flex-direction:column;align-items:flex-start;gap:2px;white-space:normal;overflow:visible;border-radius:8px;padding:6px 9px 7px;font-size:12px;line-height:1.2}
[data-re=hub] .h8-strip .re-tl .h8-strip-pr b{font-size:15px}
[data-re=hub] .h8-strip .re-tl .h8-strip-pr small{display:block!important;white-space:normal;font:500 11.5px/1.2 var(--ff-b,inherit);color:#000}
@media (max-width:899px){[data-re=hub] .h8-strip{grid-auto-columns:46%}[data-re=hub] .h8-strip a{aspect-ratio:3/4}}
@media (min-width:900px) and (max-width:1279px){[data-re=hub] .h8-strip a{aspect-ratio:3/4}}

/* service cards: one receipt of owner-approved facts per card, action pinned to the card foot so buttons line up across a row */
[data-re=hub] .h8-body{display:flex;flex-direction:column;align-items:stretch}
[data-re=hub] .h8-body>.h8-act{margin-top:auto;padding-top:8px}
[data-re=hub] .re-fx{margin:2px 0 4px;padding:0;display:grid;gap:0;border-top:1.5px dashed #000}
[data-re=hub] .re-fx>div{display:flex;justify-content:space-between;align-items:baseline;gap:6px 16px;flex-wrap:wrap;padding:8px 0;border-bottom:1px dotted #000}
[data-re=hub] .re-fx dt{margin:0;font:500 11.5px/1.3 var(--ff-m);letter-spacing:.04em;text-transform:uppercase;color:#000}
[data-re=hub] .re-fx dd{margin:0;font:600 15px/1.3 var(--ff-d);color:#000;text-align:right}
@media (max-width:420px){[data-re=hub] .re-fx>div{flex-direction:column;gap:2px}[data-re=hub] .re-fx dd{text-align:left}}

/* booking: changes and cancellations as a full-width fee strip */
[data-re=hub] .h8-pay-n{max-width:none;padding:20px 22px;gap:14px}
[data-re=hub] .h8-pay-n .re-chg{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
[data-re=hub] .re-chg li{display:grid;align-content:start;gap:4px;padding:0 18px;border-left:1.5px solid var(--fg);min-width:0}
[data-re=hub] .re-chg li:first-child{padding-left:0;border-left:0}
[data-re=hub] .re-chg b{font:600 15.5px/1.25 var(--ff-d);color:var(--fg)}
[data-re=hub] .re-chg span{font-size:14.5px;line-height:1.45;color:var(--fg)}
[data-re=hub] .h8-pay-n .re-chg-h,[data-re=hub] .h8-pay-n .re-chg-a{margin:0}
[data-re=hub] .h8-pay-n .re-chg-a .lnk{min-height:32px}
@media (max-width:899px){[data-re=hub] .h8-pay-n .re-chg{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 0}[data-re=hub] .re-chg li:nth-child(3){padding-left:0;border-left:0}}
@media (max-width:520px){[data-re=hub] .h8-pay-n .re-chg{grid-template-columns:minmax(0,1fr);gap:0}[data-re=hub] .re-chg li{padding:10px 0;border-left:0;border-top:1px solid var(--fg)}[data-re=hub] .re-chg li:first-child{border-top:0;padding-top:0}}
@media (min-width:1100px){
 [data-re=hub] :is(.h8-c-upkeep,.h8-c-final) .h8-body{justify-content:center;padding:28px 30px}
 [data-re=hub] :is(.h8-c-upkeep,.h8-c-final) .h8-body>.h8-act{margin-top:10px}
}

/* ================= UPKEEP + RESET heroes ================= */
/* photo label sat at the bottom-right and was cut by the next section's overlap at 1024-1440: move it to the top-right */
@media (min-width:900px){[data-re=upk] .sv-chip,[data-re=rst] .sv-chip{bottom:auto;top:16px}}
/* phone: the photo was a thin washed-out strip; show it as a real, unfaded photo band */
@media (max-width:899px){
 [data-re=upk] .sv-hero .sv-media,[data-re=rst] .rs-hero .sv-media{aspect-ratio:5/2;max-height:260px;width:100%;border-bottom:3px solid #2EC0C6}
 [data-re=upk] .sv-media::after,[data-re=rst] .sv-media::after{background:none}
 [data-re=upk] .sv-hero .sv-in,[data-re=rst] .sv-hero .sv-in{margin-top:0;padding-top:10px}
}

/* ================= RESET ================= */
/* checklist numbers were grey (0.7 opacity): full black/white, lighter weight instead */
[data-re=rst] .sh-n{opacity:1;font-weight:500}
/* the move-clean card used a grey dash */
[data-re=rst] .sc-move{border-color:var(--fg)}
/* the bare "Details" summary now reads as a real disclosure with a plus */
[data-re=rst] .ns-more summary{list-style:none;gap:10px}
[data-re=rst] .ns-more summary::-webkit-details-marker{display:none}
[data-re=rst] .ns-more summary::after{content:"+";display:inline-grid;place-items:center;width:24px;height:24px;border:1.5px solid currentColor;border-radius:50%;font:600 16px/1 var(--ff-d);text-decoration:none;flex:none}
[data-re=rst] .ns-more[open] summary::after{content:"\2212"}
/* "Waiting costs a little more": the three typical prices as a ladder, so the card is no longer half empty */
[data-re=rst] .of-fee{align-content:start}
[data-re=rst] .re-lad{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:0;border-top:2px solid #000}
[data-re=rst] .re-lad li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:14px;padding:12px 0;border-bottom:1px solid #000}
[data-re=rst] .re-lad b{font:600 clamp(26px,2.4vw,34px)/1 var(--ff-d);letter-spacing:-.02em;color:#000;min-width:3.6ch}
[data-re=rst] .re-lad span{font-size:16px;line-height:1.35;color:#000}
[data-re=rst] .of-fee .re-lad-n{margin:0;font:500 12px/1.3 var(--ff-m);letter-spacing:.06em;text-transform:uppercase;color:#000}
/* "Week 1 / Week 3 ..." labels on the first-recurring timeline were 0.75 opacity (grey text) */
[data-re=rst] .rl-w{opacity:1;font-weight:500}
/* booking card mocks: at 900-1199 the narrow columns squeezed "Charged" onto two lines */
[data-re=hub] .h9-pc-st{flex-wrap:wrap;align-items:center;row-gap:6px}
[data-re=hub] .h9-pc-st b{white-space:nowrap}
@media (min-width:900px) and (max-width:1199px){[data-re=hub] .h9-pc{padding:12px 13px}[data-re=hub] .h9-pc-n{font-size:12.5px;letter-spacing:.03em}[data-re=hub] .h9-pc-st{font-size:11.5px}[data-re=hub] .h9-pc-st b{font-size:12.5px;padding:3px 8px}}
