* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

:root {
    --bg: #0b0b14;
    --card: #121225;
    --muted: #a4a4c4;
    --text: #f6f6ff;
    --accent: #d2b55b;
    --accent-2: #8a7cff;
    --border: rgba(255, 255, 255, .08);
    --glow: 0 0 120px rgba(210, 181, 91, .15), 0 0 40px rgba(138, 124, 255, .12);
    --space: clamp(12px, 1.5vw, 20px);
    --radius: 16px;
    --header-h: 64px;
    --site-top-offset: 0px;
}

.quiz fieldset[hidden] {
    display: none !important;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #0b0b14 0%, #111127 55%, #0b0b14 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    padding-top: var(--site-top-offset);
}

a {
    color: var(--accent-2);
    text-decoration: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: saturate(120%) blur(10px);
    background: rgba(11, 11, 20, .9);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px var(--space);
}

.backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(1200px 800px at 10% -10%, rgba(210, 181, 91, .10), transparent 70%),
        radial-gradient(1200px 800px at 110% 0%, rgba(138, 124, 255, .10), transparent 70%),
        radial-gradient(900px 600px at 50% 110%, rgba(104, 93, 210, .08), transparent 70%);
    background-attachment: fixed, fixed, fixed;
    filter: saturate(110%);
}

.nav {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--header-h);
}

.brand b {
    font-size: clamp(16px, 2.2vw, 20px);
    letter-spacing: .6px;
    white-space: nowrap;
}

.pill {
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
    display: none;
}

.contact-links {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.contact-links .btn.primary {
    width: auto;
}

.contact-links .btn {
    white-space: nowrap;
}

.btn {
    appearance: none;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
    color: var(--text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .08s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.btn.primary {
    background: linear-gradient(180deg, rgba(210, 181, 91, .22), rgba(210, 181, 91, .1));
    border-color: rgba(210, 181, 91, .45);
    width: 100%;
    text-align: center;
    justify-content: center;
}

.hero {
    position: relative;
    overflow: hidden;
}

.title {
    font-family: Cinzel, serif;
    font-size: clamp(28px, 4.6vw, 44px);
    line-height: 1.15;
    margin: 10px 0 8px;
    text-shadow: 0 0 40px rgba(210, 181, 91, .15);
}

.subtitle {
    color: var(--muted);
    max-width: 68ch;
    font-size: clamp(14px, 1.6vw, 16px);
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--glow);
}

.hero .form-card {
    padding: clamp(14px, 1.8vw, 18px);
}

.count {
    color: var(--muted);
    font-size: 12px;
    margin-left: 6px;
}

.badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0;
}

.badge {
    font-size: 12px;
    color: var(--muted);
    border: 1px dashed var(--border);
    padding: 6px 10px;
    border-radius: 999px;
}

form {
    display: grid;
    gap: 12px;
}

label {
    font-size: 13px;
    color: var(--muted);
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 12px;
    border-radius: 12px;
    background: #0e0e1b;
    border: 1px solid var(--border);
    color: var(--text);
    font: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.help {
    font-size: 12px;
    color: var(--muted);
}

.price {
    font-size: clamp(22px, 3vw, 28px);
    font-family: Cinzel, serif;
    color: var(--accent);
    margin: 6px 0;
}

.cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.section {
    padding: clamp(20px, 4vw, 38px) var(--space);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature {
    padding: 18px;
}

.feature h3 {
    font-family: Cinzel, serif;
    margin: 6px 0 8px;
    font-size: 18px;
}

.faq details {
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
    border: 1px solid var(--border);
    padding: 14px 16px;
    border-radius: 14px;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
}

footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
}

.fab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #121225;
    color: var(--text);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.fab span {
    font-weight: 600;
}

#order {
    scroll-margin-top: calc(var(--header-h) + 10px);
}

h1,
h2 {
    scroll-margin-top: calc(var(--header-h) + 10px);
}

@media (max-width:1024px) {
    .pill {
        display: inline-block;
    }

    .hero .wrap {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-links .btn {
        padding: 10px 12px;
    }
}

@media (max-width:784px) {
    .wrap {
        flex-direction: column;
        justify-content: center;
    }

    .contact-links {
        margin: 0;
    }
}

@media (max-width:720px) {
    .wrap {
        padding-left: max(var(--space), env(safe-area-inset-left));
        padding-right: max(var(--space), env(safe-area-inset-right));
    }

    .nav {
        gap: 8px;
    }

    .contact-links {
        gap: 6px;
    }

    .contact-links .btn {
        font-size: 11px;
        padding: 9px 12px;
    }

    .subtitle {
        max-width: unset;
    }

    .inline {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;
    }

    .cta .btn {
        width: 100%;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .float {
        right: 10px;
        bottom: 10px;
        gap: 6px;
    }

    .fab {
        padding: 6px 6px;
        border-radius: 999px;
    }

    .fab img {
        width: 18px;
        height: 18px;
    }

    .fab span {
        display: none;
    }
}

@media (max-width:360px) {
    .brand b {
        font-size: 14px;
    }

    .pill {
        display: none;
    }
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(16px, 2.2vw, 28px);
    padding: clamp(20px, 4vw, 56px) var(--space);
    align-items: start;
}

.hero .form-card,
.hero .portrait-card {
    align-self: start;
}

.portrait-card {
    padding: 0;
    overflow: hidden;
}

.portrait-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.narrow {
    max-width: 860px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.video-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
    box-shadow: var(--glow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    background: #0e0e1b;
}

.video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-meta {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.video-meta b {
    font-family: Cinzel, serif;
}

.video-meta small {
    color: var(--muted);
}

@media (max-width:900px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:560px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.guarantee {
    margin-top: 16px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
    box-shadow: var(--glow);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
}

.guarantee b {
    color: var(--accent);
    font-family: Cinzel, serif;
    font-size: 17px;
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--glow);
    width: 100%;
    aspect-ratio: 3/4;
    background: #0e0e1b;
}

.slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .8s ease;
}

.slider img.active {
    opacity: 1;
}

.service-badge {
    display: inline-block;
    font-size: 12px;
    color: var(--muted);
    border: 1px dashed var(--border);
    padding: 6px 10px;
    border-radius: 999px;
    margin-top: 8px;
}

.service-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.service-actions .btn {
    padding: 10px 12px;
}

.about-card {
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    align-items: center;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: var(--glow);
}

.about-body p {
    margin: 0 0 12px;
}

.about-bullets {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0 0 0;
    padding-left: 18px;
}

@media (max-width:720px) {
    .about-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-card img {
        margin-bottom: 16px;
    }
}

.reviews-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.review-btn {
    flex: 1 1 280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: .2s ease;
}

.review-btn:hover {
    background: rgba(255, 255, 255, .06);
}

.review-btn .label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-btn .rating {
    color: var(--accent);
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width:720px) {
    .review-btn {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .review-btn .rating {
        font-size: 13px;
    }
}

#formNote.success {
    color: #4CAF50;
    font-weight: 600;
}

#formNote.error {
    color: #ff4d4d;
    font-weight: 600;
}

.quiz {
    display: grid;
    gap: 12px;
}

.quiz fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.quiz .sr-only {
    position: absolute;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap;
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.quiz-opt {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid var(--border);
    color: var(--text);
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}

.quiz-opt:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.quiz-opt.active {
    outline: 2px solid rgba(210, 181, 91, .45);
    background: linear-gradient(180deg, rgba(210, 181, 91, .18), rgba(210, 181, 91, .08));
}

.quiz-nav {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 4px;
}

.quiz-progress {
    position: relative;
    padding: 12px;
}

.quiz-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, rgba(210, 181, 91, .9), rgba(138, 124, 255, .9));
    border-radius: 999px 999px 0 0;
}

.quiz-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
}

.quiz-result {
    padding: 16px 18px;
}

.quiz-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 548px) {
    .nav {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .brand {
        justify-content: center;
        width: 100%;
    }

    .contact-links {
        margin-left: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .contact-links .btn {
        font-size: 11px;
        padding: 6px 8px;
        flex: 1 1 calc(25% - 6px);
        text-align: center;
    }

    .contact-links .btn.primary {
        flex-basis: 100%;
        max-width: 320px;
        width: 100%;
        margin-top: 4px;
    }
}

@media (max-width: 840px) {
    .quiz-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .quiz-grid {
        grid-template-columns: 1fr;
    }
}

.quiz-send {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

#quizTelWrap,
#quizTgWrap,
#quizMaxWrap {
    display: none;
}

#quizSuccess {
    padding: 16px 18px;
}

#quiz.quiz-closed {
    padding: 0;
}

#quiz.quiz-closed .wrap {
    padding: 0 var(--space);
}

#quiz .quiz-success-card {
    padding: 16px 18px;
}

.compact-faq .faq-list {
    display: grid;
    gap: 6px;
}

.compact-faq details {
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .02);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.compact-faq details[open] {
    background: rgba(255, 255, 255, .04);
}

.compact-faq details summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 14px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.compact-faq details summary::-webkit-details-marker {
    display: none;
}

.compact-faq details summary::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid var(--muted);
    border-left: 0;
    border-top: 0;
    transform: rotate(-45deg);
    transition: transform .18s ease;
    opacity: .8;
}

.compact-faq details[open] summary::before {
    transform: rotate(45deg);
}

.compact-faq details>div {
    padding: 8px 14px 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.compact-faq h2 {
    margin-bottom: 4px !important;
}

#scrollTopBtn:hover {
    background: rgba(210, 181, 91, .3);
    box-shadow: 0 0 10px rgba(210, 181, 91, .5);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

.price-old {
    text-decoration: line-through;
    opacity: .6;
    margin-right: 8px;
}

.price-new {
    font-weight: 700;
    border: 1px solid var(--accent, #d2b55b);
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.promo-banner {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
    background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 60%),
        linear-gradient(90deg, rgba(210, 181, 91, .24), rgba(138, 124, 255, .22));
    border-bottom: 1px solid rgba(210, 181, 91, .45);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
    backdrop-filter: blur(6px);
}

.promo-banner b {
    letter-spacing: .2px;
}

.promo-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(210, 181, 91, .55);
    background: rgba(210, 181, 91, .12);
    font-variant-numeric: tabular-nums;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    animation: promoPulse 2.2s ease-in-out infinite;
}

@keyframes promoPulse {

    0%,
    100% {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 0 rgba(210, 181, 91, 0)
    }

    50% {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), 0 0 18px rgba(210, 181, 91, .25)
    }
}

.promo-close {
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-size: 18px;
    opacity: .75;
}

.promo-close:hover {
    opacity: 1;
}

@media (max-width:1024px) {
    .promo-banner {
        gap: 10px;
        font-size: 13px;
        grid-auto-flow: row;
    }
}

@media (max-width:640px) {
    .promo-banner {
        padding: 8px 12px;
        font-size: 12.5px;
        flex-direction: column;
    }
}

.top-stick {
    position: sticky;
    top: 0;
    z-index: 20;
}

.notice-paid {
    position: relative;
    width: 100%;
    background: #8b0000;
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: Inter, sans-serif;
    border-bottom: 1px solid rgba(210, 181, 91, 0.85);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04),

        0 6px 14px rgba(0, 0, 0, 0.65);
    animation: paidPulse 2.4s ease-in-out infinite;
}

.notice-paid::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.9;
    pointer-events: none;
}

@media (max-width: 720px) {
    .notice-paid {
        font-size: 12.5px;
        padding: 6px 10px;
    }
}

@media (max-width: 720px) {
    .notice-paid {
        font-size: 12.5px;
        padding: 6px 10px;
    }
}

.paid-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.paid-modal.is-open {
    display: flex;
}

.paid-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(4px);
}

.paid-modal-dialog {
    position: relative;
    max-width: 480px;
    width: 100%;
    z-index: 1;
    background: radial-gradient(circle at top, #1e1e35 0%, #0b0b14 55%, #050510 100%);
    border-radius: 18px;
    border: 1px solid rgba(210, 181, 91, 0.75);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85),
        0 0 22px rgba(210, 181, 91, 0.25);
    padding: 18px 20px 20px;
    color: #ffffff;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    text-align: left;
}

.paid-modal-dialog h2 {
    margin: 0 0 10px;
    font-family: Cinzel, serif;
    font-size: 20px;
}

.paid-modal-dialog p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #ff5555;
    font-weight: 600;
}

.paid-modal-close {
    width: 100%;
    margin-top: 6px;
    cursor: not-allowed;
    opacity: .6;
}

.paid-modal-close.ready {
    cursor: pointer;
    opacity: 1;
}

body.paid-modal-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .paid-modal-dialog {
        padding: 16px 14px 18px;
    }

    .paid-modal-dialog h2 {
        font-size: 18px;
    }

    .paid-modal-dialog p {
        font-size: 13px;
    }
}

.notice-paid,
.notice-paid-sticky {
    animation: paidPulse 2.4s ease-in-out infinite;
}

@keyframes paidPulse {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    50% {
        box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
    }
}

.paid-lead {
    font-size: 15px;
    font-weight: 700;
    color: #ffd27a;
    margin-bottom: 10px;
}

.paid-box {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(210, 181, 91, .6);
    background: rgba(0, 0, 0, .45);
    font-size: 13px;
    line-height: 1.5;
}

.paid-box p {
    margin: 0 0 8px;
}

.paid-box p:last-child {
    margin-bottom: 0;
}

.paid-warning {
    margin-top: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #ffb3b3;
}

.top-stick .promo-banner {
    position: sticky;
    top: 0;
    z-index: 999;
}

@media (max-width: 640px) {
    .promo-banner {
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 6px !important;
        padding: 6px 8px !important;
        font-size: 11.5px !important;
        line-height: 1.2;
    }

    .promo-banner b {
        font-size: 12px !important;
    }

    .promo-timer {
        padding: 2px 6px !important;
        gap: 4px !important;
        font-size: 12px !important;
    }

    .promo-close {
        width: 22px !important;
        height: 22px !important;
        font-size: 14px !important;
        padding: 0 !important;
    }
}

@media (max-width: 548px) {
    .promo-banner {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        gap: 4px !important;
        padding: 8px 10px !important;
        text-align: center;
    }

    .promo-banner>b,
    .promo-banner>span:not(.promo-timer) {
        white-space: nowrap;
        display: block;
    }

    .promo-timer,
    .promo-close {
        display: inline-flex;
        vertical-align: middle;
    }

    .promo-bottom-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .promo-close {
        width: 22px !important;
        height: 22px !important;
        font-size: 16px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

.hero-note {
    margin-top: 6px;
    margin-bottom: 0;
    color: #ff5555;
    font-size: 14px;
    font-weight: 600;
    max-width: 520px;
}

@media (max-width: 720px) {
    .hero-note {
        font-size: 12.5px;
    }
}

.hero-note-love {
    margin-top: 4px;
    margin-bottom: 0;
    color: #4caf50;
    font-size: 14px;
    font-weight: 600;
    max-width: 520px;
}

@media (max-width: 720px) {
    .hero-note-love {
        font-size: 12.5px;
    }
}

.yrev {
    padding: 14px 16px;
}

.yrev__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.yrev__title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.yrev__title b {
    font-family: Cinzel, serif;
}

.yrev__badge {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--text);
}

.yrev__link {
    font-size: 12px;
    color: var(--accent-2);
    white-space: nowrap;
}

.yrev__track::-webkit-scrollbar {
    height: 8px;
}

@media (min-width: 900px) {
    .yrev-card {
        flex-basis: 48%;
        max-width: 48%;
    }
}

.yrev-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 10px;
}

.yrev-card__author {
    font-weight: 800;
}

.yrev-card__stars {
    letter-spacing: 1px;
    opacity: .9;
}

.yrev-card__meta {
    font-size: 12px;
    color: var(--muted);
}

.yrev__nav--prev {
    left: 8px;
}

.yrev__nav--next {
    right: 8px;
}

@media (max-width: 560px) {
    .yrev__nav {
        display: none;
    }
}

.yrev__dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
}

.yrev__dots button.active {
    background: rgba(255, 255, 255, .25);
}

.yrev-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.yrev-modal[aria-hidden="false"] {
    display: block;
}

.yrev-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}

.yrev-modal__title {
    font-weight: 900;
    font-size: 16px;
}

.yrev-modal__meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.yrev-modal__text {
    line-height: 1.55;
    color: var(--text);
    white-space: pre-wrap;
    margin-top: 10px;
}

.yrev-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
    flex-wrap: wrap;
}

.btn.ghost {
    background: transparent;
    border: 1px solid var(--border);
}

.yrev-card {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: start;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
    border-radius: 16px;
    padding: 12px 12px;
    min-width: 0;
}

.yrev-card__text {
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.8em;
    color: var(--text);
    opacity: .95;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#reviews .yrev {
    width: 100%;
}

#reviews .reviews-buttons+.yrev {
    margin-top: 12px;
}

.yrev--single .yrev__slider {
    overflow: hidden;
}

.yrev--single .yrev__track {
    overflow: hidden;
    scroll-snap-type: none;
}

.yrev--single .yrev-card {
    flex: 1 0 100%;
    max-width: 100%;
}

.yrev__dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: nowrap;
    overflow: auto;
    max-width: 100%;
}

.yrev__dots::-webkit-scrollbar {
    height: 6px;
}

.yrev__dots .yrev__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0 6px;
    border: 0;
    background: transparent;
    opacity: .7;
    cursor: default;
}

.yrev__counter {
    margin-left: 10px;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.yrev--three .yrev__track {
    display: flex;
    gap: 12px;
    overflow: hidden;
    align-items: stretch;
}

.yrev--three .yrev-card {
    flex: 0 0 calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
    min-width: 0;
    display: flex;
    flex-direction: column;
}

@media (max-width: 900px) {
    .yrev--three .yrev-card {
        flex-basis: calc((100% - 12px) / 2);
        max-width: calc((100% - 12px) / 2);
    }
}

@media (max-width: 560px) {
    .yrev--three .yrev-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.yrev__slider {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 12px;
    align-items: center;
}

.yrev__nav {
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, .35);
    color: var(--text);
    cursor: pointer;
    position: static;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

@media (max-width: 560px) {
    .yrev__slider {
        grid-template-columns: 40px 1fr 40px;
    }

    .yrev__nav {
        width: 40px;
        height: 40px;
    }
}

.yrev-modal__dialog {
    width: min(720px, calc(100% - 28px));
    margin: 6vh auto;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #0e0e1b;
    padding: 14px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    position: relative;
}

.yrev-modal__close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    color: var(--text);
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}

.yrev-modal__head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-right: 56px;
    align-items: flex-start;
    gap: 12px;
}

.yrev-modal__stars {
    margin-left: auto;
    padding-right: 0;
    white-space: nowrap;
    line-height: 1;
}

.yrev__track {
    display: flex;
    gap: 12px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    min-width: 0;
    overflow: hidden;
    transition: opacity .22s ease, transform .22s ease;
    will-change: opacity, transform;
}

.yrev__track.is-fading {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
}

.yrev__toplink {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
}

.yrev__toplink:hover {
    opacity: .92;
}

.yrev-card__authorlink,
.yrev-card__starslink {
    color: inherit;
    text-decoration: none;
}

.yrev-card__authorlink:hover,
.yrev-card__starslink:hover {
    opacity: .92;
    text-decoration: underline;
}

.yrev-card__starslink {
    white-space: nowrap;
}

@media (max-width: 425px) {
    .reviews-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .review-btn {
        padding: 12px 14px;
    }

    .review-btn .label {
        font-size: 14px;
    }

    .review-btn .rating {
        font-size: 12px;
    }

    .yrev {
        padding: 12px;
    }

    .yrev__head {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .yrev__title b {
        font-size: 16px;
    }

    .yrev__badge {
        font-size: 12px;
    }

    .yrev__slider {
        display: block;
        position: relative;
        margin-top: 10px;
    }

    .yrev__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        z-index: 2;
        opacity: .9;
    }

    .yrev__nav--prev {
        left: 8px;
    }

    .yrev__nav--next {
        right: 8px;
    }

    .yrev__track {
        overflow: hidden;
        padding: 0 46px;
        min-width: 0;
    }

    .yrev-card {
        padding: 12px;
        border-radius: 16px;
    }

    .yrev-card__top {
        gap: 8px;
    }

    .yrev-card__author,
    .yrev-card__authorlink {
        font-size: 14px;
        line-height: 1.2;
    }

    .yrev-card__stars,
    .yrev-card__starslink {
        font-size: 12px;
        white-space: nowrap;
    }

    .yrev-card__text {
        font-size: 13px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .yrev-card__bottom {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
    }

    .yrev-card__more {
        width: 100%;
    }

    .yrev__dots {
        gap: 6px;
        margin-top: 10px;
    }

    .yrev__dots button {
        width: 6px;
        height: 6px;
    }

    .yrev__counter {
        font-size: 12px;
        margin-left: 8px;
    }
}

.yrev-card__bottom {
    justify-content: space-between;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
}

.yrev-card__more {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    color: var(--text);
    padding: 8px 10px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reviews-proof {
    margin: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

.reviews-proof__link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: .95;
}

.reviews-proof__link:hover {
    opacity: 1;
}

.yt-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.yt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.yt-card {
    padding: 12px;
}

.yt-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #0e0e1b;
}

.yt-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .yt-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .yt-grid {
        grid-template-columns: 1fr;
    }

    .yt-card {
        padding: 10px;
    }
}

.yt-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.yt-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.yt-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(0, 0, 0, .18);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}

.yt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff0033;
    box-shadow: 0 0 14px rgba(255, 0, 51, .35);
}

.yt-name {
    font-weight: 600;
    letter-spacing: .2px;
}

.yt-sub-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .2px;
    color: #fff;
    background: #ff0033;
    box-shadow: 0 10px 26px rgba(255, 0, 51, .22);
    transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.yt-sub-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 14px 34px rgba(255, 0, 51, .28);
}

.yt-sub-btn:active {
    transform: translateY(0px);
}

.yt-play {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .15);
    position: relative;
}

.yt-play:before {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 0;
    height: 0;
    border-left: 7px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    opacity: .95;
}

.yt-count {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .yt-bar {
        width: 100%;
    }

    .yt-sub-btn,
    .yt-count,
    .yt-chip {
        width: 100%;
        justify-content: center;
    }
}

.brand-yt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
    color: var(--text);
    text-decoration: none;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.brand-yt:hover {
    transform: translateY(-1px);
    border-color: rgba(210, 181, 91, .45);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}

.brand-yt__icon {
    position: relative;
    width: 18px;
    height: 12px;
    border-radius: 5px;
    background: linear-gradient(180deg, rgba(255, 0, 51, .95), rgba(200, 0, 40, .95));
    box-shadow: 0 0 12px rgba(255, 0, 51, .22);
    flex: 0 0 auto;
}

.brand-yt__icon::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 2px;
    width: 0;
    height: 0;
    border-left: 5px solid #fff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    opacity: .98;
}

.brand-yt__text {
    color: rgba(255, 255, 255, .9);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Cinzel, serif;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .brand-yt {
        padding: 5px 9px;
        font-size: 11px;
    }

    .brand-yt__icon {
        width: 16px;
        height: 11px;
    }

    .brand-yt__icon::before {
        left: 6px;
        top: 2px;
        border-left-width: 5px;
        border-top-width: 3.5px;
        border-bottom-width: 3.5px;
    }
}

@media (max-width: 548px) {
    .brand {
        justify-content: center;
    }

    .brand-yt {
        margin-left: 0;
        margin-top: 4px;
    }
}

[hidden] {
    display: none !important;
}

#formTelWrap,
#formTgWrap,
#formMaxWrap {
    display: none;
}

.max-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.max-modal.is-open {
    display: flex;
}

.max-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(5px);
}

.max-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    border-radius: 18px;
    padding: 22px 20px;
    background: radial-gradient(circle at top, #1f1f37 0%, #111127 55%, #0b0b14 100%);
    border: 1px solid rgba(210, 181, 91, .45);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .65),
        0 0 30px rgba(210, 181, 91, .12);
}

.max-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
}

.max-modal__close:hover {
    background: rgba(255, 255, 255, .12);
}

.max-modal__title {
    margin: 0 0 12px;
    padding-right: 40px;
    font-family: Cinzel, serif;
    font-size: 24px;
    line-height: 1.2;
}

.max-modal__text {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.max-modal__text--warning {
    color: #ff6b6b;
    font-weight: 700;
}

.max-modal__form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.max-modal__field {
    display: grid;
    gap: 6px;
}

.max-modal__field label {
    font-size: 13px;
    color: var(--muted);
}

.max-modal__field input {
    width: 100%;
    padding: 14px 12px;
    border-radius: 12px;
    background: #0e0e1b;
    border: 1px solid var(--border);
    color: var(--text);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.max-modal__field input::placeholder {
    color: rgba(164, 164, 196, .78);
}

.max-modal__field input:focus {
    outline: none;
    border-color: rgba(210, 181, 91, .55);
    box-shadow: 0 0 0 3px rgba(210, 181, 91, .10);
}

.max-modal__field input.is-invalid {
    border-color: rgba(255, 90, 90, .9);
    box-shadow: 0 0 0 3px rgba(255, 90, 90, .08);
}

.max-modal__field input.is-valid {
    border-color: rgba(76, 175, 80, .85);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, .08);
}

.max-modal__hint {
    font-size: 12px;
    color: var(--muted);
}

.max-modal__error {
    min-height: 18px;
    font-size: 12px;
    color: #ff6b6b;
}

.max-modal__actions {
    display: flex;
    margin-top: 4px;
}

.max-modal__actions .btn.primary[disabled] {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}

.max-modal__status {
    min-height: 20px;
    font-size: 13px;
    color: var(--muted);
}

.max-modal__status.success {
    color: #5fd38d;
    font-weight: 600;
}

.max-modal__status.error {
    color: #ff7a7a;
    font-weight: 600;
}

body.max-modal-open {
    overflow: hidden;
}

@media (max-width: 560px) {
    .max-modal {
        padding: 12px;
    }

    .max-modal__dialog {
        padding: 16px 14px;
        border-radius: 16px;
    }

    .max-modal__title {
        font-size: 20px;
    }

    .max-modal__text {
        font-size: 13px;
    }
}

.max-modal__actions--stack {
    flex-direction: column;
    gap: 10px;
}

.max-modal__vk-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    border-color: rgba(255, 255, 255, .14);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
}

.max-modal__vk-btn:hover {
    border-color: rgba(210, 181, 91, .35);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
}

.contact-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 18%, rgba(210, 181, 91, .16), transparent 34%),
        rgba(5, 5, 12, .82);
    backdrop-filter: blur(10px);
}

.contact-modal__dialog::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #d2b55b, #f3dd89, #d2b55b, transparent);
    opacity: .95;
}

.contact-modal__dialog::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(210, 181, 91, .12);
    filter: blur(4px);
    pointer-events: none;
}

.contact-modal.is-open .contact-modal__dialog {
    transform: translateY(0) scale(1);
}

.contact-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
    background: rgba(255, 255, 255, .075);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.contact-modal__close:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(210, 181, 91, .45);
    transform: rotate(90deg);
}

.contact-modal__better-title {
    color: #f4df8a;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-modal__check {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .105);
    color: rgba(245, 240, 255, .76);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.contact-modal__check input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: #d2b55b;
    flex: 0 0 auto;
}

.contact-modal__field label span {
    opacity: .68;
    font-weight: 500;
}

.contact-modal__field input::placeholder {
    color: rgba(245, 240, 255, .40);
}

.contact-modal__field input:focus {
    outline: none;
    background: rgba(9, 9, 20, .94);
    border-color: rgba(210, 181, 91, .72);
    box-shadow: 0 0 0 4px rgba(210, 181, 91, .12),
        0 14px 30px rgba(0, 0, 0, .24) inset;
}

.contact-modal__field input.is-invalid {
    border-color: rgba(255, 88, 88, .95);
    box-shadow: 0 0 0 4px rgba(255, 88, 88, .10),
        0 14px 30px rgba(0, 0, 0, .24) inset;
}

.contact-modal__field input.is-valid {
    border-color: rgba(95, 211, 141, .86);
    box-shadow: 0 0 0 4px rgba(95, 211, 141, .10),
        0 14px 30px rgba(0, 0, 0, .24) inset;
}

.contact-modal__submit:not([disabled]):hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 20px 42px rgba(210, 181, 91, .25),
        0 0 0 1px rgba(255, 255, 255, .10) inset;
}

.contact-modal__submit[disabled] {
    opacity: .48;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(.4);
}

.contact-modal__status {
    min-height: 20px;
    font-size: 13px;
    color: rgba(245, 240, 255, .68);
    text-align: center;
}

.contact-modal__status.success {
    color: #6deda0;
    font-weight: 800;
}

.contact-modal__status.error {
    color: #ff8080;
    font-weight: 800;
}

body.contact-modal-open {
    overflow: hidden;
}

@media (max-width: 560px) {
    .contact-modal {
        padding: 10px;
        align-items: center;
    }

    .contact-modal__dialog {
        padding: 24px 18px 20px;
        border-radius: 24px;
    }

    .contact-modal__close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .contact-modal__title {
        padding-left: 50px;
        padding-right: 46px;
        font-size: 22px;
        min-height: 44px;
    }

    .contact-modal__title::before {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 21px;
    }

    .contact-modal__text {
        font-size: 14px;
        line-height: 1.55;
    }

    .contact-modal__field input {
        min-height: 54px;
        border-radius: 16px;
    }

    .contact-modal__submit {
        min-height: 52px;
        border-radius: 16px;
    }
}

.contact-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: calc(100vh - 28px);
    overflow: hidden;
    border-radius: 28px;
    color: #f5f0ff;
    background: linear-gradient(145deg, rgba(39, 38, 72, .98), rgba(15, 15, 31, .99) 58%, rgba(9, 9, 18, .99)),
        radial-gradient(circle at top right, rgba(210, 181, 91, .20), transparent 34%);
    border: 1px solid rgba(210, 181, 91, .42);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .72),
        0 0 0 1px rgba(255, 255, 255, .035) inset,
        0 0 55px rgba(210, 181, 91, .13);
    transform: translateY(26px) scale(.96);
    transition: transform .28s ease;
    max-width: 540px;
    padding: 24px 28px 22px;
}

.contact-modal__title {
    position: relative;
    margin: 0 0 14px;
    padding: 0 54px 0 58px;
    display: flex;
    align-items: center;
    font-family: Cinzel, serif;
    line-height: 1.16;
    letter-spacing: .01em;
    color: #fff8dd;
    margin-bottom: 10px;
    min-height: 42px;
    padding-left: 56px;
    font-size: 25px;
}

.contact-modal__text {
    position: relative;
    margin: 0 0 18px;
    color: rgba(245, 240, 255, .88);
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
}

.contact-modal__form {
    position: relative;
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.contact-modal__field {
    display: grid;
    gap: 5px;
}

.contact-modal__field label {
    font-size: 13px;
    color: rgba(245, 240, 255, .66);
    font-weight: 700;
    line-height: 1.2;
}

.contact-modal__field input {
    width: 100%;
    background: rgba(8, 8, 18, .72);
    border: 1px solid rgba(255, 255, 255, .10);
    color: #fff;
    font: inherit;
    font-size: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .20) inset,
        0 0 0 1px rgba(255, 255, 255, .02);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    min-height: 52px;
    padding: 13px 16px;
    border-radius: 16px;
}

.contact-modal__hint {
    font-size: 12px;
    color: rgba(245, 240, 255, .50);
    margin-top: -1px;
    line-height: 1.25;
}

.contact-modal__error {
    font-size: 12px;
    color: #ff7474;
    font-weight: 700;
    min-height: 0;
    line-height: 1.25;
}

.contact-modal__error:empty {
    display: none;
}

.contact-modal__submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-weight: 900;
    letter-spacing: .01em;
    box-shadow: 0 16px 34px rgba(210, 181, 91, .18),
        0 0 0 1px rgba(255, 255, 255, .08) inset;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
    min-height: 52px;
    margin-top: 6px;
}

@media (max-width: 560px) {
    .contact-modal__dialog {
        padding: 20px 18px 18px;
        border-radius: 22px;
    }

    .contact-modal__title {
        margin-bottom: 8px;
        min-height: 40px;
        padding-left: 50px;
        font-size: 21px;
    }

    .contact-modal__title::before {
        width: 40px;
        height: 40px;
        border-radius: 13px;
        font-size: 20px;
    }

    .contact-modal__text {
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 1.45;
    }

    .contact-modal__form {
        gap: 10px;
        margin-top: 12px;
    }

    .contact-modal__field input {
        min-height: 50px;
        padding: 12px 14px;
    }

    .contact-modal__submit {
        min-height: 50px;
        margin-top: 4px;
    }
}

.contact-modal__better {
    position: relative;
    display: grid;
    margin: 18px 0;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(210, 181, 91, .22);
    background: linear-gradient(135deg, rgba(210, 181, 91, .11), rgba(255, 255, 255, .035));
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
    gap: 12px;
}

.contact-modal__messenger-btn:hover {
    background: rgba(210, 181, 91, .13);
    border-color: rgba(210, 181, 91, .55);
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .36),
        0 0 0 1px rgba(255, 255, 255, .09) inset;
}

.contact-modal__better .contact-modal__messenger-btn:nth-of-type(1) {
    background: linear-gradient(135deg, #2f7df6, #2256c8 55%, #173a93);
    border-color: rgba(111, 169, 255, .58);
}

.contact-modal__better .contact-modal__messenger-btn:nth-of-type(2) {
    background: linear-gradient(135deg, #f2d66f, #c69a2f 55%, #8b6518);
    color: #17101f !important;
    border-color: rgba(255, 226, 125, .68);
}

.contact-modal__better .contact-modal__messenger-btn:nth-of-type(2)::after {
    color: rgba(23, 16, 31, .85);
}

@media (max-width: 560px) {
    .contact-modal__messenger-btn {
        min-height: 56px;
        padding: 13px 48px 13px 68px;
        font-size: 14px;
        border-radius: 17px;
    }

    .contact-modal__messenger-btn::before {
        left: 14px;
        width: 38px;
        height: 38px;
        border-radius: 13px;
        font-size: 11px;
    }

    .contact-modal__messenger-btn::after {
        right: 18px;
        font-size: 22px;
    }
}

.contact-modal__messenger-btn::after {
    content: "→";
    position: absolute;
    color: rgba(255, 255, 255, .9);
    font-size: 24px;
    font-weight: 900;
    transition: transform .18s ease;
    top: 0;
    right: 14px;
    width: 34px;
    height: 100%;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.contact-modal__messenger-btn:hover::after {
    transform: translateX(4px);
}

.contact-modal__messenger-btn {
    width: 100%;
    background: rgba(255, 255, 255, .06);
    border-color: rgba(210, 181, 91, .28);
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
    position: relative;
    min-height: 58px;
    padding: 14px 54px 14px 74px;
    justify-content: flex-start;
    border-radius: 18px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 900;
    text-align: left;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .28),
        0 0 0 1px rgba(255, 255, 255, .06) inset;
    transform: translateY(0);
    display: flex;
    align-items: center;
}

@media (max-width: 560px) {
    .contact-modal__messenger-btn::after {
        right: 12px;
        width: 32px;
    }

    .contact-modal__better .contact-modal__messenger-btn:nth-of-type(2)::before {
        background: url("../img/icon/max-messenger-sign-logo.png") center / 23px 23px no-repeat,
            rgba(255, 255, 255, .32);
    }
}

.contact-modal--phone .contact-modal__dialog {
    max-width: 540px;
    padding: 26px 28px 24px;
    overflow: hidden;
}

.contact-modal--phone .contact-modal__dialog::after {
    right: -80px;
    top: -80px;
    width: 210px;
    height: 210px;
    background: radial-gradient(circle, rgba(210, 181, 91, .18), transparent 64%);
}

.contact-modal--phone .contact-modal__title {
    margin-bottom: 12px;
    padding-left: 58px;
    padding-right: 52px;
    min-height: 46px;
    font-size: 26px;
}

.contact-modal--phone .contact-modal__title::before {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-size: 22px;
}

.contact-modal--phone .contact-modal__text {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.55;
}

.contact-modal__form--phone {
    margin-top: 0;
    padding: 16px;
    gap: 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: radial-gradient(circle at top left, rgba(210, 181, 91, .07), transparent 36%),
        rgba(255, 255, 255, .035);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .20);
}

.contact-modal__form--phone .contact-modal__field {
    gap: 6px;
}

.contact-modal__form--phone .contact-modal__field label {
    font-size: 13px;
    line-height: 1.2;
}

.contact-modal__form--phone .contact-modal__field input {
    min-height: 52px;
    padding: 13px 15px;
    border-radius: 16px;
    font-weight: 700;
}

.contact-modal__form--phone .contact-modal__hint {
    margin-top: -2px;
    line-height: 1.25;
}

.contact-modal__form--phone .contact-modal__error {
    min-height: 0;
    line-height: 1.25;
}

.contact-modal__form--phone .contact-modal__error:empty {
    display: none;
}

.contact-modal__submit--phone {
    margin-top: 4px;
    min-height: 52px;
    border-radius: 16px;
}

.contact-modal__submit--phone:not([disabled]) {
    color: #17101f;
    background: linear-gradient(135deg, #f4df8a, #c49a32 60%, #9f741d);
    border-color: rgba(255, 226, 125, .62);
}

.contact-modal--phone[data-channel="vk"] .contact-modal__submit--phone:not([disabled]) {
    color: #ffffff;
    background: linear-gradient(135deg, #3a8cff, #2356c7 60%, #173a93);
    border-color: rgba(111, 169, 255, .58);
}

.contact-modal__channel-pill,
.contact-modal__phone-card,
.contact-modal__phone-input-wrap,
.contact-modal__phone-input-icon {
    display: none !important;
}

@media (max-width: 560px) {
    .contact-modal--phone .contact-modal__dialog {
        padding: 22px 18px 20px;
        border-radius: 24px;
    }

    .contact-modal--phone .contact-modal__title {
        padding-left: 50px;
        padding-right: 46px;
        min-height: 42px;
        font-size: 22px;
    }

    .contact-modal--phone .contact-modal__title::before {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 20px;
    }

    .contact-modal--phone .contact-modal__text {
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.5;
    }

    .contact-modal__phone-note {
        margin-bottom: 14px;
        padding: 13px;
        border-radius: 17px;
    }

    .contact-modal__phone-note-icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
        font-size: 18px;
    }

    .contact-modal__phone-note-text {
        font-size: 12px;
    }

    .contact-modal__form--phone {
        padding: 14px;
        border-radius: 18px;
        gap: 10px;
    }

    .contact-modal__form--phone .contact-modal__field input {
        min-height: 50px;
        padding: 12px 14px;
        border-radius: 15px;
    }

    .contact-modal__submit--phone {
        min-height: 50px;
        margin-top: 4px;
    }
}

.contact-modal--phone[data-channel="max"] .contact-modal__phone-note-icon {
    background: url("../img/icon/max-messenger-sign-logo.png") center / 24px 24px no-repeat,
        linear-gradient(135deg, #f4df8a, #b9922f);
    box-shadow: 0 10px 24px rgba(210, 181, 91, .24);
}

.contact-modal--phone[data-channel="vk"] .contact-modal__phone-note-icon {
    color: #ffffff;
    background: url("../img/icon/free-icon-vk.png") center / 22px 22px no-repeat,
        linear-gradient(135deg, #3a8cff, #2356c7);
    box-shadow: 0 10px 24px rgba(58, 140, 255, .24);
}

@media (max-width: 560px) {
    .contact-modal--phone[data-channel="max"] .contact-modal__title::before {
        background: url("../img/icon/max-messenger-sign-logo.png") center / 22px 22px no-repeat,
            linear-gradient(135deg, #f4df8a, #b9922f);
    }

    .contact-modal--phone[data-channel="vk"] .contact-modal__title::before {
        background: url("../img/icon/free-icon-vk.png") center / 20px 20px no-repeat,
            linear-gradient(135deg, #3a8cff, #2356c7);
    }

    .contact-modal--phone[data-channel="max"] .contact-modal__phone-note-icon {
        background: url("../img/icon/max-messenger-sign-logo.png") center / 22px 22px no-repeat,
            linear-gradient(135deg, #f4df8a, #b9922f);
    }

    .contact-modal--phone[data-channel="vk"] .contact-modal__phone-note-icon {
        background: url("../img/icon/free-icon-vk.png") center / 20px 20px no-repeat,
            linear-gradient(135deg, #3a8cff, #2356c7);
    }
}

.contact-modal__phone-note-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 15px;
    font-weight: 900;
    background: linear-gradient(135deg, #f4df8a, #b9922f);
    box-shadow: 0 10px 24px rgba(210, 181, 91, .24);
    font-size: 0;
    color: transparent;
    display: none !important;
}

.contact-modal__phone-note {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 16px;
    border-radius: 18px;
    border: 1px solid rgba(210, 181, 91, .26);
    background: linear-gradient(135deg, rgba(210, 181, 91, .12), rgba(255, 255, 255, .035));
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22),
        0 0 0 1px rgba(255, 255, 255, .03) inset;
    gap: 0;
    padding: 15px 18px;
}

.contact-modal__phone-note-text {
    width: 100%;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    color: rgba(245, 240, 255, .82);
}

@media (max-width: 560px) {
    .contact-modal__phone-note {
        padding: 14px 15px;
    }

    .contact-modal__phone-note-text {
        font-size: 13px;
    }
}

@media (max-width: 560px) {
    #messengerBlockModal[data-channel="whatsapp"] .contact-modal__title::before {
        background: url("../img/icon/free-icon-whatsapp-3670051.png") center / 22px 22px no-repeat,
            linear-gradient(135deg, #4ee07c, #1faa59);
    }

    #messengerBlockModal[data-channel="telegram"] .contact-modal__title::before {
        background: url("../img/icon/free-icon-telegram-2111646.png") center / 21px 21px no-repeat,
            linear-gradient(135deg, #43b7ff, #1d7fe2);
    }
}

.contact-modal--phone[data-channel="max"] .contact-modal__title::before:hover {
    background: url("../img/icon/max-messenger-sign-logo.png") center / 25px 25px no-repeat,
        rgba(255, 255, 255, .11);
}

@media (max-width: 560px) {
    .contact-modal--phone[data-channel="max"] .contact-modal__title::before {
        background: url("../img/icon/max-messenger-sign-logo.png") center / 23px 23px no-repeat,
            rgba(255, 255, 255, .08);
    }
}

.contact-modal__title::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    color: #1a1425;
    background: linear-gradient(135deg, #f4df8a, #b9922f);
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 21px;
    border: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

#messengerBlockModal[data-channel="whatsapp"] .contact-modal__title::before {
    box-shadow: 0 10px 28px rgba(78, 224, 124, .25),
        0 0 0 1px rgba(255, 255, 255, .16) inset;
    content: "";
    background: url("../img/icon/free-icon-whatsapp-3670051.png") center / 34px 34px no-repeat !important;
}

#messengerBlockModal[data-channel="telegram"] .contact-modal__title::before {
    box-shadow: 0 10px 28px rgba(67, 183, 255, .25),
        0 0 0 1px rgba(255, 255, 255, .16) inset;
    content: "";
    background: url("../img/icon/free-icon-telegram-2111646.png") center / 34px 34px no-repeat !important;
}

.contact-modal--phone[data-channel="vk"] .contact-modal__title::before {
    box-shadow: 0 10px 28px rgba(58, 140, 255, .28),
        0 0 0 1px rgba(255, 255, 255, .16) inset;
    content: "";
    background: url("../img/icon/free-icon-vk.png") center / 34px 34px no-repeat !important;
}

.contact-modal--phone[data-channel="max"] .contact-modal__title::before {
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24),
        0 0 0 1px rgba(255, 255, 255, .04) inset;
    content: "";
    background: url("../img/icon/max-messenger-sign-logo.png") center / 34px 34px no-repeat !important;
}

.contact-modal__messenger-btn::before {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .02em;
    background: rgba(255, 255, 255, .18);
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.contact-modal__better .contact-modal__messenger-btn:nth-of-type(1)::before {
    content: "";
    background: url("../img/icon/free-icon-vk.png") center / 30px 30px no-repeat !important;
}

.contact-modal__better .contact-modal__messenger-btn:nth-of-type(2)::before {
    color: #17101f;
    content: "";
    background: url("../img/icon/max-messenger-sign-logo.png") center / 30px 30px no-repeat !important;
}

@media (max-width: 560px) {

    #messengerBlockModal[data-channel="whatsapp"] .contact-modal__title::before,
    #messengerBlockModal[data-channel="telegram"] .contact-modal__title::before,
    .contact-modal--phone[data-channel="vk"] .contact-modal__title::before,
    .contact-modal--phone[data-channel="max"] .contact-modal__title::before {
        background-size: 31px 31px !important;
    }

    .contact-modal__better .contact-modal__messenger-btn:nth-of-type(1)::before,
    .contact-modal__better .contact-modal__messenger-btn:nth-of-type(2)::before {
        background-size: 28px 28px !important;
    }
}

#quizSummary,
.quiz-summary {
    transition: color .2s ease;
}

#quizSummary.quiz-summary--success,
.quiz-summary.quiz-summary--success {
    color: #57e38f !important;
}

#quizSummary.quiz-summary--error,
.quiz-summary.quiz-summary--error {
    color: #ff6b6b !important;
}

#quizSummary.quiz-summary--pending,
.quiz-summary.quiz-summary--pending {
    color: rgba(255, 255, 255, .78) !important;
}

.auto-quiz-modal {
    position: fixed;
    inset: 0;
    z-index: 1350;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.auto-quiz-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auto-quiz-modal__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 18%, rgba(210, 181, 91, .14), transparent 34%),
        rgba(5, 5, 12, .84);
    backdrop-filter: blur(10px);
}

.auto-quiz-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - 28px);
    overflow: auto;
    border-radius: 26px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(39, 38, 72, .98), rgba(15, 15, 31, .99) 58%, rgba(9, 9, 18, .99));
    border: 1px solid rgba(210, 181, 91, .42);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .72),
        0 0 0 1px rgba(255, 255, 255, .035) inset,
        0 0 55px rgba(210, 181, 91, .13);
    transform: translateY(24px) scale(.97);
    transition: transform .25s ease;
}

.auto-quiz-modal.is-open .auto-quiz-modal__dialog {
    transform: translateY(0) scale(1);
}

.auto-quiz-modal__close {
    position: sticky;
    top: 0;
    margin-left: auto;
    z-index: 5;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.auto-quiz-modal__close:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(210, 181, 91, .45);
    transform: rotate(90deg);
}

.auto-quiz-modal__content {
    margin-top: -42px;
}

.auto-quiz-modal #quiz {
    padding: 0;
}

.auto-quiz-modal #quiz .wrap {
    padding: 0;
}

.auto-quiz-modal #quiz h2 {
    padding-right: 52px;
}

body.auto-quiz-modal-open {
    overflow: hidden;
}

@media (max-width: 560px) {
    .auto-quiz-modal {
        padding: 10px;
    }

    .auto-quiz-modal__dialog {
        padding: 14px;
        border-radius: 22px;
    }

    .auto-quiz-modal__close {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .auto-quiz-modal__content {
        margin-top: -40px;
    }

    .auto-quiz-modal #quiz h2 {
        padding-right: 48px;
        font-size: 21px;
    }
}

.quiz-grid--contact {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 840px) {
    .quiz-grid--contact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .quiz-grid--contact {
        grid-template-columns: 1fr;
    }
}

.quiz-float-btn__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}

.quiz-float-btn__text b {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
}

.quiz-float-btn__text small {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(245, 240, 255, .66);
}

@media (max-width: 760px) {
    .quiz-float-btn {
        left: 10px;
        right: 10px;
        top: auto;
        bottom: 14px;
        width: auto;
        min-width: 0;
        justify-content: center;
        padding: 12px 14px;
        border-radius: 18px;
        transform: none;
    }

    .quiz-float-btn:hover {
        transform: translateY(-2px);
    }

    .quiz-float-btn.is-hidden {
        transform: translateY(14px) scale(.96);
    }

    .quiz-float-btn__icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .quiz-float-btn__text b {
        font-size: 14px;
    }

    .quiz-float-btn__text small {
        font-size: 11px;
    }
}

#scrollTopBtn {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(210, 181, 91, .15);
    border: 2px solid rgba(210, 181, 91, .55);
    color: var(--text, #fff);
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    left: 18px !important;
    right: auto !important;
    bottom: 92px !important;
    z-index: 1140 !important;
}

.quiz-float-btn {
    position: fixed;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 194px;
    padding: 12px 15px 12px 13px;
    border: 1px solid rgba(210, 181, 91, .55);
    border-radius: 999px;
    background: radial-gradient(circle at 18% 25%, rgba(255, 231, 154, .18), transparent 36%),
        linear-gradient(135deg, rgba(54, 47, 76, .96), rgba(20, 18, 36, .98));
    color: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(255, 255, 255, .045) inset,
        0 0 28px rgba(210, 181, 91, .16);
    cursor: pointer;
    transition: opacity .22s ease,
        visibility .22s ease,
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
    left: 18px !important;
    right: auto !important;
    top: auto !important;
    bottom: 18px !important;
    z-index: 1120 !important;
    transform: none !important;
    overflow: visible !important;
}

.quiz-float-btn:hover {
    border-color: rgba(255, 220, 123, .86);
    box-shadow: 0 22px 52px rgba(0, 0, 0, .52),
        0 0 0 1px rgba(255, 255, 255, .06) inset,
        0 0 34px rgba(210, 181, 91, .24);
    transform: scale(1.04) !important;
}

.quiz-float-btn.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: none !important;
    transform: translateX(-18px) scale(.96) !important;
}

.quiz-float-btn__icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .45), transparent 30%),
        linear-gradient(135deg, #5866e0, #80a9f5);
    color: #17111f;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(210, 181, 91, .32),
        0 0 0 1px rgba(255, 255, 255, .20) inset;
    font-size: 20px !important;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", Arial, sans-serif !important;
    animation: quizIconWiggle 2.4s ease-in-out infinite !important;
    transform-origin: center center;
}

.quiz-float-btn__icon::before,
.quiz-float-btn__icon::after {
    content: none !important;
    display: none !important;
}

.quiz-float-btn:not(.is-hidden) {
    animation: quizAttentionBreath 3.2s ease-in-out infinite !important;
}

.quiz-float-btn::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 1px solid rgba(210, 181, 91, .45);
    opacity: 0;
    pointer-events: none;
    animation: quizAttentionRing 3.2s ease-in-out infinite;
}

.quiz-float-btn.is-hidden::after,
.quiz-float-btn.is-hidden .quiz-float-btn__icon {
    animation: none !important;
}

@keyframes quizAttentionBreath {

    0%,
    55%,
    100% {
        transform: scale(1);
        box-shadow:
            0 18px 42px rgba(0, 0, 0, .45),
            0 0 0 1px rgba(255, 255, 255, .045) inset,
            0 0 24px rgba(210, 181, 91, .16);
        border-color: rgba(210, 181, 91, .55);
    }

    35% {
        transform: scale(1.035);
        box-shadow:
            0 22px 52px rgba(0, 0, 0, .52),
            0 0 0 4px rgba(210, 181, 91, .14),
            0 0 34px rgba(255, 220, 123, .35);
        border-color: rgba(255, 220, 123, .85);
    }
}

@keyframes quizAttentionRing {
    0% {
        opacity: 0;
        transform: scale(.96);
    }

    28% {
        opacity: .75;
        transform: scale(1.04);
    }

    60%,
    100% {
        opacity: 0;
        transform: scale(1.12);
    }
}

@keyframes quizIconWiggle {

    0%,
    36%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    12% {
        transform: rotate(-7deg) scale(1.08);
    }

    24% {
        transform: rotate(7deg) scale(1.08);
    }
}

@keyframes ctaCleanBounce {

    0%,
    6%,
    11%,
    100% {
        transform: translateY(0) scale(1);
    }

    3% {
        transform: translateY(-9px) scale(1.035);
    }

    8% {
        transform: translateY(-4px) scale(1.015);
    }
}

@keyframes ctaGlowOnJump {

    0%,
    11%,
    100% {
        box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
        border-color: rgba(255, 255, 255, .08);
    }

    3% {
        box-shadow:
            0 14px 30px rgba(0, 0, 0, .35),
            0 0 0 4px rgba(210, 181, 91, .16),
            0 0 28px rgba(255, 220, 123, .38);
        border-color: rgba(255, 220, 123, .95);
    }

    6% {
        box-shadow:
            0 10px 24px rgba(0, 0, 0, .30),
            0 0 0 2px rgba(210, 181, 91, .10),
            0 0 16px rgba(255, 220, 123, .22);
        border-color: rgba(210, 181, 91, .65);
    }
}

#wh-top,
#vk-top,
#max-top,
#tg-top,
.contact-links a[href="#order"] {
    animation-name: ctaCleanBounce, ctaGlowOnJump !important;
    animation-duration: 15s, 15s !important;
    animation-timing-function: ease-in-out, ease-in-out !important;
    animation-iteration-count: infinite, infinite !important;
}

#fab-wa,
#fab-vk,
#fab-max,
#fab-tg {
    position: relative !important;
    overflow: visible !important;
    z-index: 1 !important;
    background: #121225 !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25) !important;
    border-radius: 999px !important;
    padding: 10px 12px !important;
    animation: ctaCleanBounce 15s ease-in-out infinite !important;
}

#fab-wa::after,
#fab-vk::after,
#fab-max::after,
#fab-tg::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    z-index: -1;
    background: transparent;
    border: 1px solid rgba(255, 220, 123, .75);
    animation: fabGlowPulse 15s ease-in-out infinite !important;
}

@keyframes fabGlowPulse {
    0% {
        opacity: 0;
        transform: scale(.96);
    }

    3% {
        opacity: .95;
        transform: scale(1.08);
    }

    6% {
        opacity: .55;
        transform: scale(1.14);
    }

    11%,
    100% {
        opacity: 0;
        transform: scale(1.20);
    }
}

#wh-top {
    animation-delay: .7s, .7s !important;
}

#vk-top {
    animation-delay: 1.4s, 1.4s !important;
}

#max-top {
    animation-delay: 2.1s, 2.1s !important;
}

#tg-top {
    animation-delay: 2.8s, 2.8s !important;
}

.contact-links a[href="#order"] {
    animation-delay: 3.5s, 3.5s !important;
}

#fab-wa,
#fab-wa::after {
    animation-delay: 4.2s !important;
}

#fab-vk,
#fab-vk::after {
    animation-delay: 4.9s !important;
}

#fab-max,
#fab-max::after {
    animation-delay: 5.6s !important;
}

#fab-tg,
#fab-tg::after {
    animation-delay: 6.3s !important;
}

#fab-wa::after {
    border-color: rgba(64, 220, 116, .85);
    filter: drop-shadow(0 0 14px rgba(64, 220, 116, .70));
}

#fab-vk::after {
    border-color: rgba(70, 145, 255, .85);
    filter: drop-shadow(0 0 14px rgba(70, 145, 255, .70));
}

#fab-max::after {
    border-color: rgba(255, 220, 123, .90);
    filter: drop-shadow(0 0 14px rgba(255, 220, 123, .75));
}

#fab-tg::after {
    border-color: rgba(67, 183, 255, .85);
    filter: drop-shadow(0 0 14px rgba(67, 183, 255, .70));
}

.quiz-float-btn:hover,
#wh-top:hover,
#vk-top:hover,
#max-top:hover,
#tg-top:hover,
.contact-links a[href="#order"]:hover,
#fab-wa:hover,
#fab-vk:hover,
#fab-max:hover,
#fab-tg:hover,
#fab-wa:hover::after,
#fab-vk:hover::after,
#fab-max:hover::after,
#fab-tg:hover::after {
    animation-play-state: paused !important;
}

#wh-foot,
#vk-foot,
#max-foot,
#tg-foot {
    animation: none !important;
    transform: none !important;
}

@media (max-width: 760px) {
    #scrollTopBtn {
        left: 18px !important;
        right: auto !important;
        bottom: 92px !important;
    }

    .quiz-float-btn {
        left: 10px !important;
        right: 10px !important;
        top: auto !important;
        bottom: 14px !important;
        width: auto !important;
        min-width: 0;
        justify-content: center;
        transform: none !important;
    }

    .quiz-float-btn:hover {
        transform: scale(1.025) !important;
    }

    .quiz-float-btn.is-hidden {
        transform: translateY(14px) scale(.96) !important;
    }

    .quiz-float-btn:not(.is-hidden) {
        animation: quizAttentionBreathMobile 3.2s ease-in-out infinite !important;
    }

    @keyframes quizAttentionBreathMobile {

        0%,
        55%,
        100% {
            transform: scale(1);
        }

        35% {
            transform: scale(1.025);
        }
    }
}

.hero-warning {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 18px;
    padding: 11px 14px 11px 12px;
    border: 1px solid rgba(255, 72, 72, .45);
    border-left: 4px solid #ff4d4f;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(255, 70, 70, .10), rgba(255, 70, 70, .03)),
        rgba(18, 18, 37, .78);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28),
        0 0 18px rgba(255, 70, 70, .10);
    overflow: hidden;
}

.hero-warning::after {
    content: "";
    position: absolute;
    top: 0;
    left: -35%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .10), transparent);
    transform: skewX(-20deg);
    animation: heroWarningShine 4.5s ease-in-out infinite;
    pointer-events: none;
}

.hero-warning__badge {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5b5b, #c91e1e);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(201, 30, 30, .34),
        0 0 0 1px rgba(255, 255, 255, .08) inset;
    animation: heroWarningBadgePulse 2.2s ease-in-out infinite;
}

.hero-warning__badge::before {
    content: "⚠";
    font-size: 14px;
    line-height: 1;
}

.hero-warning__text {
    position: relative;
    z-index: 1;
    color: #ffd7d7;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

@keyframes heroWarningBadgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 8px 18px rgba(201, 30, 30, .34),
            0 0 0 0 rgba(255, 91, 91, 0);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            0 10px 22px rgba(201, 30, 30, .42),
            0 0 0 8px rgba(255, 91, 91, 0);
    }
}

@keyframes heroWarningShine {

    0%,
    55% {
        left: -35%;
    }

    100% {
        left: 120%;
    }
}

@media (max-width: 640px) {
    .hero-warning {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        padding: 12px;
        margin: 12px 0 16px;
        border-radius: 12px;
    }

    .hero-warning__badge {
        padding: 6px 10px;
        font-size: 12px;
    }

    .hero-warning__text {
        white-space: normal;
        font-size: 13.5px;
        line-height: 1.35;
    }
}

/* =========================
   QUICK REASONS BLOCK
========================= */

.quick-reasons {
    margin: 18px 0 18px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(210, 181, 91, .20);
    background:
        radial-gradient(circle at 20% 0%, rgba(210, 181, 91, .10), transparent 42%),
        rgba(255, 255, 255, .025);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, .26),
        0 0 0 1px rgba(255, 255, 255, .025) inset;
}

.quick-reasons__head {
    display: grid;
    gap: 5px;
    margin-bottom: 14px;
}

.quick-reasons__head b {
    font-family: Cinzel, serif;
    font-size: 20px;
    line-height: 1.2;
    color: #fff8dd;
}

.quick-reasons__head span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.quick-reasons__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.quick-reason-btn {
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .09);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
    color: var(--text);
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.quick-reason-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
    transform: translateX(-120%) skewX(-18deg);
    transition: transform .42s ease;
    pointer-events: none;
}

.quick-reason-btn span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    font-size: 18px;
}

.quick-reason-btn b {
    position: relative;
    z-index: 1;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}

.quick-reason-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 220, 123, .52);
    background:
        linear-gradient(180deg, rgba(210, 181, 91, .12), rgba(255, 255, 255, .025));
    box-shadow:
        0 14px 30px rgba(0, 0, 0, .30),
        0 0 24px rgba(210, 181, 91, .12);
}

.quick-reason-btn:hover::after {
    transform: translateX(130%) skewX(-18deg);
}

/* =========================
   QUICK REASON MODAL
========================= */

.quick-reason-modal {
    position: fixed;
    inset: 0;
    z-index: 1450;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.quick-reason-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.quick-reason-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(210, 181, 91, .16), transparent 34%),
        rgba(5, 5, 12, .84);
    backdrop-filter: blur(10px);
}

.quick-reason-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    max-height: calc(100vh - 28px);
    overflow: auto;
    border-radius: 26px;
    padding: 26px 28px 24px;
    color: #f5f0ff;
    background:
        linear-gradient(145deg, rgba(39, 38, 72, .98), rgba(15, 15, 31, .99) 58%, rgba(9, 9, 18, .99));
    border: 1px solid rgba(210, 181, 91, .42);
    box-shadow:
        0 34px 90px rgba(0, 0, 0, .72),
        0 0 0 1px rgba(255, 255, 255, .035) inset,
        0 0 55px rgba(210, 181, 91, .13);
    transform: translateY(24px) scale(.97);
    transition: transform .25s ease;
}

.quick-reason-modal.is-open .quick-reason-modal__dialog {
    transform: translateY(0) scale(1);
}

.quick-reason-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
    background: rgba(255, 255, 255, .075);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.quick-reason-modal__close:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(210, 181, 91, .45);
    transform: rotate(90deg);
}

.quick-reason-modal__title {
    margin: 0 48px 8px 0;
    font-family: Cinzel, serif;
    font-size: 25px;
    line-height: 1.2;
    color: #fff8dd;
}

.quick-reason-modal__text {
    margin: 0 0 16px;
    color: rgba(245, 240, 255, .78);
    font-size: 14px;
    line-height: 1.5;
}

.quick-reason-form {
    display: grid;
    gap: 12px;
}

.quick-reason-selected {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(210, 181, 91, .26);
    background:
        linear-gradient(135deg, rgba(210, 181, 91, .12), rgba(255, 255, 255, .035));
}

.quick-reason-selected span {
    display: block;
    margin-bottom: 3px;
    color: rgba(245, 240, 255, .58);
    font-size: 12px;
}

.quick-reason-selected b {
    color: #f4df8a;
    font-size: 15px;
    line-height: 1.3;
}

.quick-reason-field {
    display: grid;
    gap: 6px;
}

.quick-reason-field label {
    color: rgba(245, 240, 255, .68);
    font-weight: 700;
    font-size: 13px;
}

.quick-reason-field input,
.quick-reason-field textarea,
.quick-reason-field select {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border-radius: 16px;
    background: rgba(8, 8, 18, .72);
    border: 1px solid rgba(255, 255, 255, .10);
    color: #fff;
    font: inherit;
    font-size: 15px;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .20) inset,
        0 0 0 1px rgba(255, 255, 255, .02);
}

.quick-reason-field textarea {
    min-height: 112px;
    resize: vertical;
}

.quick-reason-field input:focus,
.quick-reason-field textarea:focus,
.quick-reason-field select:focus {
    outline: none;
    border-color: rgba(210, 181, 91, .72);
    box-shadow:
        0 0 0 4px rgba(210, 181, 91, .12),
        0 14px 30px rgba(0, 0, 0, .24) inset;
}

.quick-reason-field small {
    color: rgba(245, 240, 255, .50);
    font-size: 12px;
    line-height: 1.35;
}

.quick-reason-submit {
    min-height: 52px;
    border-radius: 16px;
    margin-top: 4px;
}

.quick-reason-status {
    min-height: 20px;
    font-size: 13px;
    color: rgba(245, 240, 255, .68);
    text-align: center;
}

.quick-reason-status.success {
    color: #6deda0;
    font-weight: 800;
}

.quick-reason-status.error {
    color: #ff8080;
    font-weight: 800;
}

body.quick-reason-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .quick-reasons {
        padding: 15px;
        border-radius: 18px;
    }

    .quick-reasons__grid {
        grid-template-columns: 1fr;
    }

    .quick-reason-btn {
        min-height: 54px;
    }
}

@media (max-width: 560px) {
    .quick-reason-modal {
        padding: 10px;
    }

    .quick-reason-modal__dialog {
        padding: 22px 18px 20px;
        border-radius: 22px;
    }

    .quick-reason-modal__title {
        font-size: 21px;
        margin-right: 46px;
    }
}

/* =========================
   QUICK REASONS — COMPACT VERSION
   Компактный блок быстрых причин
========================= */

.quick-reasons {
    margin: 14px 0 14px !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(210, 181, 91, .22) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .012)) !important;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .22),
        0 0 0 1px rgba(255, 255, 255, .025) inset !important;
}

.quick-reasons__head {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}

.quick-reasons__head b {
    font-family: Cinzel, serif !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
    color: #fff8dd !important;
    white-space: nowrap !important;
}

.quick-reasons__head span {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    color: rgba(245, 240, 255, .58) !important;
    text-align: right !important;
}

.quick-reasons__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
}

.quick-reason-btn {
    min-height: 42px !important;
    padding: 7px 8px !important;
    gap: 7px !important;
    border-radius: 12px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .018)) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    box-shadow: none !important;
}

.quick-reason-btn span {
    width: 25px !important;
    height: 25px !important;
    flex: 0 0 25px !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    background: rgba(255, 255, 255, .055) !important;
}

.quick-reason-btn b {
    font-size: 11px !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
}

.quick-reason-btn:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(255, 220, 123, .45) !important;
    background:
        linear-gradient(180deg, rgba(210, 181, 91, .10), rgba(255, 255, 255, .02)) !important;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, .24),
        0 0 16px rgba(210, 181, 91, .10) !important;
}

/* Убираем слишком заметный блик внутри кнопок */
.quick-reason-btn::after {
    display: none !important;
}

/* Чтобы фото поднялось ближе и не было огромного разрыва */
.quick-reasons+.card,
.quick-reasons+.portrait-card,
#photoSlider {
    margin-top: 0 !important;
}

/* Планшеты */
@media (max-width: 900px) {
    .quick-reasons__head {
        display: grid !important;
        gap: 4px !important;
    }

    .quick-reasons__head span {
        text-align: left !important;
    }
}

/* Мобилка */
@media (max-width: 560px) {
    .quick-reasons {
        padding: 12px !important;
        margin: 12px 0 12px !important;
    }

    .quick-reasons__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    .quick-reason-btn {
        min-height: 44px !important;
    }

    .quick-reasons__head b {
        white-space: normal !important;
    }
}

/* =========================
   QUICK REASONS — CLEAN COMPACT
========================= */

.quick-reasons {
    margin: 10px 0 10px !important;
    padding: 8px 0 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.quick-reasons__head {
    display: block !important;
    margin: 0 0 8px !important;
}

.quick-reasons__head b {
    display: block !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #f3ecd2 !important;
    white-space: nowrap !important;
}

.quick-reasons__head span {
    display: none !important;
}

.quick-reasons__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
}

.quick-reason-btn {
    min-height: 38px !important;
    padding: 6px 8px !important;
    gap: 6px !important;
    border-radius: 11px !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015)) !important;
    box-shadow: none !important;
    text-align: left !important;
    align-items: center !important;
}

.quick-reason-btn::after {
    display: none !important;
}

.quick-reason-btn span {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .055) !important;
    font-size: 12px !important;
    display: grid !important;
    place-items: center !important;
}

.quick-reason-btn b {
    display: block !important;
    margin: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    color: #f5f1e6 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
}

.quick-reason-btn:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(255, 220, 123, .38) !important;
    background: linear-gradient(180deg, rgba(210, 181, 91, .08), rgba(255, 255, 255, .02)) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .20) !important;
}

.quick-reason-btn:active {
    transform: translateY(0) !important;
}

.quick-reasons+.card,
.quick-reasons+.portrait-card,
.quick-reasons+img,
.quick-reasons+picture,
#photoSlider {
    margin-top: 0 !important;
}

/* Чуть уменьшим пространство в левом hero-блоке */
.hero-left .subtitle,
.hero-content .subtitle {
    margin-bottom: 8px !important;
}

/* Планшет */
@media (max-width: 900px) {
    .quick-reasons__head b {
        white-space: normal !important;
    }
}

/* Телефон */
@media (max-width: 560px) {
    .quick-reasons {
        margin: 10px 0 !important;
        padding: 6px 0 4px !important;
    }

    .quick-reasons__head b {
        font-size: 14px !important;
    }

    .quick-reasons__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .quick-reason-btn {
        min-height: 40px !important;
        padding: 6px 8px !important;
    }

    .quick-reason-btn b {
        font-size: 10px !important;
    }
}

/* =========================
   OPTIONAL LABELS
========================= */

.optional-label {
    margin-left: 4px;
    color: rgba(245, 240, 255, .45);
    font-size: 12px;
    font-weight: 500;
}

/* =========================
   RESPONSIVE FIX — MOBILE / TABLET
   Правка адаптива перед рекламой
========================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* Общий контейнер */
.wrap {
    width: min(100% - 28px, 1180px) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* =========================
   TABLET AND MOBILE: HERO STACK
========================= */

@media (max-width: 980px) {
    .hero {
        padding-top: 26px !important;
    }

    .hero .wrap {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        align-items: start !important;
    }

    .hero .wrap>div {
        min-width: 0 !important;
        width: 100% !important;
    }

    .title {
        max-width: 100% !important;
        font-size: clamp(32px, 6vw, 46px) !important;
        line-height: 1.12 !important;
        letter-spacing: -0.02em !important;
        margin-bottom: 18px !important;
    }

    .hero-warning {
        width: 100% !important;
        max-width: 100% !important;
    }

    .form-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .portrait-card,
    #photoSlider {
        width: 100% !important;
        max-width: 100% !important;
    }

    #photoSlider img,
    .portrait-card img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: cover !important;
    }

    /* Правые плавающие кнопки на планшетах мешают форме — убираем */
    .float {
        display: none !important;
    }
}

/* =========================
   HEADER ADAPTIVE
========================= */

@media (max-width: 760px) {
    .top-stick {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
    }

    .nav {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .brand {
        width: 100% !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .brand b {
        font-size: 15px !important;
        white-space: nowrap !important;
    }

    .brand svg {
        width: 22px !important;
        height: 22px !important;
        flex: 0 0 22px !important;
    }

    .brand-yt {
        padding: 5px 8px !important;
        font-size: 11px !important;
        flex: 0 0 auto !important;
    }

    .contact-links {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .contact-links .btn {
        width: 100% !important;
        min-height: 34px !important;
        padding: 8px 6px !important;
        font-size: 11px !important;
        border-radius: 9px !important;
        white-space: nowrap !important;
    }

    .contact-links .btn.primary {
        grid-column: 1 / -1 !important;
        min-height: 36px !important;
    }
}

/* =========================
   MOBILE HERO
========================= */

@media (max-width: 560px) {
    .wrap {
        width: calc(100% - 20px) !important;
    }

    .hero {
        padding-top: 18px !important;
    }

    .hero .wrap {
        gap: 16px !important;
    }

    .title {
        font-size: clamp(28px, 9vw, 38px) !important;
        line-height: 1.1 !important;
        margin: 0 0 14px !important;
        text-align: left !important;
    }

    .hero-warning {
        display: flex !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin: 0 0 14px !important;
        padding: 10px 10px !important;
        border-radius: 12px !important;
    }

    .hero-warning__badge {
        padding: 6px 8px !important;
        font-size: 10px !important;
        line-height: 1 !important;
    }

    .hero-warning__text {
        white-space: normal !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}

/* =========================
   QUICK REASONS MOBILE
========================= */

@media (max-width: 560px) {
    .quick-reasons {
        margin: 8px 0 12px !important;
        padding: 0 !important;
    }

    .quick-reasons__head {
        margin-bottom: 7px !important;
    }

    .quick-reasons__head b {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .quick-reasons__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .quick-reason-btn {
        min-height: 38px !important;
        padding: 6px 7px !important;
        gap: 6px !important;
        border-radius: 10px !important;
    }

    .quick-reason-btn span {
        width: 21px !important;
        height: 21px !important;
        flex-basis: 21px !important;
        font-size: 12px !important;
    }

    .quick-reason-btn b {
        font-size: 9.5px !important;
        line-height: 1.12 !important;
    }
}

/* =========================
   FORM MOBILE
========================= */

@media (max-width: 760px) {
    .form-card {
        padding: 18px !important;
        border-radius: 18px !important;
    }

    .form-card h2 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    label {
        font-size: 12px !important;
    }

    input,
    textarea,
    select {
        min-height: 46px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
    }

    textarea {
        min-height: 118px !important;
    }

    .help {
        font-size: 11.5px !important;
        line-height: 1.45 !important;
    }

    .cta .btn,
    .form-card .btn.primary {
        width: 100% !important;
        min-height: 48px !important;
        border-radius: 13px !important;
    }

    .feature {
        margin-top: 18px !important;
    }

    .feature h3 {
        font-size: 18px !important;
    }

    .feature ol {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }
}

/* =========================
   PHOTO MOBILE
========================= */

@media (max-width: 560px) {

    .portrait-card,
    #photoSlider {
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    #photoSlider img,
    .portrait-card img {
        min-height: 360px !important;
        max-height: 520px !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
}

/* Очень маленькие экраны 320–360px */
@media (max-width: 380px) {
    .wrap {
        width: calc(100% - 16px) !important;
    }

    .title {
        font-size: 26px !important;
    }

    .brand b {
        font-size: 13px !important;
    }

    .brand-yt {
        font-size: 10px !important;
        padding: 4px 7px !important;
    }

    .contact-links {
        gap: 5px !important;
    }

    .contact-links .btn {
        font-size: 10px !important;
        padding: 7px 4px !important;
    }

    .quick-reason-btn b {
        font-size: 9px !important;
    }

    .quick-reason-btn span {
        width: 19px !important;
        height: 19px !important;
        flex-basis: 19px !important;
    }

    .form-card {
        padding: 15px !important;
    }
}

/* =========================
   FLOAT QUIZ BUTTON MOBILE FIX
========================= */

@media (max-width: 760px) {
    body {
        padding-bottom: 82px !important;
    }

    .quiz-float-btn {
        left: 10px !important;
        right: 10px !important;
        bottom: 12px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        justify-content: center !important;
        padding: 10px 12px !important;
        border-radius: 999px !important;
        z-index: 1300 !important;
    }

    .quiz-float-btn__icon {
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
        font-size: 17px !important;
    }

    .quiz-float-btn__text b {
        font-size: 13px !important;
        line-height: 1.1 !important;
    }

    .quiz-float-btn__text small {
        font-size: 10px !important;
        line-height: 1.1 !important;
    }

    #scrollTopBtn {
        left: 14px !important;
        bottom: 88px !important;
        z-index: 1290 !important;
    }
}

/* =========================
   TABLET FLOAT BUTTONS FIX
========================= */

@media (min-width: 761px) and (max-width: 980px) {
    .quiz-float-btn {
        left: 18px !important;
        bottom: 18px !important;
        max-width: 260px !important;
        z-index: 1300 !important;
    }

    body {
        padding-bottom: 74px !important;
    }
}

/* =========================
   MOBILE FLOAT BUTTONS FIX
   Возвращаем правые кнопки и делаем кнопку квиза круглой
========================= */

/* Планшеты и мобильные — правые кнопки НЕ скрываем */
@media (max-width: 980px) {
    .float {
        display: flex !important;
        position: fixed !important;
        right: 10px !important;
        bottom: 14px !important;
        flex-direction: column !important;
        gap: 7px !important;
        z-index: 1320 !important;
    }

    .float .fab,
    #fab-wa,
    #fab-vk,
    #fab-max,
    #fab-tg {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        background: rgba(18, 18, 37, .94) !important;
        border: 1px solid rgba(255, 255, 255, .12) !important;
        box-shadow:
            0 10px 24px rgba(0, 0, 0, .34),
            0 0 0 1px rgba(255, 255, 255, .035) inset !important;
    }

    .float .fab img,
    #fab-wa img,
    #fab-vk img,
    #fab-max img,
    #fab-tg img {
        width: 21px !important;
        height: 21px !important;
        display: block !important;
        margin: 0 !important;
    }

    .float .fab span,
    #fab-wa span,
    #fab-vk span,
    #fab-max span,
    #fab-tg span {
        display: none !important;
    }

    #fab-wa::after,
    #fab-vk::after,
    #fab-max::after,
    #fab-tg::after {
        inset: -4px !important;
        border-radius: 50% !important;
    }
}

/* Кнопка квиза на мобильных и планшетах — круглая */
@media (max-width: 980px) {
    .quiz-float-btn {
        left: 12px !important;
        right: auto !important;
        bottom: 14px !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        max-width: 56px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        z-index: 1330 !important;
        overflow: visible !important;
    }

    .quiz-float-btn__text {
        display: none !important;
    }

    .quiz-float-btn__icon {
        width: 40px !important;
        height: 40px !important;
        flex: 0 0 40px !important;
        font-size: 20px !important;
        margin: 0 !important;
    }

    .quiz-float-btn::after {
        inset: -6px !important;
        border-radius: 50% !important;
    }

    .quiz-float-btn:hover {
        transform: scale(1.04) !important;
    }

    .quiz-float-btn.is-hidden {
        transform: translateY(14px) scale(.88) !important;
    }
}

/* На совсем маленьких экранах чуть уменьшаем */
@media (max-width: 380px) {
    .float {
        right: 8px !important;
        bottom: 12px !important;
        gap: 6px !important;
    }

    .float .fab,
    #fab-wa,
    #fab-vk,
    #fab-max,
    #fab-tg {
        width: 39px !important;
        height: 39px !important;
        min-width: 39px !important;
        min-height: 39px !important;
    }

    .float .fab img,
    #fab-wa img,
    #fab-vk img,
    #fab-max img,
    #fab-tg img {
        width: 19px !important;
        height: 19px !important;
    }

    .quiz-float-btn {
        left: 8px !important;
        bottom: 12px !important;
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        max-width: 52px !important;
    }

    .quiz-float-btn__icon {
        width: 37px !important;
        height: 37px !important;
        flex-basis: 37px !important;
        font-size: 18px !important;
    }
}

/* Чтобы нижние плавающие кнопки не перекрывали самый низ контента */
@media (max-width: 980px) {
    body {
        padding-bottom: 86px !important;
    }
}

/* Кнопку "наверх" на мобильных лучше поднять над кнопкой квиза */
@media (max-width: 980px) {
    #scrollTopBtn {
        left: 16px !important;
        right: auto !important;
        bottom: 82px !important;
        width: 38px !important;
        height: 38px !important;
        line-height: 34px !important;
        z-index: 1290 !important;
    }
}

@media (max-width: 380px) {
    #scrollTopBtn {
        left: 12px !important;
        bottom: 76px !important;
        width: 36px !important;
        height: 36px !important;
        line-height: 32px !important;
    }
}

/* =========================
   SCROLL TOP BUTTON — NORMAL FIX
   Показываем только после прокрутки, попапы не перекрываем
========================= */

#scrollTopBtn {
    position: fixed !important;
    left: 18px !important;
    right: auto !important;
    bottom: 84px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(18, 18, 37, .96) !important;
    border: 1px solid rgba(210, 181, 91, .75) !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .42),
        0 0 18px rgba(210, 181, 91, .22),
        0 0 0 1px rgba(255, 255, 255, .04) inset !important;
    z-index: 1310 !important;
    cursor: pointer !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;

    transition:
        opacity .22s ease,
        visibility .22s ease,
        transform .22s ease,
        border-color .22s ease !important;
}

#scrollTopBtn.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

#scrollTopBtn:hover,
#scrollTopBtn:active {
    border-color: rgba(255, 220, 123, .95) !important;
    transform: scale(1.06) !important;
}

/* Если открыт любой попап — стрелку полностью убираем */
body.auto-quiz-modal-open #scrollTopBtn,
body.contact-modal-open #scrollTopBtn,
body.quick-reason-modal-open #scrollTopBtn,
body.max-modal-open #scrollTopBtn,
body.paid-modal-open #scrollTopBtn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
}

/* Мобильные */
@media (max-width: 980px) {
    #scrollTopBtn {
        left: 18px !important;
        bottom: 82px !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        z-index: 1310 !important;
    }
}

/* Маленькие 320–380 */
@media (max-width: 380px) {
    #scrollTopBtn {
        left: 12px !important;
        bottom: 76px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        font-size: 20px !important;
    }
}

/* =========================
   GO TOP BUTTON — FINAL CLEAN
========================= */

.go-top-btn {
    position: fixed !important;
    left: 18px !important;
    right: auto !important;
    bottom: 84px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(210, 181, 91, .75) !important;
    background: rgba(18, 18, 37, .96) !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .42),
        0 0 18px rgba(210, 181, 91, .22),
        0 0 0 1px rgba(255, 255, 255, .04) inset !important;
    z-index: 1310 !important;
    cursor: pointer !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(.96) !important;

    transition:
        opacity .22s ease,
        visibility .22s ease,
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease !important;
}

.go-top-btn.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

.go-top-btn:hover,
.go-top-btn:active {
    border-color: rgba(255, 220, 123, .95) !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .48),
        0 0 22px rgba(210, 181, 91, .30),
        0 0 0 1px rgba(255, 255, 255, .06) inset !important;
    transform: translateY(0) scale(1.06) !important;
}

/* При открытых попапах стрелку убираем */
body.auto-quiz-modal-open .go-top-btn,
body.contact-modal-open .go-top-btn,
body.quick-reason-modal-open .go-top-btn,
body.max-modal-open .go-top-btn,
body.paid-modal-open .go-top-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Мобильные и планшеты */
@media (max-width: 980px) {
    .go-top-btn {
        left: 18px !important;
        bottom: 82px !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        z-index: 1310 !important;
    }
}

/* Очень маленькие экраны */
@media (max-width: 380px) {
    .go-top-btn {
        left: 12px !important;
        bottom: 76px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        font-size: 20px !important;
    }
}

/* =========================
   GO TOP BUTTON — HARD FIX
========================= */

#goTopBtn {
    position: fixed !important;
    left: 14px !important;
    bottom: 86px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(210, 181, 91, .85) !important;
    background: rgba(18, 18, 37, .98) !important;
    color: #ffffff !important;

    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    z-index: 1325 !important;
    cursor: pointer !important;

    transform: none !important;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .45),
        0 0 18px rgba(210, 181, 91, .25),
        0 0 0 1px rgba(255, 255, 255, .05) inset !important;
}

#goTopBtn:hover,
#goTopBtn:active {
    transform: scale(1.06) !important;
    border-color: rgba(255, 220, 123, .95) !important;
}

/* При открытом автоквизе и попапах стрелку убираем */
body.auto-quiz-modal-open #goTopBtn,
body.contact-modal-open #goTopBtn,
body.quick-reason-modal-open #goTopBtn,
body.max-modal-open #goTopBtn,
body.paid-modal-open #goTopBtn {
    display: none !important;
}

/* маленькие экраны */
@media (max-width: 380px) {
    #goTopBtn {
        left: 10px !important;
        bottom: 78px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        font-size: 21px !important;
    }
}

/* =========================
   SCROLL TOP BUTTON — FINAL REAL FIX
========================= */

/* Старую экспериментальную кнопку полностью гасим */
#goTopBtn,
.go-top-btn {
    display: none !important;
}

/* Основная кнопка наверх */
#scrollTopBtn {
    position: fixed !important;
    left: 14px !important;
    right: auto !important;
    bottom: 86px !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(210, 181, 91, .85) !important;
    background: rgba(18, 18, 37, .98) !important;
    color: #ffffff !important;

    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    z-index: 1325 !important;
    cursor: pointer !important;

    transform: translateY(10px) scale(.94) !important;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, .45),
        0 0 18px rgba(210, 181, 91, .25),
        0 0 0 1px rgba(255, 255, 255, .05) inset !important;

    transition:
        opacity .22s ease,
        visibility .22s ease,
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease !important;
}

/* Появляется только когда JS добавил .show */
#scrollTopBtn.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

#scrollTopBtn:hover,
#scrollTopBtn:active {
    border-color: rgba(255, 220, 123, .95) !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .50),
        0 0 24px rgba(210, 181, 91, .34),
        0 0 0 1px rgba(255, 255, 255, .07) inset !important;
    transform: translateY(0) scale(1.06) !important;
}

/* При любых попапах стрелку убираем */
body.auto-quiz-modal-open #scrollTopBtn,
body.contact-modal-open #scrollTopBtn,
body.quick-reason-modal-open #scrollTopBtn,
body.max-modal-open #scrollTopBtn,
body.paid-modal-open #scrollTopBtn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Мобильные и планшеты */
@media (max-width: 980px) {
    #scrollTopBtn {
        left: 14px !important;
        bottom: 84px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
        z-index: 1325 !important;
    }
}

/* Очень маленькие экраны */
@media (max-width: 380px) {
    #scrollTopBtn {
        left: 10px !important;
        bottom: 76px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        font-size: 21px !important;
    }
}

/* =========================
   SCROLL TOP BUTTON — OVERRIDE FIX
========================= */

#goTopBtn,
.go-top-btn {
    display: none !important;
}

html body #scrollTopBtn {
    position: fixed !important;
    left: 14px !important;
    right: auto !important;
    bottom: 86px !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(210, 181, 91, .85) !important;
    background: rgba(18, 18, 37, .98) !important;
    color: #ffffff !important;

    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    z-index: 1325 !important;
    cursor: pointer !important;

    transform: translateY(10px) scale(.94) !important;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, .45),
        0 0 18px rgba(210, 181, 91, .25),
        0 0 0 1px rgba(255, 255, 255, .05) inset !important;

    transition:
        opacity .22s ease,
        visibility .22s ease,
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease !important;
}

html body #scrollTopBtn.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

html body #scrollTopBtn:hover,
html body #scrollTopBtn:active {
    border-color: rgba(255, 220, 123, .95) !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .50),
        0 0 24px rgba(210, 181, 91, .34),
        0 0 0 1px rgba(255, 255, 255, .07) inset !important;
    transform: translateY(0) scale(1.06) !important;
}

body.auto-quiz-modal-open #scrollTopBtn,
body.contact-modal-open #scrollTopBtn,
body.quick-reason-modal-open #scrollTopBtn,
body.max-modal-open #scrollTopBtn,
body.paid-modal-open #scrollTopBtn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 980px) {
    html body #scrollTopBtn {
        left: 14px !important;
        bottom: 84px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
        z-index: 1325 !important;
    }
}

@media (max-width: 380px) {
    html body #scrollTopBtn {
        left: 10px !important;
        bottom: 76px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        font-size: 21px !important;
    }
}

/* =========================
   SCROLL TOP BUTTON — TRUE FINAL FIX
   Управляем кнопкой через body.scroll-top-active
========================= */

#goTopBtn,
.go-top-btn {
    display: none !important;
}

html body #scrollTopBtn {
    position: fixed !important;
    left: 14px !important;
    right: auto !important;
    bottom: 86px !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(210, 181, 91, .85) !important;
    background: rgba(18, 18, 37, .98) !important;
    color: #ffffff !important;

    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    z-index: 1325 !important;
    cursor: pointer !important;

    transform: translateY(10px) scale(.94) !important;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, .45),
        0 0 18px rgba(210, 181, 91, .25),
        0 0 0 1px rgba(255, 255, 255, .05) inset !important;

    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease !important;
}

/* Видна только когда body получил scroll-top-active */
html body.scroll-top-active #scrollTopBtn {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

/* ВАЖНО: если старый JS случайно добавил .show, но body не активен — всё равно скрываем */
html body:not(.scroll-top-active) #scrollTopBtn,
html body:not(.scroll-top-active) #scrollTopBtn.show {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(.94) !important;
}

html body #scrollTopBtn:hover,
html body #scrollTopBtn:active {
    border-color: rgba(255, 220, 123, .95) !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .50),
        0 0 24px rgba(210, 181, 91, .34),
        0 0 0 1px rgba(255, 255, 255, .07) inset !important;
    transform: translateY(0) scale(1.06) !important;
}

/* При открытых попапах всегда скрываем */
html body.auto-quiz-modal-open #scrollTopBtn,
html body.contact-modal-open #scrollTopBtn,
html body.quick-reason-modal-open #scrollTopBtn,
html body.max-modal-open #scrollTopBtn,
html body.paid-modal-open #scrollTopBtn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(.94) !important;
}

@media (max-width: 980px) {
    html body #scrollTopBtn {
        left: 14px !important;
        bottom: 84px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
        z-index: 1325 !important;
    }
}

@media (max-width: 380px) {
    html body #scrollTopBtn {
        left: 10px !important;
        bottom: 76px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        font-size: 21px !important;
    }
}

/* =========================
   SCROLL TOP BUTTON — CLEAN OVERRIDE
   Работает только через класс .is-scroll-visible
========================= */

/* Гасим старую экспериментальную кнопку */
#goTopBtn,
.go-top-btn {
    display: none !important;
}

/* Полностью перебиваем весь старый мусор по #scrollTopBtn */
html body #scrollTopBtn,
html body #scrollTopBtn.show,
html body.scroll-top-active #scrollTopBtn,
html body:not(.scroll-top-active) #scrollTopBtn,
html body:not(.scroll-top-active) #scrollTopBtn.show {
    position: fixed !important;

    left: 14px !important;
    right: auto !important;
    bottom: 84px !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(210, 181, 91, .85) !important;
    background: rgba(18, 18, 37, .98) !important;
    color: #ffffff !important;

    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    z-index: 1340 !important;
    cursor: pointer !important;

    transform: translateY(10px) scale(.94) !important;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, .45),
        0 0 18px rgba(210, 181, 91, .25),
        0 0 0 1px rgba(255, 255, 255, .05) inset !important;

    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease !important;
}

/* Видна ТОЛЬКО когда main.js добавил .is-scroll-visible */
html body #scrollTopBtn.is-scroll-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

/* При открытых попапах всегда скрыта */
html body.auto-quiz-modal-open #scrollTopBtn,
html body.contact-modal-open #scrollTopBtn,
html body.quick-reason-modal-open #scrollTopBtn,
html body.max-modal-open #scrollTopBtn,
html body.paid-modal-open #scrollTopBtn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(.94) !important;
}

html body #scrollTopBtn.is-scroll-visible:hover,
html body #scrollTopBtn.is-scroll-visible:active {
    border-color: rgba(255, 220, 123, .95) !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .50),
        0 0 24px rgba(210, 181, 91, .34),
        0 0 0 1px rgba(255, 255, 255, .07) inset !important;
    transform: translateY(0) scale(1.06) !important;
}

/* Маленькие экраны */
@media (max-width: 380px) {

    html body #scrollTopBtn,
    html body #scrollTopBtn.show,
    html body.scroll-top-active #scrollTopBtn,
    html body:not(.scroll-top-active) #scrollTopBtn,
    html body:not(.scroll-top-active) #scrollTopBtn.show {
        left: 10px !important;
        bottom: 76px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        font-size: 21px !important;
    }
}

/* =========================
   SCROLL TOP BUTTON — WATCH FIX
   Не зависит от события scroll
========================= */

#goTopBtn,
.go-top-btn {
    display: none !important;
}

html body #scrollTopBtn,
html body #scrollTopBtn.show,
html body.scroll-top-active #scrollTopBtn,
html body:not(.scroll-top-active) #scrollTopBtn,
html body:not(.scroll-top-active) #scrollTopBtn.show {
    position: fixed !important;

    left: 14px !important;
    right: auto !important;
    bottom: 84px !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(210, 181, 91, .85) !important;
    background: rgba(18, 18, 37, .98) !important;
    color: #ffffff !important;

    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    z-index: 1340 !important;
    cursor: pointer !important;

    transform: translateY(10px) scale(.94) !important;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, .45),
        0 0 18px rgba(210, 181, 91, .25),
        0 0 0 1px rgba(255, 255, 255, .05) inset !important;

    transition:
        opacity .16s ease,
        visibility .16s ease,
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease !important;
}

/* Видна ТОЛЬКО через новый класс */
html body #scrollTopBtn.scroll-top-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

/* Старые классы больше не могут показать кнопку */
html body #scrollTopBtn.show:not(.scroll-top-visible),
html body.scroll-top-active #scrollTopBtn:not(.scroll-top-visible) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(.94) !important;
}

/* При попапах скрываем */
html body.auto-quiz-modal-open #scrollTopBtn,
html body.contact-modal-open #scrollTopBtn,
html body.quick-reason-modal-open #scrollTopBtn,
html body.max-modal-open #scrollTopBtn,
html body.paid-modal-open #scrollTopBtn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(.94) !important;
}

html body #scrollTopBtn.scroll-top-visible:hover,
html body #scrollTopBtn.scroll-top-visible:active {
    border-color: rgba(255, 220, 123, .95) !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .50),
        0 0 24px rgba(210, 181, 91, .34),
        0 0 0 1px rgba(255, 255, 255, .07) inset !important;
    transform: translateY(0) scale(1.06) !important;
}

@media (max-width: 380px) {

    html body #scrollTopBtn,
    html body #scrollTopBtn.show,
    html body.scroll-top-active #scrollTopBtn,
    html body:not(.scroll-top-active) #scrollTopBtn,
    html body:not(.scroll-top-active) #scrollTopBtn.show {
        left: 10px !important;
        bottom: 76px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        font-size: 21px !important;
    }
}

/* =========================
   BACK TO TOP — CLEAN NATIVE FIX
   Новая кнопка, старый scrollTopBtn больше не используется
========================= */

html {
    scroll-behavior: smooth !important;
}

/* Старые кнопки полностью гасим */
#scrollTopBtn,
#goTopBtn,
.go-top-btn {
    display: none !important;
}

/* Новая кнопка */
html body #backToTopBtn.back-to-top-btn {
    position: fixed !important;

    left: 14px !important;
    right: auto !important;
    bottom: 84px !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(210, 181, 91, .85) !important;
    background: rgba(18, 18, 37, .98) !important;
    color: #ffffff !important;

    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    z-index: 1340 !important;
    cursor: pointer !important;

    transform: translateY(10px) scale(.94) !important;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, .45),
        0 0 18px rgba(210, 181, 91, .25),
        0 0 0 1px rgba(255, 255, 255, .05) inset !important;

    transition:
        opacity .16s ease,
        visibility .16s ease,
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease !important;
}

/* Показываем только после прокрутки */
html body #backToTopBtn.back-to-top-btn.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

/* При попапах скрываем */
html body.auto-quiz-modal-open #backToTopBtn.back-to-top-btn,
html body.contact-modal-open #backToTopBtn.back-to-top-btn,
html body.quick-reason-modal-open #backToTopBtn.back-to-top-btn,
html body.max-modal-open #backToTopBtn.back-to-top-btn,
html body.paid-modal-open #backToTopBtn.back-to-top-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(.94) !important;
}

html body #backToTopBtn.back-to-top-btn.is-visible:hover,
html body #backToTopBtn.back-to-top-btn.is-visible:active {
    border-color: rgba(255, 220, 123, .95) !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .50),
        0 0 24px rgba(210, 181, 91, .34),
        0 0 0 1px rgba(255, 255, 255, .07) inset !important;
    transform: translateY(0) scale(1.06) !important;
}

@media (max-width: 380px) {
    html body #backToTopBtn.back-to-top-btn {
        left: 10px !important;
        bottom: 76px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        font-size: 21px !important;
    }
}

/* =========================
   BACK TO TOP — REAL FINAL FIX
   Убираем двойной скролл и делаем кнопку рабочей
========================= */

/* Убираем второй скролл */
html {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-behavior: auto !important;
}

body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
}

/* Когда попапов нет — body не должен иметь свой отдельный скролл */
body:not(.auto-quiz-modal-open):not(.contact-modal-open):not(.quick-reason-modal-open):not(.max-modal-open):not(.paid-modal-open) {
    overflow-y: visible !important;
}

/* При попапах скролл страницы блокируем */
body.auto-quiz-modal-open,
body.contact-modal-open,
body.quick-reason-modal-open,
body.max-modal-open,
body.paid-modal-open {
    overflow: hidden !important;
}

/* Старые кнопки полностью гасим */
#scrollTopBtn,
#goTopBtn,
.go-top-btn {
    display: none !important;
}

/* Новая кнопка наверх */
html body #backToTopBtn.back-to-top-btn {
    position: fixed !important;

    left: 14px !important;
    right: auto !important;
    bottom: 84px !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(210, 181, 91, .85) !important;
    background: rgba(18, 18, 37, .98) !important;
    color: #ffffff !important;

    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    z-index: 1340 !important;
    cursor: pointer !important;

    transform: translateY(10px) scale(.94) !important;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, .45),
        0 0 18px rgba(210, 181, 91, .25),
        0 0 0 1px rgba(255, 255, 255, .05) inset !important;

    transition:
        opacity .16s ease,
        visibility .16s ease,
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease !important;
}

/* Появляется после прокрутки */
html body #backToTopBtn.back-to-top-btn.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

/* При попапах скрываем */
html body.auto-quiz-modal-open #backToTopBtn.back-to-top-btn,
html body.contact-modal-open #backToTopBtn.back-to-top-btn,
html body.quick-reason-modal-open #backToTopBtn.back-to-top-btn,
html body.max-modal-open #backToTopBtn.back-to-top-btn,
html body.paid-modal-open #backToTopBtn.back-to-top-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(.94) !important;
}

html body #backToTopBtn.back-to-top-btn.is-visible:hover,
html body #backToTopBtn.back-to-top-btn.is-visible:active {
    border-color: rgba(255, 220, 123, .95) !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .50),
        0 0 24px rgba(210, 181, 91, .34),
        0 0 0 1px rgba(255, 255, 255, .07) inset !important;
    transform: translateY(0) scale(1.06) !important;
}

@media (max-width: 380px) {
    html body #backToTopBtn.back-to-top-btn {
        left: 10px !important;
        bottom: 76px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        font-size: 21px !important;
    }
}

/* ===== INTERNATIONAL PHONE INPUT ===== */

.iti {
    width: 100%;
}

.iti input {
    width: 100%;
}

.iti__country-container {
    border-radius: 12px 0 0 12px;
}

.iti__selected-country {
    background: rgba(255, 255, 255, .04);
    border-radius: 12px 0 0 12px;
}

.iti__dropdown-content {
    background: #121225;
    border: 1px solid rgba(255, 255, 255, .14);
    color: #f6f6ff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .65);
}

.iti__country:hover,
.iti__country.iti__highlight {
    background: rgba(210, 181, 91, .16);
}

.iti__search-input {
    background: #0e0e1b !important;
    color: #f6f6ff !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 10px !important;
    margin: 8px !important;
    width: calc(100% - 16px) !important;
}

.iti__country-name,
.iti__dial-code {
    color: #f6f6ff;
}

.iti__dial-code {
    opacity: .72;
}

input.is-valid {
    border-color: rgba(124, 255, 155, .75) !important;
}

input.is-invalid {
    border-color: rgba(255, 107, 107, .9) !important;
}

/* ===== FIX: intl-tel-input dropdown dark theme ===== */

.iti,
.iti * {
    box-sizing: border-box;
}

.iti__dropdown-content,
.iti__country-list {
    background: #121225 !important;
    color: #f6f6ff !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .72) !important;
    overflow: hidden !important;
}

.iti__country-list {
    max-height: 260px !important;
}

.iti__country {
    background: #121225 !important;
    color: #f6f6ff !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background: rgba(210, 181, 91, .18) !important;
    color: #ffffff !important;
}

.iti__country-name {
    color: #f6f6ff !important;
}

.iti__dial-code {
    color: rgba(246, 246, 255, .72) !important;
}

.iti__search-input {
    background: #0e0e1b !important;
    color: #f6f6ff !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 10px !important;
    outline: none !important;
}

.iti__search-input::placeholder {
    color: rgba(246, 246, 255, .55) !important;
}

.iti__search-input:focus {
    border-color: rgba(210, 181, 91, .75) !important;
    box-shadow: 0 0 0 2px rgba(210, 181, 91, .14) !important;
}

.iti__divider {
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
}

.iti__flag-container,
.iti__selected-country {
    background: transparent !important;
}

.iti__selected-country:hover,
.iti__selected-country:focus {
    background: rgba(255, 255, 255, .06) !important;
}

/* ===== FIX: intl-tel-input scroll + readable dropdown ===== */

.iti__dropdown-content {
    overflow: visible !important;
}

.iti__country-list {
    max-height: 260px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(210, 181, 91, .65) rgba(255, 255, 255, .08);
}

.iti__country-list::-webkit-scrollbar {
    width: 8px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: rgba(210, 181, 91, .65);
    border-radius: 999px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: rgba(210, 181, 91, .9);
}

.iti__country {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.iti__country-name {
    color: #f6f6ff !important;
    font-weight: 600;
}

.iti__dial-code {
    color: rgba(246, 246, 255, .68) !important;
    font-weight: 600;
}

.iti__country.iti__hide,
.iti__country[hidden] {
    display: none !important;
}

.iti__ru-no-results {
    list-style: none;
    background: #121225;
}

/* ===== LEAD FORMAT FILTER ===== */

.lead-format-field {
    margin-top: 14px;
}

.lead-format-field label {
    display: block;
    margin-bottom: 7px;
    color: rgba(246, 246, 255, .78);
    font-size: 14px;
    font-weight: 700;
}

.lead-format-select {
    width: 100%;
    min-height: 48px;
    padding: 0 42px 0 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02)),
        #10101d;
    color: #f6f6ff;
    font-size: 15px;
    font-weight: 700;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.lead-format-field {
    position: relative;
}

.lead-format-field::after {
    content: "⌄";
    position: absolute;
    right: 15px;
    top: 38px;
    color: rgba(246, 246, 255, .72);
    font-size: 18px;
    pointer-events: none;
}

.lead-format-select:focus {
    border-color: rgba(210, 181, 91, .78);
    box-shadow: 0 0 0 2px rgba(210, 181, 91, .14);
}

.lead-format-select.is-invalid {
    border-color: rgba(255, 91, 91, .9);
    box-shadow: 0 0 0 2px rgba(255, 91, 91, .12);
}

.lead-format-select.is-valid {
    border-color: rgba(128, 255, 166, .65);
}

.lead-format-select option {
    background: #121225;
    color: #f6f6ff;
}

.lead-format-note {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.lead-format-note--error {
    border: 1px solid rgba(255, 91, 91, .58);
    background: rgba(255, 91, 91, .12);
    color: #ffd7d7;
    font-weight: 700;
}

.lead-format-note--price {
    border: 1px solid rgba(210, 181, 91, .55);
    background: rgba(210, 181, 91, .08);
    color: #f6f6ff;
}

.lead-price-note__title {
    margin-bottom: 7px;
    color: #f1d894;
    font-size: 13px;
    font-weight: 800;
}

.lead-price-note__item {
    display: grid;
    gap: 2px;
}

.lead-price-note__item+.lead-price-note__item {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(210, 181, 91, .22);
}

.lead-price-note__item b {
    color: #fff;
    font-size: 13px;
}

.lead-price-note__item span {
    color: rgba(246, 246, 255, .72);
    font-size: 12px;
    line-height: 1.35;
}

.lead-price-note__item a {
    width: fit-content;
    margin-top: 2px;
    color: #f1d894;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
}

.lead-format-field--modal {
    margin-top: 12px;
}

.lead-format-field--modal label {
    color: #f1d894;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 13px;
}

.lead-format-field--modal .lead-format-select {
    background: #fff;
    color: #111;
    border-color: rgba(255, 255, 255, .35);
}

.lead-format-field--modal .lead-format-select option {
    background: #fff;
    color: #111;
}

.lead-format-field--modal::after {
    color: rgba(0, 0, 0, .72);
}

/* ==================================================
   БЛОКИРОВКА СКРОЛЛА САЙТА ПРИ ОТКРЫТОМ QUICK POPUP
================================================== */

html:has(body.quick-reason-modal-open),
body.quick-reason-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    touch-action: none;
}

/* Скролл разрешён только внутри самого окна */
body.quick-reason-modal-open .quick-reason-modal {
    overscroll-behavior: contain;
    touch-action: none;
}

body.quick-reason-modal-open .quick-reason-modal__dialog {
    overflow-y: auto !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

/* ==================================================
   ЗАЩИТА ОТ PULL-TO-REFRESH ПРИ ОТКРЫТЫХ ПОПАПАХ
================================================== */

html.popup-scroll-locked,
body.popup-scroll-locked {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
}

/* Запрещаем передавать скролл попапа странице и браузеру */
body.popup-scroll-locked .auto-quiz-modal,
body.popup-scroll-locked .contact-modal,
body.popup-scroll-locked .quick-reason-modal,
body.popup-scroll-locked .max-modal,
body.popup-scroll-locked .paid-modal {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
}

/* Скроллить можно только содержимое открытого окна */
body.popup-scroll-locked .auto-quiz-modal__dialog,
body.popup-scroll-locked .contact-modal__dialog,
body.popup-scroll-locked .quick-reason-modal__dialog,
body.popup-scroll-locked .max-modal__dialog,
body.popup-scroll-locked .paid-modal__dialog {
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
}

/* ==================================================
   FAQ — КОМПАКТНАЯ КНОПКА ЗАЯВКИ
================================================== */

.compact-faq .faq-list>details>div {
    padding: 12px 14px 14px;
}

.faq-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;

    min-height: 34px;
    margin-top: 12px;
    padding: 7px 14px;

    border: 1px solid rgba(210, 181, 91, .58);
    border-radius: 10px;

    background: rgba(210, 181, 91, .10);
    color: #f1d894;

    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease;
}

.faq-order-btn:hover {
    background: rgba(210, 181, 91, .18);
    border-color: rgba(255, 220, 123, .85);
    color: #fff3c4;
    transform: translateY(-1px);
}

.faq-order-btn:active {
    transform: translateY(0);
}

.faq-order-btn:focus-visible {
    outline: 2px solid rgba(255, 220, 123, .65);
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .faq-order-btn {
        min-height: 36px;
        padding: 8px 14px;
    }
}

/* ==================================================
   ВРЕМЕННО СКРЫВАЕМ ЦЕНЫ ПРИ ВЫБОРЕ
   «СНАЧАЛА ХОЧУ УЗНАТЬ СТОИМОСТЬ»
================================================== */

/*
.lead-format-note--price {
    display: block !important;
}
*/

/* Временно включено */
.lead-format-note--price {
    display: none !important;
}