/* Bay Area portable toilet hub page (/toilet-rental)
   Pricing table + use-case descriptions. Everything else reuses shared
   component sections (hero, simple-solutions, perfect-situations, benefits,
   reviews, faq, service-area, ready-to-book). Mirrors the styling used on the
   San Jose city page (toilet-san-jose.css) so the two pages feel consistent. */

/* Hero CTAs -----------------------------------------------------------
   Mirror the San Jose page's mobile hero so the two CTAs stack full-width
   and centered instead of the cramped side-by-side row the base
   toilet-hero rules produce (the Call button stretches via flex:1 while
   Book Online stays narrow). Hero height goes auto so the taller stacked
   CTAs and the longer "From $125 / all-in" copy don't clip. Scoped to
   .toilet-rental-hub-page and loaded after the bundle, so only this page
   is affected. */
@media screen and (max-width: 959px) {
    .toilet-rental-hub-page .toilet-hero-section {
        height: auto;
        min-height: 480px;
        max-height: none;
        padding: 64px 0;
    }
}

@media screen and (max-width: 599px) {
    .toilet-rental-hub-page .toilet-hero-section {
        min-height: 420px;
        padding: 48px 0;
    }

    .toilet-rental-hub-page .toilet-hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .toilet-rental-hub-page .toilet-hero-title {
        font-size: 30px;
        line-height: 1.2;
    }

    .toilet-rental-hub-page .toilet-hero-description {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: var(--spacing-lg);
    }

    /* Stack the two CTAs so neither gets squeezed on narrow screens. */
    .toilet-rental-hub-page .toilet-hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .toilet-rental-hub-page .toilet-hero-cta .btn-primary,
    .toilet-rental-hub-page .toilet-hero-cta .btn-secondary {
        width: 100%;
        max-width: 320px;
        flex: none;
    }
}

/* How it works -------------------------------------------------------
   Match the San Jose page: the shared how-it-works.css uses 160px vertical
   padding (100px tablet / 80px mobile), leaving large empty bands on this
   page, and stacks the 4 steps into one tall column on phones. Tighten the
   rhythm and lay the steps out 2x2 on phones instead. Scoped to
   .toilet-rental-hub-page so the global component is untouched elsewhere. */
.toilet-rental-hub-page .how-it-works-section {
    padding: 80px 0;
}

@media screen and (max-width: 959px) {
    .toilet-rental-hub-page .how-it-works-section {
        padding: 60px 0;
    }
}

@media screen and (max-width: 599px) {
    .toilet-rental-hub-page .how-it-works-section {
        padding: 48px 0;
    }

    .toilet-rental-hub-page .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg, 24px) var(--spacing-md, 16px);
    }

    .toilet-rental-hub-page .process-step {
        max-width: none;
        margin: 0;
    }
}

/* Section rhythm -----------------------------------------------------
   The .toilet-page service-area and reviews sections carry 160px vertical
   padding (100px tablet / 80px mobile) baked into the bundle, which leaves
   large empty bands between sections — notably below the service-area city
   list. Bring them into the page's ~80/60/40 rhythm, matching the San Jose
   page. Scoped to .toilet-rental-hub-page and loaded after the bundle, so
   equal-specificity rules win here only; other .toilet-page pages untouched. */
.toilet-rental-hub-page .service-area-section,
.toilet-rental-hub-page .reviews-section {
    padding: 80px 0;
}

@media screen and (max-width: 959px) {
    .toilet-rental-hub-page .service-area-section,
    .toilet-rental-hub-page .reviews-section {
        padding: 60px 0;
    }
}

@media screen and (max-width: 599px) {
    .toilet-rental-hub-page .service-area-section,
    .toilet-rental-hub-page .reviews-section {
        padding: 40px 0;
    }
}

/* Pricing section ---------------------------------------------------- */
.toilet-hub-pricing-section {
    padding: var(--spacing-xxl, 48px) 0;
    background-color: var(--bg-gray, #FAFAFA);
}

.toilet-hub-pricing-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--spacing-xl, 32px);
}

.toilet-hub-pricing-header .h2 {
    margin-bottom: var(--spacing-md, 16px);
}

/* Table -------------------------------------------------------------- */
.toilet-hub-pricing-table-wrap {
    max-width: 860px;
    margin: 0 auto;
    overflow-x: auto;
}

.toilet-hub-pricing-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white, #FFFFFF);
    border: 1px solid var(--border-light, #E5E5E5);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
}

.toilet-hub-pricing-table th,
.toilet-hub-pricing-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-lighter, #EEEEEE);
    font-size: 16px;
    color: var(--text-dark, #212121);
}

.toilet-hub-pricing-table thead th {
    background-color: var(--primary-blue-faq, #20469B);
    color: var(--text-light, #F5F5F5);
    font-weight: 700;
    border-bottom: none;
}

.toilet-hub-pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.toilet-hub-pricing-table tbody tr:nth-child(even) {
    background-color: var(--bg-gray, #FAFAFA);
}

.toilet-hub-pricing-table td:last-child strong {
    color: var(--primary-green, #00A859);
    font-size: 18px;
}

/* Notes -------------------------------------------------------------- */
.toilet-hub-pricing-note {
    max-width: 860px;
    margin: var(--spacing-lg, 24px) auto 0;
}

.toilet-hub-pricing-note p {
    margin-bottom: var(--spacing-sm, 8px);
    color: var(--text-gray, #6c757d);
}

.toilet-hub-pricing-section .benefits-cta {
    text-align: center;
    margin-top: var(--spacing-xl, 32px);
}

/* Use-case descriptions ---------------------------------------------- */
/* Adds crawlable copy under each "Perfect for Every Situation" card. The
   shared perfect-situations.css styles the image + title only; this rule is
   loaded after the bundle and scoped via the new class, so other pages that
   use situation cards without a description are untouched. */
.situation-description {
    margin-top: var(--spacing-sm, 8px);
    color: var(--text-gray, #6c757d);
    text-align: center;
    max-width: 380px;
}

/* Responsive --------------------------------------------------------- */
@media screen and (max-width: 599px) {
    /* Stack the pricing table into labelled rows on phones. */
    .toilet-hub-pricing-table thead {
        display: none;
    }

    .toilet-hub-pricing-table,
    .toilet-hub-pricing-table tbody,
    .toilet-hub-pricing-table tr,
    .toilet-hub-pricing-table td {
        display: block;
        width: 100%;
    }

    .toilet-hub-pricing-table tr {
        border-bottom: 1px solid var(--border-light, #E5E5E5);
        padding: 8px 0;
    }

    .toilet-hub-pricing-table tbody tr:nth-child(even) {
        background-color: transparent;
    }

    .toilet-hub-pricing-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: none;
        padding: 6px 16px;
    }

    .toilet-hub-pricing-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--text-dark, #212121);
        margin-right: 16px;
    }
}
