* {
    box-sizing: border-box;
}

:root {
    --red: #f2312a;
    --red-dark: #bd1f1a;
    --orange: #ff7a30;
    --green: #21a866;
    --ink: #172033;
    --text: #202737;
    --muted: #667085;
    --soft: #f5f7fb;
    --line: #e6eaf2;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(30, 45, 72, 0.11);
    --tint-red: linear-gradient(135deg, rgba(255, 247, 246, 0.98), rgba(255, 255, 255, 0.98));
    --tint-blue: linear-gradient(135deg, rgba(240, 247, 255, 0.98), rgba(255, 255, 255, 0.98));
    --tint-green: linear-gradient(135deg, rgba(240, 253, 248, 0.98), rgba(255, 255, 255, 0.98));
    --tint-amber: linear-gradient(135deg, rgba(255, 249, 237, 0.98), rgba(255, 255, 255, 0.98));
    --tint-cyan: linear-gradient(135deg, rgba(239, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
    --tint-violet: linear-gradient(135deg, rgba(247, 244, 255, 0.98), rgba(255, 255, 255, 0.98));
    --max: 1120px;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: rgba(242, 49, 42, 0.78) #f2f4f8;
    scrollbar-width: thin;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--white);
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.72;
}

body.modal-open {
    overflow: hidden;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #f2f4f8;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--red), var(--orange));
    border: 3px solid #f2f4f8;
    border-radius: 999px;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px 5%;
    border-bottom: 1px solid rgba(231, 235, 243, 0.86);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 1.06rem;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    font: inherit;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(30, 45, 72, 0.06);
    transform: translateZ(0);
    transform-origin: center;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
    will-change: transform;
}

.nav-toggle span:not(.nav-toggle-label) {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.nav-toggle-label {
    font-size: 0.9rem;
}

.site-nav[hidden] {
    display: none !important;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    color: #404a5f;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transform: translateZ(0);
    transform-origin: center;
    transition:
        color 0.18s ease,
        transform 0.18s ease;
    will-change: transform;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--red);
}

.nav-button,
.site-nav .nav-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    border: 0;
    border-radius: 8px;
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 12px 26px rgba(242, 49, 42, 0.2);
    font-weight: 900;
    line-height: 1.2;
    transition:
        box-shadow 0.18s ease,
        filter 0.18s ease,
        transform 0.18s ease;
}

.site-nav .nav-button:hover,
.site-nav .nav-button:focus-visible,
.site-nav .nav-contact:hover,
.site-nav .nav-contact:focus-visible {
    color: var(--white) !important;
    box-shadow: 0 16px 34px rgba(242, 49, 42, 0.24);
    filter: saturate(1.03);
    transform: translateY(-1px) scale(1.085);
}

.hero {
    min-height: 520px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 45%, rgba(255, 255, 255, 0.72) 100%),
        image-set(
            url("honglu-ai-agent-hardware-hero.webp?v=20260604-light") type("image/webp"),
            url("honglu-ai-agent-hardware-hero.png") type("image/png")
        ) center right / cover no-repeat,
        var(--soft);
}

.hero-inner,
.section-inner {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.hero-inner {
    padding: 92px 0 76px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumbs a {
    color: #404a5f;
    text-decoration: none;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: 0;
}

h1 {
    max-width: 820px;
    font-size: clamp(2.25rem, 5.4vw, 4.8rem);
}

.hero-summary {
    max-width: 720px;
    margin: 22px 0 0;
    color: #4d596d;
    font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #ffd1ce;
    border-radius: 8px;
    color: var(--red-dark);
    font-weight: 800;
    text-decoration: none;
    background: var(--white);
    overflow: hidden;
    isolation: isolate;
    transform: translateY(0);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.button-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: var(--white);
    box-shadow: 0 14px 30px rgba(242, 49, 42, 0.22);
}

main section {
    padding: 72px 0;
}

.section-title {
    margin-bottom: 28px;
}

.section-title h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.8rem);
}

.section-title p {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--muted);
}

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

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

.card {
    position: relative;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--tint-red);
    box-shadow: 0 12px 28px rgba(30, 45, 72, 0.06);
    transform: translateZ(0);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
    will-change: transform;
}

.card h3 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 1.22rem;
}

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

.card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.card li {
    margin: 8px 0;
}

.grid .card:nth-child(6n+1),
.grid-two .card:nth-child(6n+1) {
    border-color: rgba(242, 49, 42, 0.13);
    background: var(--tint-red);
}

.grid .card:nth-child(6n+2),
.grid-two .card:nth-child(6n+2) {
    border-color: rgba(37, 99, 235, 0.12);
    background: var(--tint-blue);
}

.grid .card:nth-child(6n+3),
.grid-two .card:nth-child(6n+3) {
    border-color: rgba(33, 168, 102, 0.13);
    background: var(--tint-green);
}

.grid .card:nth-child(6n+4),
.grid-two .card:nth-child(6n+4) {
    border-color: rgba(245, 158, 11, 0.13);
    background: var(--tint-amber);
}

.grid .card:nth-child(6n+5),
.grid-two .card:nth-child(6n+5) {
    border-color: rgba(8, 145, 178, 0.13);
    background: var(--tint-cyan);
}

.grid .card:nth-child(6n+6),
.grid-two .card:nth-child(6n+6) {
    border-color: rgba(124, 58, 237, 0.12);
    background: var(--tint-violet);
}

.content-block.process-section {
    background:
        linear-gradient(180deg, #fff8f7 0%, #ffffff 100%);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: visible;
}

.process-flow li {
    position: relative;
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(242, 49, 42, 0.16);
    border-radius: 8px;
    background: var(--tint-red);
    box-shadow: 0 12px 28px rgba(30, 45, 72, 0.06);
    overflow: visible;
    transform: translateZ(0);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
    z-index: 1;
    will-change: transform;
}

.process-flow li:nth-child(1) {
    z-index: 4;
}

.process-flow li:nth-child(2) {
    border-color: rgba(37, 99, 235, 0.12);
    background: var(--tint-blue);
    z-index: 3;
}

.process-flow li:nth-child(3) {
    border-color: rgba(33, 168, 102, 0.13);
    background: var(--tint-green);
    z-index: 2;
}

.process-flow li:nth-child(4) {
    border-color: rgba(245, 158, 11, 0.13);
    background: var(--tint-amber);
    z-index: 1;
}

.process-flow li::after {
    content: "";
    position: absolute;
    top: 39px;
    right: -24px;
    z-index: 6;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(242, 49, 42, 0.25), rgba(255, 122, 48, 0.6));
    pointer-events: none;
}

.process-flow li:last-child::after {
    content: none;
}

.process-flow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-weight: 950;
    line-height: 1;
}

.process-flow strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 1.08rem;
}

.process-flow p {
    margin: 0;
    color: var(--muted);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .site-nav a:hover,
    .site-nav a:focus-visible {
        position: relative;
        z-index: 2;
        transform: translateY(-1px) scale(1.1);
    }

    .site-nav .nav-button:hover,
    .site-nav .nav-button:focus-visible,
    .site-nav .nav-contact:hover,
    .site-nav .nav-contact:focus-visible {
        z-index: 3;
        transform: translateY(-1px) scale(1.085);
    }

    .nav-toggle:hover,
    .nav-toggle:focus-visible,
    .modal-close:hover,
    .modal-close:focus-visible {
        z-index: 3;
        border-color: rgba(242, 49, 42, 0.28);
        box-shadow: 0 12px 28px rgba(30, 45, 72, 0.12);
        transform: translateY(-1px) scale(1.07);
    }

    .button:hover,
    .button:focus-visible {
        border-color: rgba(242, 49, 42, 0.28);
        color: var(--red-dark);
        background: #fff7f6;
        box-shadow: 0 14px 30px rgba(30, 45, 72, 0.12);
        transform: translateY(-2px) scale(1.04);
    }

    .button-primary:hover,
    .button-primary:focus-visible {
        border-color: transparent;
        color: var(--white);
        background: linear-gradient(135deg, #ff4a40, #ff8a3d);
        box-shadow: 0 20px 42px rgba(242, 49, 42, 0.28);
        transform: translateY(-2px) scale(1.05);
    }

    .card:hover,
    .card:focus-within,
    .process-flow li:hover,
    .process-flow li:focus-within {
        z-index: 8;
        border-color: rgba(242, 49, 42, 0.28);
        box-shadow: 0 22px 48px rgba(30, 45, 72, 0.13);
        transform: translateY(-4px) scale(1.018);
    }
}

.scenario-page .cta-row {
    width: fit-content;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.scenario-page .cta-row .button {
    min-width: 136px;
}

.scenario-page .cta-row .button::before {
    content: "";
    position: absolute;
    inset: -2px auto -2px -52%;
    z-index: -1;
    width: 46%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
    opacity: 0;
    transform: skewX(-18deg);
    transition:
        left 420ms ease,
        opacity 160ms ease;
}

.scenario-page .cta-row .button:hover,
.scenario-page .cta-row .button:focus-visible {
    border-color: rgba(242, 49, 42, 0.42);
    color: var(--red-dark);
    background: #fff6f5;
    box-shadow: 0 16px 34px rgba(242, 49, 42, 0.18);
    transform: translateY(-3px) scale(1.045);
}

.scenario-page .cta-row .button-primary:hover,
.scenario-page .cta-row .button-primary:focus-visible {
    border-color: transparent;
    color: var(--white);
    background: linear-gradient(135deg, #ff4a40, #ff8a3d);
    box-shadow: 0 20px 42px rgba(242, 49, 42, 0.28);
}

.scenario-page .cta-row .button:hover::before,
.scenario-page .cta-row .button:focus-visible::before {
    left: 106%;
    opacity: 1;
}

.scenario-page .cta-row .button:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 0 10px 22px rgba(242, 49, 42, 0.16);
}

.scenario-page .cta-row .button:focus-visible {
    outline: 3px solid rgba(242, 49, 42, 0.24);
    outline-offset: 3px;
}

.scenario-page .card {
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(30, 45, 72, 0.07);
}

.scenario-page .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--orange));
}

.scenario-list .card {
    padding-top: 34px;
}

.scenario-list .card::after {
    position: absolute;
    top: 16px;
    right: 18px;
    padding: 2px 9px;
    border: 1px solid rgba(242, 49, 42, 0.18);
    border-radius: 999px;
    color: var(--red-dark);
    background: #fff6f5;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.6;
}

.scenario-list .card:nth-child(1)::after {
    content: "广西";
}

.scenario-list .card:nth-child(2)::after {
    content: "中小企业";
}

.scenario-list .card:nth-child(3)::after {
    content: "对比";
}

.scenario-list .card:nth-child(4)::after {
    content: "仓储";
}

.scenario-list .card:nth-child(5)::after {
    content: "门店";
}

.scenario-list .card:nth-child(6)::after {
    content: "巡检";
}

.scenario-list .card:nth-child(7)::after {
    content: "软硬一体";
}

.scenario-page .content-block .card {
    background:
        linear-gradient(180deg, rgba(255, 246, 245, 0.88) 0%, rgba(255, 255, 255, 0.98) 58%),
        var(--white);
    border-color: rgba(242, 49, 42, 0.18);
}

.scenario-page .scenario-faq {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.scenario-page .scenario-faq .card {
    background: #ffffff;
}

.scenario-page .grid .card:nth-child(6n+1),
.scenario-page .grid-two .card:nth-child(6n+1) {
    border-color: rgba(242, 49, 42, 0.14);
    background: var(--tint-red);
}

.scenario-page .grid .card:nth-child(6n+2),
.scenario-page .grid-two .card:nth-child(6n+2) {
    border-color: rgba(37, 99, 235, 0.12);
    background: var(--tint-blue);
}

.scenario-page .grid .card:nth-child(6n+3),
.scenario-page .grid-two .card:nth-child(6n+3) {
    border-color: rgba(33, 168, 102, 0.13);
    background: var(--tint-green);
}

.scenario-page .grid .card:nth-child(6n+4),
.scenario-page .grid-two .card:nth-child(6n+4) {
    border-color: rgba(245, 158, 11, 0.13);
    background: var(--tint-amber);
}

.scenario-page .grid .card:nth-child(6n+5),
.scenario-page .grid-two .card:nth-child(6n+5) {
    border-color: rgba(8, 145, 178, 0.13);
    background: var(--tint-cyan);
}

.scenario-page .grid .card:nth-child(6n+6),
.scenario-page .grid-two .card:nth-child(6n+6) {
    border-color: rgba(124, 58, 237, 0.12);
    background: var(--tint-violet);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .scenario-page .card:hover,
    .scenario-page .card:focus-within {
        z-index: 2;
        border-color: rgba(242, 49, 42, 0.34);
        box-shadow: 0 22px 48px rgba(30, 45, 72, 0.13);
        transform: translateY(-4px) scale(1.018);
    }
}

.content-block {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}

.site-footer {
    padding: 44px 5% 24px;
    color: #d8dce6;
    background: #11141d;
}

.footer-grid,
.footer-inner {
    display: grid;
    grid-template-columns: minmax(560px, 1.45fr) minmax(150px, 0.65fr) minmax(230px, 0.75fr);
    gap: 36px;
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.footer-brand img {
    width: 44px;
    height: 44px;
}

.site-footer h2,
.site-footer h3 {
    color: var(--white);
}

.site-footer h2 {
    margin: 0;
    font-size: 1.08rem;
}

.site-footer h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.site-footer p {
    margin: 0;
}

.site-footer p,
.site-footer a {
    color: #c3cad8;
}

.site-footer a {
    display: inline-flex;
    text-decoration: none;
    transform: translateZ(0);
    transform-origin: left center;
    transition:
        color 0.18s ease,
        filter 0.18s ease,
        transform 0.18s ease;
    will-change: transform;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--white);
    filter: saturate(1.05);
    transform: translateY(-1px) scale(1.08);
}

.footer-service-line {
    white-space: nowrap;
}

.site-footer .footer-static-link:hover,
.site-footer .footer-static-link:focus-visible {
    transform: none;
}

.copyright {
    width: min(var(--max), 100%);
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 20, 29, 0.58);
    backdrop-filter: blur(10px);
}

.modal.is-open {
    display: flex;
}

.qr-modal-content {
    position: relative;
    width: min(720px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    padding: clamp(28px, 4vw, 46px);
    overflow: auto;
    border: 1px solid #ffd4d1;
    border-radius: 8px;
    color: var(--text);
    background:
        linear-gradient(180deg, #fff7f6 0%, #ffffff 42%),
        var(--white);
    text-align: center;
    box-shadow: 0 24px 70px rgba(31, 43, 73, 0.22);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(242, 49, 42, 0.16);
    border-radius: 8px;
    color: var(--red);
    background: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transform: translateZ(0);
    transform-origin: center;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
    will-change: transform;
}

.modal-title {
    color: var(--red);
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    font-weight: 950;
}

.modal-subtitle {
    margin: 18px 0 22px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
}

.qr-image-container {
    width: min(340px, 68vw);
    margin: 0 auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 16px 34px rgba(31, 43, 73, 0.08);
}

.qr-image-container img {
    display: block;
    width: 100%;
    height: auto;
}

.qr-help,
.qr-email,
.qr-time {
    margin: 18px 0 0;
    color: #3d4659;
    font-size: 1.02rem;
    font-weight: 800;
}

.qr-email,
.qr-time {
    margin-top: 8px;
}

.qr-email a {
    color: var(--red);
    text-decoration: none;
}

.qr-email a:hover,
.qr-email a:focus-visible {
    color: var(--orange);
}

@media (max-width: 900px) {
    .site-header {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .brand {
        white-space: normal;
    }

    .nav-toggle {
        display: inline-grid;
        grid-template-columns: 18px auto;
        grid-template-rows: repeat(3, 2px);
        align-content: center;
        margin-left: auto;
    }

    .nav-toggle span:nth-child(1) {
        grid-row: 1;
    }

    .nav-toggle span:nth-child(2) {
        grid-row: 2;
    }

    .nav-toggle span:nth-child(3) {
        grid-row: 3;
    }

    .nav-toggle-label {
        grid-column: 2;
        grid-row: 1 / 4;
        align-self: center;
    }

    .site-nav {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        gap: 8px;
        padding: 8px 0 2px;
    }

    .site-nav a,
    .site-nav .nav-contact {
        justify-content: center;
        min-height: 44px;
        padding: 9px 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
    }

    .site-nav .nav-contact {
        width: 100%;
        border-color: transparent;
        background: linear-gradient(135deg, var(--red), var(--orange));
    }

    .hero {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 58%, rgba(255, 255, 255, 0.94) 100%),
            image-set(
                url("honglu-ai-agent-hardware-hero.webp?v=20260604-light") type("image/webp"),
                url("honglu-ai-agent-hardware-hero.png") type("image/png")
            ) center bottom / cover no-repeat,
            var(--soft);
    }

    .grid,
    .grid-two,
    .process-flow,
    .footer-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-service-line {
        white-space: normal;
    }

    .process-flow li::after {
        content: none;
    }
}

@media (max-width: 1120px) {
    .footer-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-service-line {
        white-space: normal;
    }
}

@media (max-width: 520px) {
    .hero-inner,
    .section-inner {
        width: calc(100% - 28px);
    }

    .hero-inner {
        padding: 74px 0 60px;
    }

    .qr-modal-content {
        padding: 28px 20px;
    }

    .cta-row .button {
        width: 100%;
    }

    .scenario-page .cta-row {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .card,
    .process-flow li,
    .button,
    .nav-toggle,
    .modal-close,
    .site-footer a,
    .site-nav a,
    .site-nav .nav-button,
    .site-nav .nav-contact,
    .scenario-page .cta-row .button::before {
        transition: none;
    }

    .card:hover,
    .card:focus-within,
    .process-flow li:hover,
    .process-flow li:focus-within,
    .button:hover,
    .button:focus-visible,
    .button-primary:hover,
    .button-primary:focus-visible,
    .nav-toggle:hover,
    .nav-toggle:focus-visible,
    .modal-close:hover,
    .modal-close:focus-visible,
    .site-nav a:hover,
    .site-nav a:focus-visible,
    .site-nav .nav-button:hover,
    .site-nav .nav-button:focus-visible,
    .site-nav .nav-contact:hover,
    .site-nav .nav-contact:focus-visible,
    .site-footer a:hover,
    .site-footer a:focus-visible,
    .scenario-page .cta-row .button:hover,
    .scenario-page .cta-row .button:focus-visible,
    .scenario-page .cta-row .button:active {
        transform: none;
    }
}
