/* =========================================================
   SPOTLESS HERO CONSISTENCY
   Matches all image heroes to the approved homepage height.
   Desktop: 520px | Tablet: 485px | Mobile: 432px
========================================================= */

.page-hero,
.gallery-hero,
.contact-hero,
.legal-hero,
.service-hero {
    box-sizing: border-box !important;
    height: 520px !important;
    min-height: 520px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

.page-hero > .container,
.gallery-hero > .container,
.contact-hero > .container,
.legal-hero > .container,
.service-hero > .container {
    width: 100%;
}

.service-hero-content {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
}

@media (max-width: 991px) {
    .page-hero,
    .gallery-hero,
    .contact-hero,
    .legal-hero,
    .service-hero {
        height: 485px !important;
        min-height: 485px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: center !important;
    }

    .service-hero-content {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }
}

@media (max-width: 575px) {
    .page-hero,
    .gallery-hero,
    .contact-hero,
    .legal-hero,
    .service-hero {
        height: 432px !important;
        min-height: 432px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: center !important;
    }

    .service-hero-content {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .page-hero h1,
    .gallery-hero h1,
    .contact-hero h1,
    .legal-hero h1,
    .service-hero h1 {
        margin-bottom: 14px !important;
    }

    .page-hero p,
    .gallery-hero p,
    .contact-hero p,
    .legal-hero p,
    .service-hero-content > p {
        margin-bottom: 18px !important;
        line-height: 1.5 !important;
    }

    .service-hero-actions,
    .contact-hero-actions,
    .gallery-mobile-hero-actions,
    .about-mobile-hero-actions {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
        gap: 10px !important;
    }

    .hero-badges,
    .contact-hero-badges,
    .gallery-hero-badges,
    .about-mobile-hero-badges {
        margin-top: 14px !important;
        gap: 8px 12px !important;
    }

    .contact-breadcrumb,
    .legal-breadcrumb,
    .service-breadcrumb {
        margin-top: 14px !important;
    }
}

/* =========================================================
   HERO TITLE / SUBTEXT STANDARDIZATION (2026-07-30)
   Applies to every interior page (about, gallery, contact,
   services overview, service detail pages, city pages) so
   the hero <h1> and subtext render at the same size site-wide.
   Homepage (index.html) is untouched — it doesn't link this
   file and uses its own .hero-13/.hero-style13 markup.
   Desktop: clamp(42-72px) h1 / 18px subtext
   ≤991px:  42px h1 / 16px subtext
========================================================= */

.page-hero h1,
.gallery-hero h1,
.contact-hero h1,
.legal-hero h1,
.service-hero h1 {
    font-size: clamp(42px, 6vw, 72px) !important;
    line-height: 1.05 !important;
}

.page-hero p,
.gallery-hero p,
.contact-hero p,
.legal-hero p,
.service-hero-content > p {
    font-size: 18px !important;
    line-height: 1.75 !important;
}

@media (max-width: 991px) {
    .page-hero h1,
    .gallery-hero h1,
    .contact-hero h1,
    .legal-hero h1,
    .service-hero h1,
    .about-mobile-hero-title,
    .desktop-hero-message,
    .mobile-hero-message {
        font-size: 42px !important;
        line-height: 1.04 !important;
    }

    .page-hero p,
    .gallery-hero p,
    .contact-hero p,
    .legal-hero p,
    .service-hero-content > p,
    .gallery-mobile-hero-copy,
    .gallery-desktop-hero-copy,
    .about-mobile-hero-copy,
    .desktop-hero-message,
    .mobile-hero-message {
        font-size: 16px !important;
        line-height: 1.55 !important;
    }
}

/* Gallery's hero previously had a higher-specificity fix (in
   gallery.css) that made its title/subtext larger than every
   other page. Doubled selectors here guarantee this wins over
   that rule and brings gallery back in line with the standard. */
body[data-current-page="gallery.html"][data-current-page="gallery.html"] .gallery-hero.gallery-hero h1 {
    font-size: 42px !important;
    line-height: 1.04 !important;
}

body[data-current-page="gallery.html"][data-current-page="gallery.html"] .gallery-mobile-hero-copy.gallery-mobile-hero-copy {
    font-size: 16px !important;
    line-height: 1.55 !important;
}
