:root {
    --bg: #e9eaec;
    --surface: #ffffff;
    --text: #101720;
    --muted: #4e5d6f;
    --line: #cfe8f3;
    --accent: #7ed6ff;
    --accent-strong: #3caee6;
    --deep-1: #0d1f3e;
    --deep-2: #06112a;
    --radius-xl: 5px;
    --radius-lg: 5px;
    --radius-md: 5px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Roboto", sans-serif;
    line-height: 1.35;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.btn-primary {
    background: linear-gradient(180deg, #9fe4ff 0%, #6ecbf3 100%);
    color: #143044;
}

.btn-outline {
    border: 1px solid #4b5a77;
    color: #dce8ff;
    background: transparent;
}

.btn-telegram {
    background: #7fd8ff;
    color: #183247;
}

.btn-telegram-outline {
    border: 1px solid #4b5a77;
    color: #dce8ff;
    background: transparent;
}

.phone-link {
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
    animation: phonePulseGlow 1.9s ease-in-out infinite;
}

.phone-link:hover {
    color: #9fe4ff;
    text-shadow: 0 0 16px rgba(145, 221, 255, 0.55);
    transform: translateY(-1px);
}

.top-actions .phone-link {
    font-size: 22px;
    letter-spacing: 0.2px;
}

.top-actions .phone-link i {
    color: #7ed6ff;
    font-size: 0.78em;
}

h1 {
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    margin-bottom: 22px;
}

h3 {
    font-size: clamp(20px, 1.9vw, 30px);
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(9, 23, 49, 0.93);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(175, 207, 244, 0.2);
    box-shadow: 0 10px 20px rgba(4, 12, 28, 0.2);
}

.site-header a,
.site-header button {
    transition: transform 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header a:hover,
.site-header button:hover {
    transform: translateY(-1px);
}

.topbar {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 16px;
    border-radius: 0;
    background: transparent;
}

.status-ticker {
    height: 26px;
    border-top: 1px solid rgba(166, 194, 231, 0.22);
    border-bottom: 1px solid rgba(166, 194, 231, 0.22);
    overflow: hidden;
    background: linear-gradient(90deg, #10254b, #0d1f3f);
    color: #cae6ff;
}

.status-track {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    min-width: 100%;
    height: 100%;
    padding-left: 100%;
    animation: ticker 22s linear infinite;
    font-size: 12px;
    font-weight: 600;
}

.status-track span::before {
    content: "\2022";
    margin-right: 8px;
    color: #8edaff;
}

.logo-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #0f3668, #081834);
    color: #cde8ff;
    /* border: 2px solid #89b8e7; */
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    top: 0;
}

.logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.main-nav {
    display: flex;
    gap: 26px;
    color: #dbe6ff;
}

.main-nav a {
    font-size: 14px;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #8edaff;
    transition: width 0.22s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.top-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #dbe6ff;
}

.icon-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(192, 216, 248, 0.72);
    color: #dbe6ff;
    display: inline-grid;
    place-items: center;
    font-size: 16px;
    background: linear-gradient(180deg, rgba(23, 48, 90, 0.38), rgba(9, 25, 52, 0.28));
}

.icon-link:hover {
    color: #9fe4ff;
    border-color: #d7ecff;
    box-shadow: 0 0 0 4px rgba(126, 214, 255, 0.14), 0 0 18px rgba(128, 214, 255, 0.35);
}

.icon-link.telegram {
    animation: telegramPulse 1.9s ease-in-out infinite;
    border-color: rgba(216, 233, 255, 0.85);
}

.mobile-quick-actions {
    display: none;
    gap: 8px;
    margin-left: auto;
    margin-right: 8px;
    align-items: center;
}

.mobile-phone-link {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 24px;
    font-weight: 800;
    color: #e7efff;
    line-height: 1;
    white-space: nowrap;
    animation: mobilePulseTurn 2.4s ease-in-out infinite;
}

.mobile-phone-link::before {
    content: none;
}

.mobile-phone-link i {
    color: #9fe4ff;
    font-size: 0.82em;
}

.mobile-quick-actions .icon-link.telegram {
    animation: mobilePulseTurn 2.4s ease-in-out infinite;
    animation-delay: 1.2s;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #4b5a77;
    background: transparent;
    color: #dbe6ff;
    cursor: pointer;
}

.hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(92, 185, 255, 0.25), transparent 45%),
        radial-gradient(circle at 85% 35%, rgba(115, 118, 255, 0.18), transparent 46%),
        linear-gradient(135deg, var(--deep-1), var(--deep-2));
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    color: #eff6ff;
    padding: 46px 0 40px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../design/hero-bg.jpg") center/cover no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: end;
    position: relative;
    z-index: 1;
}

.hero-copy p {
    max-width: 560px;
    font-size: 16px;
    color: #b9c9e6;
    margin-bottom: 22px;
}

.hero-checks {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

.hero-checks li::before,
.audience-list li::before,
.process-checks li::before {
    content: "\2611";
    margin-right: 10px;
    color: #8fdcff;
}

.hero-side {
    display: flex;
    justify-content: flex-end;
}

.hero-visual-card {
    width: min(340px, 100%);
    min-height: 98px;
    background: linear-gradient(160deg, rgba(252, 254, 255, 0.96), rgba(242, 248, 255, 0.92));
    color: #1a2d42;
    border: 1px solid rgba(210, 225, 241, 0.92);
    border-radius: 18px;
    display: grid;
    grid-template-columns: 102px 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    box-shadow: 0 12px 26px rgba(6, 21, 45, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-visual-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 34px rgba(6, 21, 45, 0.24);
}

.hero-visual-logo {
    width: 92px;
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-visual-content p {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 500;
    color: #1a2028;
}

.hero-cert-btn {
    border: 1px solid #8d9297;
    border-radius: 999px;
    background: #f1f1f2;
    color: #1c2430;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 8px 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-cert-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(24, 39, 60, 0.17);
    filter: brightness(1.03);
}

.hero-preview {
    width: 100%;
    height: 128px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #dbe9f5;
}

.trust,
.result-scheme,
.audience,
.services,
.faq,
.contacts {
    margin-bottom: 22px;
}

.accreditation-pill {
    border-radius: 999px;
    background: #92dbff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    margin-bottom: 18px;
    width: min(100%, 620px);
    margin-left: auto;
}

.accreditation-pill i {
    color: #5daee0;
    font-size: 20px;
    flex-shrink: 0;
}

.accreditation-pill span {
    flex: 1;
    min-width: 0;
}

.accreditation-pill button {
    border: 1px solid #1b3345;
    border-radius: 999px;
    padding: 4px 12px;
    margin-left: auto;
    font-weight: 700;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 22px;
    min-height: 200px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(8, 21, 44, 0.08);
    border-color: #d9eaf5;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
    font-size: 16px;
}

.trust-icon {
    display: inline-block;
    font-size: 34px;
    margin-bottom: 12px;
    color: #75c8f1;
}

.scheme-layout {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
}

.scheme-circles {
    display: flex;
}

.circle {
    width: 210px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #ecf6fc;
    display: grid;
    place-content: center;
    text-align: center;
    margin-right: -18px;
    padding: 20px;
    transition: border-color 0.25s ease;
}

.circle strong {
    font-size: 40px;
    line-height: 1;
}

.circle span {
    color: var(--muted);
    font-size: 14px;
}

.scheme-circles .circle:nth-child(1) {
    animation: myCirclePulse 3s ease-in-out infinite;
}

.scheme-circles .circle:nth-child(2) {
    animation: yourCirclePulse 3s ease-in-out infinite;
}

.scheme-arrow {
    font-size: 40px;
    font-weight: 800;
}

.result-card {
    background:
        linear-gradient(180deg, rgba(4, 16, 37, 0.28), rgba(4, 16, 37, 0.12)),
        url(../design/images/result-card.png) center/cover no-repeat;
    opacity: 0.95;
    color: #eef5ff;
    border-radius: var(--radius-lg);
    min-height: 240px;
    padding: 28px;
    overflow: hidden;
    animation: resultCardPulse 6s ease-in-out infinite;
}

.result-card p {
    color: #c0d1ef;
    margin-top: 10px;
}

.result-preview {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 14px;
    opacity: 0.88;
}

.audience-layout {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 26px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.audience-layout > div > p {
    font-weight: 700;
    margin-bottom: 14px;
}

.audience-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.audience-list li {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
}

.audience-note {
    min-height: 340px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(8, 21, 45, 0.08) 24%, rgba(8, 21, 45, 0.56) 100%),
        url("../design/images/audience-note.png") center/cover no-repeat;
    opacity: 0.95;
    color: #f7fbff;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(4, 12, 28, 0.72);
}

.service-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #dfe9f2;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(5, 18, 38, 0.08);
}

.service-card header {
    padding: 20px 22px;
    border-bottom: 1px solid #e8eff5;
}

.service-content {
    padding: 24px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.service-content p {
    margin-bottom: 14px;
}

.service-content h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-content ul {
    padding-left: 20px;
    color: var(--muted);
}

.process {
    background:
        radial-gradient(circle at 80% 90%, rgba(140, 192, 255, 0.3), transparent 40%),
        linear-gradient(135deg, #051028, #0d2c57);
    border-radius: var(--radius-xl);
    color: #eef5ff;
    padding: 28px 0;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.process::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../design/images/process.png") center/cover no-repeat;
    opacity: 0.8;
    pointer-events: none;
}

.process .container {
    position: relative;
    z-index: 1;
}

.process h2 {
    margin-bottom: 16px;
}

.process-strip {
    background: #ffffff;
    color: #0d1a2d;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.step {
    text-align: center;
    border-radius: 12px;
    padding: 8px 6px;
    animation: processStepPulse 2.5s ease-in-out infinite;
}

.step span {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #ecf6fc;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    font-size: 34px;
    font-weight: 800;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    animation: processStepBadgePulse 2.5s ease-in-out infinite;
}

.step p {
    font-size: 16px;
}

.process-strip .step:nth-child(1),
.process-strip .step:nth-child(1) span { animation-delay: 0s; }
.process-strip .step:nth-child(2),
.process-strip .step:nth-child(2) span { animation-delay: 0.5s; }
.process-strip .step:nth-child(3),
.process-strip .step:nth-child(3) span { animation-delay: 1s; }
.process-strip .step:nth-child(4),
.process-strip .step:nth-child(4) span { animation-delay: 1.5s; }
.process-strip .step:nth-child(5),
.process-strip .step:nth-child(5) span { animation-delay: 2s; }

.process .btn {
    margin-bottom: 14px;
}

.process-checks {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #d3e1f7;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    border: 1px solid transparent;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.faq-toggle {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
}

.faq-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #8edaff;
    display: grid;
    place-items: center;
}

.faq-item p {
    margin-top: 12px;
    color: var(--muted);
    display: none;
    font-size: 16px;
}

.faq-item.active p {
    display: block;
}

.faq-item:hover {
    background: #f0f8fd;
    border-color: #c9e7f8;
    transform: translateY(-1px);
}

.faq-item:hover p {
    display: block;
}

.consultation {
    background:
        radial-gradient(circle at 84% 38%, rgba(129, 189, 255, 0.24), transparent 40%),
        linear-gradient(120deg, #050d22, #122b56);
    border-radius: var(--radius-xl);
    padding: 34px 0;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.consultation::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../design/images/consultation.png") center/cover no-repeat;
    opacity: 0.88;
    pointer-events: none;
}

.consultation-layout {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.yandex-form-wrapper {
    width: min(680px, 100%);
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 14px 28px rgba(5, 16, 38, 0.16);
}

.yandex-form-wrapper h2 {
    margin-bottom: 0;
}

.yandex-form-wrapper p {
    color: var(--muted);
    margin-bottom: 14px;
}

.consultation-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.consultation-back-btn {
    border-color: #b8cadf;
    color: #15314f;
}

.yandex-form-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 520px;
    border: 0;
    border-radius: 10px;
    background: #fff;
}

.consultation-form {
    width: min(460px, 100%);
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 0 0 0 rgba(126, 214, 255, 0.35);
    animation: formPulse 2.6s ease-in-out infinite;
}

.consultation-form p {
    color: var(--muted);
    margin-bottom: 14px;
}

.consultation-form input[type="text"],
.consultation-form input[type="tel"] {
    width: 100%;
    border: 1px solid #cfd7df;
    border-radius: 10px;
    height: 46px;
    padding: 0 14px;
    margin-bottom: 10px;
    font-family: inherit;
}

.policy {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}

.inline-policy-link {
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    color: #1a2f45;
}

.inline-policy-link:hover {
    color: #0f5d8a;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
}

.form-note {
    margin-top: 10px;
    font-size: 12px;
    color: #46586c;
    line-height: 1.35;
}

.form-note.success {
    color: #0f6b44;
}

.form-note.error {
    color: #9f2f2f;
}

.form-note a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consultation-form .btn-primary {
    animation: ctaPulse 2.1s ease-in-out infinite;
}

.contacts-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    align-items: start;
}

.contacts-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 30px;
    font-weight: 700;
}

.contacts-list li:last-child {
    font-size: 22px;
    font-weight: 500;
    color: var(--muted);
}

.map-wrap {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #deebf3;
}

.map-wrap iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

.site-footer {
    margin-top: 20px;
    background: #01040a;
    color: #dce8ff;
    border-radius: 24px;
    height: 180px;
    padding: 0;
}

.footer-layout {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    height: 100%;
}

.footer-logo {
    width: 84px;
    height: 84px;
    justify-self: center;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #dde6f3;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.25;
    opacity: 0.94;
}

.footer-links p {
    margin-top: 10px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.25;
    max-width: 620px;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 16px;
}

.site-footer .phone-link {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-footer .phone-link i {
    color: #7ed6ff;
    font-size: 0.78em;
}

.site-footer .btn-outline {
    height: 50px;
    padding: 0 24px;
    border-radius: 25px;
    border: 1px solid rgba(215, 233, 255, 0.82);
    color: #f2f7ff;
    font-size: 16px;
    font-weight: 700;
    background: transparent;
}

.footer-telegram {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border: 1px solid rgba(216, 233, 255, 0.9);
    color: #f4f8ff;
    background: transparent;
}

.certificate-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.certificate-modal.open {
    display: flex;
}

.certificate-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 12, 28, 0.7);
    backdrop-filter: blur(3px);
}

.certificate-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    height: min(88vh, 760px);
    padding-top: 52px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #d2dfef;
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(4, 12, 28, 0.42);
}

.certificate-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    min-width: 88px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #bfcedf;
    border-radius: 999px;
    background: #f4f8fc;
    color: #21374f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    cursor: pointer;
    z-index: 2;
}

.certificate-modal__return {
    position: absolute;
    left: 14px;
    top: 10px;
    min-width: 88px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #bfcedf;
    border-radius: 999px;
    background: #f4f8fc;
    color: #15314f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}

.certificate-modal.policy-doc .certificate-modal__return {
    display: inline-flex;
}

.certificate-modal__return:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.certificate-modal__frame {
    display: block;
    width: 100%;
    height: calc(100% - 52px);
    border: 0;
}

.certificate-modal__frame--form {
    display: none;
}

.certificate-modal.show-form .certificate-modal__frame--doc {
    display: none;
}

.certificate-modal.show-form .certificate-modal__frame--form {
    display: block;
}

.certificate-modal.yandex-form-doc .certificate-modal__dialog {
    height: min(76vh, 640px);
}

.cookie-consent {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 120;
    display: none;
}

.cookie-consent.visible {
    display: block;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-consent__card {
    max-width: 720px;
    margin: 0 auto;
    background: #ffffff;
    color: #1d2734;
    border: 1px solid #d6dfe8;
    border-radius: 18px;
    padding: 16px 16px 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.cookie-consent__card p {
    font-size: 15px;
    line-height: 1.35;
}

.cookie-consent__button {
    margin-top: 12px;
    min-width: 160px;
    padding: 10px 24px;
    background: #8cd8ff;
    color: #0f2436;
}

.to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(180deg, #9fe4ff, #6ecbf3);
    color: #133147;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(6, 21, 45, 0.25);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

.to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.to-top:hover {
    filter: brightness(1.05);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes formPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(126, 214, 255, 0.2); }
    50% { box-shadow: 0 0 0 10px rgba(126, 214, 255, 0); }
}

@keyframes telegramPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(126, 214, 255, 0.18), 0 0 0 0 rgba(126, 214, 255, 0.12);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(126, 214, 255, 0), 0 0 18px 2px rgba(126, 214, 255, 0.45);
        filter: brightness(1.08);
    }
}

@keyframes phonePulseGlow {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(126, 214, 255, 0), 0 0 0 rgba(126, 214, 255, 0);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.04);
        text-shadow: 0 0 10px rgba(126, 214, 255, 0.55), 0 0 20px rgba(126, 214, 255, 0.3);
        filter: brightness(1.08);
    }
}

@keyframes myCirclePulse {
    0%, 100% {
        transform: scale(1);
        border-color: var(--line);
        box-shadow: 0 0 0 0 rgba(126, 214, 255, 0);
    }
    10% {
        transform: scale(1.04);
        border-color: #9ddfff;
        box-shadow: 0 0 18px 3px rgba(126, 214, 255, 0.45);
    }
    20% {
        transform: scale(1);
        border-color: var(--line);
        box-shadow: 0 0 0 0 rgba(126, 214, 255, 0);
    }
    33% {
        transform: scale(1.04);
        border-color: #9ddfff;
        box-shadow: 0 0 18px 3px rgba(126, 214, 255, 0.45);
    }
    43% {
        transform: scale(1);
        border-color: var(--line);
        box-shadow: 0 0 0 0 rgba(126, 214, 255, 0);
    }
}

@keyframes yourCirclePulse {
    0%, 58%, 100% {
        transform: scale(1);
        border-color: var(--line);
        box-shadow: 0 0 0 0 rgba(126, 214, 255, 0);
    }
    68% {
        transform: scale(1.04);
        border-color: #9ddfff;
        box-shadow: 0 0 18px 3px rgba(126, 214, 255, 0.45);
    }
    78% {
        transform: scale(1);
        border-color: var(--line);
        box-shadow: 0 0 0 0 rgba(126, 214, 255, 0);
    }
}

@keyframes resultCardPulse {
    0%, 72%, 100% {
        transform: scale(1);
        filter: brightness(1);
        box-shadow: 0 0 0 0 rgba(126, 214, 255, 0);
    }
    80%, 88% {
        transform: scale(1.02);
        filter: brightness(1.08);
        box-shadow: 0 0 24px 2px rgba(126, 214, 255, 0.3);
    }
    84%, 92% {
        transform: scale(1);
        filter: brightness(1);
        box-shadow: 0 0 0 0 rgba(126, 214, 255, 0);
    }
}

@keyframes mobilePulseTurn {
    0%, 32%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(126, 214, 255, 0), 0 0 0 0 rgba(126, 214, 255, 0);
        text-shadow: 0 0 0 rgba(126, 214, 255, 0), 0 0 0 rgba(126, 214, 255, 0);
        filter: brightness(1);
    }
    12%, 22% {
        transform: scale(1.05);
        box-shadow: 0 0 0 6px rgba(126, 214, 255, 0), 0 0 16px 2px rgba(126, 214, 255, 0.42);
        text-shadow: 0 0 10px rgba(126, 214, 255, 0.55), 0 0 20px rgba(126, 214, 255, 0.26);
        filter: brightness(1.1);
    }
}

@keyframes processStepPulse {
    0%, 76%, 100% {
        background: transparent;
        box-shadow: 0 0 0 0 rgba(30, 201, 190, 0);
        transform: translateY(0);
    }
    10%, 22% {
        background: rgba(30, 201, 190, 0.1);
        box-shadow: 0 0 0 5px rgba(30, 201, 190, 0.14);
        transform: translateY(-1px);
    }
}

@keyframes processStepBadgePulse {
    0%, 76%, 100% {
        background: #ecf6fc;
        border-color: var(--line);
        color: #0d1a2d;
        box-shadow: 0 0 0 0 rgba(30, 201, 190, 0);
        transform: scale(1);
    }
    10%, 22% {
        background: #1ec9be; /* triclozan tone */
        border-color: #1ec9be;
        color: #ffffff;
        box-shadow: 0 0 0 10px rgba(30, 201, 190, 0);
        transform: scale(1.04);
    }
}

@media (max-width: 1100px) {
    .hero-layout,
    .audience-layout,
    .contacts-layout {
        grid-template-columns: 1fr;
    }

    .scheme-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .scheme-circles {
        justify-content: center;
    }

    .service-content {
        grid-template-columns: 1fr;
    }

    .process-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-layout {
        grid-template-columns: 1fr;
        justify-items: start;
        height: auto;
    }

    .footer-actions {
        justify-content: flex-start;
    }

    .footer-logo {
        width: 96px;
        height: 96px;
        justify-self: start;
    }

    .footer-links p {
        margin-top: 8px;
    }

    .site-footer {
        height: auto;
        padding: 18px 0;
    }
}

@media (max-width: 780px) {
    .container {
        width: min(1160px, calc(100% - 20px));
    }

    .topbar {
        min-height: 62px;
        border-radius: 0;
        padding: 6px 10px;
        gap: 10px;
    }

    .main-nav,
    .top-actions {
        display: none;
    }

    .mobile-quick-actions {
        display: inline-flex;
        gap: 8px;
        margin-left: 0;
        margin-right: 6px;
    }

    .logo-badge {
        width: 50px;
        height: 50px;
    }

    .mobile-phone-link {
        display: inline-flex;
        flex: 1;
        font-size: 15px;
        text-align: center;
    }

    .icon-link {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        margin-left: 0;
        width: 32px;
        height: 32px;
    }

    .site-header.open .main-nav {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 66px;
        display: grid;
        gap: 8px;
        background: #0b1b39;
        border: 1px solid rgba(202, 221, 255, 0.2);
        border-radius: 12px;
        padding: 12px;
        z-index: 80;
    }

    h1 {
        font-size: 28px;
        line-height: 1.12;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 14px;
    }

    h3,
    .card h3,
    .service-content h4,
    .faq-toggle {
        font-size: 18px;
    }

    .hero-copy p,
    .contacts-list,
    .step p {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
        padding: 11px 18px;
    }

    main section {
        margin-bottom: 14px;
    }

    .hero {
        padding: 20px 0 18px;
        margin-bottom: 14px;
    }

    .hero-layout {
        gap: 12px;
    }

    .hero-checks {
        margin-top: 12px;
        gap: 7px;
    }

    .hero-checks li {
        font-size: 14px;
    }

    .hero-visual-card {
        width: 100%;
        min-height: 0;
        padding: 10px;
        border-radius: 12px;
    }

    .hero-visual-logo {
        width: 82px;
    }

    .hero-visual-content p {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .hero-cert-btn {
        font-size: 14px;
        padding: 7px 12px;
    }

    .accreditation-pill {
        border-radius: 12px;
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 12px;
        margin-left: 0;
    }

    .accreditation-pill button {
        margin-left: 0;
        align-self: flex-start;
    }

    .card {
        padding: 14px;
        min-height: 0;
    }

    .card p {
        font-size: 14px;
    }

    .trust-grid,
    .process-strip {
        grid-template-columns: 1fr;
    }

    .scheme-layout {
        padding: 14px;
        gap: 8px;
    }

    .circle {
        width: 100%;
        max-width: 170px;
        padding: 14px;
    }

    .circle strong {
        font-size: 32px;
    }

    .circle span {
        font-size: 12px;
    }

    .scheme-circles {
        flex-direction: column;
        align-items: center;
    }

    .circle {
        margin-right: 0;
        margin-bottom: -14px;
    }

    .scheme-arrow {
        font-size: 28px;
    }

    .result-card {
        min-height: 120px;
        padding: 16px;
        border-radius: 12px;
        background-size: cover;
        background-position: center;
    }

    .result-card p {
        margin-top: 6px;
        font-size: 13px;
    }

    .audience-layout {
        padding: 14px;
        gap: 12px;
    }

    .audience-list {
        gap: 8px;
    }

    .audience-list li {
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 14px;
    }

    .audience-note {
        min-height: 110px;
        padding: 14px;
        border-radius: 12px;
        font-size: 18px;
    }

    .service-card {
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .service-card header {
        padding: 14px;
    }

    .service-content {
        padding: 14px;
        gap: 14px;
    }

    .service-content p,
    .service-content ul li {
        font-size: 14px;
    }

    .service-content .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .process {
        padding: 16px 0;
        margin-bottom: 14px;
    }

    .process-strip {
        padding: 12px;
        gap: 8px;
        margin-bottom: 12px;
    }

    .step {
        padding: 4px 2px;
    }

    .step span {
        width: 42px;
        height: 42px;
        margin-bottom: 7px;
        font-size: 22px;
    }

    .process .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .process-checks {
        display: grid;
        gap: 8px;
        font-size: 14px;
    }

    .faq-item {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .faq-toggle {
        font-size: 16px;
        gap: 10px;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .faq-item p {
        margin-top: 8px;
        font-size: 14px;
    }

    .consultation {
        padding: 16px 0;
        margin-bottom: 14px;
    }

    .consultation-layout {
        display: block;
    }

    .yandex-form-wrapper {
        width: 100%;
        padding: 14px;
        border-radius: 12px;
    }

    .consultation-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .consultation-back-btn {
        width: 100%;
    }

    .yandex-form-wrapper p {
        font-size: 14px;
    }

    .yandex-form-wrapper iframe {
        min-height: 460px;
        border-radius: 8px;
    }

    .consultation-form {
        width: 100%;
        padding: 14px;
        border-radius: 12px;
    }

    .consultation-form p {
        font-size: 14px;
    }

    .consultation-form input[type="text"],
    .consultation-form input[type="tel"] {
        height: 42px;
        font-size: 14px;
    }

    .policy {
        font-size: 11px;
    }

    .consultation-form .btn-primary,
    .contacts .btn-telegram {
        width: 100%;
    }

    .status-ticker {
        height: 20px;
    }

    .status-track {
        font-size: 10px;
        gap: 20px;
    }

    .contacts-layout {
        gap: 12px;
    }

    .contacts-list {
        gap: 8px;
        margin-bottom: 12px;
        font-size: 16px;
    }

    .contacts-list li:last-child {
        font-size: 14px;
    }

    .map-wrap {
        border-radius: 12px;
    }

    .map-wrap iframe {
        height: 240px;
    }

    .site-footer {
        border-radius: 12px;
        height: auto;
        padding: 14px 0;
        margin-top: 14px;
    }

    .footer-layout {
        gap: 12px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-links p {
        font-size: 12px;
        margin-top: 2px;
    }

    .site-footer .phone-link {
        font-size: 16px;
    }

    .site-footer .btn-outline,
    .footer-telegram {
        height: 42px;
        width: 42px;
        font-size: 14px;
    }

    .site-footer .btn-outline {
        width: auto;
        padding: 0 14px;
    }

    .footer-telegram {
        font-size: 18px;
    }

    .hero-visual-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .hero-visual-content p {
        line-height: 1.1;
    }

    .certificate-modal {
        padding: 10px;
    }

    .certificate-modal__dialog {
        height: min(86vh, 650px);
    }

    .certificate-modal.yandex-form-doc .certificate-modal__dialog {
        height: min(82vh, 560px);
    }

    .to-top {
        width: 38px;
        height: 38px;
        right: 12px;
        bottom: 12px;
        font-size: 18px;
    }

    .cookie-consent {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .cookie-consent__card {
        border-radius: 16px;
        padding: 12px;
    }

    .cookie-consent__card p {
        font-size: 13px;
    }

    .cookie-consent__button {
        width: 100%;
        margin-top: 10px;
        min-width: 0;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    .hero-copy p,
    .hero-checks li,
    .card p,
    .service-content p,
    .service-content ul li,
    .faq-item p {
        font-size: 13px;
    }

    .menu-toggle {
        width: 30px;
        height: 30px;
    }

    .mobile-phone-link {
        font-size: 14px;
    }
}
