@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('../fonts/roboto-latin-400-normal.woff2') format('woff2');
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('../fonts/roboto-latin-ext-400-normal.woff2') format('woff2');
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
        U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
        U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('../fonts/roboto-cyrillic-400-normal.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('../fonts/roboto-cyrillic-ext-400-normal.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('../fonts/roboto-latin-500-normal.woff2') format('woff2');
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('../fonts/roboto-latin-ext-500-normal.woff2') format('woff2');
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
        U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
        U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('../fonts/roboto-cyrillic-500-normal.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('../fonts/roboto-cyrillic-ext-500-normal.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('../fonts/roboto-latin-700-normal.woff2') format('woff2');
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('../fonts/roboto-latin-ext-700-normal.woff2') format('woff2');
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
        U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
        U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('../fonts/roboto-cyrillic-700-normal.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('../fonts/roboto-cyrillic-ext-700-normal.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
    --ink: #142c40;
    --body: #394b58;
    --gold: #b67c2e;
    --gold-light: #f5dba8;
    --surface: #f4f5f7;
    --line: #e1e5e8;
    --radius: 12px;
    --shadow: 0 14px 40px #162d400b;
    --max: 1200px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    margin: 0;
    background: #fff;
    color: var(--body);
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.modal-open {
    overflow: hidden;
}
button,
input,
textarea {
    font: inherit;
}
button,
a,
input,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button,
a {
    touch-action: manipulation;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--gold);
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: wait;
    opacity: 0.6;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
svg {
    flex-shrink: 0;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2 {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.16;
    text-wrap: balance;
}
h1 {
    font-size: clamp(38px, 4.5vw, 64px);
    letter-spacing: -1.8px;
    margin-bottom: 24px;
}
h2 {
    font-size: clamp(28px, 3.1vw, 42px);
    letter-spacing: -0.7px;
    margin-bottom: 22px;
}
h3 {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}
p {
    margin-bottom: 16px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #007c91;
    outline-offset: 4px;
}
.container {
    width: min(calc(100% - 64px), var(--max));
    margin-inline: auto;
}
.section {
    padding-block: 76px;
}
.section-heading {
    margin-bottom: 32px;
    max-width: 880px;
}
.section-heading h2 {
    margin-bottom: 12px;
}
.section-heading p {
    margin-bottom: 0;
}
.centered {
    text-align: center;
    margin-inline: auto;
}
.gold {
    color: var(--gold);
}
.icon {
    width: 26px;
    height: 26px;
    color: var(--gold);
    display: inline-block;
    vertical-align: middle;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 17px 26px;
    min-height: 54px;
    border: 1px solid #dfb675;
    border-radius: 999px;
    background: linear-gradient(110deg, #f9e8c8, #e7bb76);
    color: #17232b;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 5px 14px #ac742a12;
    transition:
        background 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}
.button .icon {
    color: inherit;
    width: 22px;
    height: 22px;
}
.button:hover {
    color: #17232b;
    background: linear-gradient(110deg, #f8dfae, #dfac60);
    box-shadow: 0 7px 20px #ac742a25;
    transform: translateY(-1px);
}
.button-small {
    font-size: 13px;
    padding: 13px 19px;
    min-height: 46px;
    gap: 10px;
}
.button-outline {
    background: transparent;
    box-shadow: none;
    color: var(--ink);
    border-color: #c99a5b;
}
.button-outline:hover {
    background: #fcf5e9;
}
.round-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f6dfb6;
    border: 1px solid #e7c287;
}
.round-button .icon {
    width: 23px;
    height: 23px;
    color: var(--ink);
}
.telegram-button {
    background: #28a6d9;
    border-color: #28a6d9;
}
.telegram-button .icon {
    color: white;
}
.text-button {
    background: transparent;
    border: 0;
    padding: 0;
    min-height: 44px;
    color: var(--ink);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.site-header {
    position: relative;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header-inner {
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: block;
    flex-shrink: 0;
    width: 282px;
}
.brand img {
    width: 100%;
    height: auto;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}
.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 100;
    background: #fff;
    padding: 14px;
}
.skip-link:focus {
    top: 10px;
}
.photo-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #f3f4f5;
}
.section-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}
.photo-section:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #f5f6f7 0%, #f5f6f7f5 33%, #f5f6f7b5 55%, #f5f6f712 100%);
}
.hero {
    min-height: 570px;
    display: flex;
    align-items: center;
}
.hero-content {
    padding-block: 64px;
}
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    color: #806138;
    margin-bottom: 18px;
    text-transform: uppercase;
}
.hero h1 {
    max-width: 750px;
}
.hero h1 span {
    display: block;
    color: var(--gold);
}
.hero-description {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 28px;
}
.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    margin: 20px 0 0;
}
.hero-note .icon {
    width: 18px;
    height: 18px;
}
.trust-strip {
    background: #edeff1;
    border-block: 1px solid #e1e4e7;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-block: 26px;
    gap: 20px;
}
.trust-grid > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 18px;
    border-right: 1px solid #d4d9dd;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.45;
}
.trust-grid > div:last-child {
    border: 0;
}
.trust-grid .icon {
    width: 34px;
    height: 34px;
}
.risk-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.risk-card {
    border: 1px solid var(--line);
    padding: 26px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
}
.risk-card > .icon {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
}
.risk-card p {
    font-size: 15px;
    margin: 0;
}
.risk-section .section-heading > p {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 25px;
    color: var(--ink);
}
.help-section .section-photo {
    object-position: 70% center;
}
.help-section:after {
    background: linear-gradient(90deg, #f0f2f4 0%, #f0f2f4f7 40%, #f0f2f4c7 65%, #f0f2f44a 100%);
}
.help-content {
    max-width: 800px;
}
.check-list {
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
    display: grid;
    gap: 20px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.6;
}
.check-list .icon {
    background: #efd3a3;
    border-radius: 50%;
    color: #31414e;
    padding: 4px;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.why-card {
    display: flex;
    gap: 20px;
    background: var(--surface);
    border: 1px solid #eceef0;
    border-radius: var(--radius);
    padding: 28px;
}
.why-card p {
    margin: 0;
    font-size: 15px;
}
.icon-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff7e9;
    border-radius: 50%;
    flex-shrink: 0;
}
.icon-circle .icon {
    width: 28px;
    height: 28px;
}
.stats-section {
    padding: 34px 0;
    background: #e9ecef;
    border-block: 1px solid #dde2e6;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.stat {
    display: flex;
    align-items: center;
    gap: 16px;
}
.stat > .icon {
    width: 40px;
    height: 40px;
}
.stat strong {
    color: var(--ink);
    font-size: 24px;
    line-height: 1.2;
    display: block;
    margin-bottom: 6px;
}
.stat p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    max-width: 160px;
}
.practice-section {
    padding-bottom: 40px;
}
.case-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 4px 2px 18px;
    scrollbar-width: thin;
    scrollbar-color: #d9bf97 #f3f4f5;
}
.case-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 4px 14px #142c4008;
    overflow: hidden;
    scroll-snap-align: start;
    background: #fff;
}
.case-card button {
    border: 0;
    padding: 0;
    background: #fff;
    width: 100%;
    color: inherit;
    text-align: left;
}
.case-card img {
    width: 100%;
    aspect-ratio: 5/6;
    object-fit: contain;
    background: #f4f5f6;
    padding: 16px;
}
.case-caption {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    font-size: 13px;
    line-height: 1.5;
}
.case-caption .icon {
    width: 20px;
    height: 20px;
}
.case-demo {
    padding: 0 14px 14px;
    font-size: 11px;
    line-height: 1.4;
    color: #657783;
    margin: 0;
}
.carousel-tools {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 14px;
}
.carousel-tools .round-button {
    background: #fff;
    border-color: var(--line);
}
.practice-bottom {
    margin-top: 20px;
}
.case-track.expanded {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
}
.case-track.expanded .case-card {
    width: auto;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.team-card img {
    width: 100%;
    aspect-ratio: 6/7;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
    background: #e8eaec;
}
.team-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}
.team-card p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}
.analysis-section:after {
    background: linear-gradient(90deg, #f0f2f4f7, #f0f2f4ed 60%, #f0f2f4bd);
}
.analysis-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}
.analysis-copy h2 {
    font-size: 36px;
}
.analysis-copy h2 span {
    display: block;
    margin-top: 6px;
}
.analysis-copy .check-list {
    font-size: 15px;
    margin-bottom: 28px;
    gap: 20px;
}
.analysis-copy > p {
    font-size: 14px;
    margin-bottom: 10px;
}
.form-card {
    background: #fff;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 50px #1a324011;
}
.form-card h2,
.modal h2 {
    font-size: 29px;
    margin-bottom: 12px;
}
.form-card > p,
.modal > p {
    font-size: 14px;
}
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.lead-form label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 6px;
}
.lead-form input,
.lead-form textarea {
    width: 100%;
    min-width: 0;
    background: #f7f8f9;
    border: 1px solid #dfe4e8;
    border-radius: 8px;
    padding: 12px 14px;
    line-height: 1.5;
    color: var(--ink);
    font-size: 16px;
}
.lead-form textarea {
    resize: vertical;
    min-height: 90px;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: #75818a;
    font-size: 14px;
}
.lead-form small {
    font-size: 11px;
    color: #60717e;
    line-height: 1.5;
}
.lead-form .button {
    margin-top: 12px;
    width: 100%;
}
.form-note {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.5;
    color: #62717c;
    margin: 8px 0 0;
}
.form-note .icon {
    width: 16px;
    height: 16px;
    margin-top: 1px;
}
.form-status {
    font-size: 14px;
    line-height: 1.5;
    margin: 4px 0 0;
}
.form-status:empty {
    display: none;
}
.form-status[data-state='error'] {
    color: #9b2727;
}
.form-status[data-state='success'] {
    color: #126047;
}
.trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 32px;
    align-items: start;
}
.map-card {
    background: #f2f4f5;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.map-art {
    height: 180px;
    background-color: #e9eeeb;
    background-image:
        linear-gradient(35deg, transparent 40%, #fff 41%, #fff 45%, transparent 46%),
        linear-gradient(110deg, transparent 33%, #d4e6eb 34%, #d4e6eb 41%, transparent 42%),
        repeating-linear-gradient(
            165deg,
            transparent 0,
            transparent 39px,
            #fff 40px,
            #fff 44px,
            transparent 45px
        );
    display: grid;
    place-items: center;
}
.map-art > .icon {
    width: 45px;
    height: 45px;
    color: #b57a2b;
    filter: drop-shadow(0 2px 6px #0002);
}
.map-caption {
    padding: 24px;
}
.map-caption p {
    font-size: 14px;
}
.map-caption .button {
    width: 100%;
    font-size: 13px;
    padding: 12px;
}
.contact-details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 8px;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.contact-details p,
.contact-details a {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0;
}
.contact-details .icon {
    width: 21px;
    height: 21px;
}
.site-footer {
    border-top: 1px solid var(--line);
    background: #f0f2f4;
    padding: 28px 0;
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.footer-top .brand {
    width: 230px;
}
.footer-top > p {
    font-size: 11px;
    margin: 0;
}
.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links a,
.footer-links button {
    font-size: 11px;
    color: var(--body);
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: 0;
    padding: 8px 0;
    text-align: left;
}
.disclaimer {
    font-size: 11px;
    color: #677680;
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid #dde2e6;
}
.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.floating-contact .round-button {
    box-shadow: 0 4px 18px #1d334326;
    width: 48px;
    height: 48px;
}
.modal {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px;
    width: min(520px, calc(100% - 24px));
    max-height: calc(100dvh - 32px);
    overflow: auto;
    color: var(--body);
    box-shadow: 0 24px 100px #0003;
    overscroll-behavior: contain;
}
.modal::backdrop {
    background: #0a2038b8;
    backdrop-filter: blur(4px);
}
.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    float: right;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: white;
    margin: -18px -18px 4px 10px;
    z-index: 2;
}
.modal-close .icon {
    color: var(--ink);
}
.document-modal {
    width: min(900px, calc(100% - 24px));
    padding: 24px;
}
.document-modal img {
    width: 100%;
    height: auto;
}
.entry-content {
    padding: 64px 0;
    min-height: 50vh;
    overflow-wrap: anywhere;
}
.entry-content img {
    height: auto;
    max-width: 100%;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (min-width: 1500px) {
    .floating-contact {
        top: 190px;
        bottom: auto;
        right: 30px;
    }
    .hero .section-photo {
        object-position: center 55%;
    }
}
@media (max-width: 1100px) {
    .container {
        width: calc(100% - 48px);
    }
    .brand {
        width: 240px;
    }
    .header-actions {
        gap: 12px;
    }
    .header-actions > .button {
        display: none;
    }
    .hero h1 {
        max-width: 620px;
    }
    .hero-description {
        max-width: 470px;
    }
    .risk-grid {
        gap: 14px;
    }
    .risk-card {
        padding: 22px 18px;
    }
    .risk-card h3 {
        font-size: 16px;
    }
    .stats-grid {
        gap: 16px;
    }
    .stat {
        gap: 10px;
    }
    .stat strong {
        font-size: 20px;
    }
    .analysis-grid {
        gap: 32px;
        grid-template-columns: 1.2fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-details {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-top {
        flex-wrap: wrap;
    }
    .footer-links {
        margin-left: auto;
    }
    .floating-contact {
        right: 10px;
    }
    .team-grid {
        gap: 16px;
    }
}
@media (max-width: 767px) {
    .container {
        width: calc(100% - 40px);
    }
    .section {
        padding-block: 52px;
    }
    .header-inner {
        min-height: 88px;
        gap: 12px;
    }
    .brand {
        width: 220px;
    }
    .header-actions .phone-link span {
        display: none;
    }
    .header-actions .phone-link {
        width: 44px;
        height: 44px;
        justify-content: center;
        border: 1px solid var(--line);
        border-radius: 50%;
    }
    .header-actions {
        gap: 8px;
    }
    .hero {
        min-height: auto;
    }
    .hero-content {
        padding-block: 46px;
    }
    .hero h1 {
        max-width: 570px;
        font-size: clamp(38px, 6.5vw, 52px);
        letter-spacing: -1px;
    }
    .hero-description {
        max-width: 450px;
        font-size: 16px;
    }
    .hero:after {
        background: linear-gradient(90deg, #f5f6f7f7, #f5f6f7d9 60%, #f5f6f770);
    }
    .hero .section-photo {
        object-position: 65% center;
    }
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        padding-block: 24px;
    }
    .trust-grid > div {
        font-size: 13px;
        border: 0;
        padding: 0;
    }
    .risk-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .stat > .icon {
        width: 34px;
        height: 34px;
    }
    .case-card {
        flex-basis: calc((100% - 40px) / 3);
    }
    .case-track.expanded {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    .analysis-copy h2 {
        font-size: 32px;
    }
    .form-card {
        max-width: 560px;
        width: 100%;
        margin-inline: auto;
        padding: 28px;
    }
    .contact-grid {
        gap: 28px;
    }
    .footer-top {
        gap: 24px;
    }
    .footer-top > p {
        max-width: 200px;
    }
    .footer-links {
        margin-left: 0;
        width: 100%;
    }
    .floating-email {
        display: none;
    }
    .floating-contact {
        bottom: max(18px, env(safe-area-inset-bottom));
    }
    .site-footer {
        padding-bottom: 100px;
    }
    .help-section:after {
        background: #f1f3f4ee;
    }
    .check-list {
        gap: 18px;
    }
    .check-list li {
        font-size: 15px;
    }
    .case-caption {
        padding: 12px 10px;
        gap: 7px;
    }
    .case-caption .icon {
        width: 18px;
        height: 18px;
    }
    .case-card img {
        padding: 10px;
    }
    .modal {
        padding: 30px 24px;
    }
}
@media (max-width: 479px) {
    .container {
        width: calc(100% - 32px);
    }
    .header-inner {
        min-height: 78px;
    }
    .brand {
        width: 190px;
    }
    .header-actions > .telegram-button {
        display: none;
    }
    .hero-content {
        padding-block: 38px;
    }
    .hero h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }
    .hero-description {
        font-size: 15px;
    }
    .hero .button {
        width: 100%;
        padding-inline: 16px;
        font-size: 14px;
    }
    .hero-note {
        font-size: 11px;
    }
    .hero:after {
        background: linear-gradient(90deg, #f5f6f7fa, #f5f6f7dc);
    }
    .trust-grid {
        gap: 20px 14px;
    }
    .trust-grid .icon {
        width: 27px;
        height: 27px;
    }
    .trust-grid > div {
        font-size: 12px;
        gap: 9px;
    }
    .section {
        padding-block: 40px;
    }
    h2 {
        font-size: 28px;
    }
    .section-heading {
        margin-bottom: 24px;
    }
    .risk-section .section-heading > p {
        font-size: 21px;
    }
    .risk-grid {
        grid-template-columns: 1fr;
    }
    .risk-card {
        display: grid;
        grid-template-columns: 40px 1fr;
        gap: 4px 16px;
        padding: 20px;
    }
    .risk-card > .icon {
        grid-row: 1/3;
        margin: 0;
    }
    .risk-card h3 {
        margin: 0;
        font-size: 16px;
    }
    .risk-card p {
        font-size: 14px;
    }
    .why-card {
        padding: 20px;
        gap: 14px;
    }
    .why-card h3 {
        font-size: 16px;
    }
    .why-card p {
        font-size: 14px;
    }
    .icon-circle {
        width: 40px;
        height: 40px;
    }
    .stats-grid {
        gap: 24px 16px;
    }
    .stat {
        align-items: flex-start;
    }
    .stat strong {
        font-size: 19px;
    }
    .stat p {
        font-size: 11px;
    }
    .stat > .icon {
        width: 28px;
        height: 28px;
    }
    .case-card {
        flex-basis: 76%;
    }
    .case-track.expanded {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .case-caption {
        font-size: 12px;
    }
    .team-grid {
        gap: 24px 14px;
    }
    .team-card h3 {
        font-size: 15px;
    }
    .team-card p {
        font-size: 12px;
    }
    .team-card img {
        margin-bottom: 12px;
    }
    .analysis-copy h2 {
        font-size: 28px;
    }
    .form-card {
        padding: 24px 20px;
    }
    .form-card h2,
    .modal h2 {
        font-size: 26px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .map-art {
        height: 150px;
    }
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .footer-top > p {
        max-width: none;
    }
    .footer-links {
        gap: 14px;
    }
    .floating-contact .round-button {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    .modal {
        max-height: calc(100dvh - 20px);
        padding: 28px 20px;
    }
    .modal-close {
        margin: -16px -10px 4px 8px;
    }
    .button {
        gap: 12px;
        padding: 16px 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
[hidden] {
    display: none !important;
}
@media (max-width: 359px) {
    .brand {
        width: 176px;
    }
    .header-actions {
        gap: 4px;
    }
    .hero h1 {
        font-size: 35px;
    }
    .trust-grid > div {
        font-size: 11px;
    }
    .stat strong {
        font-size: 17px;
    }
    .stat > .icon {
        width: 24px;
        height: 24px;
    }
    .team-grid {
        gap: 24px 12px;
    }
}

/* 1.0.2 — dark accent sections; light cards and forms retain their contrast. */
.hero,
.help-section,
.analysis-section,
.trust-strip,
.stats-section,
.site-footer {
    background-color: #041623;
    color: #e6edf2;
}
.hero:after {
    background: linear-gradient(90deg, #03141ff5 0%, #03141fe8 38%, #03141f80 72%, #03141f30);
}
.help-section:after {
    background: linear-gradient(90deg, #03141ff7 0%, #03141feb 45%, #03141f9c 75%, #03141f55);
}
.analysis-section:after {
    background: linear-gradient(90deg, #03141ff5, #03141fe8 65%, #03141fb0);
}
.hero h1,
.help-section h2,
.analysis-copy h2,
.trust-grid > div,
.stat strong {
    color: #fff;
}
.hero h1 span,
.hero .eyebrow,
.analysis-copy .gold,
.trust-strip .icon,
.stats-section .icon {
    color: #efc783;
}
.hero .hero-note .icon,
.analysis-copy .text-button,
.analysis-copy .text-button .icon {
    color: #efc783;
}
.trust-strip,
.stats-section,
.site-footer {
    border-color: #ffffff1a;
}
.trust-grid > div {
    border-color: #ffffff24;
}
.analysis-section .form-card {
    color: var(--body);
}
.site-footer .footer-links a,
.site-footer .footer-links button,
.site-footer .disclaimer {
    color: #c4d0d9;
}
.site-footer .disclaimer {
    border-color: #ffffff24;
}
.site-footer .footer-links a:hover,
.site-footer .footer-links button:hover {
    color: #efc783;
}
@media (max-width: 767px) {
    .hero:after {
        background: linear-gradient(90deg, #03141ff5, #03141fc9);
    }
    .help-section:after {
        background: #03141fe6;
    }
}

/* Infinite carousel: horizontal fallback remains usable if JS cannot load. */
.case-viewport {
    overflow-x: auto;
    scrollbar-width: thin;
}
.case-viewport.is-carousel {
    overflow: hidden;
}
.case-viewport .case-track {
    overflow: visible;
    scroll-snap-type: none;
    padding: 4px 0 18px;
    touch-action: pan-y pinch-zoom;
}
.case-viewport .case-card {
    min-width: 0;
    user-select: none;
}
.case-card img {
    -webkit-user-drag: none;
}
.case-demo {
    display: block;
}
.case-viewport:focus-visible {
    outline-offset: 5px;
}

/* Full-viewport lightbox, with scrollable enlarged document. */
.document-modal {
    position: fixed;
    inset: 0;
    margin: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #071018;
    color: white;
    overflow: hidden;
}
.document-modal[open] {
    display: flex;
    flex-direction: column;
}
.viewer-toolbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: max(12px, env(safe-area-inset-top)) 20px 12px;
    background: #0d1e2b;
    border-bottom: 1px solid #ffffff24;
    z-index: 2;
}
.viewer-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.viewer-count {
    font-size: 13px;
    white-space: nowrap;
}
.viewer-button {
    border: 1px solid #ffffff40;
    background: #182c3c;
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    flex-shrink: 0;
    line-height: 1.4;
}
.viewer-button:hover {
    color: #f4cf91;
    background: #253d50;
}
.viewer-button .icon {
    color: #f4cf91;
}
.viewer-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 20px 70px;
    overscroll-behavior: contain;
}
.document-modal .viewer-image {
    display: block;
    width: auto;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    margin: auto;
    cursor: zoom-in;
}
.document-modal.is-zoomed .viewer-image {
    width: max(100%, 1200px);
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0 auto;
    cursor: zoom-out;
}
.document-modal.is-zoomed .viewer-stage {
    padding: 20px;
}
.viewer-prev,
.viewer-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    box-shadow: 0 3px 18px #0008;
}
.viewer-prev {
    left: 12px;
}
.viewer-next {
    right: 12px;
}
.viewer-error {
    margin: 24px auto;
    max-width: 420px;
    text-align: center;
}
@media (max-width: 600px) {
    .viewer-toolbar {
        gap: 8px;
        padding-inline: 10px;
        flex-wrap: wrap;
    }
    .viewer-title {
        flex-basis: calc(100% - 70px);
    }
    .viewer-button {
        padding: 9px 11px;
        font-size: 12px;
    }
    .viewer-toolbar [data-close] {
        margin-left: auto;
    }
    .viewer-stage {
        padding: 12px 48px;
    }
    .viewer-prev {
        left: 4px;
    }
    .viewer-next {
        right: 4px;
    }
    .viewer-prev,
    .viewer-next {
        padding: 8px;
    }
}
