/* Mobile home: original sections, refreshed service cards, bottom gallery/enquiry. */
@media screen and (max-width: 1023px) {
    .gac-app.gac-route-home { --home-ink: #0d294d; --home-muted: #536a84; --home-blue: #0058f5; }
    .gac-app.gac-route-home .gac-scroll { overflow: visible; }
    /* Compact cards: artwork is anchored at the bottom, without adding height. */
    .gac-app.gac-route-home .gac-feature-card {
        min-height: 160px;
        padding: 14px;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 12px;
        box-shadow: 0 6px 16px rgba(20,48,86,.09), inset 0 1px 0 rgba(255,255,255,.12);
    }
    /* One continuous left-to-right blend, without a separate corner spotlight. */
    .gac-app.gac-route-home .gac-feature-card.is-blue { background: linear-gradient(90deg,#216fe2,#175bc9); }
    .gac-app.gac-route-home .gac-feature-card.is-emerald { background: linear-gradient(90deg,#09856b,#067259); }
    .gac-app.gac-route-home .gac-feature-card.is-amber { background: linear-gradient(90deg,#a76814,#965514); }
    .gac-app.gac-route-home .gac-feature-card.is-violet { background: linear-gradient(90deg,#8955dc,#6d3fc4); }
    .gac-app.gac-route-home .gac-feature-icon {
        position: absolute;
        top: 13px;
        right: 13px;
        width: 32px;
        height: 32px;
        margin: 0;
        border-radius: 10px;
        background: rgba(255,255,255,.12);
        border-color: rgba(255,255,255,.2);
    }
    .gac-app.gac-route-home .gac-feature-icon svg { width: 18px; height: 18px; }
    .gac-app.gac-route-home .gac-feature-title {
        display: flex;
        align-items: center;
        min-height: 24px;
        max-width: calc(100% - 39px);
        font-size: 17px;
        line-height: 1.25;
        font-weight: 750;
        letter-spacing: -.35px;
    }
    .gac-app.gac-route-home .gac-feature-subtitle {
        max-width: 100%;
        min-height: 0;
        margin-top: 6px;
        font-size: 11px;
        line-height: 1.45;
        color: #fff;
    }
    .gac-app.gac-route-home .gac-feature-art {
        position: absolute;
        top: auto;
        left: auto;
        right: 8px;
        bottom: 0px;
        display: block;
        width: 78%;
        height: calc(100% - 78px);
        margin: 0;
        object-fit: contain;
        object-position: right bottom;
        filter: drop-shadow(0 5px 8px rgba(0,0,0,.14));
    }
    .gac-app.gac-route-home .gac-feature-card:hover .gac-feature-art { transform: none; }
    .gac-app.gac-route-home .gac-feature-arrow { display: none; }
    .gac-app.gac-route-home .gac-home > .gac-d-gallery-section { display: block; margin-top: 28px; color: var(--home-ink); }
    .gac-app.gac-route-home .gac-home > .gac-d-enquiry { display: block; margin-top: 24px; color: var(--home-ink); }
    .gac-app.gac-route-home .gac-d-enquiry-intro { display: none; }
    .gac-app.gac-route-home :is(.gac-d-gallery-section,.gac-d-enquiry) :is(h2,h3,p) { margin: 0; }
    .gac-app.gac-route-home :is(.gac-d-gallery-section,.gac-d-enquiry) :is(button,input,textarea,select) { font-family: inherit; }
    .gac-app.gac-route-home :is(.gac-d-gallery-section,.gac-d-enquiry) :is(button,a,input,textarea,select):focus-visible { outline: 3px solid #2268ef; outline-offset: 3px; }
    .gac-app.gac-route-home :is(#desktop-gallery,#desktop-enquiry) { scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px)); }
    .gac-app.gac-route-home :is(#desktop-gallery,#desktop-enquiry):focus { outline: none; }
    .gac-app.gac-route-home .gac-d-gallery-section h2 { color: var(--home-ink); font-size: clamp(25px,6.8vw,32px); line-height: 1.15; font-weight: 700; letter-spacing: -.8px; }
    .gac-app.gac-route-home .gac-d-enquiry-form .gac-btn-primary { width: 100%; min-height: 48px; padding: 12px 17px; border-radius: 11px; color: #fff; background: var(--home-blue); font-size: 14px; font-weight: 650; gap: 10px; }
    .gac-app.gac-route-home .gac-d-enquiry-form .gac-btn-primary svg { width: 17px; height: 17px; flex-shrink: 0; }
    .gac-app.gac-route-home .gac-d-eyebrow { display: block; color: var(--home-blue); font-size: 10px; line-height: 1.6; font-weight: 750; letter-spacing: 1.6px; }
    .gac-app.gac-route-home .gac-d-inline-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--home-blue); font-size: 11px; font-weight: 600; white-space: nowrap; }
    .gac-app.gac-route-home .gac-d-inline-link svg { width: 15px; height: 15px; }
    .gac-app.gac-route-home .gac-d-heading { display: grid; gap: 12px; margin-bottom: 20px; }
    .gac-app.gac-route-home .gac-d-heading .gac-d-eyebrow { margin-bottom: 9px; }
    .gac-app.gac-route-home .gac-d-heading > p { max-width: 460px; color: var(--home-muted); font-size: 12px; line-height: 1.75; }
    .gac-app.gac-route-home .gac-d-gallery-toolbar { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-bottom: 12px; }
    .gac-app.gac-route-home .gac-d-filters { display: flex; gap: 8px; width: 100%; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; overscroll-behavior-x: contain; }
    .gac-app.gac-route-home .gac-d-filters button { flex-shrink: 0; min-height: 44px; padding: 10px 15px; border: 1px solid #dfe8f4; border-radius: 9px; background: #fff; color: #47617f; font-size: 12px; }
    .gac-app.gac-route-home .gac-d-filters button[aria-pressed="true"] { color: #fff; border-color: var(--home-blue); background: var(--home-blue); }
    .gac-app.gac-route-home .gac-d-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 12px; }
    .gac-app.gac-route-home .gac-d-gallery-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 0; border: 1px solid #e0eaf6; border-radius: 12px; background: #f2f7fc; text-align: left; color: var(--home-ink); }
    .gac-app.gac-route-home .gac-d-gallery-card[hidden] { display: none !important; }
    .gac-app.gac-route-home .gac-d-gallery-visual { display: flex; justify-content: center; align-items: center; width: 100%; height: clamp(135px,39vw,220px); background: linear-gradient(130deg,#e8f2fc,#e1ebf7); }
    .gac-app.gac-route-home .gac-d-gallery-visual img { width: 93%; height: 93%; object-fit: contain; }
    .gac-app.gac-route-home .gac-d-gallery-copy { display: flex; position: relative; flex: 1; flex-direction: column; gap: 6px; width: 100%; padding: 13px 13px 39px; margin-top: -7px; border-radius: 10px 10px 0 0; background: #fffffff0; }
    .gac-app.gac-route-home .gac-d-gallery-copy strong { font-size: 12px; line-height: 1.5; font-weight: 650; }
    .gac-app.gac-route-home .gac-d-gallery-copy small { color: var(--home-muted); font-size: 10px; line-height: 1.6; }
    .gac-app.gac-route-home .gac-d-gallery-expand { position: absolute; right: 11px; bottom: 10px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #e1ebf9; border-radius: 50%; background: #fff; color: var(--home-blue); }
    .gac-app.gac-route-home .gac-d-gallery-expand svg { width: 14px; height: 14px; }
    .gac-app.gac-route-home .gac-d-gallery-preview > img { display: block; width: 100%; height: 220px; object-fit: contain; margin-bottom: 18px; border-radius: 12px; background: #f1f6fc; }
    .gac-app.gac-route-home .gac-d-gallery-preview p { color: #334d64; line-height: 1.7; font-size: 14px; }
    .gac-app.gac-route-home .gac-d-gallery-preview small { display: block; color: #64748b; font-size: 11px; line-height: 1.7; }
    .gac-app.gac-route-home .gac-d-gallery-preview .gac-btn { width: 100%; margin-top: 20px; }
    .gac-app.gac-route-home .gac-d-enquiry-form { min-width: 0; padding: 23px 20px; border: 1px solid #dfe8f5; border-radius: 15px; background: #fff; }
    .gac-app.gac-route-home .gac-d-enquiry-form h3 { margin: 7px 0 23px; font-size: 25px; line-height: 1.2; letter-spacing: -.9px; font-weight: 650; }
    .gac-app.gac-route-home .gac-d-form-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 17px; }
    .gac-app.gac-route-home .gac-d-form-grid label { display: grid; gap: 8px; min-width: 0; color: #36516c; font-size: 12px; font-weight: 600; }
    .gac-app.gac-route-home .gac-d-form-grid :is(input,select,textarea) { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #dce7f4; border-radius: 9px; background: #f4f8fd; color: #1f3c58; font-size: 16px; line-height: 1.5; }
    .gac-app.gac-route-home .gac-d-form-grid :is(input,textarea)::placeholder { color: #71869b; opacity: 1; }
    .gac-app.gac-route-home .gac-d-form-grid :is(input,select,textarea):focus { background: #fff; border-color: #4380e3; }
    .gac-app.gac-route-home .gac-d-form-grid textarea { min-height: 116px; resize: vertical; }
    .gac-app.gac-route-home .gac-d-form-wide { grid-column: 1/-1; }
    .gac-app.gac-route-home .gac-d-consent { display: flex; align-items: flex-start; gap: 10px; margin: 19px 0; color: #536b83; font-size: 11px; line-height: 1.7; cursor: pointer; }
    .gac-app.gac-route-home .gac-d-consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: #0058f5; }
    .gac-app.gac-route-home .gac-d-enquiry-form > .gac-btn { width: 100%; }
    .gac-app.gac-route-home .gac-d-enquiry-form .gac-d-form-note { margin-top: 12px; color: #657d94; font-size: 11px; line-height: 1.7; }
    .gac-app.gac-route-home .gac-d-enquiry-form [data-enquiry-result]:not(:empty) { margin-top: 15px; padding: 13px; border: 1px solid #cce3dc; border-radius: 9px; background: #f1faf6; color: #226151; font-size: 12px; line-height: 1.7; }
    .gac-app.gac-route-home .gac-d-enquiry-form [data-enquiry-result][data-state="error"] { color: #9f2938; background: #fff5f5; border-color: #f1d0d6; }
    .gac-app.gac-route-home .gac-d-enquiry-form[aria-busy="true"] :is(input,select,textarea) { opacity: .7; }
}
@media screen and (min-width: 600px) and (max-width: 1023px) {
    .gac-app.gac-route-home .gac-d-gallery-copy { padding: 18px 48px 18px 18px; }
    .gac-app.gac-route-home .gac-d-gallery-expand { bottom: 21px; }
    .gac-app.gac-route-home .gac-d-enquiry-form { padding: 30px; }
    .gac-app.gac-route-home .gac-d-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media screen and (max-width: 359px) {
    .gac-app.gac-route-home .gac-feature-card { min-height: 146px; padding: 12px; }
    .gac-app.gac-route-home .gac-d-enquiry-form { padding-inline: 16px; }
}
@media screen and (max-width: 1023px) and (prefers-reduced-motion: reduce) {
    .gac-app.gac-route-home :is(.gac-d-gallery-section,.gac-d-enquiry) * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
