@media (max-width: 820px) {
    body {
        color: #10213f;
        background: #f7f9fc;
        -webkit-font-smoothing: antialiased;
        text-rendering: geometricPrecision;
    }

    .site-header {
        height: 66px;
        border-bottom-color: rgba(207, 216, 230, .72);
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 1px 0 rgba(15, 23, 42, .04), 0 14px 34px rgba(15, 23, 42, .055);
        backdrop-filter: blur(18px) saturate(140%);
    }

    .header-inner,
    .page-width {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
    }

    .brand {
        gap: 14px;
        flex: 1 1 auto;
    }

    .brand img {
        width: 78px;
    }

    .brand span {
        display: block;
        min-width: 0;
        line-height: 1.05;
    }

    .brand strong {
        display: block;
        max-width: none;
        overflow: visible;
        color: #0f1f3d;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.1;
        text-overflow: clip;
        white-space: nowrap;
    }

    .brand small {
        display: block;
        max-width: none;
        margin-top: 2px;
        overflow: visible;
        color: #335f9f;
        font-size: 8px;
        font-weight: 600;
        line-height: 1.1;
        text-overflow: clip;
        white-space: nowrap;
    }

    .nav-toggle {
        display: inline-flex;
        border-color: rgba(205, 216, 231, .92);
        background: rgba(255, 255, 255, .86);
        box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
    }

    .nav-toggle span {
        background: #245fae;
    }

    h1,
    h2,
    h3,
    p,
    a {
        overflow-wrap: anywhere;
        word-break: break-all;
    }

    .site-nav {
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        display: none;
        padding: 10px 18px 18px;
        border-bottom: 1px solid #d7e6fb;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 22px 44px rgba(15, 23, 42, .10);
        backdrop-filter: blur(18px) saturate(135%);
    }

    .site-nav.open {
        display: grid;
    }

    .floating-contact {
        top: auto;
        right: 10px;
        bottom: 72px;
        width: 94px;
        padding: 8px 7px 9px;
        border-color: rgba(211, 220, 233, .92);
        gap: 6px;
        background: rgba(255, 255, 255, .92);
        box-shadow: 0 16px 34px rgba(15, 23, 42, .10);
        backdrop-filter: blur(16px) saturate(135%);
    }

    .floating-contact strong {
        font-size: 10px;
    }

    .floating-contact-qr {
        width: 68px;
        height: 68px;
        padding: 4px;
        border-color: #d9e2ee;
    }

    .floating-contact-phone {
        font-size: 9px;
        line-height: 1.3;
        overflow-wrap: normal;
        word-break: keep-all;
        white-space: nowrap;
    }

    .floating-contact-phone a {
        overflow-wrap: normal;
        word-break: keep-all;
        white-space: nowrap;
    }

    .site-nav a {
        height: 42px;
        border-radius: 7px;
        justify-content: center;
        color: #0f1f3d;
        background: #f5f8fc;
        font-weight: 650;
    }

    .site-nav a::after {
        display: none;
    }

    .hero {
        min-height: 0;
        padding: 34px 0 20px;
        background:
                radial-gradient(ellipse at 82% 10%, rgba(42, 101, 183, .12), transparent 42%),
                radial-gradient(ellipse at 10% 86%, rgba(34, 156, 126, .07), transparent 40%),
                linear-gradient(180deg, #fbfdff 0%, #f2f6fb 100%);
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-copy h1 {
        color: #0f1f3d;
        margin-bottom: 14px;
        font-size: 27px;
        line-height: 1.22;
        font-weight: 800;
        white-space: normal;
    }

    .hero-lead {
        color: #1f66c2;
        margin-bottom: 18px;
        font-size: 22px;
        line-height: 1.28;
        font-weight: 750;
        white-space: normal;
    }

    .hero-text {
        max-width: 31em;
        color: #455a7a;
        margin-bottom: 26px;
        font-size: 15px;
        line-height: 1.85;
        font-weight: 600;
    }

    .btn {
        min-width: 142px;
        height: 48px;
        padding: 0 18px;
        border-radius: 6px;
        font-size: 15px;
        line-height: 1.2;
        font-weight: 750;
        box-shadow: none;
    }

    .btn-primary {
        background: linear-gradient(180deg, #2d73d4 0%, #1f5fb8 100%);
        box-shadow: 0 14px 28px rgba(31, 95, 184, .20);
    }

    .btn-outline {
        color: #1f5fb8;
        border-color: rgba(31, 95, 184, .46);
        background: rgba(255, 255, 255, .76);
        box-shadow: 0 8px 20px rgba(31, 95, 184, .07);
    }

    .btn-green {
        background: linear-gradient(180deg, #28a982 0%, #168a69 100%);
        box-shadow: 0 14px 28px rgba(22, 138, 105, .18);
    }

    .hero-preview {
        display: none;
    }

    .storefront-stage,
    .workbench-stage {
        width: 100%;
        max-width: 100%;
    }

    .hero-preview-labels {
        grid-template-columns: 1fr;
        font-size: 13px;
    }

    .hero-preview-labels span:last-child {
        display: none;
    }

    .workbench-stage {
        display: none;
    }

    .about {
        margin-top: 18px;
        padding: 26px 18px;
        border-color: rgba(211, 220, 233, .92);
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 18px 44px rgba(15, 23, 42, .075);
        text-align: center;
    }

    .about h2 {
        font-size: 23px;
        line-height: 1.25;
    }

    .about-art img {
        margin: 0 auto;
    }

    .about-points,
    .service-grid,
    .product-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        margin: 28px 0 18px;
        color: #0f1f3d;
        font-size: 22px;
        line-height: 1.25;
    }

    .section-title::before,
    .section-title::after {
        background:
                radial-gradient(circle, #2f6fca 0 3px, transparent 4px),
                linear-gradient(#c7d3e4, #c7d3e4) center / 28px 1px no-repeat;
    }

    .about-copy p,
    .about-points p,
    .service-grid p,
    .product-card p,
    .why-grid p,
    .footer-inner p {
        color: #455a7a;
        line-height: 1.75;
    }

    .about-points h3,
    .service-grid h3,
    .why-grid h3 {
        color: #0f1f3d;
        line-height: 1.28;
    }

    .about-points article,
    .service-grid article,
    .why-grid article {
        border-color: rgba(211, 220, 233, .92);
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
    }

    .service-grid article {
        min-height: 0;
        padding: 24px 22px;
    }

    .icon {
        color: #245fae;
        background: linear-gradient(145deg, #f2f7fd, #e4edf8);
        box-shadow: inset 0 -6px 12px rgba(36, 95, 174, .06);
    }

    .product-card {
        min-height: 214px;
        border-color: rgba(67, 111, 171, .34);
        grid-template-columns: 36% 1fr;
        background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 253, .98));
        box-shadow: 0 16px 38px rgba(15, 23, 42, .07);
    }

    .product-card.workbench-product {
        border-color: rgba(38, 148, 118, .34);
    }

    .product-card img {
        min-height: 214px;
        padding: 14px 10px;
        border-right-color: rgba(214, 224, 238, .86);
        background:
                radial-gradient(circle at 50% 26%, rgba(42, 101, 183, .10), transparent 38%),
                linear-gradient(180deg, #f7fafd 0%, #eef4fa 100%);
    }

    .workbench-product img {
        background:
                radial-gradient(circle at 50% 26%, rgba(34, 156, 126, .10), transparent 38%),
                linear-gradient(180deg, #f7fbfa 0%, #edf7f3 100%);
    }

    .product-card div {
        padding: 22px 18px 20px;
    }

    .product-card h3 {
        color: #1f66c2;
        font-size: 20px;
        line-height: 1.25;
    }

    .workbench-product h3 {
        color: #188768;
    }

    .product-card p {
        margin-top: 12px;
        font-size: 13px;
        line-height: 1.7;
    }

    .product-card .btn {
        justify-self: center;
        height: 42px;
        margin: 18px auto 0;
        font-size: 13px;
        white-space: nowrap;
    }

    .why-grid {
        gap: 12px;
    }

    .why-grid article {
        border-radius: 8px;
    }

    .footer-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
        padding: 24px 0;
        gap: 20px;
        color: #10213f;
        text-align: left;
    }

    .site-footer {
        border-top-color: #dfe7f1;
        background: linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
    }

    .footer-inner h2 {
        color: #0f1f3d;
        font-size: 16px;
        line-height: 1.28;
    }

    .footer-inner a {
        color: #1f5fb8;
    }

    .footer-brand {
        grid-template-columns: 58px 1fr;
        gap: 10px 12px;
    }

    .footer-brand img {
        width: 54px;
    }

    .footer-brand p {
        white-space: normal;
    }

    .footer-follow {
        grid-template-columns: minmax(0, 1fr) 84px;
        gap: 8px 12px;
    }

    .footer-follow p {
        white-space: normal;
    }

    .qr-placeholder {
        width: 84px;
        height: 84px;
        border-color: rgba(211, 220, 233, .92);
        box-shadow: 0 14px 34px rgba(15, 23, 42, .075);
    }

    .footer-record {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
        padding: 16px 0;
        border-top-color: #dfe7f1;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        font-size: 11px;
    }

    .footer-record span,
    .footer-record a {
        white-space: normal;
    }

    .footer-record a::before {
        display: none;
    }
}

@media (max-width: 520px) {
    .hero-copy h1 {
        font-size: 24px;
        line-height: 1.24;
        white-space: normal;
    }

    .hero-lead {
        font-size: 18px;
        line-height: 1.3;
        white-space: normal;
    }

    .hero-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .btn {
        width: 100%;
        min-width: 0;
        padding: 0 12px;
        white-space: nowrap;
    }

    .about-copy,
    .about-copy p {
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .about h2,
    .section-title {
        font-size: 21px;
    }

    .about-points article {
        min-height: 0;
    }

    .product-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-card img {
        width: 100%;
        height: 170px;
        min-height: 170px;
        padding: 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(213, 230, 250, .8);
    }

    .product-card div {
        padding: 20px 18px 22px;
    }

    .product-card h3 {
        font-size: 19px;
    }

    .product-card .btn {
        width: fit-content;
        min-width: 164px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-preview {
        display: none;
    }

    .hero-preview-labels {
        font-size: 12px;
    }
}
