/* ============================================================
   Меркурий ХС Помощь — основной файл стилей
   ============================================================ */

/* ---------- Переменные ---------- */
:root {
    --red: #DC3545;
    --red-dark: #B02A37;
    --red-darker: #A71D2A;
    --red-tint: #FDECEE;

    --ink: #1A1D21;
    --text: #343A40;
    --muted: #6C757D;

    --bg: #F8F9FA;
    --card: #FFFFFF;
    --line: #E9ECEF;

    --radius: 12px;
    --radius-sm: 8px;

    --shadow-sm: 0 1px 3px rgba(26, 29, 33, 0.07);
    --shadow-md: 0 6px 18px rgba(26, 29, 33, 0.09);
    --shadow-lg: 0 14px 34px rgba(26, 29, 33, 0.14);

    --header-h: 68px;

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Сброс ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--red);
}

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.25;
    font-weight: 800;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.centered-text {
    text-align: center;
}

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease,
        transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.35);
}

.btn-ghost {
    background-color: transparent;
    color: var(--ink);
    border: 2px solid var(--line);
}

.btn-ghost:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}

.btn-light {
    background-color: #fff;
    color: var(--red);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 0.9rem 1.8rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Шапка ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.brand-accent {
    color: var(--red);
}

.site-nav {
    margin-left: auto;
}

.nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.25s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--red);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--red);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a.active {
    color: var(--red);
    font-weight: 700;
}

.nav-mobile-extra {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-phone {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.header-phone:hover {
    color: var(--red);
}

/* Бургер */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Герой ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 85% 20%, rgba(220, 53, 69, 0.08), transparent),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    padding: 4.5rem 0 4rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
}

.hero-eyebrow {
    display: inline-block;
    background-color: var(--red-tint);
    color: var(--red-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(1.9rem, 3.2vw + 0.6rem, 2.9rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
}

.hero h1 .accent {
    color: var(--red);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.75rem;
}

.hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-points .icon {
    color: var(--red);
    flex-shrink: 0;
}

/* Визуал героя — кубы */
.hero-visual {
    position: relative;
    height: 400px;
}

.hero-visual img {
    position: absolute;
    filter: drop-shadow(0 18px 28px rgba(26, 29, 33, 0.18));
}

.cube-main {
    width: 62%;
    top: 18%;
    left: 19%;
    animation: float 6s ease-in-out infinite;
}

.cube-left {
    width: 38%;
    top: -2%;
    left: 0;
    animation: float 7s ease-in-out 0.8s infinite;
}

.cube-right {
    width: 36%;
    bottom: -2%;
    right: 0;
    animation: float 8s ease-in-out 1.6s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ---------- Полоса цифр ---------- */
.stats {
    background-color: var(--ink);
    color: #fff;
    padding: 2.25rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.stat-value .accent {
    color: var(--red);
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

/* ---------- Секции ---------- */
.section {
    padding: 4.5rem 0;
}

.section.alt-bg {
    background-color: #fff;
}

.section-head {
    max-width: 42rem;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.6rem, 2.2vw + 0.6rem, 2.2rem);
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* ---------- Карточки (общее) ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card .icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--red-tint);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card:hover .icon-badge {
    background-color: var(--red);
    color: #fff;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--muted);
    font-size: 0.97rem;
    flex-grow: 1;
}

.card ul {
    list-style: none;
    color: var(--muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.card ul li {
    padding: 0.4rem 0 0.4rem 1.3rem;
    position: relative;
    border-bottom: 1px solid var(--line);
}

.card ul li:last-child {
    border-bottom: none;
}

.card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.95rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--red);
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ---------- Шаги «Как мы работаем» ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.step {
    position: relative;
    background-color: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--red);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.step p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---------- Красная CTA-полоса ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--red-darker) 0%, var(--red) 100%);
    color: #fff;
    padding: 3.75rem 0;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2vw + 0.5rem, 1.9rem);
    margin-bottom: 0.4rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 34rem;
}

/* ---------- Страничный герой (внутренние страницы) ---------- */
.page-hero {
    background:
        radial-gradient(ellipse 50% 60% at 80% 0%, rgba(220, 53, 69, 0.07), transparent),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    padding: 3.5rem 0 3rem;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.7rem, 2.6vw + 0.6rem, 2.4rem);
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 40rem;
    margin: 0 auto;
}

/* ---------- Контакты ---------- */
.contact-card a {
    color: var(--ink);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 0.25s ease;
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--red);
}

.contact-card .contact-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.35rem;
    flex-grow: 0;
}

.map-section iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 0.9rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item.open {
    border-color: rgba(220, 53, 69, 0.35);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.15rem 1.4rem;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: var(--red);
}

.faq-item.open .faq-question {
    color: var(--red);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
}

.faq-answer-content {
    padding: 0 1.4rem 1.25rem;
    color: var(--muted);
    text-align: left;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 0.5rem 0 0.5rem 1.25rem;
}

.faq-answer-content li {
    margin-bottom: 0.35rem;
}

/* ---------- Политика конфиденциальности ---------- */
.privacy-list {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-item {
    background-color: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.privacy-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.privacy-item p {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.privacy-item ul {
    margin: 0.5rem 0 0.75rem 1.25rem;
    color: var(--muted);
}

.privacy-item li {
    margin-bottom: 0.35rem;
}

/* ---------- Модальное окно ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background-color: rgba(26, 29, 33, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 460px;
    padding: 2rem;
    margin: auto;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s ease;
}

.modal.open .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background-color: var(--bg);
    color: var(--muted);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.modal-close:hover {
    background-color: var(--red-tint);
    color: var(--red);
}

.modal-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.modal-sub {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.modal-content label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.9rem;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.7rem 0.9rem;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background-color: var(--bg);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    resize: vertical;
}

.modal-content input:focus,
.modal-content textarea:focus {
    border-color: var(--red);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
    outline: none;
}

.form-status {
    margin-top: 0.9rem;
    font-size: 0.92rem;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    color: #198754;
}

.form-status.error {
    display: block;
    color: var(--red);
}

.form-consent {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    color: var(--muted);
}

/* Скрытое поле-ловушка для спам-ботов */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ---------- Футер ---------- */
.site-footer {
    background-color: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 3.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-about .brand-name {
    color: #fff;
}

.footer-about p {
    margin-top: 1rem;
    font-size: 0.95rem;
    max-width: 22rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.footer-contact-item .icon {
    color: var(--red);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ---------- Кнопка «Наверх» ---------- */
#back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: var(--red);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease,
        transform 0.3s ease, background-color 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: var(--red-dark);
}

/* ---------- Иконки ---------- */
.icon {
    display: inline-flex;
}

.icon svg {
    width: 1em;
    height: 1em;
    font-size: inherit;
}

/* ---------- Появление при скролле ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0s);
}

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

/* ---------- Адаптивность ---------- */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-points {
        justify-content: center;
    }

    .hero-visual {
        height: auto;
        display: flex;
        justify-content: center;
        gap: 1.25rem;
    }

    .hero-visual img {
        position: static;
        width: auto;
        height: 110px;
        animation: none;
    }

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

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

@media (max-width: 820px) {
    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background-color: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        padding: 1rem 1.25rem 1.5rem;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav > li {
        border-bottom: 1px solid var(--line);
    }

    .nav > li:last-child {
        border-bottom: none;
    }

    .nav a {
        display: block;
        padding: 0.9rem 0.25rem;
        font-size: 1.05rem;
    }

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

    .nav > li.nav-mobile-extra {
        display: block;
        padding-top: 1rem;
        border-bottom: none;
    }

    .nav-mobile-extra .btn {
        width: 100%;
    }

    .header-actions {
        display: none;
    }

    .burger {
        display: flex;
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3.25rem 0;
    }

    .hero {
        padding: 3rem 0 3.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-band-inner {
        flex-direction: column;
        text-align: center;
    }

    .map-section iframe {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual img {
        height: 84px;
    }
}

/* ---------- Ограничение анимаций ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

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