:root {
    --blue-950: #0b2552;
    --blue-900: #0f2f6d;
    --blue-700: #1b4ba6;
    --blue-500: #3e6fd0;
    --blue-300: #b7caef;
    --blue-100: #e9f0ff;
    --blue-050: #f5f8ff;
    --text-900: #1b2430;
    --text-700: #344054;
    --text-600: #4b5563;
    --text-500: #667085;
    --surface: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.72);
    --border: #d5def0;
    --border-strong: #b8c7e6;
    --shadow-sm: 0 12px 36px rgba(15, 47, 109, 0.07);
    --shadow-md: 0 22px 52px rgba(15, 47, 109, 0.12);
    --shadow-lg: 0 28px 80px rgba(11, 37, 82, 0.14);
    --success-bg: #ecfdf3;
    --success-text: #166534;
    --error-bg: #fef2f2;
    --error-text: #b42318;
    --navy-980: #071634;
    --navy-940: #0a2048;
    --hero-text: #e8efff;
    --header-height: 90px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text-900);
    line-height: 1.6;
    background: var(--blue-050);
}

a {
    color: var(--blue-700);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.section {
    padding: 104px 0;
    scroll-margin-top: 104px;
}

.section .container {
    display: grid;
    gap: 28px;
}

.section-alt {
    background: linear-gradient(180deg, #f8fbff 0%, #edf3ff 100%);
}

.section-lead {
    max-width: 72ch;
    color: var(--text-700);
    font-size: 1.02rem;
    line-height: 1.72;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--blue-900);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.15;
}

h3 {
    font-size: 1.15rem;
    line-height: 1.3;
}

p {
    margin: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(248, 251, 255, 0.76);
    border-bottom: 1px solid rgba(183, 202, 239, 0.46);
    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);
    transition: box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.site-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(15, 47, 109, 0), rgba(15, 47, 109, 0.18), rgba(15, 47, 109, 0));
    pointer-events: none;
}

.site-header.scrolled {
    background: rgba(247, 250, 255, 0.9);
    box-shadow: 0 14px 34px rgba(11, 37, 82, 0.08);
    border-bottom-color: rgba(15, 47, 109, 0.16);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    gap: 18px;
}

.logo {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.logo-image {
    height: 52px;
    width: auto;
    max-width: min(300px, 56vw);
    object-fit: contain;
    background: transparent;
    filter: none;
}

.header-right {
    margin-left: auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-950));
    box-shadow: 0 10px 24px rgba(27, 75, 166, 0.25);
}

.logo-text {
    font-weight: 700;
    color: var(--blue-900);
}

.menu {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(183, 202, 239, 0.7);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    text-decoration: none;
    color: var(--text-700);
    font-weight: 600;
    font-size: 0.96rem;
    letter-spacing: 0.01em;
    border-radius: 999px;
    transition: color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.menu a:hover,
.menu a:focus-visible {
    color: var(--blue-700);
    background: rgba(62, 111, 208, 0.06);
    box-shadow: inset 0 0 0 1px rgba(62, 111, 208, 0.08);
}

.menu a.is-active {
    color: var(--blue-950);
    background: linear-gradient(180deg, rgba(27, 75, 166, 0.1), rgba(27, 75, 166, 0.05));
    box-shadow: 0 6px 18px rgba(15, 47, 109, 0.08);
}

.menu a.is-active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(62, 111, 208, 0.2), var(--blue-900), rgba(62, 111, 208, 0.2));
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    padding: 10px 14px;
    color: var(--blue-950);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: rgba(27, 75, 166, 0.22);
    box-shadow: 0 8px 18px rgba(15, 47, 109, 0.08);
}

.header-login-btn {
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 11px;
    font-size: 0.94rem;
    box-shadow: 0 10px 22px rgba(15, 47, 109, 0.18);
}

.header-login-btn:hover,
.header-login-btn:focus-visible {
    box-shadow: 0 14px 26px rgba(15, 47, 109, 0.2);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    display: grid;
    align-items: center;
    padding: 30px 0;
    background:
        radial-gradient(circle at 10% 16%, rgba(95, 142, 232, 0.26), transparent 36%),
        radial-gradient(circle at 84% 22%, rgba(45, 102, 212, 0.24), transparent 34%),
        linear-gradient(145deg, var(--navy-980) 0%, var(--navy-940) 55%, #0f2f6d 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -14% auto auto -8%;
    width: min(540px, 52vw);
    height: min(540px, 52vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(133, 167, 236, 0.24) 0%, rgba(133, 167, 236, 0) 72%);
    pointer-events: none;
    animation: float-blob-a 16s ease-in-out infinite alternate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(176, 199, 247, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(176, 199, 247, 0.1) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.12) 68%, rgba(0, 0, 0, 0));
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: clamp(16px, 2.8vw, 28px);
    align-items: center;
}

.hero-layout::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -26%;
    width: min(460px, 44vw);
    height: min(460px, 44vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 171, 236, 0.22) 0%, rgba(139, 171, 236, 0) 70%);
    pointer-events: none;
    animation: float-blob-b 18s ease-in-out infinite alternate;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 100%;
    padding: clamp(22px, 3.1vw, 34px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(183, 202, 239, 0.32);
    border-radius: 30px;
    box-shadow: 0 36px 90px rgba(2, 8, 26, 0.42);
    backdrop-filter: blur(6px);
}

.hero-city {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(183, 202, 239, 0.42);
    color: #f3f7ff;
    font-weight: 700;
}

.hero-kicker {
    margin: 0;
    color: #b7caef;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 16ch;
    color: #f8fbff;
    font-size: clamp(2rem, 4.3vw, 3.45rem);
    line-height: 1.08;
    text-wrap: balance;
}

.hero-subtitle {
    max-width: 62ch;
    margin: 0;
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
    line-height: 1.62;
    color: var(--hero-text);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
}

.hero-badges li {
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(183, 202, 239, 0.42);
    background: rgba(255, 255, 255, 0.08);
    color: #e8efff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.hero-dashboard {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: clamp(18px, 2.1vw, 24px);
    border-radius: 20px;
    border: 1px solid rgba(183, 202, 239, 0.34);
    background: linear-gradient(180deg, rgba(8, 27, 63, 0.82), rgba(10, 29, 66, 0.7));
    box-shadow: 0 28px 64px rgba(2, 9, 30, 0.38);
    backdrop-filter: blur(5px);
    display: grid;
    gap: 12px;
}

.hero-dashboard h2 {
    margin: 0;
    color: #f4f8ff;
    font-size: clamp(1.04rem, 1.2vw, 1.22rem);
    line-height: 1.3;
}

.dashboard-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.dashboard-steps li {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(183, 202, 239, 0.26);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    color: #edf3ff;
    padding: 6px 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.dashboard-steps li strong {
    font-size: 0.94rem;
    font-weight: 700;
}

.dashboard-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(183, 202, 239, 0.12);
    border: 1px solid rgba(183, 202, 239, 0.32);
    color: #d7e4ff;
    font-size: 0.76rem;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 22px;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(15, 47, 109, 0.2);
    transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease, background 0.24s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 47, 109, 0.22);
    filter: saturate(1.03);
}

.hero .btn {
    min-height: 62px;
    padding: 18px 34px;
    font-size: 1.02rem;
    box-shadow: 0 20px 36px rgba(15, 47, 109, 0.28);
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

#services h2,
#advantages h2 {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--blue-950);
    letter-spacing: -0.025em;
}

#services .container,
#advantages .container {
    gap: 32px;
}

.card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
    min-height: 100%;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(184, 199, 230, 0.9);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(11, 37, 82, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: 22px 0 0 22px;
    background: linear-gradient(180deg, rgba(15, 47, 109, 0), rgba(27, 75, 166, 0.3), rgba(15, 47, 109, 0));
    opacity: 0;
    transition: opacity 0.28s ease;
}

.card:hover,
.card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 28px 54px rgba(11, 37, 82, 0.16);
    border-color: rgba(62, 111, 208, 0.4);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.card:hover::before,
.card:focus-within::before {
    opacity: 1;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(62, 111, 208, 0.14), rgba(15, 47, 109, 0.05));
    border: 1px solid rgba(27, 75, 166, 0.14);
    color: var(--blue-900);
    flex-shrink: 0;
    transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.card-icon svg,
.step-icon svg,
.advantage-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-content {
    display: grid;
    gap: 12px;
    align-content: start;
}

.card-content h3 {
    color: var(--blue-950);
    font-size: 1.22rem;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.card-content p {
    max-width: none;
    color: var(--text-700);
    font-size: 0.98rem;
    line-height: 1.72;
}

.card:hover .card-icon,
.card:focus-within .card-icon {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(27, 75, 166, 0.24);
    background: linear-gradient(180deg, rgba(62, 111, 208, 0.18), rgba(15, 47, 109, 0.06));
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.steps li {
    display: grid;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
    font-weight: 600;
    box-shadow: 0 16px 34px rgba(11, 37, 82, 0.08);
}

.steps li::before {
    display: block;
    margin-bottom: 8px;
    counter-increment: step;
    content: "Шаг " counter(step);
    color: var(--blue-700);
    font-size: 0.92rem;
}

.step-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(27, 75, 166, 0.14);
    background: linear-gradient(180deg, rgba(62, 111, 208, 0.12), rgba(62, 111, 208, 0.04));
    color: var(--blue-900);
}

.step-label {
    display: block;
    color: var(--blue-950);
    font-size: 1.02rem;
}

.step-description {
    margin: 0;
    color: var(--text-700);
    font-size: 0.94rem;
    line-height: 1.62;
    font-weight: 500;
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.advantages-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 16px 34px rgba(11, 37, 82, 0.08);
    font-weight: 600;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.audience-list,
.trust-list,
.value-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.audience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-list,
.value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-list li,
.trust-list li,
.value-list li {
    position: relative;
    padding: 20px 20px 20px 54px;
    border-radius: 18px;
    border: 1px solid rgba(184, 199, 230, 0.88);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), #ffffff);
    box-shadow: 0 14px 28px rgba(11, 37, 82, 0.07);
    color: var(--text-700);
    font-weight: 600;
    line-height: 1.55;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.audience-list li::before,
.trust-list li::before,
.value-list li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    border-radius: 8px;
    border: 1px solid rgba(27, 75, 166, 0.2);
    background: linear-gradient(180deg, rgba(62, 111, 208, 0.16), rgba(62, 111, 208, 0.04));
}

.audience-list li::after,
.trust-list li::after,
.value-list li::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 50%;
    width: 8px;
    height: 4px;
    transform: translateY(-42%) rotate(-45deg);
    border-left: 2px solid var(--blue-900);
    border-bottom: 2px solid var(--blue-900);
    border-radius: 1px;
}

.audience-list li:hover,
.trust-list li:hover,
.value-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(11, 37, 82, 0.1);
    border-color: rgba(62, 111, 208, 0.34);
}

.advantages-list li:hover,
.advantages-list li:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(11, 37, 82, 0.08);
    border-color: rgba(62, 111, 208, 0.22);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.advantage-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: var(--blue-900);
    background: linear-gradient(180deg, rgba(62, 111, 208, 0.12), rgba(62, 111, 208, 0.04));
    border: 1px solid rgba(27, 75, 166, 0.14);
    transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.advantage-text {
    color: var(--blue-950);
    font-size: 1.06rem;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.advantage-content {
    display: grid;
    gap: 6px;
}

.advantage-caption {
    margin: 0;
    color: var(--text-700);
    font-size: 0.93rem;
    line-height: 1.58;
    font-weight: 500;
}

.advantages-list li:hover .advantage-icon,
.advantages-list li:focus-within .advantage-icon {
    transform: translateY(-1px);
    border-color: rgba(27, 75, 166, 0.22);
    background: linear-gradient(180deg, rgba(62, 111, 208, 0.16), rgba(62, 111, 208, 0.06));
}

.contact-lead {
    margin: 0 0 24px;
    color: var(--text-600);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    max-width: 760px;
    padding: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 252, 255, 0.92));
    border: 1px solid rgba(184, 199, 230, 0.9);
    border-radius: 24px;
    box-shadow: 0 22px 48px rgba(11, 37, 82, 0.09);
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    color: var(--blue-900);
}

.contact-form label:nth-of-type(3),
.contact-form label:nth-of-type(4),
.contact-form .btn,
.contact-form .form-status {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
    color: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-500);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue-700);
    box-shadow: 0 0 0 4px rgba(62, 111, 208, 0.14);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #d92d20;
    background: #fff8f7;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.08);
}

.contact-form .btn {
    margin-top: 4px;
}

.form-status {
    display: none;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 600;
    line-height: 1.5;
}

.form-status::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 0.45em;
    border-radius: 50%;
    flex-shrink: 0;
    background: currentColor;
}

.form-status.success,
.form-status.error {
    display: flex;
}

.form-status.success {
    color: var(--success-text);
    background: var(--success-bg);
    border-color: rgba(22, 101, 52, 0.16);
}

.form-status.error {
    color: var(--error-text);
    background: var(--error-bg);
    border-color: rgba(180, 35, 24, 0.16);
}

.contact-email {
    margin-top: 20px;
}

.privacy-note {
    margin-top: 12px;
    color: var(--text-600);
    font-size: 0.92rem;
}

.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.login-page .site-header {
    background: rgba(248, 251, 255, 0.84);
    backdrop-filter: blur(14px) saturate(1.04);
    -webkit-backdrop-filter: blur(14px) saturate(1.04);
}

.login-page .header-inner {
    min-height: 78px;
}

.login-page .logo-image {
    height: 46px;
}

.login-home-btn {
    min-height: 40px;
    padding: 9px 15px;
    font-size: 0.9rem;
    border-radius: 10px;
}

.login-main {
    min-height: 0;
    display: grid;
    align-items: center;
    padding: 18px 0 12px;
}

.login-section {
    width: 100%;
    padding: 0;
}

.login-shell {
    width: min(430px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.login-card {
    border-radius: 20px;
    border: 1px solid rgba(184, 199, 230, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 252, 255, 0.93));
    box-shadow: 0 18px 40px rgba(11, 37, 82, 0.09);
    padding: 22px;
    display: grid;
    gap: 12px;
}

.login-title {
    margin: 0;
    color: var(--blue-950);
    text-align: center;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.login-lead {
    margin: 0;
    text-align: center;
    color: var(--text-700);
    font-size: 0.92rem;
    line-height: 1.52;
}

.login-form {
    display: grid;
    gap: 10px;
}

.login-form label {
    display: grid;
    gap: 6px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--blue-900);
}

.login-form input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
    color: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--blue-700);
    box-shadow: 0 0 0 4px rgba(62, 111, 208, 0.14);
}

.login-form input.is-invalid {
    border-color: #d92d20;
    background: #fff8f7;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.08);
}

.login-form .btn {
    width: 100%;
    min-height: 44px;
    padding: 11px 16px;
    font-size: 0.94rem;
}

.login-contact {
    margin: 2px 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-600);
}

.login-contact a {
    color: var(--blue-700);
    text-decoration: none;
    border-bottom: 1px solid rgba(27, 75, 166, 0.24);
}

.login-contact a:hover,
.login-contact a:focus-visible {
    border-bottom-color: rgba(27, 75, 166, 0.5);
}

.login-page .site-footer {
    padding: 12px 0;
}

.login-page .footer-inner {
    text-align: center;
}

.login-page .footer-inner p {
    margin: 3px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.site-footer {
    background: linear-gradient(180deg, var(--blue-950), var(--blue-900));
    color: #dfe8ff;
    padding: 32px 0;
}

.footer-inner p {
    margin: 6px 0;
}

.copyright {
    color: #9fb5eb;
}

.js-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.68s ease, transform 0.68s ease;
}

.js-ready .card.reveal-on-scroll,
.js-ready .steps li.reveal-on-scroll,
.js-ready .advantages-list li.reveal-on-scroll,
.js-ready .audience-list li.reveal-on-scroll,
.js-ready .trust-list li.reveal-on-scroll,
.js-ready .value-list li.reveal-on-scroll,
.js-ready .contact-form.reveal-on-scroll,
.js-ready .hero-dashboard.reveal-on-scroll {
    transform: translateY(16px);
}

.js-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float-blob-a {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(48px, 24px, 0) scale(1.08);
    }
}

@keyframes float-blob-b {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(-36px, -18px, 0) scale(1.06);
    }
}

@media (max-width: 860px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-dashboard {
        max-width: 640px;
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .advantages-list {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        padding: 22px 0;
    }

    .audience-list,
    .trust-list,
    .value-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .menu-toggle {
        display: inline-block;
    }

    .menu {
        display: none;
        position: absolute;
        right: 0;
        top: calc(100% + 10px);
        min-width: 230px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow-md);
        flex-direction: column;
        align-items: stretch;
    }

    .menu.open {
        display: flex;
    }

    .menu a {
        min-height: 46px;
        padding: 0 14px;
        justify-content: flex-start;
    }

    .header-login-btn {
        min-height: 40px;
        padding: 9px 14px;
        font-size: 0.9rem;
    }

    .hero::before {
        display: none;
    }

    .hero-inner {
        padding: 26px;
        border-radius: 24px;
    }

    .hero-dashboard {
        padding: 18px;
        border-radius: 16px;
    }

    .dashboard-steps li {
        min-height: 38px;
    }

    .cards,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 22px;
    }

    .login-main {
        padding: 14px 0 12px;
    }

    .section {
        padding: 76px 0;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 72px;
    }

    .header-inner {
        min-height: 72px;
    }

    .logo-image {
        height: 44px;
    }

    .menu {
        padding: 10px;
        border-radius: 18px;
    }

    .header-right {
        gap: 8px;
    }

    .header-login-btn {
        min-height: 38px;
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 0.86rem;
    }

    .hero {
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        align-items: start;
        padding: 16px 0 22px;
    }

    .hero-inner {
        gap: 18px;
    }

    .audience-list li,
    .trust-list li,
    .value-list li {
        padding: 16px 16px 16px 50px;
    }

    .hero .btn,
    .contact-form .btn {
        width: 100%;
    }

    .login-card {
        padding: 18px;
        border-radius: 16px;
    }

    .login-page .header-inner {
        min-height: 70px;
    }

    .login-page .logo-image {
        height: 40px;
    }

    .login-home-btn {
        min-height: 36px;
        padding: 7px 11px;
        font-size: 0.84rem;
    }

    .login-page .site-footer {
        padding: 10px 0;
    }

    .login-page .footer-inner p {
        font-size: 0.84rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .advantages-list {
        grid-template-columns: 1fr;
    }

    .card {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .js-ready .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }

    .hero::before,
    .hero-layout::after {
        animation: none;
    }
}

