/*
Theme Name: Crypto
Description: Тема ETH-Swap.io. Структура и вёрстка — по образцу swapbnb.org; референс интерфейса — Kraken. Палитра: Molten Orange, Magma Black, Volcanic Moss, Ash Grey.
Requires PHP: 7.2
Version: 3.0
*/

/* =====================================================================
   ROOT VARIABLES — палитра Iceland / Fagradalsfjall
   ===================================================================== */
:root {
    --crypto-accent: #ff5900;
    --crypto-accent-dark: #c74300;
    --crypto-accent-soft: rgba(255, 89, 0, 0.13);
    --crypto-navy: #262626;
    --crypto-navy-soft-bg: rgba(38, 38, 38, 0.07);
    --crypto-moss: #739912;
    --crypto-moss-dark: #5a7a0d;
    --crypto-moss-soft: rgba(115, 153, 18, 0.16);
    --crypto-grey: #808080;
    --crypto-bg: #ffffff;
    --crypto-bg-alt: #f6f5f3;
    --crypto-surface: #ffffff;
    --crypto-text: #262626;
    --crypto-text-muted: #6b6b6b;
    --crypto-border: #e4e1dc;
    --crypto-shadow: 0 10px 28px rgba(38, 38, 38, 0.08);
    --crypto-shadow-hover: 0 20px 44px rgba(255, 89, 0, 0.18);
    --crypto-radius: 16px;
    --crypto-section-y: 20px;
    --crypto-container: 1180px;
    --crypto-header-h: 68px;
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--crypto-header-h) + 12px); }
body {
    margin: 0;
    background: var(--crypto-bg);
    color: var(--crypto-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 16px; line-height: 1.25; color: var(--crypto-navy); }
h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; color: var(--crypto-text); }
table { border-collapse: collapse; width: 100%; }
b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--crypto-accent); outline-offset: 2px; }

.container { max-width: var(--crypto-container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.anchor-group { margin-top: calc(var(--crypto-section-y) * 2); }
[id] { scroll-margin-top: calc(var(--crypto-header-h) + 12px); }

/* Ссылки внутри текстовых блоков */
p a, li a {
    color: var(--crypto-accent-dark);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}
p a:hover, li a:hover { color: var(--crypto-accent); }

/* Кнопки */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid var(--crypto-accent);
    background: var(--crypto-accent);
    color: var(--crypto-navy);
    font: inherit;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(255, 89, 0, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.hero .button, .section .button { text-decoration: none; }
.button:hover { background: var(--crypto-navy); border-color: var(--crypto-navy); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(38, 38, 38, 0.3); }

/* Монеты */
.coin { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--crypto-grey); color: #fff; font-weight: 800; font-size: 17px; line-height: 1; }
.coin--eth { background: var(--crypto-navy); }
.coin--btc { background: var(--crypto-accent); color: var(--crypto-navy); }
.coin--usdt { background: var(--crypto-moss); }
.coin--xmr { background: var(--crypto-accent-dark); }
.coin--sol { background: var(--crypto-moss-dark); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--crypto-header-h);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--crypto-border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.site-header__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--crypto-navy); }
.site-header__logo img { height: 36px; width: auto; }
.site-header__logo .coin { transition: transform 0.5s ease; }
.site-header__logo:hover .coin { transform: rotate(360deg); }
.site-header__nav { flex: 1; }
.site-header__nav-list { display: flex; align-items: center; gap: 22px; }
.site-header__nav-list > li > a {
    display: inline-flex; align-items: center; gap: 4px;
    font-weight: 600; font-size: 15px; color: var(--crypto-navy);
    position: relative; padding: 6px 0; transition: color 0.2s ease;
}
.site-header__nav-list > li > a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--crypto-accent); transition: width 0.25s ease; }
.site-header__nav-list > li > a:hover { color: var(--crypto-accent-dark); }
.site-header__nav-list > li > a:hover::after { width: 100%; }
.site-header__nav-list svg { width: 14px; height: 14px; transition: transform 0.25s ease; }

.site-header__dropdown { position: relative; }
.site-header__dropdown:hover svg, .site-header__dropdown:focus-within svg { transform: rotate(180deg); }
.site-header__submenu, .site-header__lang-list {
    position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px;
    background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: 14px; box-shadow: var(--crypto-shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.site-header__dropdown:hover .site-header__submenu, .site-header__dropdown:focus-within .site-header__submenu { opacity: 1; visibility: visible; transform: none; }
.site-header__submenu a, .site-header__lang-list a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; color: var(--crypto-navy); transition: background-color 0.2s ease, color 0.2s ease; }
.site-header__submenu a:hover, .site-header__lang-list a:hover, .site-header__lang-list a.is-current { background: var(--crypto-accent-soft); color: var(--crypto-accent-dark); }

.site-header__right { display: flex; align-items: center; gap: 14px; }
.site-header__lang { position: relative; }
.site-header__lang-toggle { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--crypto-border); border-radius: 999px; background: #fff; color: var(--crypto-navy); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color 0.2s ease; }
.site-header__lang-toggle:hover { border-color: var(--crypto-accent); }
.site-header__lang-toggle svg { width: 16px; height: 16px; }
.site-header__lang-list { left: auto; right: 0; min-width: 170px; }
.site-header__lang:hover .site-header__lang-list, .site-header__lang.is-open .site-header__lang-list { opacity: 1; visibility: visible; transform: none; }
.site-header__cta { padding: 10px 20px; }

.site-header__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; }
.site-header__burger span { display: block; width: 24px; height: 2px; background: var(--crypto-navy); }

/* Мобильное меню (боковая панель) */
.crypto-page__mobile-menu-overlay { position: fixed; inset: 0; background: rgba(20, 20, 20, 0.55); z-index: 200; opacity: 0; transition: opacity 0.25s ease; }
.crypto-page__mobile-menu-overlay--open { opacity: 1; }
.crypto-page__mobile-menu {
    position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 85vw);
    background: var(--crypto-surface); z-index: 201; padding: 24px 20px;
    transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.15);
}
.crypto-page__mobile-menu--open { transform: translateX(0); }
.crypto-page__mobile-menu-close { margin-left: auto; display: block; width: 36px; height: 36px; border: none; background: var(--crypto-bg-alt); border-radius: 50%; font-size: 20px; cursor: pointer; }
.crypto-page__mobile-menu-list { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.crypto-page__mobile-menu-list a { display: block; padding: 12px 8px; font-weight: 700; font-size: 16px; color: var(--crypto-navy); border-bottom: 1px solid var(--crypto-border); }
.crypto-page__mobile-menu-list a:hover { color: var(--crypto-accent-dark); }
.crypto-page__mobile-submenu { padding-left: 14px; }
.crypto-page__mobile-submenu a { font-weight: 500; font-size: 15px; }
.crypto-page__mobile-menu-cta { width: 100%; margin-top: 20px; }
.crypto-page__mobile-menu-langs { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.crypto-page__mobile-menu-langs a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--crypto-border); font-size: 13px; font-weight: 700; color: var(--crypto-text-muted); }
.crypto-page__mobile-menu-langs a.is-current, .crypto-page__mobile-menu-langs a:hover { color: var(--crypto-accent-dark); border-color: var(--crypto-accent); }

/* =====================================================================
   ОБЩИЕ СЕКЦИИ
   ===================================================================== */
.section { padding: calc(var(--crypto-section-y) * 3) 0; }
.section--alt { background: var(--crypto-bg-alt); }
.section__head { max-width: 720px; margin: 0 auto calc(var(--crypto-section-y) * 2); text-align: center; }
.section__head p { color: var(--crypto-text-muted); }
.section__actions { margin-top: var(--crypto-section-y); }
.tool { margin: var(--crypto-section-y) 0; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: calc(var(--crypto-section-y) * 4) 0 calc(var(--crypto-section-y) * 3); overflow: hidden; background:
    radial-gradient(520px 380px at 92% 0%, var(--crypto-accent-soft), transparent 70%),
    radial-gradient(480px 360px at 0% 100%, var(--crypto-moss-soft), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero__content p, .hero__content .reveal + p { font-size: 17px; color: var(--crypto-text-muted); }
.hero__content h1::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 16px; border-radius: 4px; background: linear-gradient(90deg, var(--crypto-accent), var(--crypto-moss)); }
.hero__widget { justify-self: end; width: 100%; min-width: 0; }
.hero__widget > .tool { margin: 0; }
.hero__actions { margin-top: 24px; }
.exchange-widget { display: flex; justify-content: center; border-radius: var(--crypto-radius); overflow: hidden; box-shadow: var(--crypto-shadow); background: var(--crypto-surface); padding: 12px; border: 1px solid var(--crypto-border); transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.exchange-widget:hover { box-shadow: var(--crypto-shadow-hover); border-color: var(--crypto-accent); }
.exchange-widget iframe { width: 100%; max-width: 500px; height: 400px; border: 0; border-radius: 12px; }
.chart-empty { margin: 0; padding: 24px; text-align: center; color: var(--crypto-text-muted); background: var(--crypto-bg-alt); border-radius: 12px; }

/* =====================================================================
   КАРТОЧКИ / ПРЕИМУЩЕСТВА / ШАГИ / ОТЗЫВЫ
   ===================================================================== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 28px; box-shadow: var(--crypto-shadow); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow-hover); border-color: var(--crypto-accent); }
.card + .card { margin-top: var(--crypto-section-y); }
.cards-grid .card + .card { margin-top: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--crypto-accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: transform 0.3s ease, background-color 0.3s ease; }
.card:hover .card__icon { transform: scale(1.1) rotate(-6deg); background: var(--crypto-accent); }
.card__icon svg { width: 26px; height: 26px; color: var(--crypto-accent-dark); transition: color 0.3s ease; }
.card:hover .card__icon svg { color: var(--crypto-navy); }
.card p:last-child, .card > :last-child { margin-bottom: 0; }
.card h2 { font-size: clamp(22px, 3vw, 28px); }

.media-card { overflow: hidden; border-radius: var(--crypto-radius); box-shadow: var(--crypto-shadow); border: 1px solid var(--crypto-border); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.media-card:hover { box-shadow: var(--crypto-shadow-hover); }
.media-card__img { height: 220px; overflow: hidden; }
.media-card__img--tall { height: 340px; }
.media-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s ease; }
.media-card:hover .media-card__img img { transform: scale(1.08); filter: saturate(1.15); }
.reveal--parallax { will-change: transform; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-bottom: var(--crypto-section-y); }
.step { background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 28px 24px; box-shadow: var(--crypto-shadow); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow-hover); border-color: var(--crypto-accent); }
.step__number { width: 40px; height: 40px; border-radius: 50%; background: var(--crypto-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 16px; transition: background-color 0.3s ease, color 0.3s ease; }
.step:hover .step__number { background: var(--crypto-accent); color: var(--crypto-navy); }
.step p { margin: 0; }
.step b { display: block; margin-bottom: 6px; }

.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: var(--crypto-section-y) 0; }
.hero__grid .checklist { grid-template-columns: 1fr; }
.checklist__item { display: flex; gap: 14px; background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 18px; box-shadow: var(--crypto-shadow); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.checklist__item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(115, 153, 18, 0.2); border-color: var(--crypto-moss); }
.checklist__item p { margin: 0; }
.checklist__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--crypto-moss-soft); display: flex; align-items: center; justify-content: center; }
.checklist__icon svg { width: 20px; height: 20px; color: var(--crypto-moss-dark); }

.bullet-list { margin: 0 0 var(--crypto-section-y); padding-left: 0; display: grid; gap: 8px; }
.bullet-list li { position: relative; padding-left: 26px; }
.bullet-list li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 9px; height: 9px; border-radius: 50%; background: var(--crypto-accent); }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.review { background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 24px; box-shadow: var(--crypto-shadow); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.review:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow-hover); border-color: var(--crypto-accent); }
.review__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review__name { font-weight: 700; color: var(--crypto-navy); margin-bottom: 4px; }
.review__stars { display: inline-flex; gap: 2px; color: var(--crypto-accent); }
.review__stars svg { width: 15px; height: 15px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--crypto-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.review p { color: var(--crypto-text-muted); margin: 0; }

/* =====================================================================
   ТАБЛИЦЫ
   ===================================================================== */
.data-table-wrap { overflow-x: auto; border-radius: var(--crypto-radius); box-shadow: var(--crypto-shadow); margin-bottom: var(--crypto-section-y); border: 1px solid var(--crypto-border); }
.data-table { background: var(--crypto-surface); min-width: 480px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--crypto-border); vertical-align: top; }
.data-table thead th { background: var(--crypto-navy); color: #fff; font-weight: 700; }
.data-table tbody tr { transition: background-color 0.2s ease; }
.data-table tbody tr:hover { background: var(--crypto-accent-soft); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* Конвертер */
.converter { overflow-x: auto; border-radius: var(--crypto-radius); box-shadow: var(--crypto-shadow); border: 1px solid var(--crypto-border); }
.converter__table { background: var(--crypto-surface); min-width: 420px; }
.converter__table th, .converter__table td { padding: 14px 18px; text-align: right; border-bottom: 1px solid var(--crypto-border); }
.converter__table th:first-child, .converter__table td:first-child { text-align: left; }
.converter__table thead th { background: var(--crypto-navy); color: #fff; }
.converter__table tbody tr:hover { background: var(--crypto-accent-soft); }
.converter__label { font-weight: 700; color: var(--crypto-navy); }
.converter__table thead .converter__label { color: #fff; }

/* =====================================================================
   КУРС И ГРАФИК (SVG на сервере)
   ===================================================================== */
.rate { background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 24px; box-shadow: var(--crypto-shadow); }
.rate__summary { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.rate__price { font-size: 28px; font-weight: 800; color: var(--crypto-navy); }
.rate__change { font-weight: 700; padding: 4px 10px; border-radius: 999px; font-size: 13px; }
.rate__change--up { color: var(--crypto-moss-dark); background: var(--crypto-moss-soft); }
.rate__change--down { color: #b3261e; background: rgba(179, 38, 30, 0.12); }
.rate__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 16px; }
.rate__stat { padding: 10px 14px; border-radius: 12px; background: var(--crypto-bg-alt); }
.rate__label { display: block; font-size: 13px; color: var(--crypto-text-muted); }
.rate__value { display: block; font-weight: 800; }

.rate__tabs { display: flex; flex-wrap: wrap; }
.rate__tab-input { position: absolute; opacity: 0; pointer-events: none; }
.rate__tab-label { order: -1; padding: 8px 18px; margin: 0 8px 8px 0; border-radius: 999px; background: var(--crypto-bg-alt); color: var(--crypto-text-muted); font-weight: 700; font-size: 14px; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.rate__tab-label:hover { color: var(--crypto-navy); }
.rate__tab-input:checked + .rate__tab-label { background: var(--crypto-accent); color: var(--crypto-navy); }
.rate__tab-input:focus-visible + .rate__tab-label { outline: 3px solid var(--crypto-navy); outline-offset: 2px; }
.rate__panel { display: none; width: 100%; margin-top: 12px; }
.rate__tab-input:checked + .rate__tab-label + .rate__panel { display: block; }

.chart { width: 100%; }
.chart__svg { width: 100%; height: auto; }
.chart__grid { stroke: var(--crypto-border); stroke-width: 1; }
.chart__grid--v { stroke-dasharray: 4 4; }
.chart__label { font-size: 11px; fill: var(--crypto-text-muted); font-family: inherit; }
.chart__area { fill: var(--crypto-accent-soft); stroke: none; }
.chart__line { fill: none; stroke: var(--crypto-accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart__dot { fill: var(--crypto-accent); stroke: #fff; stroke-width: 2; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; }
.faq__item { background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 22px 26px; box-shadow: var(--crypto-shadow); transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease; }
.faq__item:hover { box-shadow: var(--crypto-shadow-hover); transform: translateY(-3px); border-color: var(--crypto-accent); }
.faq__item h3 { margin-bottom: 8px; font-size: 17px; }
.faq__item p { margin: 0; color: var(--crypto-text-muted); }

/* =====================================================================
   ФОРМА
   ===================================================================== */
.form-card { background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 24px; box-shadow: var(--crypto-shadow); }
.form__row { margin-bottom: 16px; }
.form__label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.form__control { width: 100%; padding: 12px 14px; border: 1px solid var(--crypto-border); border-radius: 12px; background: #fff; color: var(--crypto-text); font: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form__control:focus { outline: none; border-color: var(--crypto-accent); box-shadow: 0 0 0 4px var(--crypto-accent-soft); }
textarea.form__control { resize: vertical; }
.form__submit { width: 100%; }
.form__note { margin: 14px 0 0; font-size: 14px; color: var(--crypto-text-muted); }
.form__notice { margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form__notice--ok { background: var(--crypto-moss-soft); color: var(--crypto-moss-dark); }
.form__notice--error { background: rgba(179, 38, 30, 0.12); color: #a0281b; }

/* =====================================================================
   ФУТЕР
   ===================================================================== */
.site-footer { background: var(--crypto-navy); color: rgba(255, 255, 255, 0.82); }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: calc(var(--crypto-section-y) * 3) 20px calc(var(--crypto-section-y) * 2); }
.site-footer__col h3 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { color: rgba(255, 255, 255, 0.72); font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; }
.site-footer__col a:hover { color: var(--crypto-accent); padding-left: 4px; }
.site-footer__col a.is-current { color: var(--crypto-accent); font-weight: 700; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.site-footer__emails { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__emails a { color: rgba(255, 255, 255, 0.72); }
.site-footer__emails a:hover { color: var(--crypto-accent); }
.site-footer__copy { margin: 0; color: rgba(255, 255, 255, 0.6); }

/* =====================================================================
   REVEAL / ANIMATIONS (без JS контент виден)
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .card.is-visible:hover, .js .step.is-visible:hover, .js .review.is-visible:hover, .js .faq__item.is-visible:hover { transform: translateY(-6px); }
.js .checklist__item.is-visible:hover { transform: translateY(-4px); }

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper { padding: calc(var(--crypto-section-y) * 5) 0; text-align: center; background: var(--crypto-bg-alt); }
.error404__code { font-size: clamp(80px, 16vw, 160px); font-weight: 900; line-height: 1; background: linear-gradient(120deg, var(--crypto-accent), var(--crypto-moss)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error404__title { margin-top: 8px; }
.error404__text { color: var(--crypto-text-muted); max-width: 420px; margin: 0 auto 24px; }

/* =====================================================================
   АДАПТИВ
   ===================================================================== */
@media (max-width: 1024px) {
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .site-header__nav-list { gap: 14px; }
}
@media (max-width: 768px) {
    .site-header__nav, .site-header__lang, .site-header__cta { display: none; }
    .site-header__burger { display: flex; }
    .hero { padding: calc(var(--crypto-section-y) * 2) 0; }
    .hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .hero__widget { justify-self: center; }
    .media-card__img--tall { height: 240px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: calc(var(--crypto-section-y) * 2); }
    .section { padding: calc(var(--crypto-section-y) * 2) 0; }
    .checklist { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .button { width: 100%; }
    .card, .step, .review, .faq__item, .rate, .form-card { padding: 20px; }
    .data-table th, .data-table td, .converter__table th, .converter__table td { padding: 10px 12px; font-size: 14px; }
    .exchange-widget iframe { height: 440px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
