/* ReadyClean homepage sections. Depends on the tokens in rc.css. */

/* ---------- hero ---------- */

.rc-hero {
    position: relative;
    background: var(--rc-forest);
    color: var(--rc-ink-inverse);
}
.rc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(115% 85% at 74% 2%,
                rgba(156, 177, 160, 0.24), transparent 60%);
}
.rc-hero__inner {
    position: relative;
    z-index: 1;
    padding-block: var(--rc-space-7) var(--rc-space-8);
    max-width: 720px;
    margin-inline: 0;
}
.rc-hero__title {
    margin: var(--rc-space-4) 0;
    font-family: var(--rc-font-display);
    font-weight: 300;
    font-size: var(--rc-text-3xl);
    line-height: 1.06;
    letter-spacing: -0.014em;
    color: var(--rc-ink-inverse);
}
.rc-hero__title b { font-weight: 600; color: var(--rc-oat); }

.rc-hero__sub {
    margin: 0 0 var(--rc-space-5);
    max-width: 46ch;
    color: var(--rc-ink-inverse-muted);
}

.rc-hero__form { margin-bottom: var(--rc-space-5); }
.rc-label--inverse { color: var(--rc-ink-inverse); }
.rc-hero__hint {
    margin: var(--rc-space-2) 0 0;
    font-size: var(--rc-text-sm);
    color: var(--rc-ink-inverse-muted);
    min-height: 1.5em; /* reserve space so results don't shift layout */
}

.rc-hero__result {
    margin-top: var(--rc-space-3);
    padding: var(--rc-space-3) var(--rc-space-4);
    border-left: 1px solid var(--rc-line-inverse-strong);
    font-size: var(--rc-text-sm);
    line-height: 1.5;
    color: var(--rc-ink-inverse);
}
.rc-hero__result:empty,
.rc-hero__result[hidden] { display: none; }
.rc-hero__result strong { color: var(--rc-oat); }
.rc-hero__result--success { border-left-color: var(--rc-oat); }
.rc-hero__result--error { color: var(--rc-ink-inverse-muted); }

.rc-hero .rc-facts { margin: 0 0 var(--rc-space-6); }

.rc-hero__quote { margin: 0 0 var(--rc-space-6); }
.rc-hero__quote:empty { display: none; }

.rc-hero__creds {
    display: flex;
    flex-wrap: wrap;
    gap: var(--rc-space-2) var(--rc-space-5);
    margin: 0;
    padding-top: var(--rc-space-4);
    border-top: 1px solid var(--rc-line-inverse);
    list-style: none;
    font-size: var(--rc-text-sm);
    color: var(--rc-ink-inverse-muted);
}
.rc-hero__creds li:empty { display: none; }

@media (min-width: 1024px) {
    /* Let the poster breathe: at 1440px a 720px cap left half the viewport
       empty. .rc-hero__sub keeps its own 46ch max-width regardless of how
       wide this container gets, so the prose measure is unaffected. */
    .rc-hero__inner { padding-block: var(--rc-space-9); max-width: 920px; }
}
@media (min-width: 1280px) {
    .rc-hero__inner { max-width: 1040px; }
}

/* ---------- section heading helpers (light/cream sections) ---------- */

.rc-eyebrow--dark { color: var(--rc-ink-muted); }

.rc-section__title {
    margin: var(--rc-space-2) 0 0;
    font-family: var(--rc-font-display);
    font-weight: 300;
    font-size: var(--rc-text-3xl);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--rc-ink);
}

.rc-section__sub {
    margin: var(--rc-space-3) 0 0;
    max-width: var(--rc-measure);
    color: var(--rc-ink-muted);
}

/* ---------- how it works ---------- */

.rc-steps {
    display: grid;
    gap: var(--rc-space-6);
    margin: var(--rc-space-7) 0 0;
    padding: 0;
    list-style: none;
}
.rc-step {
    padding-top: var(--rc-space-5);
    border-top: 1px solid var(--rc-line);
}
.rc-step__n {
    display: block;
    margin-bottom: var(--rc-space-2);
    font-family: var(--rc-font-display);
    font-size: var(--rc-text-xl);
    font-weight: 400;
    color: var(--rc-sage);
}
.rc-step h3 {
    margin: 0 0 var(--rc-space-2);
    font-size: var(--rc-text-lg);
    font-weight: 600;
    color: var(--rc-ink);
}
.rc-step p { margin: 0; color: var(--rc-ink-muted); }

@media (min-width: 640px) {
    .rc-steps { grid-template-columns: repeat(2, 1fr); gap: var(--rc-space-7) var(--rc-space-6); }
}
@media (min-width: 1024px) {
    .rc-steps { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- pricing ---------- */

.rc-pricing__grid {
    display: grid;
    gap: var(--rc-space-6);
    margin: var(--rc-space-7) 0 0;
}

.rc-price {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--rc-space-6) var(--rc-space-5) var(--rc-space-5);
    background: var(--rc-surface);
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius-md);
}

/* Featured card is marked with a flag and a heavier rule, never
   transform: scale — scale() clipped the CTA button on the old site. */
.rc-price--featured { border-color: var(--rc-forest); border-width: 2px; }

.rc-price__flag {
    position: absolute;
    top: 0;
    left: var(--rc-space-5);
    transform: translateY(-50%);
    margin: 0;
    padding: var(--rc-space-1) var(--rc-space-3);
    background: var(--rc-forest);
    border-radius: var(--rc-radius-pill);
    color: var(--rc-ink-inverse);
    font-size: var(--rc-text-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rc-price__title {
    margin: 0 0 var(--rc-space-3);
    font-family: var(--rc-font-display);
    font-size: var(--rc-text-xl);
    font-weight: 400;
    color: var(--rc-ink);
}

.rc-price__amount {
    margin: 0 0 var(--rc-space-5);
    padding-bottom: var(--rc-space-4);
    border-bottom: 1px solid var(--rc-line-soft);
    color: var(--rc-ink-muted);
    font-size: var(--rc-text-sm);
}
.rc-price__amount span {
    font-family: var(--rc-font-display);
    font-size: var(--rc-text-2xl);
    font-weight: 400;
    color: var(--rc-ink);
}

/* Computed from live room-time + rate data (see RCHome.typicalExample) —
   never present unless it can be a truthful number. */
.rc-price__example {
    margin: 0 0 var(--rc-space-5);
    padding: var(--rc-space-3);
    background: var(--rc-cream);
    border-radius: var(--rc-radius-sm);
    color: var(--rc-ink-muted);
    font-size: var(--rc-text-xs);
}

.rc-price__features {
    flex: 1;
    margin: 0 0 var(--rc-space-5);
    padding: 0;
    list-style: none;
    color: var(--rc-ink-muted);
    font-size: var(--rc-text-sm);
}
.rc-price__features li {
    position: relative;
    padding: var(--rc-space-2) 0 var(--rc-space-2) var(--rc-space-4);
}
.rc-price__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rc-sage);
}

.rc-price__cta { width: 100%; }

.rc-pricing__note {
    margin: var(--rc-space-6) 0 0;
    color: var(--rc-ink-muted);
    font-size: var(--rc-text-sm);
}

@media (min-width: 640px) {
    .rc-pricing__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .rc-pricing__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- comparison table ---------- */

/* The table scrolls horizontally inside its own container, never the page. */
.rc-table-wrap {
    overflow-x: auto;
    margin-top: var(--rc-space-7);
    -webkit-overflow-scrolling: touch;
}

.rc-compare__table { min-width: 640px; }
.rc-compare__table th,
.rc-compare__table td { white-space: nowrap; }
.rc-compare__table td:first-child,
.rc-compare__table th.rc-compare__feature-head { white-space: normal; }

/* On phones the fixed 640px table forces Android Chrome to widen the layout
   viewport (the whole page pans sideways, even with the scroll wrapper).
   Below 700px the table must genuinely fit: wrap cells, tighten padding. */
@media (max-width: 700px) {
    .rc-compare__table { min-width: 0; }
    .rc-compare__table th,
    .rc-compare__table td {
        white-space: normal;
        padding: var(--rc-space-3) var(--rc-space-2);
        font-size: var(--rc-text-xs);
    }
}

.rc-compare__us { background: var(--rc-cream); }
.rc-compare__logo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-right: var(--rc-space-2);
    font-family: var(--rc-font-display);
    font-weight: 600;
}
.rc-compare__logo-r { color: var(--rc-forest); }
.rc-compare__logo-c { color: var(--rc-sage); }

/* Compare indicators — the old "~" tilde for "sometimes" is replaced with an
   inline SVG dash so it reads clearly at any zoom level or font. */
.rc-ci {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: var(--rc-text-xs);
    line-height: 1;
}
.rc-ci--yes { background: rgba(156, 177, 160, 0.28); color: var(--rc-forest); }
.rc-ci--no { color: var(--rc-ink-subtle); }
.rc-ci--maybe { color: var(--rc-ink-subtle); }

.rc-compare__legend {
    margin-top: var(--rc-space-4);
    color: var(--rc-ink-muted);
    font-size: var(--rc-text-sm);
}
.rc-compare__legend .rc-ci { vertical-align: middle; }

.rc-compare__guarantee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--rc-space-4);
    margin-top: var(--rc-space-7);
    padding: var(--rc-space-6) var(--rc-space-5);
    background: var(--rc-forest);
    color: var(--rc-ink-inverse);
    border-radius: var(--rc-radius-md);
    text-align: center;
}
.rc-compare__seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border: 1px solid var(--rc-line-inverse-strong);
    border-radius: 50%;
    color: var(--rc-oat);
}
.rc-compare__seal-pct {
    font-family: var(--rc-font-display);
    font-size: var(--rc-text-xl);
    font-weight: 600;
}
.rc-compare__seal-sub {
    font-size: var(--rc-text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rc-ink-inverse-muted);
}
.rc-compare__guarantee-text h3 {
    margin: 0 0 var(--rc-space-2);
    font-family: var(--rc-font-display);
    font-weight: 400;
    font-size: var(--rc-text-lg);
    color: var(--rc-ink-inverse);
}
.rc-compare__guarantee-text p {
    margin: 0;
    color: var(--rc-ink-inverse-muted);
}
.rc-compare__guarantee-cta { flex-shrink: 0; }

@media (min-width: 640px) {
    .rc-compare__guarantee { flex-direction: row; text-align: left; }
}

/* ---------- cleaners ---------- */

.rc-cleaners { background: var(--rc-cream); }

/* Below three cleaners: one wide panel, never a 3-up grid with empty holes. */
.rc-cleaners__feature {
    margin: var(--rc-space-7) 0 0;
}
.rc-cleaners__feature .rc-cleaner {
    display: flex;
    align-items: center;
    gap: var(--rc-space-5);
    max-width: 640px;
    padding: var(--rc-space-6) var(--rc-space-5);
    text-align: left;
}

.rc-cleaners__grid {
    display: grid;
    gap: var(--rc-space-6);
    margin: var(--rc-space-7) 0 0;
}
.rc-cleaners__grid .rc-cleaner {
    text-align: center;
    align-items: center;
}

.rc-cleaner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--rc-space-6) var(--rc-space-5);
    background: var(--rc-surface);
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius-md);
}
.rc-cleaner img,
.rc-cleaner__initial {
    width: 72px;
    height: 72px;
    margin-bottom: var(--rc-space-4);
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.rc-cleaner__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rc-forest);
    color: var(--rc-oat);
    font-family: var(--rc-font-display);
    font-size: var(--rc-text-xl);
}
.rc-cleaner h3 {
    margin: 0 0 var(--rc-space-2);
    font-family: var(--rc-font-display);
    font-weight: 400;
    font-size: var(--rc-text-lg);
    color: var(--rc-ink);
}
.rc-cleaner p {
    margin: 0 0 var(--rc-space-3);
    color: var(--rc-ink-muted);
    font-size: var(--rc-text-sm);
}

@media (min-width: 640px) {
    .rc-cleaners__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .rc-cleaners__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- reviews ---------- */

.rc-reviews[hidden] { display: none; }

.rc-reviews__single { max-width: 640px; margin: var(--rc-space-7) 0 0; }

.rc-reviews__grid {
    display: grid;
    gap: var(--rc-space-6);
    margin: var(--rc-space-7) 0 0;
}

.rc-review {
    margin: 0;
    padding: var(--rc-space-6) var(--rc-space-5);
    background: var(--rc-cream);
    border-radius: var(--rc-radius-md);
}
.rc-review blockquote {
    margin: 0 0 var(--rc-space-3);
}
.rc-review p {
    margin: 0;
    font-family: var(--rc-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: var(--rc-text-base);
    line-height: 1.5;
    color: var(--rc-ink);
}
.rc-review figcaption {
    font-size: var(--rc-text-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rc-ink-muted);
}

@media (min-width: 640px) {
    .rc-reviews__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .rc-reviews__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- faq ---------- */

.rc-faq .rc-accordion {
    margin: var(--rc-space-7) 0 0;
    max-width: var(--rc-measure);
    border-top: 1px solid var(--rc-line);
}
.rc-faq .rc-accordion details {
    border-bottom: 1px solid var(--rc-line);
}
.rc-faq .rc-accordion p {
    margin: 0 0 var(--rc-space-4);
    color: var(--rc-ink-muted);
}

/* ---------- areas hub (#areas) ----------
   2026-09 local SEO rebuild. Internal-link hub to the nine town pages; the
   anchor text is the exact-match "House cleaners in {Town}". */

.rc-areas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--rc-space-4, 14px);
    margin: var(--rc-space-7, 32px) 0 0;
}
.rc-area {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e5e7e3;
    border-radius: var(--rc-radius-md, 16px);
    text-decoration: none;
    color: #111815;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.rc-area strong { font-weight: 600; font-size: 1rem; color: #0c251c; }
.rc-area span { font-size: 0.86rem; line-height: 1.5; color: #4b554f; }
.rc-area:hover { transform: translateY(-3px); border-color: #9cb1a0; box-shadow: 0 14px 30px -18px rgba(12, 37, 28, 0.35); }
.rc-areas__note { margin: var(--rc-space-6, 22px) 0 0; font-size: 0.9rem; color: #4b554f; }

.rc-price__more { display: block; margin-top: 10px; text-align: center; font-size: 0.84rem; color: #0c251c; text-decoration: underline; text-underline-offset: 3px; }
.rc-price__more:hover { color: #5d7565; }
