:root {
    --rlm-purple: #3c0f59;
    --rlm-purple-2: #5a1977;
    --rlm-purple-3: #220834;
    --rlm-yellow: #ffd200;
    --rlm-yellow-2: #f6b900;
    --rlm-granite: #6d6875;
    --rlm-heather: #a64392;
    --rlm-olive: #66734f;
    --rlm-cream: #fffaf4;
    --rlm-ink: #230936;
    --rlm-line: rgba(60, 15, 89, 0.16);
    --rlm-shadow: 0 18px 40px rgba(35, 9, 54, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Nunito Sans", "Trebuchet MS", sans-serif;
    background: var(--rlm-cream);
    color: var(--rlm-ink);
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-shell {
    --page-bg: var(--rlm-cream);
    --surface: #ffffff;
    --text: var(--rlm-ink);
    --muted: #65566f;
    --line: var(--rlm-line);
    --nav-text: #ffffff;
    --shadow: var(--rlm-shadow);
    --mud-typography-default-family: "Nunito Sans", "Trebuchet MS", sans-serif;
    --mud-typography-body1-family: "Nunito Sans", "Trebuchet MS", sans-serif;
    --mud-typography-body2-family: "Nunito Sans", "Trebuchet MS", sans-serif;
    --mud-typography-button-family: "Nunito Sans", "Trebuchet MS", sans-serif;
    --mud-typography-button-letterspacing: 0;
    --mud-typography-h1-letterspacing: 0;
    --mud-typography-h2-letterspacing: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 210, 0, 0.16), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, var(--page-bg) 46%, #f2edf4 100%);
    color: var(--text);
}

.theme-dark {
    --page-bg: #160c1e;
    --surface: #21102e;
    --text: #fff7f2;
    --muted: #d7c7df;
    --line: rgba(255, 255, 255, 0.14);
    --nav-text: #fff7d6;
    --shadow: 0 20px 44px rgba(0, 0, 0, 0.36);
    background:
        radial-gradient(circle at 15% 8%, rgba(255, 210, 0, 0.10), transparent 26%),
        linear-gradient(180deg, #1f0f2a 0%, #160c1e 52%, #0d0712 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(35, 9, 54, 0.08);
    backdrop-filter: blur(14px);
}

.theme-dark .site-header {
    background: rgba(20, 8, 32, 0.96);
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(250px, 1.05fr) minmax(150px, 0.55fr) minmax(320px, 1.1fr);
    gap: 20px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0 14px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.rlm-mark {
    width: 116px;
    height: 58px;
    flex: 0 0 auto;
}

.rlm-mark svg {
    width: 100%;
    height: 100%;
}

.rlm-mark path {
    fill: none;
    stroke: var(--rlm-purple);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-dark .rlm-mark path {
    stroke: #fff7f2;
}

.brand-copy {
    display: grid;
    gap: 0;
    min-width: 0;
}

.brand-name,
.footer-logo {
    font-family: "Bebas Neue", Impact, sans-serif;
    letter-spacing: 0;
    line-height: 0.86;
}

.brand-name {
    color: var(--rlm-purple);
    font-size: clamp(3rem, 8vw, 4.35rem);
}

.theme-dark .brand-name {
    color: #fff7f2;
}

.brand-full {
    color: var(--rlm-purple);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.theme-dark .brand-full {
    color: #f4eaff;
}

.brand-line,
.header-note {
    color: var(--muted);
    font-family: "Permanent Marker", "Comic Sans MS", cursive;
    font-size: 0.95rem;
}

.header-note {
    justify-self: center;
    max-width: 190px;
    text-align: center;
    transform: rotate(-7deg);
}

.header-contact {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.call-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--rlm-purple);
}

.call-chip .mud-icon-root {
    width: 42px;
    height: 42px;
    padding: 9px;
    color: #ffffff;
    background: var(--rlm-purple);
    border-radius: 8px;
}

.call-chip span {
    display: grid;
    line-height: 1.05;
}

.call-chip strong {
    font-weight: 900;
    font-size: 0.95rem;
}

.call-chip a {
    color: var(--rlm-purple);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 900;
}

.theme-dark .call-chip,
.theme-dark .call-chip a {
    color: #fff7f2;
}

.badge-strip,
.social-strip {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-strip span {
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--rlm-purple);
    font-size: 0.76rem;
    font-weight: 900;
    padding: 5px 8px;
    text-transform: uppercase;
}

.theme-dark .badge-strip span {
    color: #fff7d6;
}

.social-button {
    color: var(--rlm-purple) !important;
}

.theme-dark .social-button {
    color: #fff7d6 !important;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 0 max(16px, calc((100vw - 1180px) / 2));
    background:
        linear-gradient(100deg, var(--rlm-purple-3), var(--rlm-purple) 58%, #7d254a 100%);
    color: var(--nav-text);
}

.primary-nav {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 58px;
    padding: 0 13px;
    border-bottom: 4px solid transparent;
    color: #ffffff;
    font-weight: 800;
    white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--rlm-yellow);
    border-bottom-color: var(--rlm-yellow);
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.theme-toggle {
    color: #fff7d6 !important;
}

.quote-button,
.hero-cta,
.request-button {
    min-height: 42px;
    border-radius: 999px !important;
    background: linear-gradient(180deg, var(--rlm-yellow), var(--rlm-yellow-2)) !important;
    color: #250634 !important;
    font-weight: 900 !important;
    text-transform: none !important;
}

.mobile-nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-weight: 900;
}

.hero {
    position: relative;
    display: grid;
    min-height: 560px;
    overflow: hidden;
    border-bottom: 6px solid #ffffff;
    isolation: isolate;
}

.hero-media,
.hero-tint,
.footer-bg {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -3;
    background-image: url("/images/hero-haytor.png");
    background-position: center;
    background-size: cover;
}

.hero-tint {
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.50) 43%, rgba(60, 15, 89, 0.20) 82%, rgba(60, 15, 89, 0.36) 100%),
        linear-gradient(90deg, rgba(255, 210, 0, 0.16), transparent 34%, rgba(60, 15, 89, 0.18) 100%);
}

.hero-content {
    align-self: center;
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 72px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--rlm-heather);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.fleet-layout h2,
.about-story h2,
.quote-intro h2,
.updates-hero h1,
.updates-list h2 {
    font-family: "Bebas Neue", Impact, sans-serif;
    letter-spacing: 0;
}

.hero h1 {
    margin: 0;
    color: var(--rlm-purple-3);
    font-size: clamp(4.5rem, 10vw, 8.1rem);
    line-height: 0.84;
    text-shadow: 0 3px 0 rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
}

.hero-subtitle {
    margin: 8px auto 0;
    color: var(--rlm-purple-3);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 900;
    text-transform: uppercase;
}

.hero-script {
    margin: 10px auto 26px;
    color: #1c1220;
    font-family: "Permanent Marker", "Comic Sans MS", cursive;
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.1;
}

.hero-divisions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(650px, 100%);
    margin: 0 auto 24px;
}

.division-mini {
    min-height: 128px;
    padding: 10px;
    color: var(--rlm-purple-3);
    text-align: center;
}

.division-mini .mud-icon-root {
    width: 48px;
    height: 48px;
}

.division-mini h2 {
    margin: 4px 0 2px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2rem;
    line-height: 0.95;
}

.division-mini p {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.section {
    padding: clamp(48px, 7vw, 86px) 0;
}

.section-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h2,
.fleet-layout h2,
.about-story h2,
.quote-intro h2,
.updates-hero h1,
.updates-list h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 0.92;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.service-card,
.coverage-card,
.product-card,
.fleet-panel,
.about-stack article,
.quote-panel,
.updates-list details {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-card {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: var(--rlm-purple);
    color: #ffffff;
}

.service-card img {
    width: 100%;
    height: 226px;
    object-fit: cover;
}

.service-card-body {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 28px 22px 22px;
    background:
        linear-gradient(162deg, rgba(90, 25, 119, 0.92) 0%, rgba(60, 15, 89, 0.98) 60%, rgba(34, 8, 52, 1) 100%);
}

.service-card-body::before {
    content: "";
    position: absolute;
    top: -36px;
    left: -10%;
    width: 120%;
    height: 58px;
    background: linear-gradient(162deg, rgba(90, 25, 119, 0.92), rgba(60, 15, 89, 0.98));
    transform: skewY(-8deg);
}

.service-card-body > * {
    position: relative;
    z-index: 1;
}

.service-card .mud-icon-root,
.coverage-copy .mud-icon-root {
    color: var(--rlm-yellow);
}

.service-card h3,
.coverage-copy h3,
.product-card h3 {
    margin: 0;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2.45rem;
    line-height: 0.9;
}

.service-card p,
.coverage-copy p,
.product-card p,
.fleet-layout p,
.about-story p,
.quote-intro p,
.updates-hero p {
    margin: 0;
    color: inherit;
    font-size: 1.05rem;
    line-height: 1.55;
}

.service-card ul,
.coverage-copy ul {
    display: grid;
    gap: 9px;
    margin: 2px 0 10px;
    padding: 0;
    list-style: none;
}

.service-card li,
.coverage-copy li {
    position: relative;
    padding-left: 22px;
    font-weight: 750;
}

.service-card li::before,
.coverage-copy li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--rlm-yellow);
    font-weight: 900;
}

.service-button,
.coverage-button {
    justify-self: start;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--rlm-purple) !important;
    font-weight: 900 !important;
    text-transform: none !important;
}

.coverage-card {
    display: grid;
    overflow: hidden;
    background: var(--surface);
    color: var(--text);
}

.coverage-card img {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
}

.coverage-copy {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.coverage-button {
    background: var(--rlm-purple) !important;
    color: #ffffff !important;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 8px 10px;
    color: var(--rlm-purple);
    font-weight: 900;
}

.theme-dark .trust-item {
    color: #fff7d6;
}

.trust-item .mud-icon-root {
    width: 38px;
    height: 38px;
    color: var(--rlm-purple);
}

.theme-dark .trust-item .mud-icon-root {
    color: var(--rlm-yellow);
}

.fleet-band {
    background:
        linear-gradient(135deg, rgba(109, 104, 117, 0.13), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 244, 0.98));
}

.theme-dark .fleet-band {
    background:
        linear-gradient(135deg, rgba(255, 210, 0, 0.08), transparent 34%),
        linear-gradient(180deg, #21102e, #160c1e);
}

.fleet-layout,
.about-layout,
.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: clamp(24px, 5vw, 58px);
    align-items: center;
}

.fleet-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    background: var(--surface);
}

.fleet-stat {
    display: grid;
    align-content: start;
    min-height: 138px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.fleet-stat strong {
    color: var(--rlm-purple);
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 3.4rem;
    line-height: 0.88;
}

.theme-dark .fleet-stat strong {
    color: var(--rlm-yellow);
}

.fleet-stat span {
    color: var(--muted);
    font-weight: 800;
}

.partner-slots {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.partner-slots span {
    display: grid;
    place-items: center;
    min-height: 72px;
    border: 2px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.about-band {
    background:
        linear-gradient(112deg, rgba(166, 67, 146, 0.12), transparent 38%),
        var(--page-bg);
}

.about-stack {
    display: grid;
    gap: 14px;
}

.about-stack article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding: 18px;
    background: var(--surface);
}

.about-stack .mud-icon-root {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    color: var(--rlm-yellow);
    background: var(--rlm-purple);
    border-radius: 8px;
    padding: 9px;
}

.about-stack h3 {
    margin: 0;
    color: var(--rlm-purple);
    font-size: 1.2rem;
    font-weight: 900;
}

.theme-dark .about-stack h3 {
    color: #fff7d6;
}

.about-stack p {
    margin: 0;
    color: var(--muted);
}

.shop-band {
    background:
        linear-gradient(180deg, rgba(255, 210, 0, 0.10), transparent 42%),
        linear-gradient(90deg, rgba(102, 115, 79, 0.12), transparent 36%);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.product-card {
    display: grid;
    gap: 12px;
    padding: 22px;
    background: var(--surface);
}

.product-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    color: var(--rlm-purple);
    background: var(--rlm-yellow);
}

.product-price {
    color: var(--rlm-heather) !important;
    font-weight: 900;
    text-transform: uppercase;
}

.quote-band {
    background:
        linear-gradient(120deg, var(--rlm-purple-3), var(--rlm-purple) 52%, #432c29 100%);
    color: #ffffff;
}

.quote-band .eyebrow,
.quote-band h2,
.quote-band p {
    color: #ffffff;
}

.quote-panel {
    padding: 22px;
    background: rgba(255, 255, 255, 0.96) !important;
}

.theme-dark .quote-panel {
    background: rgba(33, 16, 46, 0.98) !important;
}

.quote-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.quote-message {
    grid-column: 1 / -1;
}

.quote-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.quote-alert {
    margin-top: 16px;
}

.emergency-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff7d6;
    font-weight: 900;
}

.site-footer {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    isolation: isolate;
}

.footer-bg {
    z-index: -2;
    background-image: linear-gradient(90deg, rgba(34, 8, 52, 0.90), rgba(34, 8, 52, 0.70)), url("/images/footer-moor.png");
    background-position: center;
    background-size: cover;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(250px, 1.2fr) minmax(200px, 0.8fr) minmax(220px, 0.8fr);
    gap: 28px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 4.8rem;
    color: #ffffff;
}

.footer-brand h2 {
    margin: 0;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 2.7rem;
    line-height: 0.9;
}

.footer-brand p {
    margin: 8px 0 0;
    color: #fff7d6;
    font-family: "Permanent Marker", "Comic Sans MS", cursive;
    font-size: 1.25rem;
}

.footer-inner nav,
.footer-contact {
    display: grid;
    gap: 8px;
    align-content: center;
}

.footer-inner a,
.footer-contact span {
    color: #ffffff;
    font-weight: 800;
}

.updates-hero {
    padding: 78px 0;
    background:
        linear-gradient(90deg, rgba(60, 15, 89, 0.82), rgba(60, 15, 89, 0.35)),
        url("/images/footer-moor.png");
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.updates-hero h1,
.updates-hero .eyebrow {
    color: #ffffff;
}

.updates-list {
    display: grid;
    gap: 18px;
}

.updates-list details {
    background: var(--surface);
    overflow: hidden;
}

.updates-list summary {
    cursor: pointer;
    padding: 18px 20px;
    color: var(--rlm-purple);
    font-weight: 900;
}

.theme-dark .updates-list summary {
    color: #fff7d6;
}

.updates-list ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0 20px 20px 42px;
    color: var(--muted);
}

.mobile-action-bar {
    display: none;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    max-width: min(520px, calc(100% - 32px));
    padding: 16px 48px 16px 18px;
    border-radius: 8px;
    background: #7d1c1c;
    color: #ffffff;
    box-shadow: var(--rlm-shadow);
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 12px;
    right: 16px;
    cursor: pointer;
}

.reveal {
    animation: rise-in 700ms ease both;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .header-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .header-contact {
        justify-items: center;
    }

    .header-note {
        max-width: none;
    }

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

    .coverage-card {
        grid-column: 1 / -1;
        grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
    }

    .coverage-card img {
        height: 100%;
        aspect-ratio: auto;
    }

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

@media (max-width: 980px) {
    .mobile-nav-toggle {
        display: inline-flex;
    }

    .nav-bar {
        position: relative;
        min-height: 60px;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        background: var(--rlm-purple-3);
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        min-height: 48px;
        padding: 0 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .fleet-layout,
    .about-layout,
    .quote-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-shell {
        padding-bottom: 72px;
    }

    .brand-lockup {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .rlm-mark {
        width: 94px;
        height: 48px;
    }

    .brand-name {
        font-size: 3rem;
    }

    .brand-copy {
        max-width: min(100%, 320px);
        justify-items: center;
        text-align: center;
    }

    .brand-full,
    .brand-line,
    .hero-subtitle,
    .division-mini p {
        overflow-wrap: anywhere;
    }

    .header-note {
        transform: none;
    }

    .call-chip {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .badge-strip {
        justify-content: center;
    }

    .hero {
        min-height: 670px;
    }

    .hero-media {
        background-position: 8% center;
    }

    .hero-content {
        padding-top: 34px;
        padding-bottom: 140px;
    }

    .hero h1 {
        font-size: clamp(3.7rem, 15vw, 5.2rem);
    }

    .hero-divisions,
    .service-grid,
    .shop-grid,
    .fleet-panel,
    .partner-slots,
    .quote-form-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .division-mini {
        min-height: 92px;
        padding: 6px;
    }

    .service-card {
        min-height: auto;
    }

    .coverage-card {
        grid-template-columns: 1fr;
    }

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

    .trust-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .mobile-action-bar {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 80;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 8px;
        background: rgba(34, 8, 52, 0.92);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(12px);
    }

    .mobile-action {
        display: grid;
        place-items: center;
        min-height: 44px;
        border-radius: 999px;
        font-weight: 900;
    }

    .mobile-action-call {
        background: #ffffff;
        color: var(--rlm-purple);
    }

    .mobile-action-quote {
        background: var(--rlm-yellow);
        color: var(--rlm-purple-3);
    }
}

@media (max-width: 480px) {
    .header-inner,
    .section-inner,
    .trust-strip,
    .footer-inner {
        width: min(100% - 20px, 1180px);
    }

    .nav-actions .quote-button {
        display: none;
    }

    .nav-actions .mud-button-root {
        display: none;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.25;
    }

    .hero-script {
        font-size: 1.22rem;
    }

    .service-card h3,
    .coverage-copy h3,
    .product-card h3 {
        font-size: 2.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
/* Mobile header compaction keeps the first viewport focused on the page content. */
@media (max-width: 760px) {
    .site-header {
        position: sticky;
    }

    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        justify-items: stretch;
        align-items: center;
        gap: 10px;
        width: min(100% - 24px, 1180px);
        padding: 8px 0;
        text-align: left;
    }

    .brand-lockup {
        flex-direction: row;
        justify-content: flex-start;
        gap: 8px;
        width: auto;
        min-width: 0;
    }

    .rlm-mark {
        width: 54px;
        height: 28px;
    }

    .brand-copy {
        max-width: none;
        justify-items: start;
        text-align: left;
    }

    .brand-name {
        font-size: 1.9rem;
        line-height: 0.78;
    }

    .brand-full {
        font-size: 0.78rem;
        line-height: 1;
    }

    .brand-line,
    .header-note,
    .badge-strip,
    .social-strip {
        display: none;
    }

    .header-contact {
        justify-items: end;
        gap: 0;
    }

    .call-chip {
        flex-direction: row;
        gap: 7px;
        text-align: right;
        white-space: nowrap;
    }

    .call-chip .mud-icon-root {
        width: 32px;
        height: 32px;
        padding: 7px;
        border-radius: 7px;
    }

    .call-chip strong {
        font-size: 0.68rem;
        line-height: 1;
    }

    .call-chip a {
        font-size: 1.22rem;
        line-height: 1;
    }

    .nav-bar {
        min-height: 48px;
        padding-inline: 12px;
    }

    .mobile-nav-toggle {
        min-height: 48px;
        font-size: 0.95rem;
    }
}

@media (max-width: 430px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        width: min(100% - 18px, 1180px);
    }

    .rlm-mark {
        width: 46px;
        height: 24px;
    }

    .brand-name {
        font-size: 1.58rem;
    }

    .brand-full {
        font-size: 0.68rem;
    }

    .call-chip .mud-icon-root {
        width: 28px;
        height: 28px;
        padding: 6px;
    }

    .call-chip strong {
        display: none;
    }

    .call-chip a {
        font-size: 1.05rem;
    }
}
