/*
Theme Name: Crypto
Theme URI: https://wordpress.org
Author: Orkhan Chichitov
Author URI: https://wordpress.org
Description: A simple and clean WordPress theme for cryptocurrency-related websites. It features a modern design, responsive layout, and customizable options to create a unique online presence for your crypto business or blog.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =====================================================================
   ROOT VARIABLES — палитра по референсу (тёмно-синий текст, индиго
   акцент, белые карточки на тёплом нейтральном фоне)
   ===================================================================== */
:root {
    --crypto-bg: #F2EFE8;
    --crypto-surface: #FFFFFF;
    --crypto-surface-soft: #F7F5EF;
    --crypto-text: #12182B;
    --crypto-text-muted: #5B6478;
    --crypto-border: #E6E1D4;
    --crypto-accent: #4C3FE0;
    --crypto-accent-dark: #372CB0;
    --crypto-accent-soft: rgba(76, 63, 224, .1);
    --crypto-navy: #12182B;
    --crypto-navy-soft: rgba(18, 24, 43, .06);
    --crypto-positive: #189B62;
    --crypto-negative: #DB4C4C;
    --crypto-shadow-sm: 0 8px 24px rgba(18, 24, 43, .08);
    --crypto-shadow-lg: 0 24px 60px rgba(18, 24, 43, .16);
    --crypto-radius-lg: 28px;
    --crypto-radius-md: 18px;
    --crypto-radius-sm: 10px;
    --crypto-section-y: 20px;
    --crypto-hero-gradient: linear-gradient(160deg, #0B1120 0%, #16233D 30%, #2C4360 58%, #6C7F8F 82%, #A99277 100%);
    --crypto-container: 1200px;
}

/* =====================================================================
   RESET
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--crypto-bg);
    color: var(--crypto-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }

.container {
    max-width: var(--crypto-container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, .h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
h2, .h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
h3, .h3 { font-size: clamp(19px, 2.2vw, 22px); font-weight: 700; line-height: 1.3; }
p { color: var(--crypto-text-muted); }

/* =====================================================================
   SECTION RHYTHM
   ===================================================================== */
.section {
    padding: calc(var(--crypto-section-y) * 2.2) 0;
}
.section + .section { border-top: 1px solid var(--crypto-border); }
.section__head {
    max-width: 760px;
    margin: 0 0 calc(var(--crypto-section-y) * 1.4);
}
.section__head h2 { margin-bottom: 12px; }
.section__intro { max-width: 820px; }
.section__intro p + p { margin-top: 14px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(242, 239, 232, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--crypto-border);
}
.site-header__inner {
    max-width: var(--crypto-container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--crypto-navy);
    flex-shrink: 0;
}
.site-header__logo img { height: 36px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu__item { position: relative; }
.nav-menu__item--has-children:hover > .nav-menu__submenu,
.nav-menu__item--has-children:focus-within > .nav-menu__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-menu__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--crypto-navy);
    transition: background .25s ease, color .25s ease;
}
.nav-menu__link:hover { background: var(--crypto-accent-soft); color: var(--crypto-accent); }
.nav-menu__item--has-children > .nav-menu__link::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    opacity: .6;
    transition: transform .25s ease;
}
.nav-menu__item--has-children:hover > .nav-menu__link::after { transform: rotate(225deg); margin-top: 4px; }
.nav-menu__submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    box-shadow: var(--crypto-shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.nav-menu__submenu .nav-menu__link { border-radius: var(--crypto-radius-sm); padding: 10px 12px; }

.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    background: var(--crypto-surface);
    cursor: pointer;
    flex-shrink: 0;
}
.site-header__burger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--crypto-navy);
    transition: transform .3s ease, opacity .3s ease;
}
.site-header__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger.is-active span:nth-child(2) { opacity: 0; }
.site-header__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--crypto-bg);
    padding: 96px 24px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s ease;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__menu { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__menu .nav-menu__link { padding: 14px 16px; border-radius: var(--crypto-radius-sm); }
.mobile-nav__menu .nav-menu__submenu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--crypto-surface-soft);
    display: none; margin: 4px 0 8px 12px;
}
.mobile-nav__menu .nav-menu__item--open > .nav-menu__submenu { display: block; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn--primary { background: var(--crypto-accent); color: #fff; box-shadow: var(--crypto-shadow-sm); }
.btn--primary:hover { background: var(--crypto-accent-dark); transform: translateY(-2px); box-shadow: var(--crypto-shadow-lg); }
.btn--outline { background: var(--crypto-surface); color: var(--crypto-navy); border-color: var(--crypto-border); }
.btn--outline:hover { border-color: var(--crypto-accent); color: var(--crypto-accent); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--crypto-navy); box-shadow: var(--crypto-shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--crypto-shadow-lg); }

/* =====================================================================
   HERO (с виджетом обмена — без фоновой картинки, только градиент)
   ===================================================================== */
.hero {
    position: relative;
    background: var(--crypto-hero-gradient);
    color: #fff;
    border-radius: 0 0 var(--crypto-radius-lg) var(--crypto-radius-lg);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(76,63,224,.35), transparent 45%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    max-width: var(--crypto-container);
    margin: 0 auto;
    padding: 64px 24px 72px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}
.hero__content h1 { color: #fff; margin-bottom: 18px; }
.hero__content p { color: rgba(255, 255, 255, .78); }
.hero__content p + p { margin-top: 14px; }
.hero__note { margin-top: 20px; color: rgba(255, 255, 255, .65); font-size: 14px; }
.hero__widget {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--crypto-radius-md);
    padding: 16px;
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
}
.widget-frame { width: 100%; border-radius: var(--crypto-radius-sm); overflow: hidden; box-shadow: var(--crypto-shadow-lg); background: #fff; }
.widget-frame iframe { display: block; width: 100%; max-width: 500px; border: none; }

/* =====================================================================
   CARDS / GRIDS
   ===================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 20px;
    margin-top: calc(var(--crypto-section-y) * 1.2);
}
.card {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-md);
    padding: 26px;
    box-shadow: var(--crypto-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow-lg); border-color: var(--crypto-accent); }
.card__icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--crypto-accent-soft);
    color: var(--crypto-accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    transition: transform .3s ease;
}
.card:hover .card__icon { transform: scale(1.1) rotate(-4deg); }
.card__title { margin-bottom: 8px; }
.card__text { font-size: 14.5px; }

.card--photo { padding: 0; overflow: hidden; }
.card--photo .card__media { height: 180px; overflow: hidden; }
.card--photo .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card--photo:hover .card__media img { transform: scale(1.08); }
.card--photo .card__body { padding: 22px; }

/* =====================================================================
   MARKET SNAPSHOT
   ===================================================================== */
.snapshot { margin-top: calc(var(--crypto-section-y) * 1.2); }
.snapshot__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.snapshot__item {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 18px;
    box-shadow: var(--crypto-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.snapshot__item:hover { transform: translateY(-4px); box-shadow: var(--crypto-shadow-lg); }
.snapshot__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--crypto-text-muted); }
.snapshot__value { font-size: 20px; font-weight: 800; margin-top: 6px; color: var(--crypto-navy); }
.snapshot__value--up { color: var(--crypto-positive); }
.snapshot__value--down { color: var(--crypto-negative); }
.snapshot__note { margin-top: 12px; font-size: 13px; color: var(--crypto-text-muted); }

/* =====================================================================
   TABLES
   ===================================================================== */
.table-wrap {
    margin-top: calc(var(--crypto-section-y) * 1.2);
    overflow-x: auto;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-md);
    box-shadow: var(--crypto-shadow-sm);
}
.table { min-width: 100%; }
.table th, .table td { padding: 14px 18px; text-align: left; font-size: 14.5px; }
.table th {
    background: var(--crypto-surface-soft);
    color: var(--crypto-navy);
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid var(--crypto-border);
}
.table td { border-bottom: 1px solid var(--crypto-border); color: var(--crypto-text-muted); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--crypto-accent-soft); color: var(--crypto-text); }
.table a { color: var(--crypto-accent); font-weight: 600; }
.table a:hover { text-decoration: underline; }

/* =====================================================================
   RATE CHART (inline SVG)
   ===================================================================== */
.rate-chart {
    margin-top: calc(var(--crypto-section-y) * 1.2);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-md);
    padding: 24px;
    box-shadow: var(--crypto-shadow-sm);
}
.rate-chart__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.rate-chart__title { font-weight: 700; color: var(--crypto-navy); }
.rate-chart__badge { font-size: 13px; color: var(--crypto-text-muted); }
.rate-chart svg { width: 100%; height: auto; display: block; }
.rate-chart__line { fill: none; stroke: var(--crypto-accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.rate-chart__area { fill: url(#rateChartGradient); opacity: .5; }
.rate-chart__price-label { font-size: 12px; fill: var(--crypto-navy); font-weight: 700; }
.rate-chart__point { fill: var(--crypto-accent); stroke: #fff; stroke-width: 2; }
.rate-chart__value-label { font-size: 11.5px; fill: var(--crypto-accent-dark); font-weight: 700; }
.rate-chart__axis-line { stroke: var(--crypto-border); stroke-width: 1; }
.rate-chart__axis-date { font-size: 11px; fill: var(--crypto-text-muted); font-weight: 600; }

/* =====================================================================
   STEPS (нумерованный процесс)
   ===================================================================== */
.steps { margin-top: calc(var(--crypto-section-y) * 1.2); display: flex; flex-direction: column; gap: 16px; }
.steps__item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-md);
    padding: 20px 22px;
    box-shadow: var(--crypto-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.steps__item:hover { transform: translateX(6px); box-shadow: var(--crypto-shadow-lg); }
.steps__number {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--crypto-navy);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px;
}
.steps__title { margin-bottom: 6px; }
.steps__text { font-size: 14.5px; }

/* =====================================================================
   CHECKLIST (XMR Swap Preflight)
   ===================================================================== */
.checklist {
    margin-top: calc(var(--crypto-section-y) * 1.2);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-md);
    padding: 26px;
    box-shadow: var(--crypto-shadow-sm);
}
.checklist__progress-track { height: 10px; border-radius: 999px; background: var(--crypto-surface-soft); overflow: hidden; margin-bottom: 20px; border: 1px solid var(--crypto-border); }
.checklist__progress-bar { height: 100%; width: 0%; background: var(--crypto-accent); border-radius: 999px; transition: width .4s ease; }
.checklist__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-weight: 700; color: var(--crypto-navy); }
.checklist__count { color: var(--crypto-accent); }
.checklist__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.checklist__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: var(--crypto-radius-sm);
    border: 1px solid var(--crypto-border);
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease;
    user-select: none;
}
.checklist__item:hover { border-color: var(--crypto-accent); }
.checklist__box {
    width: 22px; height: 22px;
    border-radius: 6px;
    border: 2px solid var(--crypto-border);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, border-color .2s ease;
}
.checklist__box svg { opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .2s ease; width: 12px; height: 12px; }
.checklist__item.is-checked { background: var(--crypto-accent-soft); border-color: var(--crypto-accent); }
.checklist__item.is-checked .checklist__box { background: var(--crypto-accent); border-color: var(--crypto-accent); }
.checklist__item.is-checked .checklist__box svg { opacity: 1; transform: scale(1); }
.checklist__label { font-size: 14.5px; font-weight: 600; }
.checklist__complete {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--crypto-radius-sm);
    background: rgba(24, 155, 98, .1);
    color: var(--crypto-positive);
    font-weight: 700;
    text-align: center;
    display: none;
}
.checklist__complete.is-visible { display: block; }

/* =====================================================================
   FAQ ACCORDION
   ===================================================================== */
.faq { margin-top: calc(var(--crypto-section-y) * 1.2); display: flex; flex-direction: column; gap: 12px; }
.faq__item {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 4px 22px;
    box-shadow: var(--crypto-shadow-sm);
    transition: box-shadow .3s ease;
}
.faq__item:hover { box-shadow: var(--crypto-shadow-lg); }
.faq__question {
    list-style: none;
    padding: 18px 30px 18px 0;
    position: relative;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: var(--crypto-navy);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
    content: '+';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--crypto-accent);
    transition: transform .3s ease;
}
.faq__item[open] .faq__question::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer { padding: 0 0 20px; font-size: 14.5px; color: var(--crypto-text-muted); }

/* =====================================================================
   RELATED LINKS
   ===================================================================== */
.related { margin-top: calc(var(--crypto-section-y) * 1.2); }
.related__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.related__group-title { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--crypto-text-muted); margin-bottom: 10px; }
.related__list { display: flex; flex-direction: column; gap: 8px; }
.related__list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--crypto-navy);
    transition: color .25s ease, transform .25s ease;
}
.related__list a:hover { color: var(--crypto-accent); transform: translateX(4px); }

/* =====================================================================
   BADGES / LIST-CHECK
   ===================================================================== */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--crypto-surface-soft);
    border: 1px solid var(--crypto-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--crypto-navy);
}
.list-check { margin-top: calc(var(--crypto-section-y) * 1.1); display: flex; flex-direction: column; gap: 10px; }
.list-check li {
    display: flex; align-items: flex-start; gap: 12px;
    color: var(--crypto-text-muted);
    font-size: 15px;
}
.list-check li svg { flex-shrink: 0; margin-top: 3px; color: var(--crypto-accent); }

/* =====================================================================
   COMPARE TABLE (fixed/floating) reuses .table-wrap styles above */

/* =====================================================================
   CTA BLOCK
   ===================================================================== */
.cta {
    margin-top: calc(var(--crypto-section-y) * 1.2);
    background: var(--crypto-hero-gradient);
    border-radius: var(--crypto-radius-lg);
    padding: 40px;
    text-align: center;
    color: #fff;
}
.cta a.btn { margin-top: 18px; }

/* =====================================================================
   ICON BLOCK (текст + иконка в ряд)
   ===================================================================== */
.icon-row { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; }
.icon-row__icon {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 12px;
    background: var(--crypto-navy-soft);
    color: var(--crypto-navy);
    display: flex; align-items: center; justify-content: center;
}

/* =====================================================================
   CALCULATOR (xmr-swap-rate-calculator)
   ===================================================================== */
.calculator {
    margin-top: calc(var(--crypto-section-y) * 1.2);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-md);
    padding: 26px;
    box-shadow: var(--crypto-shadow-sm);
}
.calculator__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; }
.calculator__field { display: flex; flex-direction: column; gap: 8px; }
.calculator__field label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--crypto-text-muted); }
.calculator__field input, .calculator__field select {
    padding: 13px 16px;
    border-radius: var(--crypto-radius-sm);
    border: 1px solid var(--crypto-border);
    font-size: 15px;
    font-weight: 600;
    color: var(--crypto-navy);
    background: var(--crypto-surface-soft);
}
.calculator__field input:focus, .calculator__field select:focus { outline: none; border-color: var(--crypto-accent); }
.calculator__swap {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface-soft);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: transform .3s ease, background .3s ease;
}
.calculator__swap:hover { background: var(--crypto-accent); color: #fff; transform: rotate(180deg); }
.calculator__result { margin-top: 16px; font-size: 14px; color: var(--crypto-text-muted); }
.calculator__result strong { color: var(--crypto-navy); font-size: 18px; }

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper { padding: 120px 0; }
.error404__inner { text-align: center; }
.error404__code { font-size: clamp(90px, 16vw, 180px); font-weight: 900; color: var(--crypto-accent); line-height: 1; }
.error404__title { margin-top: 12px; }
.error404__text { margin: 14px auto 0; max-width: 460px; }
.error404__actions { margin-top: 28px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--crypto-navy); color: rgba(255, 255, 255, .78); margin-top: 60px; }
.site-footer__inner { max-width: var(--crypto-container); margin: 0 auto; padding: 56px 24px 28px; }
.site-footer__columns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.site-footer__title { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer__list { display: flex; flex-direction: column; gap: 10px; }
.site-footer__list a { font-size: 14px; transition: color .25s ease, transform .25s ease; display: inline-block; }
.site-footer__list a:hover { color: #fff; transform: translateX(3px); }
.site-footer__bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

/* =====================================================================
   SCROLL REVEAL / ANIMATIONS
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--scale { transform: translateY(0) scale(.94); }
.reveal--scale.is-visible { transform: scale(1); }
.parallax-img { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   ADAPTIVE — 768px
   ===================================================================== */
@media screen and (max-width: 768px) {
    .site-header__burger { display: flex; }
    .site-header .nav-menu { display: none; }
    .mobile-nav { display: block; }

    .hero__inner { grid-template-columns: 1fr; padding: 44px 20px 48px; }
    .hero__widget { order: -1; }

    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .snapshot__grid { grid-template-columns: repeat(3, 1fr); }
    .checklist__list { grid-template-columns: 1fr; }
    .calculator__row { grid-template-columns: 1fr; }
    .calculator__swap { justify-self: center; transform: rotate(90deg); }
    .steps__item { grid-template-columns: 44px 1fr; padding: 16px; }
    .steps__number { width: 44px; height: 44px; font-size: 15px; }

    .site-footer__columns { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}

/* =====================================================================
   ADAPTIVE — 480px
   ===================================================================== */
@media screen and (max-width: 480px) {
    .container { padding: 0 16px; }
    .cards-grid { grid-template-columns: 1fr; }
    .snapshot__grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__columns { grid-template-columns: 1fr; }
    .related__groups { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
