/* ==========================================================================
   FRONTEND SHARED COMPONENTS
   Shared declarations extracted from page modules.
   Keep page-specific visuals in their original module files.
   ========================================================================== */

.home-faq__eyebrow,
.home-testimonials-modern__eyebrow,
.testimonial-page__eyebrow,
.about-page__eyebrow {
    margin: 0 0 9px;
    color: #002EBE;
    font-family: "Raleway", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.home-faq__heading h2,
.home-testimonials-modern__heading h2 {
    margin: 0 0 12px;
    color: #262626;
    font-family: "Raleway", sans-serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}

.home-faq__intro,
.home-testimonials-modern__intro {
    max-width: 590px;
    margin: 0 auto;
    color: #666666;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.home-final-cta,
.home-why,
.gallery-section {
    position: relative;
    width: 100%;
    padding: 72px 0;
    background: #FFFFFF;
}

.home-why__eyebrow,
.home-order__eyebrow,
.home-services__eyebrow,
.package-page__eyebrow,
.gallery-section__eyebrow,
.service-page__eyebrow {
    margin: 0 0 9px;
    color: #002EBE;
    font-family: "Raleway", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.home-why__heading h2,
.home-order__heading h2,
.home-services__heading h2,
.gallery-section__heading h2 {
    margin: 0 0 13px;
    color: #262626;
    font-family: "Raleway", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}

.home-why__intro,
.home-order__intro {
    max-width: 610px;
    margin: 0 auto;
    color: #666666;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

.home-why-card__content p,
.home-order-step__content p {
    margin: 0;
    color: #666666;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
}

.home-order,
.home-services {
    position: relative;
    width: 100%;
    padding: 72px 0;
    background: #F0F0F0;
}

.home-services__grid,
.service-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-service-card__media,
.service-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #E7E7E7;
    overflow: hidden;
}

.home-service-card__media img,
.gallery-card__media img,
.service-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-services__all:hover,
.home-services__all:focus,
.gallery-section__button:hover,
.gallery-section__button:focus {
    background: #002EBE;
    border-color: #002EBE;
    color: #FFFFFF;
    text-decoration: none;
}

.service-detail__wa:hover,
.service-detail__wa:focus,
.package-card__button:hover,
.package-card__button:focus,
.service-empty__button:hover,
.service-empty__button:focus,
.about-content__wa:hover,
.about-content__wa:focus,
.about-final-cta__action a:hover,
.about-final-cta__action a:focus {
    background: #20BD5A;
    border-color: #20BD5A;
    color: #FFFFFF;
    text-decoration: none;
}

.service-detail-gallery__heading > p:last-child,
.package-empty p,
.about-location__heading p:last-child {
    margin: 0;
    color: #666666;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

.service-detail-gallery__footer a,
.service-card__link {
    display: inline-flex;
    align-items: center;
    color: #002EBE;
    font-family: "Raleway", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.package-page-intro,
.gallery-page-intro,
.service-page-intro,
.testimonial-page-intro,
.about-page-intro {
    width: 100%;
    padding: 42px 0 40px;
    background: #F0F0F0;
    border-bottom: 1px solid #E7E7E7;
}

.package-breadcrumb,
.gallery-breadcrumb,
.service-breadcrumb,
.testimonial-breadcrumb,
.about-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    color: #888888;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
}

.package-page-intro__content h1,
.gallery-page-intro__content h1,
.service-page-intro__content h1,
.testimonial-page-intro__content h1,
.about-page-intro__content h1 {
    margin: 0 0 12px;
    color: #262626;
    font-family: "Raleway", sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.package-page-intro__content > p:last-child,
.gallery-page-intro__content > p:last-child,
.service-page-intro__content > p:last-child,
.testimonial-page-intro__content > p:last-child,
.about-page-intro__content > p:last-child {
    max-width: 620px;
    margin: 0;
    color: #666666;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.package-card:hover,
.gallery-card:hover,
.service-card:hover {
    transform: translateY(-3px);
    border-color: #DDDDDD;
    box-shadow: 0 10px 28px
        rgba(0, 0, 0, .07);
}

.package-empty,
.service-empty {
    max-width: 520px;
    margin: 20px auto;
    padding: 45px 30px;
    text-align: center;
    background: #F0F0F0;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
}

.package-empty__icon,
.testimonial-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    background: #FFFFFF;
    border-radius: 50%;
    color: #002EBE;
    font-size: 20px;
}

.package-empty h2,
.gallery-empty h2,
.service-empty h2 {
    margin: 0 0 10px;
    color: #262626;
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: none;
}

.gallery-empty p,
.service-empty p {
    margin: 0 0 20px;
    color: #666666;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    line-height: 1.7;
}



/* ==========================================================================
   ACCESSIBILITY FOUNDATION
   ========================================================================== */

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 99999;
    padding: 10px 14px;
    background: #002EBE;
    color: #FFFFFF !important;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
    transform: translateY(-160%);
    transition: transform .15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 2px;
    transform: translateY(0);
}

#main-content:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(0, 46, 190, .32);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ==========================================================================
   STAGE 7 - ACCESSIBILITY / 404
   ========================================================================== */

.frontend-not-found { padding: 64px 0; }
.frontend-not-found__card {
    max-width: 640px; margin: 0 auto; padding: 42px 28px; text-align: center;
    background: #FFFFFF; border: 1px solid #E1E1E1; border-radius: 8px;
}
.frontend-not-found__code { margin: 0 0 8px; color: #002EBE; font-size: 34px; font-weight: 700; }
.frontend-not-found__card h1 { margin: 0 0 10px; color: #262626; font-size: 26px; }
.frontend-not-found__card p { margin: 0 auto 20px; max-width: 460px; color: #666666; line-height: 1.65; }

.pagination a,
.gallery-filter a,
.navbar-nav > li > a,
.site-footer__social-links a { min-height: 44px; }

@media (max-width: 767px) {
    .frontend-not-found { padding: 38px 0; }
    .frontend-not-found__card { padding: 30px 18px; }
}
