/* =========================================================
   ACTION DSTV
   Responsive Styles
========================================================= */


/* ---------------------------------------------------------
   TABLET / SMALL DESKTOP
--------------------------------------------------------- */

@media (max-width: 1100px) {

    .header-call {
        display: none;
    }

    .primary-menu {
        gap: 20px;
    }

    .hero-inner {
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 900px) {

    .header-top {
        display: none;
    }

    .header-inner {
        min-height: 72px;

        justify-content: space-between;
    }

    .menu-toggle {
        display: block;

        order: 3;
    }

    .primary-navigation {
        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        display: none;

        margin: 0;

        padding: 12px 20px 20px;

        background: var(--white);

        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);

        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-menu {
        display: block;
    }

    .primary-menu li {
        border-bottom: 1px solid var(--border);
    }

    .primary-menu li:last-child {
        border-bottom: 0;
    }

    .primary-menu a {
        padding: 14px 5px;
    }

    .primary-menu a::after {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-quote {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-content {
        max-width: 780px;
    }

    .hero-card {
        max-width: 600px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .installer-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 640px) {

    .container {
        width: min(100% - 30px, var(--container));
    }

    .site-name {
        gap: 4px;
    }

    .brand-action {
        font-size: 20px;
    }

    .brand-dstv {
        font-size: 23px;
    }

    .hero {
        padding: 58px 0;
    }

    .hero h1 {
        font-size: 42px;

        letter-spacing: -1.5px;
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        display: grid;

        gap: 10px;
    }

    .hero-card {
        padding: 26px 22px;
    }

    .hero-card h2 {
        font-size: 25px;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-item {
        padding: 20px 10px;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

    .area-links {
        grid-template-columns: 1fr;
    }

    .areas-card {
        padding: 27px 22px;
    }

    .final-cta-inner {
        padding: 30px 24px;
    }

    .final-cta-buttons {
        width: 100%;

        flex-direction: column;
    }

    .final-cta-buttons .btn {
        width: 100%;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 36px;
    }

    .hero-card {
        padding: 24px 18px;
    }

    .quick-contact-item {
        padding: 12px 10px;
    }

}
/* =========================================================
   INNER PAGES
========================================================= */

@media (max-width: 900px) {

    .page-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .page-sidebar {
        position: static;
    }

    .global-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 640px) {

    body {
        padding-bottom: 64px;
    }

    .page-hero {
        padding: 55px 0;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .page-hero-actions {
        flex-direction: column;
    }

    .page-hero-actions .btn {
        width: 100%;
    }

    .page-content-section {
        padding: 60px 0 70px;
    }

    .page-content h2 {
        font-size: 28px;
    }

    .global-cta {
        padding: 55px 0;
    }

    .global-cta-actions {
        width: 100%;

        flex-direction: column;
    }

    .global-cta-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }


    /* MOBILE CALL / WHATSAPP BAR */

    .mobile-contact-bar {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        z-index: 9999;

        display: grid;
        grid-template-columns: 1fr 1fr;

        min-height: 64px;

        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.15);
    }

    .mobile-contact-bar a {
        display: flex;
        align-items: center;
        justify-content: center;

        gap: 8px;

        color: var(--white);

        font-size: 15px;
        font-weight: 800;
    }

    .mobile-call {
        background: var(--primary);
    }

    .mobile-whatsapp {
        background: #128c4a;
    }

    .mobile-contact-icon {
        font-size: 19px;
    }

}
/* =========================================================
   LOCATION PAGE RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .location-hero-inner {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .location-contact-card {
        max-width: 600px;
    }

    .location-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-contact-strip-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 640px) {

    .location-hero {
        padding: 58px 0;
    }

    .location-hero h1 {
        font-size: 39px;
    }

    .location-hero-description {
        font-size: 17px;
    }

    .location-hero-buttons {
        flex-direction: column;
    }

    .location-hero-buttons .btn {
        width: 100%;
    }

    .location-trust {
        display: grid;

        gap: 8px;
    }

    .location-contact-card {
        padding: 25px 21px;
    }

    .location-content-section {
        padding: 65px 0;
    }

    .location-content h2 {
        font-size: 29px;
    }

    .location-services {
        padding: 70px 0;
    }

    .location-services-grid {
        grid-template-columns: 1fr;
    }

    .location-service-card p {
        min-height: 0;
    }

    .location-contact-strip {
        padding: 55px 0;
    }

    .location-strip-actions {
        width: 100%;

        flex-direction: column;
    }

    .location-strip-actions .btn {
        width: 100%;
    }

}
/* =========================================================
   RELATED LOCATIONS RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .related-location-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 640px) {

    .related-locations {
        padding: 65px 0;
    }

    .related-location-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   SERVICE AREAS HUB RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .service-area-group {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}


@media (max-width: 900px) {

    .areas-hero-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .areas-hero-stats {
        max-width: 650px;
    }

    .service-area-links {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 640px) {

    .areas-hero {
        padding: 58px 0;
    }

    .areas-hero h1 {
        font-size: 39px;
    }

    .areas-hero-content > p {
        font-size: 17px;
    }

    .areas-hero-buttons {
        flex-direction: column;
    }

    .areas-hero-buttons .btn {
        width: 100%;
    }

    .areas-hero-stats {
        grid-template-columns: 1fr;
    }

    .areas-introduction {
        padding: 55px 0 10px;
    }

    .service-area-directory {
        padding: 65px 0;
    }

    .service-area-group {
        padding: 24px 20px;
    }

    .service-area-links {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   DYNAMIC LOCATION COMPONENTS
========================================================= */

@media (max-width: 900px) {

    .dynamic-location-intro-grid,
    .location-coverage-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .location-summary-card {
        max-width: 600px;
    }

}


@media (max-width: 640px) {

    .dynamic-location-intro {
        padding: 65px 0;
    }

    .dynamic-location-actions {
        flex-direction: column;
    }

    .dynamic-location-actions .btn {
        width: 100%;
    }

    .location-summary-card {
        padding: 24px 20px;
    }

    .location-coverage {
        padding: 65px 0;
    }

    .location-coverage-card {
        padding: 25px 20px;
    }

    .coverage-area-grid {
        grid-template-columns: 1fr;
    }

    .location-faq {
        padding: 70px 0;
    }

    .faq-item summary {
        padding: 18px 50px 18px 18px;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }

}
/* =========================================================
   LOCATION HIERARCHY RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .location-hierarchy-layout {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 640px) {

    .location-hierarchy {
        padding: 70px 0;
    }

    .hierarchy-main,
    .hierarchy-nearby {
        padding: 24px 20px;
    }

    .hierarchy-suburb-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   SERVICE PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .service-page-hero-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .service-page-hero .location-contact-card {
        max-width: 100%;
    }
}


@media (max-width: 767px) {

    .service-page-hero {
        padding: 50px 0;
    }

    .service-page-hero-buttons {
        flex-direction: column;
    }

    .service-page-hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .service-page-hero .location-trust {
        flex-direction: column;
        gap: 10px;
    }

    .service-page-content-section {
        padding-top: 50px;
    }
}
/* =========================================================
   SERVICE LOCATIONS RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .service-location-groups {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767px) {

    .service-locations {
        padding: 65px 0;
    }

    .service-locations .section-heading {
        margin-bottom: 35px;
    }

    .service-location-group {
        padding: 24px 20px;
    }

    .service-location-links {
        grid-template-columns: 1fr;
    }

    .service-locations-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 24px 20px;
    }

    .service-locations-footer .btn {
        width: 100%;
        text-align: center;
    }
}
/* =========================================================
   SERVICES HUB RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .services-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-areas-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {

    .services-hero {
        padding: 45px 0;
    }

    .services-hero-buttons {
        flex-direction: column;
    }

    .services-hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .services-directory {
        padding: 55px 0;
    }

    .services-directory-grid {
        grid-template-columns: 1fr;
    }

    .services-directory-card {
        padding: 26px;
    }

    .services-areas-cta {
        padding: 50px 0;
    }

    .services-areas-cta-inner {
        padding: 28px;
    }
}