/* ============================================================
 * Airportmove — Extended Responsive Stylesheet
 * Supplements custom.css with sub-576px breakpoints and
 * cross-cutting fixes not present in the base theme.
 * Load order: AFTER custom.css in header.php
 * Breakpoints: 576 → 480 → 425 → 390 → 375 → 360 → 320
 * ============================================================ */


/* ══════════════════════════════════════════════════════════
   MOBILE HEADER — Book Now button
══════════════════════════════════════════════════════════ */

/* Hidden on desktop; the full-width header-btn handles it there */
.amv-mobile-book-btn { display: none; }

@media (max-width: 991px) {
    .amv-mobile-book-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        margin-right: 10px;
        padding: 8px 14px;
        background-color: var(--primary-color);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.3px;
        border-radius: 4px;
        white-space: nowrap;
        text-decoration: none;
        line-height: 1;
        min-height: 44px;
        touch-action: manipulation;
    }
    .amv-mobile-book-btn:hover,
    .amv-mobile-book-btn:focus {
        background-color: var(--secondary-color);
        color: var(--primary-color);
        text-decoration: none;
    }
    .amv-mobile-book-btn .fa-arrow-right {
        font-size: 11px;
    }
}

@media (max-width: 390px) {
    .amv-mobile-book-btn {
        padding: 8px 10px;
        font-size: 12px;
        margin-right: 8px;
    }
}

@media (max-width: 360px) {
    .amv-mobile-book-btn {
        padding: 7px 8px;
        font-size: 11px;
        margin-right: 6px;
    }
}

/* ══════════════════════════════════════════════════════════
   CROSS-CUTTING FIXES  (all screen sizes)
══════════════════════════════════════════════════════════ */

/* Prevent any element from causing horizontal scroll.
   Only on html — setting overflow-x on body forces overflow-y:auto (CSS spec
   overflow interaction rule), making body a scroll container and breaking
   position:sticky on all sidebar pages. */
html { overflow-x: hidden; }

/* Safe image defaults */
img { max-width: 100%; height: auto; display: block; }

/* Tables: horizontal scroll wrapper */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Any table that's NOT wrapped — make it scrollable by itself */
table:not(.table-responsive table) { max-width: 100%; display: block; overflow-x: auto; }

/* Touch-friendly minimum tap targets on all interactive controls */
@media (max-width: 1024px) {
    .sis-btn-default,
    .sis-fleet-pill,
    .sis-back-to-top,
    button,
    [role="button"] { min-height: 44px; touch-action: manipulation; }

    input, select, textarea { touch-action: manipulation; }
}

/* Fix: h4 size regression — existing CSS sets h4 to 22px at 767px
   but 20px at 1199px, creating a jump UP on smaller screens. */
@media (max-width: 767px) {
    h4 { font-size: 18px !important; line-height: 26px !important; }
}

/* ── About bottom counters: 3-column equal grid ──────────────────────
   col-6 gives 2 per row so the 3rd counter hangs alone at 50%.
   Force all three to equal thirds, strip the pe-5 excess, and
   tighten the left-border padding so numbers breathe properly.
─────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    /* Equal thirds for all 3 counters */
    .sisf-about-bottom-counters .row > [class*="col-"] {
        width: 33.333% !important;
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
        padding-right: 6px !important;
        padding-left: 6px !important;
    }
    /* Override pe-5 (3rem right padding) applied directly in HTML */
    .sisf-about-bottom-counters [class*="pe-"] {
        padding-right: 6px !important;
    }
    /* Tighten the left-border gap (base CSS: padding-left:30px) */
    .sisf-about-bottom-counters .sis-estimate.sis-counter-item {
        padding-left: 12px;
    }
    /* Counter number size */
    .sisf-about-bottom-counters .sis-counter-title h2,
    .sisf-about-bottom-counters .sis-counter-title span { font-size: 22px !important; line-height: 28px !important; }
    /* Reduce gap between number and label */
    .sisf-about-bottom-counters .sis-counter-content { margin-top: 8px !important; }
    .sisf-about-bottom-counters .sis-counter-content span { font-size: 12px; line-height: 16px; }
}

@media (max-width: 390px) {
    .sisf-about-bottom-counters .sis-estimate.sis-counter-item { padding-left: 8px; }
    .sisf-about-bottom-counters .sis-counter-title h2,
    .sisf-about-bottom-counters .sis-counter-title span { font-size: 19px !important; }
    .sisf-about-bottom-counters .sis-counter-content span { font-size: 11px; }
}

@media (max-width: 360px) {
    .sisf-about-bottom-counters .sis-estimate.sis-counter-item { padding-left: 6px; }
    .sisf-about-bottom-counters .sis-counter-title h2,
    .sisf-about-bottom-counters .sis-counter-title span { font-size: 17px !important; }
    .sisf-about-bottom-counters .sis-counter-content span { font-size: 10px; }
}

/* Footer copyright bar: center all three columns on mobile */
@media (max-width: 991px) {
    .footer-copyright-text { text-align: center; margin-bottom: 10px; }
    .footer-social-icons-link { margin-bottom: 10px; }

    /* Privacy links: center (existing CSS converts to block; add centering) */
    .footer-privacy-policy ul,
    .footer-privacy-policy li { text-align: center; }

    /* ── Blog cards ── */
    .sis-blog-column .sis-letest-blog-item .sisf-e-media-image img { height: 260px; }
}


/* ══════════════════════════════════════════════════════════
   ≤ 576px — Small Mobile (phones in portrait, ≥ 361px)
══════════════════════════════════════════════════════════ */
@media (max-width: 576px) {

    /* ── Section spacing ── */
    .section { padding: 50px 0; }
    .sisf-section { padding: 50px 0 40px; }

    /* ── Typography ── */
    .sis-section-title h1 { font-size: 22px !important; line-height: 30px !important; margin-bottom: 16px; }
    .sis-section-title h2 { font-size: 22px !important; line-height: 30px !important; }
    .sis-section-title .sisf-m-subtitle { font-size: 13px; padding: 4px 10px; margin-bottom: 12px; }
    .sis-section-title { margin-bottom: 28px; }

    /* ── Hero slider heights ── */
    .home-slider .hero-slider-layout .hero-slide  { min-height: 620px !important; }
    .home-page .hero-slider-layout .hero-slide    { min-height: 620px !important; }
    .hero-slider-layout .hero-slide               { min-height: 500px; }
    .sis-video-page .hero-slider-layout .hero-slide { min-height: 520px !important; }

    /* ── Spoke-page hero ── */
    .sisf-page-hero .hero-slide { padding-top: 44px; padding-bottom: 44px; }
    .sisf-page-hero .sis-section-title h1 { font-size: 24px !important; line-height: 32px !important; }

    /* ── Landing banner: drop fixed height, use padding ── */
    .sis-landing-page-banner { height: auto !important; padding: 80px 0 40px !important; }
    .sisf-landing-banner { padding-top: 60px; padding-bottom: 30px; }
    .sisf-landing-banner .banner-img img { height: 280px; }
    .sisf-landing-banner .sisf-m-title  { font-size: 28px !important; line-height: 36px !important; }
    .sisf-landing-sub p { font-size: 15px; line-height: 26px; }
    .sisf-landing-badge { font-size: 12px; padding: 7px 16px; }

    /* ── Hero quote card (booking form) ── */
    /* Stack the two-col rows into single column */
    .sisf-hero-quote-row { grid-template-columns: 1fr !important; gap: 0; }
    /* Restore inter-field spacing removed by base CSS inside a row */
    .sisf-hero-quote-row .sisf-hero-quote-field { margin-bottom: 10px; }
    .sisf-hero-quote-row .sisf-hero-quote-field:last-child { margin-bottom: 0; }
    /* Card: keep desktop-like feel — generous top for the gold stripe */
    .sisf-hero-quote-card { padding: 22px 20px 20px; }
    /* Head → first field gap */
    .sisf-hero-quote-head { margin-bottom: 16px; }
    /* Title badge spacing */
    .sisf-hero-quote-badge { margin-bottom: 8px; }
    .sisf-hero-quote-title { font-size: 20px; line-height: 26px; margin-bottom: 4px; }
    .sisf-hero-quote-sub { font-size: 13px; }
    /* Field vertical rhythm */
    .sisf-hero-quote-field { margin-bottom: 10px; }
    /* Submit button: clear gap above + symmetric padding */
    .sisf-hero-quote-btn { margin-top: 14px !important; padding: 12px 20px !important; font-size: 15px; }

    /* ── Buttons ── */
    .sis-btn-default { font-size: 14px; padding: 5px 15px; }

    /* ── Footer ── */
    .footer-logo { text-align: center; margin-bottom: 16px; }
    .footer-logo img { margin: 0 auto; }
    .subscribe-newsletter-form .form-group { flex-wrap: wrap; gap: 8px; }
    .footer-links h3, .footer-contact h3 { margin-top: 20px; font-size: 15px; }

    /* ── Fleet cards ── */
    .sis-fleet-card { border-radius: 12px; }
    .sis-fleet-body { padding: 16px; }
    .sis-fleet-name { font-size: 18px; }
    .sis-fleet-spec { font-size: 13px; gap: 6px 14px; }
    .sis-fleet-pill { font-size: 13px; padding: 8px 16px; }

    /* ── Scroll text ── */
    .sis-scroll-content .sis-contents span { font-size: 22px !important; line-height: normal !important; }

    /* ── Scroll hero offset ── */
    .sisf-sis-hero-scroll-container { margin-top: -30px; }

    /* ── Blog ── */
    .sis-letest-blog-item .sisf-e-content .sisf-e-title-link { font-size: 16px !important; line-height: 22px; }
    .sis-blog-column .sis-letest-blog-item .sisf-e-media-image img { height: 220px; }

    /* ── FAQ ── */
    .sisf-faq-accordian .accordion-button span,
    .sisf-page-accordian .accordion-button span { font-size: 16px !important; line-height: normal; }
    .accordion-button { word-break: break-word; }

    /* ── AEO step cards ── */
    .sis-aeo-step { padding: 16px !important; }
    .sis-aeo-step h3 { font-size: 18px; }

    /* ── About counter separator row ── */
    .sis-comman-bottom-line-text { margin-top: 20px !important; margin-bottom: 20px !important; }
    .sis-comman-bottom-line-text.pb-4 { padding-bottom: 12px !important; }

    /* ── Contact info ── */
    .sisf-sis-contact-information { flex-wrap: wrap !important; }

    /* ── Partner logo strip ── */
    .sis-partner-slider::before,
    .sis-partner-slider::after { width: 24px; }
    .sis-partner-item { min-width: 130px; padding: 10px 16px; }
    .sis-partner-item img { max-height: 28px; max-width: 100px; }

    /* ── Slicknav position ── */
    .slicknav_menu { top: 62px; }

    /* ── Back to top ── */
    .sis-back-to-top { bottom: 20px; right: 14px; width: 40px; height: 40px; font-size: 16px; }

    /* ── CTA box in service detail ── */
    .sis-service-detail-page-section .sis-e-content--inner .sis-primary-background.sis-cta-box {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }
    .sis-service-detail-page-section .sis-e-content--inner .sis-primary-background.sis-cta-box h2 {
        font-size: 20px !important;
    }

    /* ── Row: slightly tighter gutter ── */
    .row { margin-right: -10px; margin-left: -10px; }
    .row > * { padding-right: 10px; padding-left: 10px; }
}


/* ══════════════════════════════════════════════════════════
   ≤ 480px — Small Phones
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* ── Container padding ── */
    .container,
    .container-fluid { padding-right: 12px !important; padding-left: 12px !important; }

    /* ── Section spacing ── */
    .section { padding: 46px 0; }
    .sisf-section { padding: 46px 0 36px; }

    /* ── Bootstrap spacing overrides: reduce padding utilities ── */
    .p-4 { padding: 16px !important; }
    .p-5 { padding: 20px !important; }
    .py-5 { padding-top: 20px !important; padding-bottom: 20px !important; }
    .py-4 { padding-top: 16px !important; padding-bottom: 16px !important; }
    .px-4 { padding-right: 16px !important; padding-left: 16px !important; }

    /* ── Typography ── */
    .sis-section-title h1 { font-size: 20px !important; line-height: 28px !important; }
    .sis-section-title h2 { font-size: 20px !important; line-height: 28px !important; }
    h3 { font-size: 17px !important; line-height: 25px !important; }
    h4 { font-size: 17px !important; line-height: 23px !important; }
    body { font-size: 15px; }
    p { font-size: 15px; }

    /* ── Hero slider heights ── */
    .home-slider .hero-slider-layout .hero-slide  { min-height: 570px !important; }
    .home-page .hero-slider-layout .hero-slide    { min-height: 570px !important; }
    .hero-slider-layout .hero-slide               { min-height: 480px; }
    .sis-video-page .hero-slider-layout .hero-slide { min-height: 480px !important; }

    /* ── Spoke-page hero ── */
    .sisf-page-hero .hero-slide { padding-top: 36px; padding-bottom: 36px; }
    .sisf-page-hero .sis-section-title h1 { font-size: 22px !important; line-height: 30px !important; }

    /* ── Landing banner ── */
    .sisf-landing-banner .sisf-m-title { font-size: 24px !important; line-height: 32px !important; }
    .sisf-landing-banner .banner-img img { height: 240px; }

    /* ── Hero quote card ── */
    .sisf-hero-quote-card { padding: 18px 16px 16px; border-radius: 10px; }
    .sisf-hero-quote-head { margin-bottom: 14px; }
    .sisf-hero-quote-badge { font-size: 11px; padding: 3px 10px; margin-bottom: 6px; }
    .sisf-hero-quote-title { font-size: 18px; line-height: 24px; margin-bottom: 3px; }
    .sisf-hero-quote-field { margin-bottom: 8px; }
    .sisf-hero-quote-row .sisf-hero-quote-field { margin-bottom: 8px; }
    .sisf-hero-quote-field input { height: 42px; font-size: 14px; }
    .sisf-hero-quote-btn { margin-top: 12px !important; padding: 11px 18px !important; font-size: 14px; }

    /* ── Buttons ── */
    .sis-btn-default { font-size: 13px; }

    /* ── Fleet ── */
    .sis-fleet-body { padding: 14px; }
    .sis-fleet-name { font-size: 17px; }
    .sis-fleet-card-price .lbl,
    .sis-fleet-card-price .val { font-size: 12px; }
    .sis-fleet-detail-media img { padding: 16px 20px; }
    .sis-fleet-pill { font-size: 12px; padding: 7px 14px; }

    /* ── Blog ── */
    .sis-letest-blog-item .sisf-e-content .sisf-e-title-link { font-size: 15px !important; line-height: 21px; }

    /* ── Counters ── */
    .sis-e-about-content-left-bottom .sis-counter-title span { font-size: 28px !important; line-height: normal !important; }

    /* ── FAQ ── */
    .sisf-faq-accordian .accordion-button span,
    .sisf-page-accordian .accordion-button span { font-size: 15px !important; }

    /* ── AEO step cards ── */
    .sis-aeo-step h3 { font-size: 16px; }
    .sis-aeo-step p { font-size: 14px; }

    /* ── Scroll text ── */
    .sis-scroll-content .sis-contents span { font-size: 18px !important; }

    /* ── Slicknav ── */
    .slicknav_menu { top: 60px; }

    /* ── Row gutter ── */
    .row { margin-right: -8px; margin-left: -8px; }
    .row > * { padding-right: 8px; padding-left: 8px; }
}


/* ══════════════════════════════════════════════════════════
   ≤ 425px — Compact Phones (iPhone SE 2020 etc.)
══════════════════════════════════════════════════════════ */
@media (max-width: 425px) {

    /* ── Typography ── */
    .sis-section-title h1 { font-size: 19px !important; line-height: 27px !important; }
    .sis-section-title h2 { font-size: 19px !important; line-height: 27px !important; }
    .sisf-page-hero .sis-section-title h1 { font-size: 20px !important; line-height: 28px !important; }
    .sisf-landing-banner .sisf-m-title { font-size: 22px !important; line-height: 30px !important; }

    /* ── Hero slider heights ── */
    .home-slider .hero-slider-layout .hero-slide  { min-height: 540px !important; }
    .home-page .hero-slider-layout .hero-slide    { min-height: 540px !important; }
    .hero-slider-layout .hero-slide               { min-height: 460px; }

    /* ── Section spacing ── */
    .section { padding: 42px 0; }
    .sisf-section { padding: 42px 0 32px; }

    /* ── Buttons ── */
    .sis-btn-default { font-size: 13px; }

    /* ── Hero quote card ── */
    .sisf-hero-quote-card { padding: 14px; }
    .sisf-hero-quote-title { font-size: 17px; line-height: 22px; }

    /* ── Scroll text ── */
    .sis-scroll-content .sis-contents span { font-size: 16px !important; }

    /* ── Blog ── */
    .sis-letest-blog-item .sisf-e-content .sisf-e-title-link { font-size: 15px !important; line-height: 20px; }

    /* ── Footer ── */
    .footer-links ul li a { font-size: 14px; }
    .footer-logo img { max-width: 150px; }

    /* ── Fleet ── */
    .sis-fleet-name { font-size: 16px; }
}


/* ══════════════════════════════════════════════════════════
   ≤ 390px — Modern iPhones (14 / 15 etc.)
══════════════════════════════════════════════════════════ */
@media (max-width: 390px) {

    /* ── Container ── */
    .container,
    .container-fluid { padding-right: 10px !important; padding-left: 10px !important; }

    /* ── Row gutter ── */
    .row { margin-right: -8px; margin-left: -8px; }
    .row > * { padding-right: 8px; padding-left: 8px; }

    /* ── Typography ── */
    .sis-section-title h1 { font-size: 18px !important; line-height: 26px !important; }
    .sis-section-title h2 { font-size: 18px !important; line-height: 26px !important; }
    h3 { font-size: 16px !important; line-height: 23px !important; }
    h4 { font-size: 16px !important; line-height: 22px !important; }
    body { font-size: 14.5px; }
    p { font-size: 14.5px; }

    /* ── Hero slider heights ── */
    .home-slider .hero-slider-layout .hero-slide  { min-height: 510px !important; }
    .home-page .hero-slider-layout .hero-slide    { min-height: 510px !important; }
    .hero-slider-layout .hero-slide               { min-height: 440px; }
    .sisf-page-hero .hero-slide { padding-top: 30px; padding-bottom: 30px; }
    .sisf-page-hero .sis-section-title h1 { font-size: 18px !important; line-height: 25px !important; }

    /* ── Landing banner ── */
    .sisf-landing-banner .sisf-m-title { font-size: 20px !important; line-height: 28px !important; }
    .sisf-landing-banner .banner-img img { height: 220px; }

    /* ── Hero quote card ── */
    .sisf-hero-quote-card { padding: 16px 14px 14px; border-radius: 8px; }
    .sisf-hero-quote-head { margin-bottom: 12px; }
    .sisf-hero-quote-badge { font-size: 10px; padding: 3px 8px; margin-bottom: 6px; }
    .sisf-hero-quote-title { font-size: 16px; line-height: 22px; margin-bottom: 3px; }
    .sisf-hero-quote-field { margin-bottom: 8px; }
    .sisf-hero-quote-row .sisf-hero-quote-field { margin-bottom: 8px; }
    .sisf-hero-quote-field input { height: 40px; font-size: 13px; padding-left: 34px; }
    .sisf-hero-quote-btn { margin-top: 10px !important; padding: 10px 16px !important; font-size: 13px; }

    /* ── CTA box ── */
    .sis-service-detail-page-section .sis-e-content--inner .sis-primary-background.sis-cta-box {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }
    .sis-service-detail-page-section .sis-e-content--inner .sis-primary-background.sis-cta-box h2 {
        font-size: 17px !important;
    }

    /* ── Fleet ── */
    .sis-fleet-name { font-size: 16px; }
    .sis-fleet-badge { font-size: 10px; padding: 4px 10px; }
    .sis-fleet-pill { font-size: 12px; padding: 7px 12px; }
    .sis-fleet-spec { font-size: 12px; }

    /* ── Accordion ── */
    .sisf-faq-accordian .accordion-button span,
    .sisf-page-accordian .accordion-button span { font-size: 14px !important; }

    /* ── Footer ── */
    .footer-logo img { max-width: 140px; }

    /* ── Section spacing ── */
    .section { padding: 40px 0; }
    .sisf-section { padding: 40px 0 30px; }

    /* ── Padding utilities ── */
    .p-4 { padding: 14px !important; }
    .p-5 { padding: 18px !important; }
    .py-5 { padding-top: 18px !important; padding-bottom: 18px !important; }
}


/* ══════════════════════════════════════════════════════════
   ≤ 375px — iPhone SE (2022), older iPhones
══════════════════════════════════════════════════════════ */
@media (max-width: 375px) {

    /* ── Typography ── */
    .sis-section-title h1 { font-size: 17px !important; line-height: 25px !important; }
    .sis-section-title h2 { font-size: 17px !important; line-height: 25px !important; }
    .sisf-page-hero .sis-section-title h1 { font-size: 17px !important; line-height: 25px !important; }
    .sisf-landing-banner .sisf-m-title { font-size: 19px !important; line-height: 27px !important; }

    /* ── Hero slider heights ── */
    .home-slider .hero-slider-layout .hero-slide  { min-height: 490px !important; }
    .home-page .hero-slider-layout .hero-slide    { min-height: 490px !important; }
    .hero-slider-layout .hero-slide               { min-height: 420px; }

    /* ── Section spacing ── */
    .section { padding: 38px 0; }
    .sisf-section { padding: 38px 0 28px; }

    /* ── Fleet ── */
    .sis-fleet-name { font-size: 15px; }
    .sis-fleet-body { padding: 12px; }

    /* ── Scroll text ── */
    .sis-scroll-content .sis-contents span { font-size: 15px !important; }
}


/* ══════════════════════════════════════════════════════════
   ≤ 360px — Common Android (Galaxy S, Pixel etc.)
══════════════════════════════════════════════════════════ */
@media (max-width: 360px) {

    /* ── Root font — scales all rem/em values ── */
    html { font-size: 14px; }

    /* ── Container ── */
    .container,
    .container-fluid { padding-right: 10px !important; padding-left: 10px !important; }

    /* ── Row gutter ── */
    .row { margin-right: -6px; margin-left: -6px; }
    .row > * { padding-right: 6px; padding-left: 6px; }

    /* ── Typography ── */
    body, p { font-size: 14px; line-height: 22px; }
    .sis-section-title h1 { font-size: 17px !important; line-height: 24px !important; margin-bottom: 12px; }
    .sis-section-title h2 { font-size: 17px !important; line-height: 24px !important; }
    h3 { font-size: 15px !important; line-height: 22px !important; }
    h4 { font-size: 15px !important; line-height: 21px !important; }
    .sisf-page-hero .sis-section-title h1 { font-size: 17px !important; line-height: 24px !important; }

    /* ── Section spacing ── */
    .section { padding: 38px 0; }
    .sisf-section { padding: 38px 0 28px; }

    /* ── Padding utilities ── */
    .p-4 { padding: 12px !important; }
    .p-5 { padding: 16px !important; }
    .py-5 { padding-top: 16px !important; padding-bottom: 16px !important; }
    .py-4 { padding-top: 12px !important; padding-bottom: 12px !important; }
    .px-4 { padding-right: 12px !important; padding-left: 12px !important; }

    /* ── Hero slider heights ── */
    .home-slider .hero-slider-layout .hero-slide  { min-height: 480px !important; }
    .home-page .hero-slider-layout .hero-slide    { min-height: 480px !important; }
    .hero-slider-layout .hero-slide               { min-height: 400px; }
    .sis-video-page .hero-slider-layout .hero-slide { min-height: 420px !important; }
    .sisf-page-hero .hero-slide { padding-top: 24px; padding-bottom: 24px; }
    .sisf-page-hero .sis-section-title h1 { font-size: 17px !important; line-height: 24px !important; }

    /* ── Landing banner ── */
    .sisf-landing-banner .sisf-m-title { font-size: 19px !important; line-height: 27px !important; }
    .sisf-landing-banner .banner-img img { height: 200px; }

    /* ── Hero quote card ── */
    .sisf-hero-quote-card { padding: 14px 12px 12px; border-radius: 8px; }
    .sisf-hero-quote-head { margin-bottom: 10px; }
    .sisf-hero-quote-badge { margin-bottom: 5px; }
    .sisf-hero-quote-title { font-size: 15px; line-height: 20px; margin-bottom: 2px; }
    .sisf-hero-quote-field { margin-bottom: 7px; }
    .sisf-hero-quote-row .sisf-hero-quote-field { margin-bottom: 7px; }
    .sisf-hero-quote-field input { height: 38px; font-size: 12px; }
    .sisf-hero-quote-btn { margin-top: 10px !important; padding: 9px 14px !important; font-size: 13px; }

    /* ── Buttons ── */
    .sis-btn-default { font-size: 12px; }

    /* ── Fleet ── */
    .sis-fleet-name { font-size: 15px; }
    .sis-fleet-body { padding: 12px; }
    .sis-fleet-badge { font-size: 9px; padding: 3px 8px; }
    .sis-fleet-pill { font-size: 11px; padding: 6px 12px; }
    .sis-fleet-spec { font-size: 12px; }
    .sis-fleet-card-price .lbl,
    .sis-fleet-card-price .val { font-size: 11px; }

    /* ── FAQ ── */
    .sisf-faq-accordian .accordion-button span,
    .sisf-page-accordian .accordion-button span { font-size: 14px !important; }
    .accordion-body { font-size: 14px; }

    /* ── Blog ── */
    .sis-letest-blog-item .sisf-e-content .sisf-e-title-link { font-size: 14px !important; line-height: 20px; }

    /* ── AEO cards ── */
    .sis-aeo-step { padding: 12px !important; }
    .sis-aeo-step h3 { font-size: 15px !important; }
    .sis-aeo-step p { font-size: 13px; }
    .sis-aeo-step-icon { width: 44px; height: 44px; font-size: 20px; }

    /* ── Scroll text ── */
    .sis-scroll-content .sis-contents span { font-size: 14px !important; }

    /* ── Footer ── */
    .footer-logo img { max-width: 130px; }
    .footer-links ul li a,
    .footer-social-icons-link li a { font-size: 14px; }

    /* ── Back to top ── */
    .sis-back-to-top { width: 38px; height: 38px; right: 10px; bottom: 14px; font-size: 14px; }

    /* ── Slicknav ── */
    .slicknav_menu { top: 58px; }

    /* ── Navbar logo ── */
    .sisf-header-logo-link.navbar-brand img { max-width: 170px !important; }

    /* ── Quick answer box ── */
    .sis-quick-answer { padding: 12px !important; }
    .sis-quick-answer .sisf-m-text p { font-size: 14px; }

    /* ── CTA box in service pages ── */
    .sis-service-detail-page-section .sis-e-content--inner .sis-primary-background.sis-cta-box {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }
    .sis-service-detail-page-section .sis-e-content--inner .sis-primary-background.sis-cta-box h2 {
        font-size: 16px !important;
    }

    /* ── Related links ── */
    .sis-related-links a { font-size: 13px; }

    /* ── Partner strip ── */
    .sis-partner-item { min-width: 110px; padding: 8px 12px; }
    .sis-partner-item img { max-height: 24px; max-width: 90px; }
}


/* ══════════════════════════════════════════════════════════
   ≤ 320px — Absolute Minimum (very old / small devices)
══════════════════════════════════════════════════════════ */
@media (max-width: 320px) {

    /* ── Root font ── */
    html { font-size: 13px; }

    /* ── Container ── */
    .container,
    .container-fluid { padding-right: 8px !important; padding-left: 8px !important; }

    /* ── Row gutter ── */
    .row { margin-right: -5px; margin-left: -5px; }
    .row > * { padding-right: 5px; padding-left: 5px; }

    /* ── Typography ── */
    body, p { font-size: 13px; line-height: 20px; }
    .sis-section-title h1 { font-size: 15px !important; line-height: 22px !important; }
    .sis-section-title h2 { font-size: 15px !important; line-height: 22px !important; }
    h3 { font-size: 14px !important; line-height: 20px !important; }
    h4 { font-size: 14px !important; line-height: 20px !important; }
    .sisf-page-hero .sis-section-title h1 { font-size: 15px !important; line-height: 22px !important; }
    .sisf-landing-banner .sisf-m-title { font-size: 17px !important; line-height: 24px !important; }

    /* ── Hero slider heights ── */
    .home-slider .hero-slider-layout .hero-slide  { min-height: 460px !important; }
    .home-page .hero-slider-layout .hero-slide    { min-height: 460px !important; }
    .hero-slider-layout .hero-slide               { min-height: 380px; }
    .sis-video-page .hero-slider-layout .hero-slide { min-height: 390px !important; }

    /* ── Section spacing ── */
    .section { padding: 32px 0; }
    .sisf-section { padding: 32px 0 22px; }

    /* ── Hero quote card ── */
    .sisf-hero-quote-card { padding: 12px 10px 10px; }
    .sisf-hero-quote-head { margin-bottom: 8px; }
    .sisf-hero-quote-badge { margin-bottom: 4px; }
    .sisf-hero-quote-title { font-size: 14px; margin-bottom: 2px; }
    .sisf-hero-quote-field { margin-bottom: 6px; }
    .sisf-hero-quote-row .sisf-hero-quote-field { margin-bottom: 6px; }
    .sisf-hero-quote-field input { height: 36px; font-size: 12px; padding-left: 30px; }
    .sisf-hero-quote-field i { font-size: 11px; left: 10px; }
    .sisf-hero-quote-btn { margin-top: 8px !important; padding: 8px 12px !important; font-size: 12px; }

    /* ── Buttons ── */
    .sis-btn-default { font-size: 12px; padding: 8px 14px; }

    /* ── Fleet ── */
    .sis-fleet-name { font-size: 14px; }
    .sis-fleet-body { padding: 10px; }
    .sis-fleet-pill { font-size: 11px; padding: 6px 10px; }

    /* ── Footer ── */
    .footer-logo img { max-width: 115px; }

    /* ── Slicknav ── */
    .slicknav_menu { top: 55px; }

    /* ── Navbar logo ── */
    .sisf-header-logo-link.navbar-brand img { max-width: 115px !important; }

    /* ── Back to top ── */
    .sis-back-to-top { width: 34px; height: 34px; right: 8px; bottom: 12px; font-size: 13px; }
}

/* ══════════════════════════════════════════════════════════
   MOBILE HORIZONTAL-OVERFLOW FIX  (added 2026-09-02)

   Problem: entrance animations parked elements outside the viewport,
   so the document was wider than the screen and Chrome/Android applied
   shrink-to-fit — the homepage rendered 481 CSS px wide on a 390px
   phone, scaling all text and buttons down to ~81%.
     - AOS  : [data-aos="fade-left"] etc. hold translateX(±100px)
              until they animate in  → +90px on the homepage
     - GSAP : SplitText per-character divs hold translateX(40px)
              → +5..27px on heading-animated pages

   Note on `clip` vs `hidden`: the html{overflow-x:hidden} rule above is
   deliberately NOT duplicated on body, because hidden/scroll/auto force
   the other axis to `auto` and make body a scroll container, breaking
   position:sticky. `clip` is exempt from that coercion rule, so
   overflow-x:clip + overflow-y:visible leaves sticky working.
══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {

    /* 1. Root cause — drop the sideways slide, keep the fade.
       AOS's animated end state is already transform:none, so elements
       still fade in; only the horizontal travel is removed. */
    [data-aos*="left"],
    [data-aos*="right"] { transform: none !important; }

    /* 2. Safety net for GSAP/SplitText heading reveals and anything
       else that transiently pokes past the right edge. */
    body { overflow-x: clip; }
}

/* ══════════════════════════════════════════════════════════
   MOBILE LAYOUT CORRECTIONS  (added 2026-09-03)

   1. Hero H1 was rendering underneath the header on phones.
      Cause was a stray `height: 1080px !important` on
      .home-page .hero-slider-layout .hero-slide inside the
      ≤425px block (removed above, line ~381). The slide was
      pinned to 1080px while its content measured 1298px, and
      align-items:center split the 218px overflow evenly — so
      the top 109px sat above the slide, behind the z-index:5
      header. H1 top went 44px → 153px once removed.

   2. Icon/content rows were holding three columns on a 390px
      screen: a 50px figure, a ~98px title (wrapping "PHV
      Licensed & TfL Compliant" over 4-5 lines) and a ~142px
      description. They now stack.

   3. The homepage enquiry form mixed col-6 (50% at EVERY
      width) with col-md-6 for its other fields, so Email
      Address and Select Service sat squeezed side by side
      while everything else was full width.
══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    /* ── Stack icon/content rows instead of squeezing them ── */
    .sisf-e-inner.d-flex          { flex-direction: column; align-items: stretch !important; gap: 14px !important; }
    .sisf-sis-listing-items.d-flex { flex-direction: column; align-items: stretch !important; gap: 0 !important; }

    /* Column dividers become a horizontal rule once stacked */
    .sisf-e-inner.d-flex > *,
    .sisf-sis-listing-items.d-flex > * {
        border-left: 0 !important; border-right: 0 !important;
        padding-left: 0 !important; padding-right: 0 !important;
    }
    .sisf-e-inner.d-flex > *:not(:last-child) {
        border-bottom: 1px solid rgba(0,0,0,.1) !important; padding-bottom: 14px !important;
    }

    /* ── Right-aligned section CTA reads wrong once stacked ── */
    .sisf-sis-section-title.text-end,
    .sisf-sis-section-title.text-end .sis-btn-default { text-align: left !important; }

    /* ── Enquiry form: full-width fields, matching the rest ── */
    .sis-contact-section .col-6 { width: 100%; }
}

/* ── Footer newsletter: input + submit arrow were wrapping onto two lines ──
   The .form-group is a flex row but computes flex-wrap:wrap, and the
   Bootstrap .form-control input takes width:100% (345px inside a 370px
   box), so the arrow button dropped to a second line. Letting the input
   shrink (min-width:0 defeats the default min-width:auto on flex items)
   puts them back on one row.                          added 2026-09-03 */
@media (max-width: 991px) {
    #newslettersForm .form-group      { flex-wrap: nowrap !important; gap: 10px; }
    #newslettersForm .form-control    { flex: 1 1 auto; min-width: 0; width: auto !important; }
    #newslettersForm button[type=submit] { flex: 0 0 auto; }
}
