/* =====================================================================
   DIVERSE MOVING SOLUTIONS — Design System (main.css)
   Mobile-first. One container, one type scale, one animation language.
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    /* Brand */
    --navy:        #052451;
    --navy-900:    #041b3d;
    --navy-800:    #08306b;
    --navy-700:    #123a76;
    --navy-tint:   #eaf0f9;
    --red:         #ce180c;
    --red-600:     #b3140a;
    --red-700:     #970f07;
    --white:       #ffffff;
    --neutral:     #f6f7f9;
    --neutral-200: #eceef2;

    /* Text */
    --ink:         #0d1b30;
    --ink-soft:    #47566b;
    --ink-muted:   #6b7789;
    --on-navy:     #ffffff;
    --on-navy-soft:#b9c6de;

    /* Lines / surfaces */
    --border:      #e3e7ee;
    --border-strong:#d3d9e4;
    --surface:     #ffffff;

    /* Shadows */
    --shadow-sm:  0 1px 2px rgba(5, 36, 81, .06), 0 2px 6px rgba(5, 36, 81, .05);
    --shadow-md:  0 6px 18px rgba(5, 36, 81, .10), 0 2px 6px rgba(5, 36, 81, .06);
    --shadow-lg:  0 20px 45px rgba(5, 36, 81, .16), 0 6px 14px rgba(5, 36, 81, .08);
    --shadow-xl:  0 34px 70px rgba(4, 20, 45, .30), 0 10px 24px rgba(4, 20, 45, .18);

    /* Radii */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Spacing scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 88px;
    --space-10: 120px;

    /* Layout */
    --container: 1240px;
    --container-narrow: 980px;
    --gutter: clamp(20px, 5vw, 40px);
    --header-h: 76px;

    /* Type */
    --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    /* Motion */
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --t-fast: .22s;
    --t-med: .34s;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, picture, video { display: block; max-width: 100%; }
img { height: auto; }
svg { display: inline-block; vertical-align: middle; max-width: 100%; flex-shrink: 0; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 .5em;
    text-wrap: balance;
}

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- 3. Layout primitives ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section {
    padding-block: clamp(56px, 9vw, 112px);
    position: relative;
}
.section--tint { background: var(--neutral); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}
.section--navy .eyebrow { color: #ff7a70; }
.section--navy .eyebrow::before { background: #ff7a70; }

.h1 { font-size: clamp(2.25rem, 6.2vw, 4rem); }
.h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }

.lead {
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 60ch;
}
.section--navy .lead { color: var(--on-navy-soft); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- 5. Buttons ---------- */
.btn {
    --btn-bg: var(--red);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .98rem;
    letter-spacing: .01em;
    line-height: 1;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 1.5px solid transparent;
    border-radius: var(--r-pill);
    transition: transform var(--t-fast) var(--ease),
                box-shadow var(--t-fast) var(--ease),
                background var(--t-fast) var(--ease);
    box-shadow: 0 8px 20px rgba(206, 24, 12, .28);
    white-space: nowrap;
    cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(206, 24, 12, .34); }
.btn:active { transform: translateY(0); }

.btn--navy { --btn-bg: var(--navy); box-shadow: 0 8px 20px rgba(5, 36, 81, .26); }
.btn--navy:hover { background: var(--navy-800); box-shadow: 0 14px 30px rgba(5, 36, 81, .32); }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--navy);
    border-color: var(--border-strong);
    box-shadow: none;
}
.btn--ghost:hover { background: var(--white); border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost-light {
    --btn-bg: transparent;
    --btn-fg: #fff;
    border-color: rgba(255, 255, 255, .38);
    box-shadow: none;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn--sm { padding: 11px 18px; font-size: .9rem; box-shadow: 0 6px 16px rgba(206, 24, 12, .24); }

/* Text / link style */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: .95rem;
    color: var(--red);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Header & Desktop Navigation ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-h);
    min-height: 76px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(5, 36, 81, .06);
    transition: box-shadow var(--t-med) var(--ease);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
}
.brand { flex: none; display: inline-flex; align-items: center; gap: 10px; }
.brand__logo {
    width: 44px; height: 44px;
    min-width: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(5, 36, 81, .18);
    background: #fff;
    flex-shrink: 0;
}
.brand__name {
    display: flex; flex-direction: column; line-height: 1.05;
}
.brand__name b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: -.01em;
    color: var(--navy);
}
.brand__name span {
    font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--red); font-weight: 700;
}

/* Solid on scroll (glass shadow elevation) */
.site-header.is-scrolled {
    background: #ffffff;
    border-bottom-color: var(--border);
    box-shadow: 0 6px 24px rgba(5, 36, 81, .10);
}

.nav-desktop { display: none; flex: 0 1 auto; min-width: 0; }
.nav-desktop__list { display: flex; align-items: center; gap: 2px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.nav-desktop .nav-item { position: relative; }
.nav-desktop a.nav-link {
    display: inline-block;
    padding: 7px 9px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--ink-soft);
    border-radius: var(--r-pill);
    white-space: nowrap;
    transition: color var(--t-fast), background var(--t-fast);
}
.nav-desktop a.nav-link:hover,
.nav-desktop a.nav-link.is-active,
.nav-desktop .has-dropdown.is-open a.nav-link,
.nav-desktop .has-dropdown.is-current a.nav-link {
    color: var(--navy);
    background: var(--navy-tint);
}

/* Dropdown Menu: STRICTLY NO TRIANGLE, ARROW, CHEVRON, OR DECORATIVE SHAPE */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 440px;
    background: rgba(255, 255, 255, .98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
    padding: 16px 18px 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t-fast) var(--ease),
                transform var(--t-fast) var(--ease),
                visibility var(--t-fast);
    z-index: 150;
}
.nav-dropdown--wide {
    width: 580px;
    max-width: 90vw;
}
.nav-dropdown::before,
.nav-dropdown::after,
.nav-link--no-arrow::before,
.nav-link--no-arrow::after,
.nav-link--services::before,
.nav-link--services::after {
    display: none !important; /* Strictly no triangles or caret shapes */
}
.has-dropdown.is-open .nav-dropdown,
.nav-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.nav-dropdown__badge {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--navy-tint);
    padding: 4px 10px;
    border-radius: var(--r-pill);
}
.nav-dropdown__all {
    font-size: .84rem;
    font-weight: 700;
    color: var(--red);
    transition: color var(--t-fast);
}
.nav-dropdown__all:hover {
    color: var(--red-600);
    text-decoration: underline;
}
.nav-dropdown__grid {
    display: grid;
    gap: 4px;
}
.nav-dropdown__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 12px;
    border-radius: var(--r-md);
    transition: background var(--t-fast), transform var(--t-fast);
}
.nav-dropdown__item:hover,
.nav-dropdown__item.is-active {
    background: var(--neutral);
    transform: translateX(4px);
}
.nav-dropdown__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .92rem;
    color: var(--navy);
    line-height: 1.2;
    transition: color var(--t-fast);
}
.nav-dropdown__item:hover .nav-dropdown__title {
    color: var(--red);
}
.nav-dropdown__desc {
    font-size: .78rem;
    color: var(--ink-muted);
    line-height: 1.35;
    white-space: normal;
}

/* Service Areas Grid inside Dropdown */
.nav-dropdown__areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 8px;
    margin-top: 6px;
}
.nav-dropdown__area-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: .88rem;
    color: var(--navy);
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.nav-dropdown__area-item:hover,
.nav-dropdown__area-item.is-active {
    background: var(--neutral);
    color: var(--red);
    transform: translateX(2px);
}
.nav-dropdown__area-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-dropdown__area-tag {
    font-size: .72rem;
    color: var(--ink-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone {
    display: none;
    align-items: center; gap: 6px;
    font-weight: 700; font-size: .88rem; color: var(--navy);
    white-space: nowrap;
    flex-shrink: 0;
}
.header-phone svg { width: 16px; height: 16px; min-width: 16px; min-height: 16px; color: var(--red); flex-shrink: 0; }
.header-phone:hover { color: var(--red); }
.header-actions .btn--sm {
    padding: 8px 14px;
    font-size: .85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
    --bar: var(--navy);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px; height: 46px;
    padding: 0 11px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}
.nav-toggle span {
    display: block; height: 2.5px; width: 100%;
    background: var(--bar); border-radius: 2px;
    transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 7. Mobile nav drawer ---------- */
.nav-mobile {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
}
.nav-mobile.is-open { visibility: visible; pointer-events: auto; }
.nav-mobile__scrim {
    position: absolute; inset: 0;
    z-index: 1;
    background: rgba(4, 20, 45, .5);
    opacity: 0;
    transition: opacity var(--t-med) var(--ease);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.nav-mobile.is-open .nav-mobile__scrim { opacity: 1; }
.nav-mobile__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    z-index: 2;
    width: min(88vw, 400px);
    background: var(--white);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    padding: 22px 24px calc(24px + env(safe-area-inset-bottom));
    transform: translateX(100%);
    transition: transform var(--t-med) var(--ease-out);
    overflow-y: auto;
}
.nav-mobile.is-open .nav-mobile__panel { transform: translateX(0); }
.nav-mobile__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 8px;
}
.nav-mobile__close {
    position: relative;
    z-index: 10;
    width: 44px; height: 44px; border-radius: var(--r-md);
    background: var(--neutral); border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--navy); font-size: 22px; line-height: 1;
    cursor: pointer;
    pointer-events: auto;
}
.nav-mobile__links { margin: 12px 0; border-top: 1px solid var(--border); }
.nav-mobile__links a.nav-mobile__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 4px;
    font-family: var(--font-display);
    font-weight: 600; font-size: 1.15rem;
    color: var(--navy);
    border-bottom: 1px solid var(--border);
}
.nav-mobile__links a.nav-mobile__link::after { content: "›"; color: var(--ink-muted); font-size: 1.3rem; }

/* Mobile Services & Areas accordion: Strictly NO arrow/triangle */
.nav-mobile__accordion {
    border-bottom: 1px solid var(--border);
}
.nav-mobile__item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-mobile__item-row a.nav-mobile__link {
    border-bottom: none;
    flex: 1;
}
.nav-mobile__link--clean::after,
.nav-mobile__link--services::after {
    display: none !important; /* Strictly no chevron/arrow */
}
.nav-mobile__toggle-btn {
    flex: none;
    padding: 6px 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--navy-tint);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
}
.nav-mobile__toggle-btn:hover,
.nav-mobile__toggle-btn[aria-expanded="true"] {
    background: var(--navy);
    color: #fff;
}
.nav-mobile__submenu {
    display: none;
    padding: 4px 0 14px 14px;
    border-top: 1px dashed var(--border);
}
.nav-mobile__submenu.is-open {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-mobile__subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 4px;
}
.nav-mobile__sublink {
    display: block;
    padding: 8px 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .94rem;
    color: var(--ink-soft);
    border-radius: var(--r-md);
    transition: color var(--t-fast), background var(--t-fast);
}
.nav-mobile__sublink::after {
    display: none !important;
}
.nav-mobile__sublink:hover {
    color: var(--red);
    background: var(--neutral);
}
.nav-mobile__sublink--all {
    color: var(--navy);
    font-weight: 700;
    background: var(--navy-tint);
    margin-bottom: 4px;
}

.nav-mobile__cta { margin-top: auto; display: grid; gap: 12px; padding-top: 18px; }
.nav-mobile__call {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; color: var(--navy); padding: 6px;
}
.nav-mobile__call svg { width: 18px; height: 18px; color: var(--red); }

body.nav-open, body.modal-open { overflow: hidden; }

/* ---------- 8. Hero (Unified Hero System) ---------- */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: clamp(48px, 8vw, 84px);
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(18, 58, 118, .12), transparent 60%),
        linear-gradient(180deg, var(--neutral) 0%, #fff 78%);
    overflow: hidden;
}
.hero--service {
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(206, 24, 12, .07), transparent 60%),
        linear-gradient(180deg, var(--neutral) 0%, #fff 78%);
}
.hero__grid {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4.5vw, 36px);
}
.hero__copy { order: 1; }
.hero__media { order: 2; }
.hero__form-wrap { order: 3; margin-inline: auto; width: 100%; max-width: 520px; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title {
    font-size: clamp(2.35rem, 8.2vw, 4.15rem);
    margin-bottom: 20px;
}
.hero__title .accent { color: var(--red); }
.hero__desc { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--ink-soft); max-width: 46ch; }

.hero__benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin: 26px 0 30px;
}
.hero__benefits li {
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: .97rem; color: var(--ink);
}
.hero__benefits .tick {
    flex: none;
    width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(5, 36, 81, .08); color: var(--navy);
}
.hero__benefits .tick svg { width: 13px; height: 13px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero__serving {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: .93rem; color: var(--ink-muted); font-weight: 500;
}
.hero__serving svg { width: 17px; height: 17px; color: var(--red); flex: none; }

/* Hero media */
.hero__media { position: relative; }
.hero__media-frame {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 11;
    background: var(--navy);
}
.hero__media-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media-frame::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(200deg, transparent 55%, rgba(5, 36, 81, .28));
}
.hero__badge {
    position: absolute;
    left: -14px; bottom: 22px;
    display: flex; align-items: center; gap: 12px;
    padding: 13px 18px 13px 14px;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.hero__badge .star { color: var(--red); }
.hero__badge b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--navy); line-height: 1.1; }
.hero__badge small { color: var(--ink-muted); font-size: .8rem; }

/* ---------- Breadcrumbs: CRITICAL RULE - ZERO VISIBLE BREADCRUMBS ---------- */
.breadcrumbs {
    display: none !important;
}

/* ============================================================ */
/* Hero Premium Upgrade — Internal Pages Visual Parity          */
/* Brings .hero / .hero--service to match dms-hero aesthetics.  */
/* Purely additive CSS — no template or PHP changes needed.     */
/* ============================================================ */

/* Richer background matching dms-hero gradient palette */
.hero {
    background:
        radial-gradient(900px 500px at 85% 5%, rgba(6, 41, 87, 0.05), transparent 68%),
        radial-gradient(700px 400px at 10% 95%, rgba(217, 30, 18, 0.025), transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.hero--service {
    background:
        radial-gradient(900px 500px at 85% 5%, rgba(217, 30, 18, 0.06), transparent 68%),
        radial-gradient(700px 400px at 10% 95%, rgba(6, 41, 87, 0.04), transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Subtle ambient glow layer (decorative, matches dms-hero glows) */
.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 41, 87, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

/* Eyebrow: add red accent bar matching dms-hero__eyebrow-wrap */
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: clamp(0.76rem, 1.1vw, 0.86rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #062957;
    margin-bottom: 16px;
}
/* Red accent bar before eyebrow */
.hero__eyebrow::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 3px;
    background: #D91E12;
    border-radius: 2px;
    flex-shrink: 0;
}

/* H1 title: heavier weight, tighter tracking, pure navy */
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 4.8vw, 3.9rem);
    font-weight: 800;
    line-height: 1.1;
    color: #062957;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}
/* Red accent span for headline highlight phrases */
.hero__title .accent,
.hero__title .accent-red {
    color: #D91E12;
}

/* Description: softer slate, wider line-height */
.hero__desc {
    font-size: clamp(1.02rem, 1.5vw, 1.16rem);
    line-height: 1.65;
    color: #475569;
    max-width: 52ch;
}

/* Benefits: tighter circle icons matching dms-hero__benefit-icon */
.hero__benefits {
    margin: 22px 0 28px;
}
.hero__benefits li {
    font-size: 0.94rem;
    font-weight: 600;
    color: #0f172a;
}
.hero__benefits .tick {
    background: rgba(6, 41, 87, 0.08);
    color: #062957;
}
.hero__benefits .tick svg {
    width: 12px;
    height: 12px;
}

/* Primary CTA: red pill matching dms-hero__btn-primary */
.hero__actions .btn:first-child,
.hero__actions .btn--lg:not(.btn--ghost) {
    background: #D91E12 !important;
    border-color: #D91E12 !important;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 9999px;
    padding: 13px 26px;
    box-shadow: 0 6px 20px rgba(217, 30, 18, 0.28);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease;
}
.hero__actions .btn:first-child:hover,
.hero__actions .btn--lg:not(.btn--ghost):hover {
    background: #b8160c !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(217, 30, 18, 0.38);
}

/* Ghost / phone CTA: white pill matching dms-hero__btn-secondary */
.hero__actions .btn--ghost {
    background: #ffffff !important;
    color: #062957 !important;
    border: 1.5px solid rgba(6, 41, 87, 0.16) !important;
    font-weight: 700;
    border-radius: 9999px;
    padding: 13px 24px;
    box-shadow: 0 2px 8px rgba(6, 41, 87, 0.05);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero__actions .btn--ghost:hover {
    border-color: #062957 !important;
    color: #D91E12 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(6, 41, 87, 0.12);
}
.hero__actions .btn--ghost svg {
    color: #D91E12;
}

/* Service area micro-copy: match dms-hero__serving style */
.hero__serving {
    font-size: 0.92rem;
    color: #64748b;
    font-weight: 500;
}
.hero__serving svg {
    color: #D91E12;
}

/* Media frame: premium shadow + rounded corners (already good, enhance shadow) */
.hero__media-frame {
    border-radius: 20px;
    box-shadow:
        0 20px 48px -8px rgba(6, 41, 87, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Hero badge: enhanced glassmorphism */
.hero__badge {
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(6, 41, 87, 0.14);
}

/* Hero form card: elevated premium card matching dms-hero-card */
.hero__form-wrap .quote-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(6, 41, 87, 0.09);
    border-radius: 20px;
    box-shadow:
        0 20px 48px -12px rgba(6, 41, 87, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.04);
    padding: clamp(22px, 3vw, 32px);
}
.hero__form-wrap .quote-card__badge {
    background: rgba(6, 41, 87, 0.06);
    color: #062957;
    font-weight: 700;
    border-radius: 9999px;
}
.hero__form-wrap .quote-card__head h3 {
    font-size: 1.38rem;
    font-weight: 800;
    color: #062957;
}
.hero__form-wrap .quote-card__head p {
    color: #64748b;
}
.hero__form-wrap .quote-card__submit {
    background: #D91E12 !important;
    border-color: #D91E12 !important;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 13px;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(217, 30, 18, 0.25);
}
.hero__form-wrap .quote-card__submit:hover {
    background: #b8160c !important;
    transform: translateY(-1px);
}

/* Mobile: stack CTAs vertically on narrow screens */
@media (max-width: 560px) {
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}


/* ============================================================ */
/* DMS Rebuilt Premium Homepage Hero Section                    */
/* ============================================================ */
.dms-hero {
    position: relative;
    padding-top: calc(var(--header-h) + clamp(24px, 4.5vw, 56px));
    padding-bottom: clamp(48px, 6vw, 84px);
    background:
        radial-gradient(900px 500px at 85% 15%, rgba(6, 41, 87, 0.04), transparent 70%),
        radial-gradient(700px 400px at 15% 90%, rgba(217, 30, 18, 0.025), transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

.dms-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.dms-hero__glow--navy {
    position: absolute;
    top: -120px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 41, 87, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.dms-hero__glow--red {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(217, 30, 18, 0.035) 0%, transparent 70%);
    border-radius: 50%;
}

.dms-hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .dms-hero__container {
        grid-template-columns: 1.08fr 0.92fr;
        gap: clamp(36px, 4.5vw, 64px);
    }
}

/* Left Column Content */
.dms-hero__content {
    display: flex;
    flex-direction: column;
}

.dms-hero__eyebrow-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.dms-hero__eyebrow-bar {
    width: 26px;
    height: 3px;
    background: #D91E12;
    border-radius: 2px;
    display: inline-block;
    flex-shrink: 0;
}
.dms-hero__eyebrow {
    font-family: var(--font-display);
    font-size: clamp(0.78rem, 1.1vw, 0.86rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #062957;
}

.dms-hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.35rem, 4.2vw, 3.75rem);
    line-height: 1.12;
    color: #062957;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}
.dms-hero__title-accent {
    color: #D91E12;
}

.dms-hero__desc {
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    color: #475569;
    max-width: 540px;
    margin-bottom: 26px;
}

/* Benefits 2-Column Grid */
.dms-hero__benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px 18px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    max-width: 520px;
}
@media (min-width: 480px) {
    .dms-hero__benefits {
        grid-template-columns: 1fr 1fr;
    }
}
.dms-hero__benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.94rem;
    color: #0f172a;
}
.dms-hero__benefit-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(6, 41, 87, 0.08);
    color: #062957;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.dms-hero__benefit-icon svg {
    width: 13px;
    height: 13px;
    display: block;
}

/* Dual Action Buttons */
.dms-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 22px;
}
.dms-hero__btn-primary {
    background: #D91E12 !important;
    border-color: #D91E12 !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 9999px;
    box-shadow: 0 6px 20px rgba(217, 30, 18, 0.28);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease;
}
.dms-hero__btn-primary:hover {
    background: #b8160c !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(217, 30, 18, 0.38);
}
.dms-hero__btn-secondary {
    background: #ffffff !important;
    color: #062957 !important;
    border: 1.5px solid rgba(6, 41, 87, 0.16) !important;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 2px 8px rgba(6, 41, 87, 0.05);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.dms-hero__btn-secondary svg {
    width: 17px;
    height: 17px;
    color: #D91E12;
}
.dms-hero__btn-secondary:hover {
    border-color: #062957 !important;
    color: #D91E12 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(6, 41, 87, 0.12);
}

/* Service Area Micro-Copy */
.dms-hero__serving {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: #64748b;
    font-weight: 500;
}
.dms-hero__serving-pin {
    color: #D91E12;
    display: inline-flex;
    align-items: center;
}

/* Right Column Quote Card */
.dms-hero__form-col {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
}
.dms-hero-card .quote-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(6, 41, 87, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 48px -12px rgba(6, 41, 87, 0.15), 0 2px 6px rgba(0, 0, 0, 0.04);
    padding: clamp(22px, 3vw, 32px);
}
.dms-hero-card .quote-card__badge {
    background: rgba(6, 41, 87, 0.06);
    color: #062957;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 9999px;
    padding: 5px 12px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dms-hero-card .quote-card__badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
}
.dms-hero-card .quote-card__head h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #062957;
    margin-bottom: 4px;
}
.dms-hero-card .quote-card__head p {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0 0 16px;
}
.dms-hero-card .quote-card__submit {
    background: #D91E12 !important;
    border-color: #D91E12 !important;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 13px;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(217, 30, 18, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}
.dms-hero-card .quote-card__submit:hover {
    background: #b8160c !important;
    transform: translateY(-1px);
}

@media (max-width: 560px) {
    .dms-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .dms-hero__btn-primary,
    .dms-hero__btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- 9. Quote form ---------- */
.quote-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    padding: clamp(22px, 3vw, 30px);
}
.quote-card--glass {
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.quote-card__head { margin-bottom: 18px; }
.quote-card__head h3 { font-size: 1.4rem; margin-bottom: 4px; }
.quote-card__head p { font-size: .92rem; color: var(--ink-muted); margin: 0; }
.quote-card__badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--navy); background: var(--navy-tint);
    padding: 6px 12px; border-radius: var(--r-pill); margin-bottom: 14px;
}
.quote-card__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #1eaf5b; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
    font-size: .82rem; font-weight: 600; color: var(--ink-soft);
    letter-spacing: .01em;
}
.field label .req { color: var(--red); }
.field input, .field select {
    font-family: inherit; font-size: .97rem; color: var(--ink);
    padding: 12px 14px;
    background: var(--neutral);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
    width: 100%;
    -webkit-appearance: none; appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2347566b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.field input::placeholder { color: var(--ink-muted); }
.field input:focus, .field select:focus {
    outline: none;
    border-color: var(--navy);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(5, 36, 81, .1);
}
.field input:user-invalid { border-color: var(--red); }

.quote-card__submit { margin-top: 18px; }
.quote-card__fine {
    margin: 12px 0 0;
    font-size: .8rem; color: var(--ink-muted); text-align: center;
}
.quote-card__fine svg { width: 13px; height: 13px; display: inline; vertical-align: -2px; color: #1eaf5b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note {
    margin-top: 14px; padding: 12px 14px; border-radius: var(--r-md);
    font-size: .9rem; font-weight: 500; display: none;
}
.form-note.is-visible { display: block; }
.form-note--ok { background: #e7f6ed; color: #10693a; border: 1px solid #b6e3c8; }
.form-note--err { background: #fdecea; color: #97160b; border: 1px solid #f5c4bf; }

/* ---------- 10. Global Quote Modal ---------- */
.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    place-items: center;
    padding: clamp(16px, 3vw, 24px);
    overflow-y: auto;
}
.quote-modal.is-open {
    display: grid;
}
.quote-modal__scrim {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(5, 20, 45, 0.52);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.quote-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(96vw, 920px);
    max-height: 90vh;
    border-radius: var(--r-xl);
    background: var(--white);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.quote-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--neutral);
    color: var(--navy);
    font-size: 26px;
    line-height: 1;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.quote-modal__close:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: scale(1.08);
}
.quote-modal__layout {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(90vh - 2px);
}
.quote-modal__brand {
    background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 100%);
    color: #fff;
    padding: clamp(24px, 4vw, 36px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.quote-modal__brand::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206, 24, 12, .25), transparent 70%);
    pointer-events: none;
}
.quote-modal__brand-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.quote-modal__logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.quote-modal__brand-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.quote-modal__brand-title b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
}
.quote-modal__brand-title span {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #ff7a70;
    font-weight: 700;
}
.quote-modal__eyebrow {
    color: #ff7a70;
    margin-bottom: 8px;
}
.quote-modal__eyebrow::before {
    background: #ff7a70;
}
.quote-modal__headline {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.15;
}
.quote-modal__subtext {
    font-size: .92rem;
    color: var(--on-navy-soft);
    line-height: 1.55;
    margin-bottom: 20px;
}
.quote-modal__trust-list {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}
.quote-modal__trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
}
.quote-modal__trust-list .tick {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #ff7a70;
    display: grid;
    place-items: center;
}
.quote-modal__trust-list .tick svg {
    width: 12px;
    height: 12px;
}
.quote-modal__phone-box {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.quote-modal__phone-box span {
    font-size: .84rem;
    color: var(--on-navy-soft);
}
.quote-modal__phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .96rem;
    color: #fff;
    transition: color var(--t-fast);
}
.quote-modal__phone-link svg {
    width: 15px;
    height: 15px;
    color: #ff7a70;
}
.quote-modal__phone-link:hover {
    color: #ff7a70;
}
.quote-modal__form-side {
    background: var(--white);
    padding: clamp(20px, 3.5vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.quote-modal__form-side .quote-card {
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
}
.quote-modal__form-side .quote-card__head h3 {
    font-size: 1.28rem;
}

/* On Desktop & Tablet: Hide mobile modal */
.quote-modal--mobile {
    display: none !important;
}

/* ---- Desktop: 2-column side-by-side layout (≥ 860px) ---- */
@media (min-width: 860px) {
    .quote-modal__layout {
        display: grid;
        grid-template-columns: .95fr 1.15fr;
        min-height: 520px;
        max-height: 86vh;
        overflow-y: visible;
    }
    .quote-modal__brand {
        padding: 36px 32px;
    }
    .quote-modal__form-side {
        padding: 36px 34px;
        overflow-y: auto;
    }
}

/* ============================================================ */
/* Dedicated Mobile-Only Smart Quote Modal (≤ 767px)             */
/* ============================================================ */
@media (max-width: 767px) {
    /* Hide desktop modal on mobile */
    .quote-modal--desktop {
        display: none !important;
    }

    /* Mobile modal overlay: centered in viewport, fixed, covers screen */
    .quote-modal--mobile {
        position: fixed;
        inset: 0;
        z-index: 9000;
        width: 100vw;
        height: 100dvh;
        height: 100vh;
        padding: 16px;
        display: none;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-sizing: border-box;
    }
    .quote-modal--mobile.is-open {
        display: flex !important;
    }

    /* Subtle backdrop: NO heavy blur */
    .quote-modal--mobile .quote-modal__scrim {
        position: fixed;
        inset: 0;
        z-index: 1;
        background: rgba(5, 20, 45, 0.5);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }

    /* Mobile Dialog: Compact 3-field card, centered, max-width: 400px */
    .quote-modal__dialog--mobile {
        position: relative;
        z-index: 2;
        width: calc(100vw - 32px);
        max-width: 400px;
        max-height: calc(85dvh);
        max-height: 85vh;
        border-radius: 20px;
        background: #ffffff;
        box-shadow: 0 16px 44px rgba(5, 20, 45, 0.28), 0 2px 8px rgba(0, 0, 0, 0.06);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        margin: auto;
        box-sizing: border-box;
    }

    /* Mobile card container */
    .mobile-quote-card {
        padding: 22px 20px 20px;
        display: flex;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .mobile-quote-card__head {
        margin-bottom: 14px;
        text-align: left;
    }
    .mobile-quote-card__head .quote-card__badge {
        background: rgba(6, 41, 87, 0.06);
        color: #062957;
        font-weight: 700;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        border-radius: 9999px;
        padding: 4px 10px;
        margin-bottom: 8px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .mobile-quote-card__head .quote-card__badge .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #16a34a;
    }
    .mobile-quote-card__head h3 {
        font-family: var(--font-display);
        font-size: 1.32rem;
        font-weight: 800;
        color: #062957;
        margin: 0 0 4px;
        line-height: 1.2;
    }
    .mobile-quote-card__head p {
        font-size: 0.86rem;
        color: #64748b;
        margin: 0;
        line-height: 1.4;
    }

    /* Mobile form: 3 fields (Name, Phone, Service) */
    .mobile-quote-form {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-field {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
        box-sizing: border-box;
    }
    .mobile-field label {
        font-size: 0.82rem;
        font-weight: 600;
        color: #334155;
        letter-spacing: 0.01em;
    }
    .mobile-field label .req {
        color: #D91E12;
    }
    .mobile-field input,
    .mobile-field select {
        font-family: inherit;
        font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
        color: #0f172a;
        padding: 10px 14px;
        background: #f8fafc;
        border: 1.5px solid #cbd5e1;
        border-radius: 10px;
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
        transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
        -webkit-appearance: none;
        appearance: none;
    }
    .mobile-field select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2347566b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        padding-right: 40px;
    }
    .mobile-field input:focus,
    .mobile-field select:focus {
        outline: none;
        border-color: #062957;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(6, 41, 87, 0.1);
    }
    .mobile-field input::placeholder {
        color: #94a3b8;
    }

    /* Mobile CTA button */
    .mobile-quote-submit {
        background: #D91E12 !important;
        border-color: #D91E12 !important;
        color: #ffffff !important;
        font-weight: 700;
        border-radius: 10px;
        padding: 12px 20px;
        font-size: 1rem;
        min-height: 46px;
        width: 100%;
        box-sizing: border-box;
        box-shadow: 0 4px 14px rgba(217, 30, 18, 0.25);
        margin-top: 2px;
        transition: background 0.2s, transform 0.2s;
        cursor: pointer;
    }
    .mobile-quote-submit:hover,
    .mobile-quote-submit:active {
        background: #b8160c !important;
        transform: translateY(-1px);
    }

    .mobile-quote-form .quote-card__fine {
        margin: 8px 0 0;
        font-size: 0.76rem;
        color: #64748b;
        text-align: center;
    }
    .mobile-quote-form .quote-card__fine svg {
        width: 13px;
        height: 13px;
        display: inline;
        vertical-align: -2px;
        color: #1eaf5b;
    }
    .mobile-quote-form .form-note {
        margin-top: 10px;
    }

    /* Mobile close button: 44x44px touch target, clearly visible top-right */
    .quote-modal--mobile .quote-modal__close {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 30;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 24px;
        background: #f1f5f9;
        color: #062957;
        border: 1px solid #e2e8f0;
        border-radius: 50%;
        display: grid;
        place-items: center;
        cursor: pointer;
        padding: 0;
        transition: background 0.2s, color 0.2s, transform 0.2s;
    }
    .quote-modal--mobile .quote-modal__close:hover,
    .quote-modal--mobile .quote-modal__close:active {
        background: #D91E12;
        color: #ffffff;
        border-color: #D91E12;
        transform: scale(1.05);
    }
}

/* ---------- 11. Services & Service Areas (Grids & Cards) ---------- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 26px 24px 24px;
    transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
    overflow: hidden;
}
.service-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--red);
    transform: scaleY(0); transform-origin: top;
    transition: transform var(--t-med) var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
    width: 54px; height: 54px; border-radius: var(--r-md);
    display: grid; place-items: center;
    background: linear-gradient(150deg, var(--navy), var(--navy-800));
    color: #fff; margin-bottom: 18px;
    box-shadow: 0 8px 18px rgba(5, 36, 81, .22);
    transition: transform var(--t-med) var(--ease);
}
.service-card:hover .service-icon { transform: translateY(-2px) rotate(-4deg); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.24rem; margin-bottom: 8px; }
.service-card h3 a { color: var(--navy); transition: color var(--t-fast); }
.service-card h3 a:hover { color: var(--red); }
.service-card p { color: var(--ink-soft); font-size: .96rem; margin: 0 0 16px; }
.service-card .link-arrow { color: var(--navy); }
.service-card:hover .link-arrow { color: var(--red); }

/* Service Card Directory Variant */
.service-card--directory {
    padding: 0;
    display: flex;
    flex-direction: column;
    border-radius: var(--r-xl);
}
.service-card--directory::before {
    display: none;
}
.service-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy);
    display: block;
}
.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.service-card--directory:hover .service-card__media img {
    transform: scale(1.06);
}
.service-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 36, 81, .45));
    opacity: .7;
    transition: opacity var(--t-med);
}
.service-card--directory:hover .service-card__media::after {
    opacity: .9;
}
.service-card__icon {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--t-med) var(--ease), background var(--t-fast);
}
.service-card--directory:hover .service-card__icon {
    transform: translateY(-2px) rotate(-4deg);
    background: var(--red);
}
.service-card__icon svg {
    width: 22px;
    height: 22px;
}
.service-card__body {
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-card__title {
    font-size: 1.28rem;
    margin-bottom: 8px;
}
.service-card__title a {
    color: var(--navy);
    transition: color var(--t-fast);
}
.service-card__title a:hover {
    color: var(--red);
}
.service-card__desc {
    color: var(--ink-soft);
    font-size: .94rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.service-card__link {
    margin-top: auto;
}

/* ---------- 12. Detail Specific Sections ---------- */
/* Two-Column Introduction */
.service-intro-grid {
    display: grid;
    gap: clamp(32px, 5vw, 60px);
    align-items: center;
}
.service-intro-media {
    position: relative;
}
.service-intro-media__frame {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    background: var(--navy);
}
.service-intro-media__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-intro-copy {
    display: flex;
    flex-direction: column;
}
.service-intro-actions {
    margin-top: 20px;
}

/* Offerings Grid */
.offerings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.offering-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-med) var(--ease),
                box-shadow var(--t-med) var(--ease),
                border-color var(--t-fast);
}
.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--navy-tint);
}
.offering-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy-tint);
    color: var(--navy);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}
.offering-card__icon svg {
    width: 18px;
    height: 18px;
}
.offering-card__title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--navy);
}
.offering-card__desc {
    font-size: .92rem;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.55;
}

/* Process Steps Grid */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.process-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 22px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-med) var(--ease),
                box-shadow var(--t-med) var(--ease);
}
.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.process-card__num {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--red);
    line-height: 1;
    margin-bottom: 14px;
}
.process-card__title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--navy);
}
.process-card__desc {
    font-size: .9rem;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.55;
}

/* Trust list grid variant */
.trust-list--grid {
    grid-template-columns: 1fr;
}

/* ---------- 13. Customer Reviews Section & Cards ---------- */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: clamp(24px, 3vw, 32px);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--t-med) var(--ease),
                box-shadow var(--t-med) var(--ease);
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.review-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.review-card__stars {
    color: #f5a623;
    font-size: 1.15rem;
    letter-spacing: 2px;
}
.review-card__date {
    font-size: .8rem;
    color: var(--ink-muted);
    font-weight: 500;
}
.review-card__quote {
    margin: 0 0 20px;
    font-size: .98rem;
    line-height: 1.65;
    color: var(--ink);
    flex: 1;
}
.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.review-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy-tint);
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    display: grid;
    place-items: center;
    flex: none;
}
.review-card__meta {
    display: flex;
    flex-direction: column;
}
.review-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .96rem;
    color: var(--navy);
    font-style: normal;
}
.review-card__service {
    font-size: .8rem;
    color: var(--ink-muted);
}

/* ---------- 14. FAQ Accordions ---------- */
.faq-categories-wrap {
    display: grid;
    gap: 36px;
}
.faq-category__title {
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--border);
}
.faq-accordion-group {
    display: grid;
    gap: 10px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item.is-open {
    border-color: var(--navy);
    box-shadow: var(--shadow-sm);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--navy);
    text-align: left;
    background: none;
    cursor: pointer;
    transition: color var(--t-fast), background var(--t-fast);
}
.faq-question:hover {
    color: var(--red);
    background: var(--neutral);
}
.faq-question__icon {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--navy-tint);
    display: grid;
    place-items: center;
    position: relative;
    transition: background var(--t-fast), transform var(--t-med) var(--ease);
}
.faq-item.is-open .faq-question__icon {
    background: var(--navy);
    transform: rotate(45deg);
}
.faq-icon-line {
    position: absolute;
    background: var(--navy);
    border-radius: 2px;
    transition: background var(--t-fast);
}
.faq-item.is-open .faq-icon-line {
    background: #fff;
}
.faq-icon-line:nth-child(1) {
    width: 12px;
    height: 2px;
}
.faq-icon-line:nth-child(2) {
    width: 2px;
    height: 12px;
}
.faq-answer {
    display: none;
    border-top: 1px dashed var(--border);
}
.faq-answer.is-open {
    display: block;
}
.faq-answer__inner {
    padding: 16px 20px 20px;
    color: var(--ink-soft);
    font-size: .96rem;
    line-height: 1.65;
}
.faq-answer__inner p:last-child {
    margin-bottom: 0;
}

/* ---------- 15. Gallery Page (Filter Bar & Grid) ---------- */
.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}
.gallery-filter-btn {
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .88rem;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.gallery-filter-btn:hover {
    background: var(--neutral);
    border-color: var(--navy);
    transform: translateY(-2px);
}
.gallery-filter-btn.is-active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    box-shadow: 0 4px 14px rgba(5, 36, 81, .2);
}
.gallery-grid--full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.gallery-item__btn {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    border: none;
    background: none;
    position: relative;
    cursor: pointer;
    text-align: left;
}
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(4, 20, 45, .82));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 20px;
    opacity: 0;
    transition: opacity var(--t-med) var(--ease);
    z-index: 2;
}
.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}
.gallery-item__badge {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ff7a70;
    margin-bottom: 4px;
}
.gallery-item__caption {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 6px;
}

/* Lightbox Modal */
.lightbox {
    position: fixed; inset: 0; z-index: 300;
    display: none; place-items: center;
    background: rgba(4, 12, 26, .92);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    padding: 20px;
}
.lightbox.is-open { display: grid; }
.lightbox__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(92vw, 1100px);
}
.lightbox img { max-height: 78vh; width: auto; border-radius: var(--r-md); box-shadow: var(--shadow-xl); object-fit: contain; }
.lightbox__caption {
    color: var(--on-navy-soft);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 12px;
    text-align: center;
}
.lightbox__close, .lightbox__nav {
    position: absolute; background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28); color: #fff;
    width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center; font-size: 24px;
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .28); transform: scale(1.06); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* ---------- 16. About (Shared & Sections) ---------- */
.about-grid { display: grid; gap: clamp(32px, 5vw, 60px); align-items: center; }
.about-media { position: relative; }
.about-media__frame {
    border-radius: var(--r-xl); overflow: hidden;
    box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5;
    background: var(--navy);
}
.about-media__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-stat {
    position: absolute; right: -10px; bottom: -18px;
    background: var(--navy); color: #fff;
    padding: 20px 24px; border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl); text-align: center;
}
.about-stat b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: #fff; }
.about-stat span { font-size: .8rem; color: var(--on-navy-soft); letter-spacing: .04em; }
.about-stat .accent { color: #ff7a70; }

.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 30px; }
.trust-item { display: flex; gap: 13px; align-items: flex-start; }
.trust-item .ic {
    flex: none; width: 40px; height: 40px; border-radius: var(--r-md);
    display: grid; place-items: center;
    background: var(--navy-tint); color: var(--navy);
}
.trust-item .ic svg { width: 20px; height: 20px; }
.trust-item b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.trust-item span { font-size: .88rem; color: var(--ink-muted); }

/* ---------- 17. Service areas (Homepage & Sections) ---------- */
.areas-layout { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
.areas-primary { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin: 26px 0; }
.area-pill {
    position: relative;
    display: flex; flex-direction: column; gap: 6px;
    padding: 20px 18px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    transition: transform var(--t-med) var(--ease), background var(--t-med), border-color var(--t-med);
}
.area-pill:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .12); border-color: rgba(255, 122, 112, .6); }
.area-pill .pin { color: #ff7a70; }
.area-pill .pin svg { width: 22px; height: 22px; }
.area-pill b { font-family: var(--font-display); font-size: 1.35rem; color: #fff; }
.area-pill span { font-size: .82rem; color: var(--on-navy-soft); }

.areas-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.areas-more__link span {
    display: inline-block;
    font-size: .88rem; font-weight: 500; color: var(--on-navy-soft);
    padding: 7px 14px; border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.areas-more__link:hover span {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    border-color: rgba(255, 122, 112, .5);
    transform: translateY(-2px);
}
.areas-aside {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-xl);
    padding: clamp(26px, 3vw, 36px);
}
.areas-aside h3 { color: #fff; font-size: 1.35rem; }
.areas-aside p { color: var(--on-navy-soft); }
.areas-aside .btn { margin-top: 8px; }

/* ---------- 18. Gallery (Homepage compact grid) ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    grid-auto-flow: dense;
}
.gallery-item {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--navy);
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease);
}
.gallery-item::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(4, 20, 45, .6));
    opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.gallery-item__view {
    position: absolute; left: 14px; bottom: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 7px;
    color: #fff; font-weight: 600; font-size: .9rem;
    opacity: 0; transform: translateY(8px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.gallery-item__view svg { width: 16px; height: 16px; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover .gallery-item__view { opacity: 1; transform: translateY(0); }
.gallery-item--wide { grid-column: span 2; aspect-ratio: 16 / 10; }

/* ---------- 19. Custom CTA Band ---------- */
.cta-band {
    position: relative;
    background:
        radial-gradient(900px 500px at 15% 10%, rgba(206, 24, 12, .22), transparent 55%),
        radial-gradient(800px 500px at 100% 100%, rgba(18, 58, 118, .5), transparent 55%),
        var(--navy-900);
    overflow: hidden;
}
.cta-band__inner {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 720px; margin-inline: auto;
}
.cta-band h1, .cta-band h2, .cta-band h3 { color: #fff; }
.cta-band__logo {
    width: 74px; height: 74px; border-radius: 50%;
    margin: 0 auto 22px; background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    object-fit: cover;
}
.cta-band h2 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
.cta-band p { color: var(--on-navy-soft); font-size: 1.1rem; margin-bottom: 30px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.cta-band__or { color: var(--on-navy-soft); font-size: .95rem; }
.cta-band__phone { color: #fff; font-weight: 700; font-size: 1.15rem; display: inline-flex; align-items: center; gap: 9px; }
.cta-band__phone svg { width: 20px; height: 20px; color: #ff7a70; }
.cta-band__ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
    pointer-events: none;
}

/* ---------- 20. Contact Section ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-info .lead { margin-bottom: 28px; }
.contact-rows { display: grid; gap: 16px; margin-bottom: 24px; }
.contact-row { display: flex; gap: 15px; align-items: center; }
.contact-row .ic {
    flex: none; width: 48px; height: 48px; border-radius: var(--r-md);
    display: grid; place-items: center;
    background: var(--navy); color: #fff;
}
.contact-row .ic svg { width: 22px; height: 22px; }
.contact-row .lbl { font-size: .82rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact-row .val { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.contact-row a.val:hover { color: var(--red); }
.contact-hours {
    background: var(--neutral); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 18px 20px;
}
.contact-hours b { display: block; font-family: var(--font-display); margin-bottom: 8px; color: var(--ink); }
.contact-hours .row { display: flex; justify-content: space-between; font-size: .92rem; padding: 3px 0; color: var(--ink-soft); }

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-navy-soft); }
.footer-top {
    display: grid; gap: 40px 28px;
    padding-block: clamp(48px, 7vw, 76px);
    grid-template-columns: 1fr;
}
.footer-brand { max-width: 360px; }
.footer-brand .brand__name b { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: .95rem; color: var(--on-navy-soft); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.footer-social a, .social-link {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: #fff;
    transition: background var(--t-fast), transform var(--t-fast), color var(--t-fast);
}
.footer-social a:hover, .social-link:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-social svg, .social-icon-svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a, .footer-col li { font-size: .92rem; color: var(--on-navy-soft); transition: color var(--t-fast); }
.footer-col a:hover { color: #fff; }
.footer-call { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff !important; }
.footer-call svg { width: 20px; height: 20px; color: #ff7a70; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-block: 22px;
    display: flex; flex-wrap: wrap; gap: 10px 24px;
    justify-content: space-between; align-items: center;
    font-size: .86rem;
}
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- 22. Floating Actions ---------- */
.floating-cta {
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 90;
    display: flex; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 24px rgba(5, 36, 81, .1);
    transform: translateY(120%);
    transition: transform var(--t-med) var(--ease-out);
}
.floating-cta.is-visible { transform: translateY(0); }
.floating-cta .btn { flex: 1; }

/* ---------- 23. Animation states (progressive enhancement) ---------- */
.js-anim [data-reveal] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 24. Responsive Breakpoints ---------- */
@media (min-width: 560px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid--full { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (min-width: 640px) {
    .offerings-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .trust-list--grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr 1fr; }
    .field-grid { gap: 16px; }
}

@media (min-width: 960px) {
    .hero__grid {
        display: grid;
        grid-template-columns: 1.02fr .98fr;
        grid-template-areas: "copy media" "copy form";
        align-items: start;
        column-gap: clamp(36px, 4vw, 60px);
        row-gap: 0;
    }
    .hero__copy { grid-area: copy; align-self: center; }
    .hero__media { grid-area: media; }
    .hero__form-wrap { grid-area: form; max-width: none; margin-top: -46px; position: relative; z-index: 4; }
    .hero__benefits { max-width: 480px; }

    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid--full { grid-template-columns: repeat(3, 1fr); }
    .reviews-grid { grid-template-columns: repeat(3, 1fr); }
    .about-grid { grid-template-columns: .9fr 1.1fr; }
    .service-intro-grid { grid-template-columns: .9fr 1.1fr; }
    .process-grid { grid-template-columns: repeat(4, 1fr); }
    .trust-list--grid { grid-template-columns: repeat(4, 1fr); }
    .areas-layout { grid-template-columns: 1.3fr .7fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
    .gallery-item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
    .footer-top { grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr 1.1fr; }
}

@media (min-width: 1180px) {
    :root { --header-h: 84px; }
    .nav-toggle { display: none !important; }
    .nav-desktop { display: block; }
    .header-phone { display: inline-flex; }
    .floating-cta { display: none !important; }
}

@media (min-width: 1340px) {
    body { font-size: 18px; }
    .site-header__inner { gap: 20px; }
    .nav-desktop__list { gap: 5px; }
    .nav-desktop a.nav-link { padding: 8px 12px; font-size: .92rem; }
    .header-actions { gap: 14px; }
    .header-phone { font-size: .94rem; gap: 8px; }
    .header-actions .btn--sm { padding: 10px 18px; font-size: .88rem; }
}

/* ---------- 25. Blog Hub & Editorial Articles ---------- */
.blog-featured-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.blog-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.blog-featured-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy);
    display: block;
}
.blog-featured-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.blog-featured-card:hover .blog-featured-card__media img {
    transform: scale(1.05);
}
.blog-featured-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--navy);
    padding: 6px 14px;
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-sm);
}
.blog-featured-card__content {
    padding: clamp(24px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-featured-card__title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin: 10px 0 14px;
    line-height: 1.2;
}
.blog-featured-card__title a {
    color: var(--navy);
    transition: color var(--t-fast);
}
.blog-featured-card__title a:hover {
    color: var(--red);
}
.blog-featured-card__desc {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 22px;
}
.blog-featured-card__action {
    margin-top: auto;
}

@media (min-width: 860px) {
    .blog-featured-card {
        display: grid;
        grid-template-columns: 1.1fr .9fr;
    }
    .blog-featured-card__media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 380px;
    }
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 640px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
    .articles-grid { grid-template-columns: repeat(3, 1fr); }
}

.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.article-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy);
    display: block;
}
.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.article-card:hover .article-card__media img {
    transform: scale(1.06);
}
.article-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--navy);
    padding: 5px 12px;
    border-radius: var(--r-pill);
}
.article-card__body {
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--ink-muted);
    font-weight: 600;
    margin-bottom: 8px;
}
.article-card__title {
    font-size: 1.22rem;
    line-height: 1.3;
    margin-bottom: 10px;
}
.article-card__title a {
    color: var(--navy);
    transition: color var(--t-fast);
}
.article-card__title a:hover {
    color: var(--red);
}
.article-card__desc {
    color: var(--ink-soft);
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.article-card__link {
    margin-top: auto;
}

/* Article Detail Header */
.article-header {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 28px;
    background: linear-gradient(180deg, var(--neutral) 0%, #fff 100%);
    text-align: center;
}
@media (min-width: 960px) {
    .article-header {
        padding-top: calc(var(--header-h) + 64px);
        padding-bottom: 36px;
    }
}
.article-header__inner {
    max-width: 780px;
    margin-inline: auto;
}
.article-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: .88rem;
    color: var(--ink-muted);
    font-weight: 600;
}
.article-badge {
    color: var(--navy);
    background: var(--navy-tint);
    padding: 5px 14px;
    border-radius: var(--r-pill);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.article-title {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 20px;
}
.article-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-sm);
}
.article-author__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.article-author__info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.article-author__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .92rem;
    color: var(--navy);
}
.article-author__role {
    font-size: .74rem;
    color: var(--ink-muted);
}

.article-featured-media {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
    background: var(--navy);
    margin-bottom: 32px;
}
.article-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2-Column Article Layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 960px) {
    .article-layout {
        grid-template-columns: 1fr 340px;
        gap: 52px;
        align-items: start;
    }
}

.article-body {
    max-width: 68ch;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink);
}
.article-body h2 {
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    color: var(--navy);
    margin-top: 44px;
    margin-bottom: 16px;
    line-height: 1.25;
}
.article-body h3 {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    color: var(--navy);
    margin-top: 28px;
    margin-bottom: 12px;
}
.article-body p {
    margin-bottom: 1.4rem;
}
.article-body a {
    color: var(--red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--t-fast);
}
.article-body a:hover {
    color: var(--red-600);
}
.article-body ul, .article-body ol {
    margin: 0 0 1.6rem 24px;
    padding: 0;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.article-callout {
    background: var(--neutral);
    border-left: 4px solid var(--red);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 22px 24px;
    margin: 32px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.article-callout__icon {
    font-size: 24px;
    flex: none;
    line-height: 1;
}
.article-callout__content h4 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.article-callout__content p {
    margin: 0;
    font-size: .96rem;
    color: var(--ink-soft);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: .94rem;
    background: var(--white);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border);
}
.article-table th {
    background: var(--navy);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    text-align: left;
    padding: 14px 16px;
}
.article-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--ink-soft);
}
.article-table tr:nth-child(even) td {
    background: var(--neutral);
}
.article-table tr:last-child td {
    border-bottom: none;
}

.article-author-box {
    margin-top: 48px;
    padding: 28px;
    background: var(--neutral);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    display: flex;
    gap: 18px;
    align-items: center;
}
.article-author-box__logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    flex: none;
}
.article-author-box__text h4 {
    font-size: 1.12rem;
    color: var(--navy);
    margin-bottom: 4px;
}
.article-author-box__text p {
    margin: 0;
    font-size: .92rem;
    color: var(--ink-soft);
}

/* Sticky Editorial Sidebar */
.article-sidebar__sticky {
    position: sticky;
    top: calc(var(--header-h) + 18px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.sidebar-card--form {
    padding: 24px 22px;
}
.sidebar-card__head {
    margin-bottom: 14px;
}
.sidebar-card__head h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.sidebar-card__head p {
    font-size: .88rem;
    color: var(--ink-muted);
    margin: 0;
}
.sidebar-card--phone {
    background: var(--navy);
    color: #fff;
    text-align: center;
}
.sidebar-card--phone h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.sidebar-card--phone p {
    color: var(--on-navy-soft);
    font-size: .9rem;
    margin-bottom: 16px;
}
.sidebar-title {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}
.sidebar-list {
    display: grid;
    gap: 6px;
}
.sidebar-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: .92rem;
    color: var(--ink-soft);
    transition: background var(--t-fast), color var(--t-fast);
}
.sidebar-list a:hover {
    background: var(--neutral);
    color: var(--red);
}
.sidebar-list svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    flex-shrink: 0;
    display: inline-block;
}

.article-card__link svg,
.blog-featured-card__action svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    flex-shrink: 0;
    display: inline-block;
}

/* ============================================================ */
/* LocalMovers.com Industry Excellence Recognition Component    */
/* ============================================================ */
.dms-lm-recognition {
    margin: 24px 0;
    width: 100%;
}
.dms-lm-recognition__inner {
    background: #ffffff;
    border: 1px solid rgba(6, 41, 87, 0.1);
    border-radius: var(--r-xl);
    padding: 18px 24px;
    box-shadow: 0 4px 20px rgba(6, 41, 87, 0.06);
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.dms-lm-recognition__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff9e6;
    border: 1px solid #ffd633;
    padding: 6px 14px;
    border-radius: 9999px;
    flex-shrink: 0;
}
.dms-lm-recognition__logo {
    height: 22px;
    width: auto;
    display: block;
    object-fit: contain;
}
.dms-lm-recognition__tag {
    font-size: .74rem;
    font-weight: 800;
    color: #855b00;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.dms-lm-recognition__text {
    margin: 0;
    font-size: .94rem;
    line-height: 1.55;
    color: var(--ink-soft);
    flex: 1;
    min-width: 260px;
}
.dms-lm-recognition__text a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.dms-lm-recognition__text a:hover {
    color: var(--red);
}

.dms-lm-recognition--compact {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(6, 41, 87, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 16px 0;
}
.dms-lm-recognition--compact .dms-lm-recognition__logo {
    height: 20px;
    flex-shrink: 0;
}
.dms-lm-recognition--compact .dms-lm-recognition__text {
    font-size: .86rem;
    line-height: 1.45;
    margin: 0;
}

/* ============================================================ */
/* DMS Unified Floating Action System (Zero-Overlap Engine)     */
/* ============================================================ */
.dms-floating-system {
    position: fixed;
    z-index: 88;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

/* Modal and Navigation Exclusion: Hide system when popup or mobile drawer is open */
body.modal-open .dms-floating-system,
body.nav-open .dms-floating-system,
.quote-modal.is-open ~ .dms-floating-system {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(20px) !important;
}

.dms-floating-system__container {
    display: flex;
    pointer-events: auto;
    align-items: center;
    gap: 12px;
}

.dms-floating-actions {
    display: flex;
    align-items: center;
}

.dms-floating-actions__inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Base Action Pill Styles */
.dms-floating-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    padding: 7px 16px 7px 7px;
    border-radius: 9999px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .88rem;
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(5, 36, 81, 0.13), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dms-floating-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 36, 81, 0.18);
}

.dms-floating-action:active {
    transform: scale(0.97);
}

.dms-floating-action:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* 1. Call Action */
.dms-floating-action--call {
    background: #ffffff;
    color: var(--navy);
    border: 1px solid rgba(5, 36, 81, 0.12);
}
.dms-floating-action--call .dms-floating-action__icon--navy {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--navy);
    color: #ffffff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.dms-floating-action--call:hover {
    color: var(--red);
    border-color: rgba(227, 24, 55, 0.3);
}
.dms-floating-action--call:hover .dms-floating-action__icon--navy {
    background: var(--red);
}

/* 2. Google Review Action */
.dms-floating-action--review {
    background: #ffffff;
    color: var(--navy);
    border: 1px solid rgba(5, 36, 81, 0.12);
}
.dms-floating-action--review .dms-floating-action__icon--gold {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fef3c7;
    color: #f59e0b;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.dms-floating-action--review:hover {
    color: #b45309;
    border-color: #fde68a;
}
.dms-floating-action--review:hover .dms-floating-action__icon--gold {
    background: #fde68a;
}

/* 3. LocalMovers.com Action */
.dms-floating-action--localmovers {
    background: #ffcc00;
    color: #1a1a1a;
    border: 1px solid #e6b800;
    padding: 7px 16px 7px 10px;
}
.dms-floating-action--localmovers .dms-floating-action__logo-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.dms-floating-action--localmovers .dms-floating-action__logo {
    height: 22px;
    width: auto;
    max-width: 110px;
    display: block;
    object-fit: contain;
}
.dms-floating-action--localmovers .dms-floating-action__text--localmovers {
    color: #1a1a1a;
    font-size: .84rem;
}
.dms-floating-action--localmovers:hover {
    background: #ffd633;
    box-shadow: 0 8px 24px rgba(230, 184, 0, 0.35);
}

/* Mobile Quick Quote Button (hidden on desktop, active in mobile bar) */
.dms-floating-action--m-quote {
    display: none;
    background: var(--red);
    color: #ffffff;
    border: 1px solid var(--red);
}
.dms-floating-action--m-quote .dms-floating-action__icon--red {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: grid;
    place-items: center;
}

/* Primary Desktop Request a Quote FAB wrapper */
.dms-floating-quote-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.dms-floating-quote-wrap .quote-fab {
    position: static;
    margin: 0;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 6px 20px rgba(227, 24, 55, 0.32), 0 2px 6px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    border-radius: 9999px;
    padding: 12px 22px;
    font-size: .92rem;
    font-weight: 700;
}

/* ============================================================ */
/* Responsive Positioning & Available Width Exclusion System    */
/* ============================================================ */

/* Tier 1: Large Desktop (≥ 1400px) — Clean Horizontal Layout */
@media (min-width: 1400px) {
    .dms-floating-system {
        bottom: 24px;
        right: 24px;
    }
    .dms-floating-system--bottom-left {
        right: auto;
        left: 24px;
    }
    .dms-floating-system--bottom-center {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .dms-floating-system__container {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 14px;
        max-width: calc(100vw - 48px);
    }
    .dms-floating-actions__inner {
        flex-wrap: nowrap;
    }
}

/* Tier 2: Medium Desktop (1200px – 1399px) — Protected Horizontal with Wrap Safety */
@media (min-width: 1200px) and (max-width: 1399px) {
    .dms-floating-system {
        bottom: 22px;
        right: 22px;
    }
    .dms-floating-system__container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        max-width: calc(100vw - 44px);
    }
    .dms-floating-actions__inner {
        gap: 8px;
    }
    .dms-floating-action {
        padding: 6px 14px 6px 6px;
        font-size: .84rem;
    }
    .dms-floating-action--call .dms-floating-action__icon--navy,
    .dms-floating-action--review .dms-floating-action__icon--gold {
        width: 30px;
        height: 30px;
    }
}

/* Tier 3: Compact Desktop / High Tablet (992px – 1199px) — 2-Row Excluded Stack */
@media (min-width: 992px) and (max-width: 1199px) {
    .dms-floating-system {
        bottom: 20px;
        right: 20px;
    }
    .dms-floating-system__container {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        max-width: 440px;
    }
    .dms-floating-actions__inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }
    .dms-floating-action {
        font-size: .82rem;
        padding: 6px 14px 6px 6px;
    }
}

/* Tier 4: Tablet Portrait (768px – 991px) — Pure Stacked Exclusion Column */
@media (min-width: 768px) and (max-width: 991px) {
    .dms-floating-system {
        bottom: 18px;
        right: 18px;
    }
    .dms-floating-system__container {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }
    .dms-floating-actions__inner {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }
    .dms-floating-action {
        box-shadow: 0 4px 14px rgba(5, 36, 81, 0.12);
    }
    .dms-floating-quote-wrap .quote-fab {
        width: auto;
    }
}

/* Tier 5: Mobile Viewports (≤ 767px) — Integrated 2-Row Bottom Conversion Bar */
@media (max-width: 767px) {
    .dms-floating-system {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        z-index: 90;
    }
    .dms-floating-system__container {
        width: 100%;
        flex-direction: column;
        gap: 0;
    }
    /* Hide desktop standalone CTA wrap — mobile bar has its own quote button */
    .dms-floating-quote-wrap {
        display: none !important;
    }
    .dms-floating-actions {
        width: 100%;
        background: rgba(255, 255, 255, 0.97);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border-top: 1px solid rgba(5, 36, 81, 0.09);
        box-shadow: 0 -4px 20px rgba(5, 36, 81, 0.12);
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
    }
    /* 2-row grid: Row 1 = Review Us + Call | Row 2 = LocalMovers + Get Quote */
    .dms-floating-actions__inner {
        width: 100%;
        max-width: 520px;
        margin-inline: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 6px;
    }
    /* Row 1: Review Us (col 1) + Call (col 2) */
    .dms-floating-action--review {
        grid-column: 1;
        grid-row: 1;
    }
    .dms-floating-action--call {
        grid-column: 2;
        grid-row: 1;
    }
    /* Row 2: LocalMovers (col 1) + Get Quote (col 2) */
    .dms-floating-action--localmovers {
        grid-column: 1;
        grid-row: 2;
    }
    .dms-floating-action--m-quote {
        display: inline-flex;
        grid-column: 2;
        grid-row: 2;
    }
    /* Shared mobile button styles */
    .dms-floating-action {
        flex: unset;
        width: 100%;
        min-width: 0;
        justify-content: center;
        align-items: center;
        padding: 9px 8px;
        font-size: .75rem;
        line-height: 1.2;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(5, 36, 81, 0.09);
        gap: 6px;
        min-height: 44px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
    }
    .dms-floating-action__icon {
        width: 26px;
        height: 26px;
        flex-shrink: 0;
    }
    .dms-floating-action__icon svg {
        width: 14px;
        height: 14px;
    }
    /* LocalMovers logo — visible, not distorted */
    .dms-floating-action--localmovers {
        padding: 9px 8px;
    }
    .dms-floating-action__logo {
        height: 16px;
        max-width: 80px;
        flex-shrink: 0;
    }
    /* Hide the long LocalMovers text label on mobile — logo is sufficient */
    .dms-floating-action__text--localmovers {
        display: none;
    }
    /* Ensure call text (phone number) is never truncated */
    .dms-floating-action--call .dms-floating-action__text {
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
        letter-spacing: -.01em;
    }
    /* Review Us text — must stay readable */
    .dms-floating-action--review .dms-floating-action__text {
        overflow: visible;
        white-space: nowrap;
    }
}

/* Very narrow screens (≤ 360px): tighten font/padding slightly */
@media (max-width: 360px) {
    .dms-floating-actions__inner {
        gap: 5px;
    }
    .dms-floating-action {
        font-size: .70rem;
        padding: 8px 6px;
        gap: 5px;
    }
    .dms-floating-action__icon {
        width: 22px;
        height: 22px;
    }
    .dms-floating-action__logo {
        height: 14px;
        max-width: 72px;
    }
}
