/*
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 — палитра «Forest & Copper» (тёмно-зелёный, коричневый, песочный)
   ===================================================================== */
:root {
    --crypto-bg: #132a1d;
    --crypto-bg-alt: #183524;
    --crypto-bg-deep: #0d1f15;
    --crypto-surface: #1f4430;
    --crypto-surface-2: #265039;
    --crypto-leaf: #6f9a45;
    --crypto-leaf-dark: #45702e;
    --crypto-brown: #6e3d20;
    --crypto-brown-dark: #4a2814;
    --crypto-sand: #dbb88c;
    --crypto-sand-dark: #c49b6c;
    --crypto-cream: #f3e7d3;
    --crypto-ink: #3a2210;
    --crypto-accent: #d08a4a;
    --crypto-accent-dark: #b06f33;
    --crypto-accent-soft: rgba(208, 138, 74, 0.18);
    --crypto-text: #f3e9d8;
    --crypto-text-muted: #c2b398;
    --crypto-border: rgba(243, 233, 216, 0.14);
    --crypto-shadow: 0 14px 34px rgba(5, 15, 9, 0.45);
    --crypto-shadow-hover: 0 24px 52px rgba(5, 15, 9, 0.62);
    --crypto-radius: 22px;
    --crypto-radius-sm: 14px;
    --crypto-section-y: 22px;
    --crypto-container: 1200px;
    --crypto-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(111, 154, 69, 0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(110, 61, 32, 0.22), transparent 60%),
        var(--crypto-bg);
    color: var(--crypto-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -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 { margin: 0 0 16px; line-height: 1.22; color: var(--crypto-cream); }
h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.01em; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; color: var(--crypto-text); }
p:last-child { margin-bottom: 0; }
b { color: var(--crypto-cream); }
table { border-collapse: collapse; width: 100%; }
svg { display: block; }

.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;
}

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

/* Кнопки */
.btn, .button, .cta__action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    color: var(--crypto-ink);
    background: linear-gradient(135deg, var(--crypto-sand) 0%, var(--crypto-accent) 100%);
    box-shadow: 0 12px 28px rgba(208, 138, 74, 0.32);
    transition: transform 0.3s var(--crypto-ease), box-shadow 0.3s var(--crypto-ease), filter 0.3s ease;
}
.btn:hover, .button:hover, .cta__action a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(208, 138, 74, 0.45);
    filter: brightness(1.06);
}
.cta__action { margin-top: 26px; }
.cta__action a::after {
    content: "→";
    font-size: 18px;
    transition: transform 0.3s var(--crypto-ease);
}
.cta__action a:hover::after { transform: translateX(5px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 31, 21, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--crypto-border);
}
.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 20px;
}
.site-header__logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--crypto-cream);
}
.site-header__logo > a::after { content: ""; position: absolute; inset: 0; }
.site-header__logo-img { height: 36px; width: auto; }
.site-header__logo-mark {
    display: inline-flex;
    width: 38px;
    height: 38px;
    padding: 7px;
    border-radius: 50%;
    color: var(--crypto-ink);
    background: linear-gradient(135deg, var(--crypto-sand), var(--crypto-accent));
    transition: transform 0.5s var(--crypto-ease);
}
.site-header__logo:hover .site-header__logo-mark { transform: rotate(-12deg) scale(1.08); }

.site-nav__list { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav__list > li > a {
    position: relative;
    display: block;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    color: var(--crypto-text-muted);
    transition: color 0.2s ease, background-color 0.2s ease;
}
.site-nav__list > li > a:hover { color: var(--crypto-cream); background: var(--crypto-accent-soft); }

.site-header__right { display: flex; align-items: center; gap: 12px; }

/* Переключатель языков (Polylang) */
.lang-switch { position: relative; }
.lang-switch__current {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--crypto-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--crypto-sand);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lang-switch__current::-webkit-details-marker { display: none; }
.lang-switch__current::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s ease;
}
.lang-switch[open] .lang-switch__current::after { transform: translateY(1px) rotate(-135deg); }
.lang-switch__current:hover { border-color: var(--crypto-accent); background: var(--crypto-accent-soft); }
.lang-switch__list {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 180px;
    padding: 8px;
    border-radius: var(--crypto-radius-sm);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    animation: crypto-drop 0.25s var(--crypto-ease);
}
.lang-switch__item > a {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--crypto-text-muted);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.lang-switch__item > a:hover,
.lang-switch__item--current > a { background: var(--crypto-accent-soft); color: var(--crypto-cream); }

/* Бургер */
.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--crypto-border);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}
.site-header__burger-line {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--crypto-cream);
    transition: transform 0.3s var(--crypto-ease), opacity 0.2s ease;
}
.site-header--open .site-header__burger-line:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.site-header--open .site-header__burger-line:nth-child(3) { opacity: 0; }
.site-header--open .site-header__burger-line:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   ОБЩИЕ СЕКЦИИ
   ===================================================================== */
.section { padding: calc(var(--crypto-section-y) * 3.4) 0; position: relative; }
.section--alt {
    background:
        radial-gradient(700px 360px at 100% 0%, rgba(110, 61, 32, 0.25), transparent 70%),
        var(--crypto-bg-alt);
}
.section__head { max-width: 760px; margin: 0 auto calc(var(--crypto-section-y) * 1.8); text-align: center; }
.section__head p { color: var(--crypto-text-muted); }
.section__head--left { text-align: left; margin-left: 0; }
.section__icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    padding: 13px;
    margin-bottom: 16px;
    border-radius: 16px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    border: 1px solid rgba(208, 138, 74, 0.35);
    transition: transform 0.4s var(--crypto-ease);
}
.split__content:hover .section__icon,
.section__head:hover .section__icon { transform: rotate(-8deg) scale(1.08); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--top { align-items: stretch; margin-bottom: calc(var(--crypto-section-y) * 1.2); }
.split__content p { color: var(--crypto-text); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative;
    padding: calc(var(--crypto-section-y) * 4) 0 calc(var(--crypto-section-y) * 3.6);
    overflow: hidden;
    background:
        radial-gradient(600px 420px at 12% 20%, rgba(111, 154, 69, 0.30), transparent 70%),
        radial-gradient(520px 380px at 90% 90%, rgba(110, 61, 32, 0.45), transparent 70%),
        linear-gradient(160deg, #183a27 0%, var(--crypto-bg) 70%);
}
.hero::before, .hero::after {
    content: "";
    position: absolute;
    border-radius: 0 100% 0 100%;
    pointer-events: none;
    opacity: 0.35;
    animation: crypto-leaf 14s ease-in-out infinite alternate;
}
.hero::before {
    width: 260px; height: 260px; left: -70px; top: 30px;
    background: linear-gradient(135deg, var(--crypto-leaf), var(--crypto-leaf-dark));
}
.hero::after {
    width: 200px; height: 200px; right: 38%; bottom: -90px;
    background: linear-gradient(135deg, var(--crypto-sand), var(--crypto-brown));
    animation-delay: -6s;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero__content p { font-size: 18px; color: var(--crypto-text-muted); max-width: 560px; }
.hero__badge {
    display: inline-flex;
    width: 64px;
    height: 64px;
    padding: 14px;
    margin-bottom: 20px;
    border-radius: 20px;
    color: var(--crypto-ink);
    background: linear-gradient(135deg, var(--crypto-sand), var(--crypto-accent));
    box-shadow: 0 14px 30px rgba(208, 138, 74, 0.35);
    animation: crypto-float 5s ease-in-out infinite;
}
.hero__widget { justify-self: end; width: 100%; max-width: 520px; }
.exchange-widget {
    padding: 12px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-cream);
    box-shadow: var(--crypto-shadow);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.exchange-widget:hover { transform: translateY(-4px); box-shadow: var(--crypto-shadow-hover); }
.exchange-widget iframe { display: block; width: 100%; height: 400px; border: 0; border-radius: 14px; background: #fff; }

/* =====================================================================
   КАРТИНКИ, ФИЧИ, ЗАМЕТКИ
   ===================================================================== */
.media-card {
    position: relative;
    border-radius: var(--crypto-radius);
    overflow: hidden;
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    transition: transform 0.45s var(--crypto-ease), box-shadow 0.45s var(--crypto-ease);
}
.media-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(13, 31, 21, 0.55));
    pointer-events: none;
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow-hover); }
.media-card__img { height: 400px; overflow: hidden; }
.media-card--tall .media-card__img { height: 100%; min-height: 420px; }
.media-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(var(--parallax-shift, 0)) scale(1.12);
    transition: transform 0.8s var(--crypto-ease), filter 0.5s ease;
}
.media-card:hover .media-card__img img { transform: translateY(var(--parallax-shift, 0)) scale(1.2); filter: saturate(1.15); }

.feature {
    display: flex;
    gap: 18px;
    padding: 24px;
    margin-top: 18px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    transition: transform 0.35s var(--crypto-ease), box-shadow 0.35s var(--crypto-ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--crypto-shadow-hover); }
.feature--brown { background: linear-gradient(150deg, var(--crypto-brown) 0%, var(--crypto-brown-dark) 100%); }
.feature__icon, .note__icon, .legal__icon, .faq__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 14px;
    color: var(--crypto-ink);
    background: linear-gradient(135deg, var(--crypto-sand), var(--crypto-accent));
    transition: transform 0.4s var(--crypto-ease);
}
.feature:hover .feature__icon, .note:hover .note__icon,
.legal__item:hover .legal__icon, .faq__item:hover .faq__icon { transform: rotate(-10deg) scale(1.1); }
.feature__body h3 { margin-bottom: 10px; }

.note {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 24px;
    border-radius: var(--crypto-radius);
    background: linear-gradient(150deg, rgba(110, 61, 32, 0.55), rgba(74, 40, 20, 0.55));
    border: 1px solid rgba(219, 184, 140, 0.22);
    border-left: 4px solid var(--crypto-accent);
    transition: transform 0.35s var(--crypto-ease);
}
.note:hover { transform: translateX(4px); }

/* =====================================================================
   ТАБЛИЦЫ
   ===================================================================== */
.data-table-wrap {
    overflow-x: auto;
    border-radius: var(--crypto-radius);
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface);
    box-shadow: var(--crypto-shadow);
}
.data-table th, .data-table td { padding: 16px 18px; text-align: left; vertical-align: top; font-size: 15px; }
.data-table th {
    background: var(--crypto-brown);
    color: var(--crypto-sand);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.data-table td { border-top: 1px solid var(--crypto-border); color: var(--crypto-text); }
.data-table tbody tr { transition: background-color 0.25s ease; }
.data-table tbody tr:hover { background: rgba(208, 138, 74, 0.08); }
.data-table__wallet { white-space: nowrap; }
.data-table__icon { display: inline-flex; vertical-align: middle; width: 30px; height: 30px; padding: 6px; margin-right: 10px; border-radius: 9px; color: var(--crypto-accent); background: var(--crypto-accent-soft); transition: transform 0.3s var(--crypto-ease); }
.data-table tbody tr:hover .data-table__icon { transform: scale(1.12) rotate(-6deg); }
.data-table td > a { color: var(--crypto-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.data-table td > a:hover { color: var(--crypto-sand); }

/* =====================================================================
   КАРТОЧКИ
   ===================================================================== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
    position: relative;
    padding: 30px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    overflow: hidden;
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -60px;
    top: -60px;
    border-radius: 0 100% 0 100%;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.6s var(--crypto-ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--crypto-shadow-hover); }
.card:hover::before { transform: rotate(40deg) scale(1.2); }
.card--leaf { background: linear-gradient(160deg, var(--crypto-leaf) 0%, var(--crypto-leaf-dark) 100%); }
.card--brown { background: linear-gradient(160deg, #7c4524 0%, var(--crypto-brown-dark) 100%); }
.card--sand { background: linear-gradient(160deg, #e6c8a0 0%, var(--crypto-sand-dark) 100%); }
.card--sand h3, .card--sand p { color: var(--crypto-ink); }
.card__icon {
    position: relative;
    display: inline-flex;
    width: 56px;
    height: 56px;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--crypto-cream);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    transition: transform 0.4s var(--crypto-ease);
}
.card:hover .card__icon { transform: scale(1.12) rotate(-8deg); }
.card--sand .card__icon { color: var(--crypto-brown); background: rgba(58, 34, 16, 0.12); }
.card--media .card__img { margin: -30px -30px 0; height: 230px; overflow: hidden; }
.card--media .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--crypto-ease); }
.card--media:hover .card__img img { transform: scale(1.08); }
.card--media .card__icon {
    margin-top: -28px;
    color: var(--crypto-ink);
    background: linear-gradient(135deg, var(--crypto-sand), var(--crypto-accent));
}

/* =====================================================================
   ГРАФИК КУРСА (.chart*, .rate*)
   ===================================================================== */
.chart-card {
    padding: 28px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    transition: box-shadow 0.35s ease;
}
.chart-card:hover { box-shadow: var(--crypto-shadow-hover); }
.rate__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 22px; }
.rate__stat {
    padding: 14px 16px;
    border-radius: var(--crypto-radius-sm);
    background: rgba(13, 31, 21, 0.45);
    border: 1px solid var(--crypto-border);
    transition: transform 0.3s var(--crypto-ease), border-color 0.3s ease;
}
.rate__stat:hover { transform: translateY(-3px); border-color: var(--crypto-accent); }
.rate__stat dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--crypto-text-muted); }
.rate__stat dd { margin: 4px 0 0; font-size: 20px; font-weight: 800; color: var(--crypto-cream); }
.rate__stat dd.rate__change--up { color: #9cd06a; }
.rate__stat dd.rate__change--down { color: #ef8a6a; }
.chart__svg { width: 100%; height: auto; overflow: visible; }
.chart__grid { stroke: var(--crypto-border); stroke-width: 1; }
.chart__grid--v { stroke-dasharray: 4 5; }
.chart__label { fill: var(--crypto-text-muted); font-size: 11px; font-family: inherit; }
.chart__area { fill: var(--crypto-accent-soft); }
.chart__line {
    fill: none;
    stroke: var(--crypto-accent);
    stroke-width: 2.4;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 2400;
    stroke-dashoffset: 0;
    animation: crypto-draw 2.2s var(--crypto-ease) both;
}
.chart__dot { fill: var(--crypto-sand); stroke: var(--crypto-bg); stroke-width: 2; animation: crypto-pulse 2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.chart-empty {
    padding: 24px;
    border-radius: var(--crypto-radius-sm);
    border: 1px dashed var(--crypto-border);
    text-align: center;
    color: var(--crypto-text-muted);
}

/* =====================================================================
   ШАГИ
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
    position: relative;
    padding: 28px 24px 24px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    counter-increment: step;
    color: var(--crypto-text);
    transition: transform 0.35s var(--crypto-ease), box-shadow 0.35s var(--crypto-ease), border-color 0.35s ease;
}
.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 34px;
    font-weight: 800;
    color: rgba(219, 184, 140, 0.22);
    transition: color 0.35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow-hover); border-color: rgba(208, 138, 74, 0.5); }
.step:hover::before { color: var(--crypto-accent); }
.step__icon {
    display: flex;
    width: 50px;
    height: 50px;
    padding: 13px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--crypto-cream);
    background: linear-gradient(135deg, var(--crypto-leaf), var(--crypto-leaf-dark));
}

/* =====================================================================
   О СЕРВИСЕ И КОНТАКТЫ, ФОРМА
   ===================================================================== */
.about-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.card--form .card__icon { color: var(--crypto-ink); background: linear-gradient(135deg, var(--crypto-sand), var(--crypto-accent)); }

.contact-form { margin-top: 22px; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form__field { margin: 0; }
.contact-form__field--wide { grid-column: 1 / -1; }
.contact-form__field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--crypto-sand); }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid var(--crypto-border);
    background: rgba(13, 31, 21, 0.55);
    color: var(--crypto-text);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--crypto-accent);
    box-shadow: 0 0 0 3px var(--crypto-accent-soft);
}
.contact-form__privacy { margin: 14px 0 18px; font-size: 13px; color: var(--crypto-text-muted); }
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__notice { padding: 12px 16px; margin-bottom: 16px; border-radius: 12px; font-weight: 600; }
.contact-form__notice--ok { background: rgba(111, 154, 69, 0.25); border: 1px solid var(--crypto-leaf); }
.contact-form__notice--error { background: rgba(239, 138, 106, 0.15); border: 1px solid #ef8a6a; }

/* =====================================================================
   ОТЗЫВЫ
   ===================================================================== */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.review {
    padding: 26px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    transition: transform 0.35s var(--crypto-ease), box-shadow 0.35s var(--crypto-ease);
}
.review:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--crypto-shadow-hover); }
.review__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review__avatar {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 18px;
    color: var(--crypto-cream);
    background: linear-gradient(135deg, var(--crypto-brown), var(--crypto-accent));
    transition: transform 0.4s var(--crypto-ease);
}
.review:hover .review__avatar { transform: scale(1.1); }
.review__name { margin: 0; }
.review__name b { color: var(--crypto-sand); }
.review > p { color: var(--crypto-text-muted); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.faq__item {
    display: flex;
    gap: 18px;
    padding: 22px 24px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    transition: transform 0.35s var(--crypto-ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.faq__item:hover { transform: translateX(6px); border-color: rgba(208, 138, 74, 0.5); box-shadow: var(--crypto-shadow); }
.faq__body h3 { font-size: 18px; margin-bottom: 8px; }
.faq__body p { color: var(--crypto-text-muted); }

/* =====================================================================
   ЮРИДИЧЕСКИЕ СТРАНИЦЫ
   ===================================================================== */
.page-hero {
    padding: calc(var(--crypto-section-y) * 3.4) 0 calc(var(--crypto-section-y) * 2);
    background:
        radial-gradient(520px 360px at 10% 10%, rgba(111, 154, 69, 0.25), transparent 70%),
        linear-gradient(160deg, #183a27 0%, var(--crypto-bg) 80%);
}
.page-hero p { font-size: 18px; color: var(--crypto-text-muted); }
.page-hero .media-card__img { height: 340px; }
.legal { display: grid; gap: 20px; max-width: 960px; }
.legal__item {
    display: flex;
    gap: 20px;
    padding: 28px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    transition: transform 0.35s var(--crypto-ease), box-shadow 0.35s var(--crypto-ease);
}
.legal__item:nth-child(even) { background: linear-gradient(150deg, rgba(110, 61, 32, 0.6), rgba(74, 40, 20, 0.6)); }
.legal__item:hover { transform: translateY(-4px); box-shadow: var(--crypto-shadow-hover); }
.legal__body h2 { font-size: clamp(21px, 2.6vw, 26px); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    margin-top: 0;
    padding: calc(var(--crypto-section-y) * 2.6) 0 calc(var(--crypto-section-y) * 1.2);
    background: var(--crypto-bg-deep);
    border-top: 1px solid var(--crypto-border);
}
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: start;
    font-weight: 800;
    font-size: 20px;
    color: var(--crypto-cream);
}
.site-footer__brand > a::after { content: ""; position: absolute; inset: 0; }
.site-footer__brand-mark {
    display: inline-flex;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 50%;
    color: var(--crypto-ink);
    background: linear-gradient(135deg, var(--crypto-sand), var(--crypto-accent));
}
.site-footer__title {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--crypto-sand);
}
.footer-menu { display: grid; gap: 8px; }
.footer-menu > li > a {
    position: relative;
    font-size: 15px;
    color: var(--crypto-text-muted);
    transition: color 0.2s ease, padding-left 0.25s var(--crypto-ease);
}
.footer-menu > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--crypto-accent);
    transition: width 0.25s var(--crypto-ease);
}
.footer-menu > li > a:hover { color: var(--crypto-cream); padding-left: 14px; }
.footer-menu > li > a:hover::before { width: 8px; }
.footer-menu__item--current > a { color: var(--crypto-accent); }
.site-footer__bottom {
    margin-top: calc(var(--crypto-section-y) * 1.8);
    padding-top: 18px;
    border-top: 1px solid var(--crypto-border);
    font-size: 14px;
    color: var(--crypto-text-muted);
}

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper { padding: calc(var(--crypto-section-y) * 6) 0; text-align: center; }
.error404__code {
    font-size: clamp(96px, 18vw, 180px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--crypto-sand), var(--crypto-accent), var(--crypto-leaf));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.error404__text { color: var(--crypto-text-muted); }
.error404__actions { margin-top: 24px; }

/* =====================================================================
   АНИМАЦИИ
   ===================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--crypto-ease), transform 0.8s var(--crypto-ease);
}
/* Специфичность .is-visible ниже, чем у :hover карточек, — hover-подъём не перебивается */
.is-visible { opacity: 1; transform: none; }

@keyframes crypto-leaf {
    from { transform: rotate(-10deg) translateY(0); }
    to { transform: rotate(14deg) translateY(-24px); }
}
@keyframes crypto-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes crypto-draw {
    from { stroke-dashoffset: 2400; }
    to { stroke-dashoffset: 0; }
}
@keyframes crypto-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}
@keyframes crypto-drop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   АДАПТИВ
   ===================================================================== */
@media (max-width: 1024px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .rate__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .site-header__burger { display: flex; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: var(--crypto-bg-deep);
        border-bottom: 1px solid var(--crypto-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        transition: max-height 0.4s var(--crypto-ease), opacity 0.3s ease;
    }
    .site-header--open .site-nav { max-height: 520px; opacity: 1; }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; }
    .site-nav__list > li > a { padding: 13px 14px; border-radius: 12px; font-size: 16px; color: var(--crypto-cream); }
}

@media (max-width: 768px) {
    :root { --crypto-section-y: 18px; }
    .hero__grid, .split, .about-contact { grid-template-columns: 1fr; gap: 28px; }
    .hero__widget { justify-self: stretch; max-width: none; }
    .split--reverse > .media-card { order: 2; }
    .media-card__img, .page-hero .media-card__img { height: 280px; }
    .media-card--tall .media-card__img { min-height: 280px; }
    .section__head--left { text-align: left; }
    .steps { grid-template-columns: 1fr; }
    .contact-form__grid { grid-template-columns: 1fr; }
    .data-table__wallet { white-space: normal; }
    .card, .legal__item { padding: 24px; }
    .card--media .card__img { margin: -24px -24px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .site-header__inner { padding: 12px 16px; gap: 12px; }
    .site-header__logo { font-size: 17px; }
    .hero { padding-top: calc(var(--crypto-section-y) * 2.6); }
    .hero__content p, .page-hero p { font-size: 16px; }
    .exchange-widget { padding: 8px; }
    .rate__stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .rate__stat dd { font-size: 17px; }
    .chart-card { padding: 16px; }
    .feature, .legal__item, .faq__item, .note { flex-direction: column; gap: 14px; padding: 22px; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .cta__action a { width: 100%; }
}
