/* Rental page */

.rental-page {
    --rental-red: #B90F16;
    --rental-red-dark: #8a0c12;
    --rental-black: #050505;
    --rental-cream: #f6f2ea;
    --rental-panel: #ece7df;
    --rental-border: rgba(0, 0, 0, 0.12);
    --rental-muted: rgba(0, 0, 0, 0.58);
    font-family: var(--te-font-body);
    color: #111;
}

body:has(.rental-page) .tank-footer {
    margin-top: 0 !important;
}

.rental-shell {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Hero */
.rental-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(360px, 58vh, 560px);
    background: var(--rental-black) url('/Assets/Images/rentalback.jpeg') center center / cover no-repeat;
    border-top: 3px solid var(--rental-red);
    border-bottom: 3px solid var(--rental-red);
    overflow: hidden;
    padding: 40px 16px;
}

.rental-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.72) 100%);
    pointer-events: none;
}

.rental-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;
}

.rental-hero-title {
    margin: 0 auto 12px;
    max-width: 860px;
    font-size: clamp(1.85rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.rental-hero-lead {
    margin: 0 auto 12px;
    max-width: 720px;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
}

.rental-hero-copy,
.rental-hero-note {
    margin: 0 auto 10px;
    max-width: 760px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.rental-hero-note {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.62);
}

.rental-hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: stretch;
    justify-content: center;
}

.rental-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 1 auto;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px solid transparent;
    border-radius: 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rental-btn-primary {
    background: var(--rental-red);
    border-color: var(--rental-red);
    color: #fff;
}

.rental-btn-primary:hover,
.rental-btn-primary:focus {
    background: var(--rental-red-dark);
    border-color: var(--rental-red-dark);
    color: #fff;
    text-decoration: none;
}

.rental-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.rental-btn-outline:hover,
.rental-btn-outline:focus {
    background: #fff;
    border-color: #fff;
    color: #111;
    text-decoration: none;
}

/* Shared sections */
.rental-section {
    padding: 40px 0;
}

.rental-audience,
.rental-pricing,
.rental-faq,
.rental-quote {
    background: var(--rental-cream);
}

.rental-how,
.rental-policies {
    background: #fff;
}

.rental-cta {
    background: var(--rental-black);
    border-top: 3px solid var(--rental-red);
}

.rental-section-title {
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    color: #111;
    line-height: 1.1;
}

.rental-audience .rental-section-title,
.rental-how .rental-section-title {
    text-align: center;
}

.rental-section-lead,
.rental-copy {
    margin: 0 0 12px;
    max-width: 720px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--rental-muted);
}

/* Audience cards — all 5 in one row on desktop */
.rental-audience-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.rental-audience-card {
    background: #fff;
    border: 1px solid var(--rental-border);
    padding: 16px 12px;
    min-height: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
}

.rental-audience-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    background: rgba(185, 15, 22, 0.08);
    color: var(--rental-red);
    font-size: 15px;
}

.rental-audience-card h3 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    color: #111;
    line-height: 1.25;
    text-align: center;
}

.rental-audience-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--rental-muted);
    text-align: center;
}

/* How it works steps */
.rental-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--rental-border);
    overflow: hidden;
    background: var(--rental-cream);
}

.rental-step-card {
    padding: 20px 14px 18px;
    border-right: 1px solid var(--rental-border);
    min-height: 0;
    min-width: 0;
}

.rental-step-card:last-child {
    border-right: none;
}

.rental-step-num {
    margin-bottom: 10px;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    color: rgba(185, 15, 22, 0.22);
}

.rental-step-card h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
    color: #111;
}

.rental-step-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--rental-muted);
}

/* Pricing */
.rental-pricing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: 16px;
    align-items: start;
}

.rental-pricing-panel {
    background: var(--rental-black);
    border-top: 3px solid var(--rental-red);
    padding: 20px 18px;
    color: #fff;
}

.rental-pricing-panel h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.rental-pricing-panel p {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.rental-list {
    margin: 0 0 14px;
    padding: 0 0 0 18px;
}

.rental-list li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #222;
}

.rental-list--policies {
    columns: 1;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Centered content sections */
.rental-policies .rental-shell,
.rental-faq .rental-shell,
.rental-quote .rental-shell {
    max-width: 920px;
    text-align: center;
}

.rental-policies .rental-section-title,
.rental-faq .rental-section-title,
.rental-quote .rental-section-title {
    text-align: center;
}

.rental-quote .rental-section-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rental-faq-list,
.rental-form-panel {
    text-align: left;
}

.rental-form-actions {
    text-align: center;
}

/* FAQ */
.rental-faq-list {
    border: 1px solid var(--rental-border);
    background: #fff;
}

.rental-faq-item {
    border-bottom: 1px solid var(--rental-border);
}

.rental-faq-item:last-child {
    border-bottom: none;
}

.rental-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 48px 14px 16px;
    position: relative;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.rental-faq-item summary::-webkit-details-marker {
    display: none;
}

.rental-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 400;
    color: var(--rental-red);
}

.rental-faq-item[open] summary::after {
    content: '–';
}

.rental-faq-item p {
    margin: 0;
    padding: 0 16px 16px;
    max-width: 820px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--rental-muted);
}

/* Form */
.rental-form-panel {
    background: #fff;
    border: 1px solid var(--rental-border);
    padding: 20px 16px 24px;
}

.rental-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 14px;
}

.rental-field--full {
    grid-column: 1 / -1;
}

.rental-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #555;
}

.rental-field label span {
    color: var(--rental-red);
}

.rental-input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--rental-border);
    border-radius: 0;
    background: var(--rental-cream);
    color: #111;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.rental-input:focus {
    outline: none;
    border-color: var(--rental-red);
    background: #fff;
}

textarea.rental-input {
    resize: vertical;
    min-height: 110px;
}

.rental-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.rental-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #222;
    cursor: pointer;
}

.rental-check input {
    width: 15px;
    height: 15px;
    accent-color: var(--rental-red);
}

.rental-validation {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--rental-red);
}

.rental-form-disclaimer {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--rental-muted);
}

.rental-form-actions {
    margin-top: 16px;
}

.rental-form-actions .rental-btn {
    width: auto;
}

/* CTA */
.rental-cta-inner {
    text-align: center;
    padding: 12px 0;
}

.rental-cta-inner .rental-section-title {
    margin-bottom: 10px;
    color: #fff;
}

.rental-cta-inner p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
}

.rental-cta-inner a {
    color: var(--rental-red);
    font-weight: 700;
    text-decoration: none;
}

.rental-cta-inner a:hover {
    color: #ff4d55;
    text-decoration: underline;
}

/* Tablet — keep all 5 cards in one row with tighter packing */
@media (max-width: 1200px) {
    .rental-audience-grid {
        gap: 8px;
    }

    .rental-audience-card {
        padding: 12px 10px;
    }

    .rental-audience-card h3 {
        font-size: 12px;
    }

    .rental-audience-card p {
        font-size: 11px;
        line-height: 1.4;
    }

    .rental-audience-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 8px;
        font-size: 13px;
    }

    .rental-step-card {
        padding: 16px 12px;
    }

    .rental-step-num {
        font-size: 28px;
    }
}

/* Narrow tablet —  wrap audience cards only when needed */
@media (max-width: 900px) {
    .rental-audience-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .rental-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rental-step-card:nth-child(2n) {
        border-right: none;
    }

    .rental-step-card:nth-child(1),
    .rental-step-card:nth-child(2) {
        border-bottom: 1px solid var(--rental-border);
    }

    .rental-pricing-grid {
        grid-template-columns: 1fr;
    }

    .rental-hero-actions {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .rental-hero-actions .rental-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 12px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .rental-shell,
    .rental-hero-inner {
        padding: 0 12px;
    }

    .rental-hero {
        min-height: 0;
        padding: 28px 0 32px;
    }

    .rental-section {
        padding: 28px 0;
    }

    .rental-section-title {
        margin-bottom: 14px;
    }

    .rental-hero-title {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }

    .rental-hero-lead {
        font-size: 0.98rem;
        margin-bottom: 10px;
    }

    .rental-hero-copy,
    .rental-hero-note {
        font-size: 13px;
        line-height: 1.5;
    }

    .rental-hero-note {
        margin-bottom: 16px;
    }

    /* Keep CTAs on one row on mobile */
    .rental-hero-actions {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .rental-hero-actions .rental-btn {
        flex: 1 1 0;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
        min-height: 42px;
        padding: 8px 8px;
        font-size: 10px;
        letter-spacing: 0.4px;
    }

    /* 2 cards per row on mobile instead of stacking all */
    .rental-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .rental-audience-card {
        padding: 12px 10px;
    }

    .rental-audience-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 8px;
        font-size: 13px;
    }

    .rental-audience-card h3 {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .rental-audience-card p {
        font-size: 11px;
        line-height: 1.4;
    }

    .rental-form-grid {
        grid-template-columns: 1fr;
    }

    .rental-steps-grid {
        grid-template-columns: 1fr;
    }

    .rental-step-card {
        border-right: none !important;
        border-bottom: 1px solid var(--rental-border);
        padding: 14px 12px;
    }

    .rental-step-card:last-child {
        border-bottom: none;
    }

    .rental-form-panel {
        padding: 16px 12px 20px;
    }

    .rental-form-actions .rental-btn {
        width: 100%;
    }

    .rental-pricing-panel .rental-btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .rental-hero-actions {
        flex-wrap: wrap;
    }

    .rental-hero-actions .rental-btn {
        flex: 1 1 100%;
        white-space: nowrap;
        font-size: 11px;
    }

    .rental-audience-grid {
        grid-template-columns: 1fr;
    }
}
