/* WordPress integration. Original design lives unchanged in styles.css. */
body { --aup-adminbar-height: 0px; }
body.admin-bar { --aup-adminbar-height: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar #wpadminbar { position: fixed; }
.admin-bar .nav { top: calc(var(--nav-gap) + var(--aup-adminbar-height)); }
.admin-bar .mobile-nav { top: var(--aup-adminbar-height); overflow-y: auto; }
.admin-bar .process-card { top: calc(var(--nav-gap) + var(--nav-h) + var(--aup-adminbar-height) + 16px); }
.admin-bar .post-rail,
.admin-bar .loc-info-media.media-frame,
.admin-bar .loc-faq-intro { top: calc(var(--nav-gap) + var(--nav-h) + var(--aup-adminbar-height) + 24px); }
.admin-bar [id] { scroll-margin-top: calc(var(--nav-gap) + var(--nav-h) + var(--aup-adminbar-height) + 24px); }
.form-pending { font-size: .86rem; line-height: 1.5; margin-bottom: 18px; }
.form-status { margin-top: 18px; padding: 14px; border: 1px solid currentColor; }
html:not(.aup-js) [data-reveal], html:not(.aup-js) [data-split] { opacity: 1 !important; visibility: visible !important; transform: none !important; }
@media (max-width: 782px) { body.admin-bar { --aup-adminbar-height: var(--wp-admin--admin-bar--height, 46px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* About page: white body copy on the green Fair work section. */
.page-id-7 .section-leaf .prose,
.page-id-7 .section-leaf .prose > p {
    color: #fff;
}

/* SEO H1 swap (23 Nov 2026, Yakk SEO): the keyword line is the H1 and the display line keeps its original look.
   Homepage: templates/index.php (h1.eyebrow + p.hero-title). NDIS: templates/services_ndis_cleaning.php (p.eyebrow + h1.hero-headline). */
.hero .hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.07em;
    font-size: clamp(2.2rem, 5.6vw, 5.4rem);
    line-height: 0.95;
    margin: 18px 0 10px;
}

.hero .hero-title .swap {
    display: flex;
    align-items: flex-end;
    color: var(--flash);
    height: 1.18em;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.hero .hero-title .swap span {
    display: block;
    line-height: 1.05;
    padding-bottom: 0.06em;
}

.hero h1.eyebrow {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: inherit;
    margin: 0 0 12px;
}

.page-id-42 .page-hero p.eyebrow {
    line-height: 1.35;
}

@media (max-width: 980px) {
    .hero .hero-title {
        font-size: clamp(2rem, 9vw, 2.85rem);
    }
}

/* Work with us: choice groups (vehicle, days, service times) */
.form .form-choice {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.form .form-choice legend {
    font-family: var(--font-ui);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0;
}

.form .form-choice .quote-checks {
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
}

.form .form-choice input[type="radio"],
.form .form-choice input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1.5px solid rgba(0, 174, 239, 0.45);
    background: #fff;
    display: grid;
    place-content: center;
    cursor: pointer;
}

.form .form-choice input[type="radio"] {
    border-radius: 50%;
}

.form .form-choice input:checked {
    background: var(--flash);
    border-color: var(--flash);
    box-shadow: inset 0 0 0 4px #fff;
}

.form .form-choice input:focus {
    outline: none;
}

/* Policy pages: static lists use standard bullets, not "+" (reads as an accordion) */
.legal-doc.prose ul {
    list-style: disc;
    padding-left: 1.4em;
}

.legal-doc.prose li {
    padding-left: 4px;
}

.legal-doc.prose li::before {
    content: none;
}

.legal-doc.prose li::marker {
    color: var(--coral);
}

/* Feedback & complaints: official PDF form downloads */
.legal-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

/* Report a concern: official Zoho compliance form */
.legal-embed {
    margin-top: 48px;
}

.legal-embed iframe {
    display: block;
    width: 100%;
    height: 2050px;
    border: 0;
    border-radius: 20px;
    background: #fff;
}

@media (max-width: 700px) {
    .legal-embed iframe {
        height: 2600px;
    }
}

/* Mobile nav: opt-in sub-links (Contact us → Feedback & Complaints, Report a Concern) */
.mobile-nav-sub {
    display: flex;
    flex-direction: column;
    padding-left: 16px;
}

.mobile-nav-links .mobile-nav-sub a {
    font-family: var(--font-ui);
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 7px 0;
}

/* Short dropdowns (Contact us): one link per line in a narrower panel */
.nav-dropdown.nav-dropdown--list {
    width: max-content;
    min-width: 260px;
    max-width: calc(100vw - 32px);
    grid-template-columns: 1fr;
}

.nav-dropdown.nav-dropdown--list a {
    white-space: nowrap;
}

/* Cloudflare Turnstile widget, placed after each form's submit button */
.form .aup-turnstile { min-height: 65px; width: 100%; max-width: 100%; }
.quote-form .aup-turnstile { margin-top: 20px; }
.quote-form.is-sent .aup-turnstile { display: none; }
