:root {
    --bg: #f2f4f8;
    --surface: #ffffff;
    --surface-muted: #f8f9fc;
    --text: #1d2433;
    --text-soft: #586178;
    --brand: #df1420;
    --brand-dark: #ba0f19;
    --brand-glow: #ff4a53;
    --line: #dde2ec;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-soft: 0 14px 32px rgba(15, 28, 57, 0.08);
    --shadow-strong: 0 18px 40px rgba(197, 12, 28, 0.2);
    --container: min(1180px, calc(100% - 2rem));
    --dur: 0.28s;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 0 0, #ffffff 0%, #f5f7fb 38%, #edf1f8 100%);
    line-height: 1.5;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    padding: 0.6rem 0.85rem;
    background: #11192a;
    color: #fff;
    z-index: 300;
    border-radius: 0 0 10px 10px;
}

.skip-link:focus {
    left: 1rem;
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
        linear-gradient(to right, rgba(205, 214, 231, 0.22) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(205, 214, 231, 0.22) 1px, transparent 1px);
    background-size: auto, 30px 30px, 30px 30px;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.section {
    padding: clamp(3.4rem, 6.2vw, 5.4rem) 0;
}

.section--muted {
    background: linear-gradient(180deg, rgba(238, 241, 247, 0.9), rgba(252, 253, 255, 0.8));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    margin-bottom: 1.45rem;
}

.section-head h2,
.about h2,
.cta-final h2 {
    margin: 0 0 0.7rem;
    font-family: "Exo 2", sans-serif;
    letter-spacing: 0.01em;
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    line-height: 1.16;
}

.section-head p,
.about p,
.cta-final p {
    margin: 0;
    color: var(--text-soft);
    max-width: 75ch;
}

.section-head--inline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #ecf0f7;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.nav-wrap {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: 0.02em;
}

.logo__mark {
    font-family: "Exo 2", sans-serif;
    font-weight: 800;
    color: var(--brand);
    font-size: clamp(2rem, 4.8vw, 3rem);
}

.logo__text {
    color: #55617e;
    font-weight: 600;
    font-size: clamp(0.56rem, 1.2vw, 0.72rem);
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(0.7rem, 1.4vw, 1.25rem);
}

.nav a {
    font-weight: 700;
    color: #293148;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--brand), transparent);
    transition: transform var(--dur) var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after {
    transform: scaleX(1);
}

.phone-link {
    color: var(--brand) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid #d9e0ed;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    padding: 0;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(24, 37, 66, 0.08);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #1f2a40;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: #cfd8e8;
    background: #fff;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    padding-top: clamp(4rem, 8vw, 6.2rem);
    position: relative;
    overflow: clip;
    isolation: isolate;
    border-bottom: 1px solid #e1e7f2;
    background-color: #edf2fa;
    background-image:
        linear-gradient(180deg, rgba(248, 250, 254, 0.84) 0%, rgba(248, 250, 254, 0.48) 42%, rgba(248, 250, 254, 0.78) 100%),
        linear-gradient(90deg, rgba(10, 28, 56, 0.05) 0%, rgba(10, 28, 56, 0) 45%, rgba(225, 20, 32, 0.06) 100%);
    background-repeat: no-repeat;
    background-size: auto, auto;
    background-position: center, center;
}

.hero__bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero__bg-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.06);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    width: min(640px, 80vw);
    height: min(640px, 80vw);
    right: -240px;
    top: -240px;
    background: radial-gradient(circle, rgba(225, 20, 32, 0.2), rgba(225, 20, 32, 0.04) 68%, transparent 75%);
}

.hero::after {
    width: min(530px, 72vw);
    height: min(530px, 72vw);
    left: -250px;
    bottom: -280px;
    background: radial-gradient(circle, rgba(9, 25, 71, 0.15), transparent 66%);
}

.hero__inner {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: clamp(0.8rem, 1.8vw, 1.35rem) clamp(0.7rem, 1.6vw, 1.2rem) clamp(1.1rem, 2vw, 1.55rem);
    padding-bottom: clamp(1.1rem, 1.8vw, 1.4rem);
    border: 1px solid rgba(233, 239, 248, 0.92);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.88), rgb(248 251 255));
    box-shadow: 0 16px 36px rgba(16, 31, 58, 0.1);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.hero__kicker {
    margin: 0;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.86rem;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.72);
}

.hero h1 {
    margin: 0.65rem auto 0.8rem;
    max-width: 20ch;
    font-family: "Exo 2", sans-serif;
    font-size: clamp(2.05rem, 5.7vw, 4.2rem);
    line-height: 1.05;
    text-transform: uppercase;
    color: #1a243b;
    text-shadow: 0 2px 14px rgba(248, 251, 255, 0.86);
}

.hero h1 span {
    color: var(--brand);
}

.hero__sub {
    margin: 0 auto;
    max-width: 64ch;
    color: #334160;
    text-shadow: 0 1px 10px rgba(248, 251, 255, 0.8);
}

.hero__actions {
    margin-top: 1.8rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero__trust {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero__trust span {
    border: 1px solid #d7deea;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-weight: 700;
    color: #3a455f;
    font-size: 0.86rem;
}

.btn {
    --btn-bg: #1d2433;
    --btn-bg-hover: #0f1420;
    --btn-color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.83rem 1.35rem;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    color: var(--btn-color);
    background: var(--btn-bg);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(20, 25, 36, 0.14);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(125deg, transparent 16%, rgba(255, 255, 255, 0.2) 50%, transparent 84%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
    z-index: -1;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(20, 25, 36, 0.2);
}

.btn:hover::before,
.btn:focus-visible::before {
    opacity: 1;
}

.btn:focus-visible,
.carousel-btn:focus-visible,
.carousel-dot:focus-visible,
.faq-item summary:focus-visible,
.menu-toggle:focus-visible,
.modal__close:focus-visible {
    outline: 2px solid rgba(4, 80, 255, 0.35);
    outline-offset: 2px;
}

.btn--primary {
    --btn-bg: linear-gradient(130deg, var(--brand), #f11d28);
    --btn-bg-hover: linear-gradient(130deg, var(--brand-dark), #d8131f);
    box-shadow: var(--shadow-strong);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--btn-bg-hover);
}

.btn--soft {
    --btn-bg: #fff;
    --btn-color: #222a3d;
    border: 1px solid #d7deea;
}

.btn--soft:hover,
.btn--soft:focus-visible {
    background: #f8f9fd;
}

.btn--lg {
    padding: 0.98rem 1.6rem;
    font-size: 1.02rem;
}

.btn--block {
    width: 100%;
}

.products .section-head {
    margin-bottom: 1.3rem;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid #e5eaf2;
    overflow: clip;
    margin-top: 1.2rem;
    transform: translateY(0);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(22, 32, 57, 0.12);
}

.product-card__topline {
    padding: 0.9rem 1.2rem 0.8rem;
    color: #fff;
    background: linear-gradient(105deg, #161d2f, #181f2f 40%, #cc0f1d 80%, #f01623);
}

.product-card__topline h3 {
    margin: 0;
    font-size: clamp(1.4rem, 2.8vw, 2.15rem);
    line-height: 1.1;
    font-family: "Exo 2", sans-serif;
}

.product-card__topline p {
    margin: 0.36rem 0 0;
    font-size: clamp(0.82rem, 1.3vw, 0.98rem);
    color: #f6f7fb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-card__app {
    margin-top: 0.54rem;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.22rem 0.58rem 0.22rem 0.26rem;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.product-card__app img {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
}

.product-card__body {
    display: grid;
    grid-template-columns: minmax(180px, 270px) 1fr minmax(200px, 320px);
    align-items: center;
    gap: clamp(0.7rem, 1.8vw, 1.2rem);
    padding: clamp(1rem, 2.4vw, 1.4rem);
}

.product-card__media {
    background: linear-gradient(180deg, #fafbff, #f0f3f9);
    border: 1px solid #e6ebf4;
    border-radius: var(--radius-md);
    padding: 0.65rem;
    height: 100%;
    display: grid;
    place-items: center;
}

.product-card__media img {
    width: min(100%, 260px);
}

.product-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card__content ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.product-card__content li {
    position: relative;
    padding-left: 1.38rem;
    font-weight: 600;
    color: #29314a;
}

.product-card__content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand);
    font-weight: 800;
}

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    border-top: 1px dashed #d7deeb;
    padding-top: 0.95rem;
}

.product-card__meta strong {
    display: block;
    font-family: "Exo 2", sans-serif;
    font-size: 1.18rem;
    margin-bottom: 0.1rem;
}

.product-price {
    display: grid;
    gap: 0.18rem;
}

.product-price__line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 1.1rem;
}

.product-price__old {
    color: #818ba2;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(121, 132, 157, 0.92);
}

.product-price__discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.44rem;
    border-radius: 999px;
    background: rgba(209, 18, 31, 0.12);
    color: #be101b;
    font-weight: 800;
    font-size: 0.74rem;
    line-height: 1.1;
}

.product-price__new {
    color: #d1121f;
    font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}

.product-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.pill {
    align-self: flex-start;
    padding: 0.34rem 0.65rem;
    border-radius: 999px;
    background: rgba(223, 20, 32, 0.1);
    color: #be101b;
    font-weight: 700;
    font-size: 0.82rem;
}

.benefits {
    overflow: clip;
    background: linear-gradient(120deg, #cf0f1c, #ec1e2a);
    color: #fff;
    border-block: 1px solid rgba(255, 255, 255, 0.24);
}

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

.benefit-item {
    text-align: center;
    padding: 1.1rem;
}

.benefit-item__icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 0.7rem;
    border: 1.4px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    position: relative;
}

.benefit-item__icon::before,
.benefit-item__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
}

.benefit-item__icon::before {
    width: 20px;
    height: 2px;
}

.benefit-item__icon::after {
    width: 2px;
    height: 20px;
}

.benefit-item h3 {
    margin: 0;
    font-family: "Exo 2", sans-serif;
    font-size: 1.15rem;
}

.benefit-item p {
    margin: 0.32rem 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.93rem;
}

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

.carousel-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid #e5eaf2;
    box-shadow: var(--shadow-soft);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.carousel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(18, 31, 58, 0.13);
}

.carousel-card img {
    width: min(100%, 220px);
    margin: 0 auto;
    border-radius: 12px;
    background: linear-gradient(180deg, #f9fbff, #f1f5fb);
    border: 1px solid #e7ecf5;
    padding: 0.5rem;
}

.carousel-card h3 {
    margin: 0.95rem 0 0.38rem;
    font-family: "Exo 2", sans-serif;
    font-size: 1.08rem;
    line-height: 1.25;
}

.carousel-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.91rem;
}

.carousel-card__foot {
    margin-top: auto;
    display: grid;
    gap: 0.7rem;
    border-top: 1px dashed #d8dff0;
    padding-top: 0.85rem;
}

.carousel-card__foot strong {
    font-family: "Exo 2", sans-serif;
    font-size: 1rem;
}

.carousel-card__price-wrap {
    display: grid;
    gap: 0.2rem;
}

.carousel-card__price-old {
    font-size: 0.85rem;
    color: #75819a;
}

.carousel-card__price-label {
    color: #2c3751;
}

.carousel-card__actions {
    display: grid;
    gap: 0.48rem;
}

.carousel-card__actions .btn {
    width: 100%;
}

.carousel-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.56rem 0.96rem;
    font-weight: 700;
    font-size: 0.86rem;
    color: #5d6678;
    background: #e6ebf2;
    border: 1px solid #ced6e3;
    white-space: nowrap;
}

.carousel-controls {
    display: flex;
    gap: 0.55rem;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #d7ddeb;
    border-radius: 50%;
    background: #fff;
    color: #20283d;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
    border-color: #b7c1d8;
    transform: translateY(-2px);
}

.carousel-dots {
    margin-top: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 0.42rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: #c8d1e2;
    cursor: pointer;
    padding: 0;
    transition: all var(--dur) var(--ease);
}

.carousel-dot.is-active {
    width: 22px;
    border-radius: 999px;
    background: var(--brand);
}

.service-grid,
.cases-grid,
.docs-grid,
.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card,
.doc-card,
.legal-card {
    background: #fff;
    border: 1px solid #e4eaf4;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
}

.service-card h3,
.doc-card h3,
.legal-card h3 {
    margin: 0 0 0.45rem;
    font-family: "Exo 2", sans-serif;
    font-size: 1.1rem;
}

.service-card p,
.legal-card p {
    margin: 0;
    color: #556179;
}

.doc-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doc-card__meta {
    margin: 0;
    color: #556179;
}

.doc-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.case-card {
    background: #fff;
    border: 1px solid #e4eaf4;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.case-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid #e4eaf4;
}

.case-card__content {
    padding: 1rem;
}

.case-card h3 {
    margin: 0;
    font-family: "Exo 2", sans-serif;
    font-size: 1.08rem;
}

.case-card__result {
    margin: 0.45rem 0;
    color: #ca0f1d;
    font-weight: 800;
}

.case-card p {
    margin: 0;
    color: #546079;
}

.faq-list {
    display: grid;
    gap: 0.7rem;
}

.faq-item {
    border: 1px solid #e0e7f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 0.9rem 1rem;
    font-weight: 800;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #bb0f1a;
    font-size: 1.2rem;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    color: #536079;
    padding: 0 1rem 1rem;
}

.about__inner {
    background: linear-gradient(160deg, #fff, #f6f9ff);
    border: 1px solid #e3e9f4;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
    padding: clamp(1.2rem, 2vw, 2.1rem);
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.about__stats {
    display: grid;
    gap: 0.7rem;
    align-content: center;
}

.stat-card {
    background: #fff;
    border: 1px solid #e4eaf4;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
}

.stat-card strong {
    display: block;
    color: #ca101d;
    font-family: "Exo 2", sans-serif;
    font-size: 1.48rem;
    line-height: 1.1;
}

.stat-card span {
    color: #45506c;
    font-weight: 600;
    font-size: 0.94rem;
}

.cta-final {
    text-align: center;
    background: linear-gradient(170deg, #d10f1c, #eb1d29);
    color: #fff;
    position: relative;
    overflow: clip;
}

.cta-final__inner {
    position: relative;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.93);
    margin: 0.4rem auto 0;
    max-width: 62ch;
}

.cta-final__actions {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-footer {
    padding: 1.2rem 0;
    border-top: 1px solid #e2e7f0;
    background: #fff;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "copyright contacts"
        "legal credit";
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.45rem;
    color: #5a647a;
    font-size: 0.9rem;
}

.site-footer__copyright {
    margin: 0;
    grid-area: copyright;
    justify-self: start;
}

.site-footer__contacts {
    margin: 0;
    grid-area: contacts;
    justify-self: end;
    white-space: nowrap;
}

.site-footer__credit {
    margin: 0;
    grid-area: credit;
    justify-self: end;
    font-weight: 700;
    color: #2a344d;
}

.site-footer__credit a {
    color: #b90f1b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
    color: #940b14;
}

.footer-legal-links {
    grid-area: legal;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.8rem;
    padding-top: 0;
    font-size: 0.86rem;
    color: #5a647a;
    justify-self: start;
}

.footer-legal-links a {
    color: #334160;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.modal[hidden] {
    display: none;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 16, 30, 0.62);
    backdrop-filter: blur(6px);
}

.modal__dialog {
    width: min(560px, 100%);
    max-height: min(92dvh, 760px);
    overflow: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f3;
    box-shadow: 0 22px 46px rgba(4, 14, 34, 0.38);
    padding: 1.25rem;
    position: relative;
    animation: modalIn 0.25s var(--ease);
}

.modal__dialog--wide {
    width: min(920px, 100%);
}

.modal__close {
    position: absolute;
    right: 0.6rem;
    top: 0.4rem;
    border: 0;
    background: transparent;
    font-size: 1.9rem;
    line-height: 1;
    color: #5b657b;
    cursor: pointer;
}

.modal__dialog h3 {
    margin: 0 1.6rem 0.35rem 0;
    font-family: "Exo 2", sans-serif;
    font-size: 1.38rem;
}

.modal__subtitle {
    margin: 0 0 1rem;
    color: #5b6479;
}

.product-detail-popup {
    display: grid;
    gap: 1rem;
}

.product-detail-popup__layout {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.product-detail-popup__media {
    margin: 0;
    border: 1px solid #e2e7f1;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff, #f0f4fb);
    padding: 0.7rem;
}

.product-detail-popup__gallery {
    display: flex;
    gap: 0.52rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.2rem;
}

.product-detail-popup__gallery img {
    min-width: 100%;
    scroll-snap-align: start;
}

.product-detail-popup__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.product-detail-popup__media figcaption {
    margin-top: 0.52rem;
    color: #5b657d;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-detail-popup__content {
    display: grid;
    gap: 0.64rem;
}

.product-detail-popup__title {
    margin: 0;
    font-family: "Exo 2", sans-serif;
    font-size: 1.2rem;
}

.product-detail-popup__subtitle {
    margin: 0;
    color: #2b3754;
    font-weight: 700;
    line-height: 1.35;
}

.product-detail-popup__highlight {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #c6151e;
    text-transform: uppercase;
}

.product-detail-popup__description {
    margin: 0;
    color: #4b566f;
    line-height: 1.42;
}

.product-detail-popup__app {
    margin: 0;
    font-size: 0.9rem;
    color: #5f6a83;
}

.product-detail-popup__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    border-top: 1px solid #e3e8f2;
    border-bottom: 1px solid #e3e8f2;
    padding: 0.62rem 0;
}

.product-detail-popup__meta strong {
    font-family: "Exo 2", sans-serif;
    color: #d1121f;
    font-size: 1.04rem;
}

.product-detail-popup__price-wrap {
    display: grid;
    justify-items: end;
    gap: 0.2rem;
}

.product-detail-popup__price-old {
    font-size: 0.84rem;
    color: #6f7b95;
}

.product-detail-popup__price-label {
    color: #2d3854;
}

.product-detail-popup__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.48rem;
}

.product-detail-popup__list li {
    position: relative;
    padding-left: 1.2rem;
    color: #2f3b58;
    line-height: 1.35;
    font-weight: 700;
}

.product-detail-popup__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.02rem;
    color: #d1121f;
    font-weight: 800;
}

.product-detail-popup__actions {
    margin-top: 0.2rem;
    display: flex;
    justify-content: flex-start;
}

.product-detail-popup__extra {
    border: 1px solid #e3e8f3;
    border-radius: 14px;
    background: #f9fbff;
    padding: 0.82rem;
    display: grid;
    gap: 0.72rem;
}

.product-detail-popup__extra h5 {
    margin: 0;
    font-family: "Exo 2", sans-serif;
    font-size: 0.98rem;
    color: #1f2a44;
}

.product-detail-popup__specs {
    margin: 0;
    display: grid;
    gap: 0.42rem;
}

.product-detail-popup__spec-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
    border-bottom: 1px dashed #d7deeb;
    padding-bottom: 0.34rem;
}

.product-detail-popup__spec-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.product-detail-popup__spec-row dt {
    color: #62708d;
    font-size: 0.86rem;
}

.product-detail-popup__spec-row dd {
    margin: 0;
    color: #2f3d5d;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: right;
}

.product-detail-popup__extra-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.38rem;
}

.product-detail-popup__extra-list li {
    position: relative;
    padding-left: 1.05rem;
    color: #3c4865;
    font-size: 0.86rem;
    line-height: 1.4;
}

.product-detail-popup__extra-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #c4141f;
    font-weight: 800;
}

.product-detail-popup__blocks {
    display: grid;
    gap: 0.68rem;
}

.product-detail-popup__block {
    display: grid;
    gap: 0.4rem;
}

.product-detail-popup__block h6 {
    margin: 0;
    font-family: "Exo 2", sans-serif;
    font-size: 0.89rem;
    color: #1f2a44;
}

.product-detail-popup__block-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
}

.product-detail-popup__block-list li {
    position: relative;
    padding-left: 1.1rem;
    color: #2f3d5d;
    font-size: 0.89rem;
    line-height: 1.35;
}

.product-detail-popup__block-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #cb101f;
}

.product-detail-popup__block-list--dot li::before {
    content: "•";
}

.product-detail-popup__block-list--check li::before {
    content: "✓";
}

.product-detail-popup__block-list--arrow li::before {
    content: "→";
}

.product-detail-popup__notes {
    display: grid;
    gap: 0.3rem;
    padding-top: 0.15rem;
    border-top: 1px dashed #d7deeb;
}

.product-detail-popup__notes p {
    margin: 0;
    font-size: 0.88rem;
    color: #2f3d5d;
    font-weight: 700;
}

.form-trust {
    margin: 0 0 0.95rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.42rem;
}

.form-trust li {
    position: relative;
    padding-left: 1rem;
    color: #4f5a74;
    font-size: 0.86rem;
    font-weight: 600;
}

.form-trust li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #c2111d;
    font-weight: 800;
}

.lead-form {
    display: grid;
    gap: 0.85rem;
}

.lead-form label {
    display: grid;
    gap: 0.34rem;
    font-weight: 700;
    color: #1f2940;
    font-size: 0.9rem;
}

.lead-form input:not([type="checkbox"]):not([type="radio"]),
.lead-form textarea {
    border: 1px solid #d8deea;
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    color: #1e263a;
    background: #fff;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.lead-form input:not([type="checkbox"]):not([type="radio"]):focus,
.lead-form textarea:focus {
    outline: 0;
    border-color: #c31a24;
    box-shadow: 0 0 0 3px rgba(225, 20, 32, 0.12);
}

.lead-form__check {
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: flex-start;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #4b556f;
    line-height: 1.35;
}

.lead-form__check input {
    width: 16px;
    height: 16px;
    margin: 0.2rem 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    accent-color: var(--brand);
}

.lead-form__check span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.lead-form__check a {
    color: #1f3eaa;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.lead-form__check a:hover,
.lead-form__check a:focus-visible {
    color: #102d8a;
}

.hidden-trap {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.form-status {
    min-height: 1.15rem;
    margin: 0;
    color: #566179;
    font-size: 0.9rem;
}

.form-status.is-error {
    color: #ba0f19;
}

.form-status.is-success {
    color: #1a7f37;
}

body.modal-open {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    transform: translateY(16px);
    transition: transform 0.42s var(--ease);
    transition-delay: calc(var(--delay, 0) * 80ms);
}

.js .reveal.is-visible {
    transform: translateY(0);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

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

@media (max-width: 1090px) {
    .product-card__body {
        grid-template-columns: 1fr;
    }

    .product-card__media,
    .product-card__media--right {
        min-height: 210px;
    }

    .product-card__media--right {
        order: 3;
    }

    .product-card__actions {
        justify-content: flex-start;
    }

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

    .about__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .nav {
        gap: 0.8rem;
    }

    .nav a {
        font-size: 0.92rem;
    }
}

@media (max-width: 900px) {
    .hero__bg-wrap {
        display: none;
    }

    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.98);
    }

    body.menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(13, 23, 40, 0.34);
        backdrop-filter: blur(1px);
    }

    .nav-wrap {
        min-height: 74px;
    }

    .logo__mark {
        font-size: clamp(1.85rem, 8.2vw, 2.25rem);
    }

    .logo__text {
        font-size: 0.58rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 125;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100dvh;
        width: min(86vw, 340px);
        background: rgba(255, 255, 255, 0.99);
        border-left: 1px solid #e1e7f1;
        padding: 5rem 1rem 1.25rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: auto;
        transform: translateX(104%);
        transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
        box-shadow: none;
        z-index: 120;
        visibility: hidden;
        pointer-events: none;
    }

    .nav a {
        padding: 0.78rem 0.15rem;
        font-size: 1rem;
        border-bottom: 1px solid #e8edf6;
    }

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

    .nav .phone-link {
        margin-top: 0.35rem;
        padding-top: 0.95rem;
        border-top: 1px solid #e8edf6;
        border-bottom: 0;
    }

    .nav .btn {
        margin-top: 0.85rem;
        width: 100%;
    }

    .nav.is-open {
        transform: translateX(0);
        box-shadow: -14px 0 34px rgba(14, 23, 42, 0.2);
        visibility: visible;
        pointer-events: auto;
    }

    .hero__bg {
        object-position: 56% 38%;
    }

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

    .section-head--inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }
}

@media (max-width: 760px) {
    :root {
        --container: calc(100% - 1.1rem);
    }

    .section {
        padding: 2.5rem 0;
    }

    .hero {
        padding-top: 2.3rem;
    }

    .hero__bg {
        object-position: 58% 44%;
        transform: scale(1.22);
    }

    .hero__inner {
        border-radius: 18px;
        padding: 0.9rem 0.7rem 1.05rem;
        box-shadow: 0 12px 28px rgba(16, 31, 58, 0.11);
    }

    .hero__kicker {
        letter-spacing: 0.08em;
        font-size: 0.76rem;
    }

    .hero h1 {
        margin: 0.48rem auto 0.55rem;
        max-width: 14ch;
        font-size: clamp(1.86rem, 10vw, 2.42rem);
    }

    .hero__sub {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .hero__actions {
        margin-top: 1rem;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__trust {
        margin-top: 0.7rem;
        gap: 0.35rem;
        width: 100%;
    }

    .hero__trust span {
        font-size: 0.79rem;
        padding: 0.3rem 0.52rem;
    }

    .btn {
        font-size: 0.92rem;
        padding: 0.82rem 1.05rem;
    }

    .btn--lg {
        font-size: 0.96rem;
        padding: 0.9rem 1.1rem;
    }

    .section-head h2 {
        font-size: clamp(1.44rem, 8vw, 2rem);
        line-height: 1.15;
    }

    .section-head p {
        font-size: 0.95rem;
    }

    .product-card {
        margin-top: 0.9rem;
        border-radius: 18px;
    }

    .product-card__topline {
        padding: 0.72rem 0.82rem 0.66rem;
    }

    .product-card__topline h3 {
        font-size: clamp(1.16rem, 7.2vw, 1.62rem);
    }

    .product-card__topline p {
        font-size: 0.78rem;
        letter-spacing: 0.02em;
    }

    .product-card__app {
        margin-top: 0.5rem;
        font-size: 0.72rem;
        padding: 0.2rem 0.52rem 0.2rem 0.24rem;
    }

    .product-card__body {
        padding: 0.78rem;
        gap: 0.7rem;
    }

    .product-card__media,
    .product-card__media--right {
        min-height: 185px;
        padding: 0.5rem;
    }

    .product-card__media img {
        width: min(100%, 182px);
    }

    .pill {
        font-size: 0.76rem;
        padding: 0.3rem 0.56rem;
    }

    .product-card__content li {
        font-size: 0.95rem;
        padding-left: 1.2rem;
    }

    .product-card__meta {
        gap: 0.65rem;
        padding-top: 0.72rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .product-card__meta strong {
        font-size: 1.08rem;
    }

    .product-price__old {
        font-size: 0.8rem;
    }

    .product-price__discount {
        font-size: 0.68rem;
        padding: 0.08rem 0.36rem;
    }

    .product-price__new {
        font-size: 0.9rem;
    }

    .product-card__actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .product-card__actions .btn {
        width: 100%;
    }

    .benefit-item {
        padding: 0.9rem 0.55rem;
    }

    .benefit-item h3 {
        font-size: 1.03rem;
    }

    .benefit-item p {
        font-size: 0.86rem;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .carousel-card {
        padding: 0.82rem;
    }

    .carousel-card h3 {
        margin: 0.72rem 0 0.32rem;
        font-size: 1rem;
    }

    .carousel-card p {
        font-size: 0.86rem;
    }

    .carousel-card__foot {
        padding-top: 0.65rem;
        gap: 0.56rem;
    }

    .carousel-dots {
        margin-top: 0.64rem;
    }

    .benefits__grid,
    .service-grid,
    .cases-grid,
    .docs-grid,
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .doc-card,
    .legal-card {
        padding: 0.9rem;
    }

    .case-card__content {
        padding: 0.9rem;
    }

    .faq-item summary {
        padding: 0.82rem 0.86rem;
        font-size: 0.96rem;
    }

    .faq-item p {
        padding: 0 0.86rem 0.82rem;
        font-size: 0.92rem;
    }

    .about__inner {
        padding: 0.95rem;
    }

    .about__content {
        gap: 0.74rem;
    }

    .stat-card {
        padding: 0.72rem 0.82rem;
    }

    .stat-card strong {
        font-size: 1.26rem;
    }

    .cta-final__actions {
        gap: 0.55rem;
    }

    .cta-final__actions .btn {
        width: 100%;
    }

    .site-footer {
        padding: 1rem 0;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copyright"
            "legal"
            "credit"
            "contacts";
        justify-items: center;
        row-gap: 0.6rem;
        font-size: 0.84rem;
        text-align: center;
    }

    .site-footer__copyright,
    .site-footer__credit,
    .site-footer__contacts,
    .footer-legal-links {
        justify-self: center;
    }

    .site-footer__contacts {
        white-space: normal;
    }

    .footer-legal-links {
        justify-content: center;
        gap: 0.56rem;
        font-size: 0.8rem;
    }

    .modal {
        align-items: end;
        padding: 0;
    }

    .modal__overlay {
        backdrop-filter: blur(4px);
    }

    .modal__dialog {
        width: 100%;
        max-width: 100%;
        margin: 0;
        max-height: min(88dvh, 760px);
        border-radius: 18px 18px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        padding: 0.95rem 0.9rem calc(0.9rem + env(safe-area-inset-bottom));
        animation: modalIn 0.2s var(--ease);
    }

    .modal__close {
        right: 0.55rem;
        top: 0.45rem;
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border: 1px solid #d7deea;
        border-radius: 11px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 6px 16px rgba(15, 28, 57, 0.12);
        font-size: 1.65rem;
    }

    .modal__dialog h3 {
        margin-right: 2.8rem;
        font-size: 1.2rem;
    }

    .product-detail-popup__layout {
        grid-template-columns: 1fr;
        gap: 0.76rem;
    }

    .product-detail-popup__media {
        padding: 0.56rem;
    }

    .product-detail-popup__title {
        font-size: 1.08rem;
    }

    .product-detail-popup__spec-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .product-detail-popup__spec-row dd {
        text-align: left;
    }

    .product-detail-popup__price-wrap {
        justify-items: start;
    }

    .product-detail-popup__actions .btn {
        width: 100%;
    }

    .form-trust {
        margin-bottom: 0.7rem;
        gap: 0.32rem;
    }

    .form-trust li {
        font-size: 0.8rem;
    }

    .lead-form {
        gap: 0.74rem;
    }

    .lead-form label {
        font-size: 0.86rem;
    }

    .lead-form input:not([type="checkbox"]):not([type="radio"]),
    .lead-form textarea {
        font-size: 16px;
        border-radius: 10px;
        padding: 0.66rem 0.72rem;
    }

    .lead-form textarea {
        min-height: 110px;
    }

    .lead-form__check {
        font-size: 0.8rem;
        gap: 0.38rem;
    }

}

@media (max-width: 480px) {
    :root {
        --container: calc(100% - 0.8rem);
    }

    .hero__bg {
        object-position: 62% 47%;
        transform: scale(1.3);
    }

    .hero__kicker {
        font-size: 0.72rem;
        letter-spacing: 0.07em;
    }

    .hero h1 {
        font-size: clamp(1.72rem, 10.5vw, 2.14rem);
    }

    .hero__sub {
        font-size: 0.9rem;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
