@media (max-width: 1199.98px) {
    [data-aos^="fade"][data-aos^="fade"] {
        opacity: 1 !important;
        transform: none !important;
    }

    .row {
        margin-right: 0;
        margin-left: 0;
    }

    .topbar__location {
        display: none;
    }

    .main-nav {
        min-height: 76px;
    }

    .hero-slide__content {
        padding-top: 210px;
    }

    .hero-slide__content h1 {
        font-size: 58px;
    }

    .division-grid,
    .equipment-grid,
    .materials-grid,
    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .division-grid .division-card:first-child,
    .division-grid .division-card:nth-child(4),
    .division-grid--compact .division-card:first-child,
    .division-grid--compact .division-card:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .division-grid {
        grid-auto-rows: 360px;
    }

    .capability-row,
    .capability-row--reverse {
        grid-template-columns: 1fr;
    }

    .capability-row--reverse .capability-row__image {
        order: 0;
    }

    .benefit-grid--four,
    .client-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vision-grid,
    .vision-grid--two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: 82px 0;
    }

    .topbar__inner {
        justify-content: center;
    }

    .topbar__socials {
        display: none;
    }

    .hero-slide__content {
        padding-top: 190px;
    }

    .hero-slide__content h1 {
        font-size: 46px;
    }

    .hero-slide__content p {
        font-size: 18px;
    }

    .hero-slide__geometry {
        display: none;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-item:nth-child(2n) {
        border-right: 0;
    }

    .image-stack {
        min-height: 560px;
    }

    .about-preview__content h2,
    .content-block h2,
    .section-heading h2,
    .content-band h2 {
        font-size: 36px;
    }

    .why-grid,
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-banner {
        min-height: 480px;
        padding-top: 160px;
    }

    .page-banner h1 {
        font-size: 46px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field--full {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 68px;
    }

    .container,
    .container-xl {
        width: min(100% - 32px, 1240px);
    }

    .topbar {
        display: none;
    }

    .main-nav {
        min-height: 72px;
    }

    .site-header.is-scrolled .main-nav {
        min-height: 68px;
    }

    .navbar-brand {
        max-width: 190px;
    }

    .hero-slider,
    .hero-slide,
    .hero-slide .container {
        min-height: 760px;
    }

    .hero-slide__overlay {
        background: linear-gradient(180deg, rgba(7, 30, 46, 0.96), rgba(7, 30, 46, 0.82));
    }

    .hero-slide__content {
        padding-top: 150px;
    }

    .hero-slide__content h1 {
        font-size: 38px;
    }

    .hero-slide__content p {
        font-size: 16px;
    }

    .cta-actions,
    .hero-slide__content .btn,
    .enquiry-cta__content .btn,
    .not-found__content .btn {
        width: 100%;
    }

    .hero-controls {
        right: auto;
        left: 0;
        width: 100%;
        justify-content: center;
        min-height: 64px;
    }

    .hero-button {
        width: 58px;
        height: 64px;
    }

    .scroll-indicator {
        display: none;
    }

    .trust-item {
        min-height: 112px;
        padding: 22px 16px;
        gap: 12px;
    }

    .trust-item h2 {
        font-size: 15px;
    }

    .image-stack {
        min-height: auto;
        padding-bottom: 0;
    }

    .image-stack__main {
        min-height: 430px;
    }

    .image-stack__small,
    .image-stack__frame {
        display: none;
    }

    .feature-list,
    .safety-grid,
    .division-grid,
    .equipment-grid,
    .materials-grid,
    .why-grid,
    .benefit-grid,
    .benefit-grid--four,
    .manpower-panel-grid,
    .contact-card-grid,
    .client-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .division-grid {
        grid-auto-rows: auto;
    }

    .division-card {
        min-height: 390px;
    }

    .manpower-tabs {
        padding: 12px;
    }

    .manpower-tabs .nav-link {
        width: 100%;
        text-align: left;
    }

    .capability-row__content {
        padding: 28px;
    }

    .capability-row__content > span {
        font-size: 34px;
    }

    .capability-row__content h2,
    .capability-row__content h3 {
        font-size: 26px;
    }

    .capability-row__image,
    .capability-row__image img,
    .image-frame,
    .image-frame img {
        min-height: 330px;
    }

    .statement-panel {
        min-height: 300px;
        padding: 30px;
    }

    .statement-panel h2 {
        font-size: 23px;
    }

    .page-banner {
        min-height: 430px;
        padding: 132px 0 56px;
    }

    .page-banner h1,
    .enquiry-cta h2,
    .not-found h1 {
        font-size: 36px;
    }

    .page-banner p,
    .enquiry-cta p,
    .not-found p {
        font-size: 16px;
    }

    .quote-form,
    .legal-content {
        padding: 26px;
    }

    .form-heading h2 {
        font-size: 28px;
    }

    .map-placeholder {
        min-height: 300px;
    }

    .footer-bottom {
        display: grid;
    }

    .floating-actions {
        display: none;
    }

    .mobile-enquiry-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1045;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        background: var(--foxgate-navy);
        border-top: 1px solid var(--foxgate-border);
    }

    .mobile-enquiry-bar a,
    .mobile-enquiry-bar button {
        display: grid;
        min-height: 64px;
        place-items: center;
        gap: 2px;
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent;
        color: var(--foxgate-white);
        font-size: 12px;
        font-weight: 800;
    }

    .mobile-enquiry-bar i {
        color: var(--foxgate-gold);
        font-size: 19px;
    }
}

@media (max-width: 420px) {
    .container,
    .container-xl {
        width: min(100% - 24px, 1240px);
    }

    .navbar-brand {
        max-width: 170px;
        padding: 5px 8px;
    }

    .hero-slide__content h1 {
        font-size: 34px;
    }

    .section-heading h2,
    .about-preview__content h2,
    .content-block h2 {
        font-size: 31px;
    }

    .trust-item {
        display: grid;
        align-content: center;
    }
}
