/*
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
*/


/* =========================
   Base / Tokens
   ========================= */

/* .crypto-page - корневой класс страницы для переменных фона/цвета */
.crypto-page {
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
    color: var(--crypto-text);
}

:root {
    --crypto-bg: #f7fafc;
    --crypto-surface: #ffffff;
    --crypto-text: #0f172a;
    --crypto-muted: #475569;
    --crypto-border: rgba(15, 23, 42, 0.12);
    --crypto-primary: #5b7cfa;
    --crypto-primary-2: #6ee7ff;
    --crypto-accent: #22c55e;
    --crypto-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    --crypto-radius: 18px;
}

/* html/body базовые отступы и плавная прокрутка для anchor ссылок */
html,
body {
    margin: 0;
    padding: 0;
    background: var(--crypto-bg);
    scroll-behavior: smooth;
}

/* * - простой reset чтобы выравнивать все элементы */
* {
    box-sizing: border-box;
}

/* a - единый стиль ссылок */
a {
    color: inherit;
    text-decoration: none;
}

/* =========================
   Layout / Containers
   ========================= */

/* .crypto-page__container - общий контейнер с максимальной шириной */
.crypto-page__container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* .crypto-page__bg - легкий градиентный фон */
.crypto-page__bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(900px 420px at 20% -10%, rgba(91, 124, 250, 0.18), transparent 60%),
    radial-gradient(700px 380px at 80% 0%, rgba(110, 231, 255, 0.16), transparent 55%),
    radial-gradient(900px 420px at 50% 110%, rgba(34, 197, 94, 0.08), transparent 60%);
}

/* .crypto-anchor - невидимый якорь для корректного скролла со sticky header */
.crypto-anchor {
    display: block;
    width: 100%;
    height: 1px;
    scroll-margin-top: 92px;
}

/* =========================
   Header
   ========================= */

/* .crypto-page__header - фиксированная шапка с тенью */
.crypto-page__header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 250, 252, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* .crypto-page__header-inner - flex-раскладка шапки */
.crypto-page__header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* .crypto-page__brand - блок бренда (иконка + текст) */
.crypto-page__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* .crypto-page__brand-icon - цвет и размер иконки */
.crypto-page__brand-icon {
    color: var(--crypto-primary);
}

/* .crypto-page__brand-text - текст бренда */
.crypto-page__brand-text {
    font-size: 16px;
}

/* .crypto-page__nav - десктопное меню */
.crypto-page__nav {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* .head-menu - стили ссылок шапки (пункты меню через существующие классы) */
.head-menu .menu-item a {
    padding: 10px 10px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--crypto-muted);
    transition: background 180ms ease, color 180ms ease;
}

/* .head-menu .menu-item a:hover - подсветка при наведении */
.head-menu .menu-item a:hover {
    background: rgba(91, 124, 250, 0.08);
    color: var(--crypto-text);
}

/* .head-menu .menu-item a[aria-current="page"] - активный пункт */
.head-menu .menu-item a[aria-current="page"] {
    background: rgba(91, 124, 250, 0.10);
    color: var(--crypto-text);
}

/* .head-menu .menu-item a:focus-visible - доступный фокус */
.head-menu .menu-item a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.25);
}

/* .crypto-page__nav-link - отдельная ссылка меню (оставлено на случай других шаблонов) */
.crypto-page__nav-link {
    padding: 10px 10px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--crypto-muted);
    transition: background 180ms ease, color 180ms ease;
}

/* .crypto-page__nav-link:hover - подсветка при наведении */
.crypto-page__nav-link:hover {
    background: rgba(91, 124, 250, 0.08);
    color: var(--crypto-text);
}

/* .crypto-page__burger - кнопка бургера (только на мобилке) */
.crypto-page__burger {
    display: none;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: var(--crypto-surface);
    border-radius: 14px;
    height: 44px;
    width: 48px;
    cursor: pointer;
}

/* .crypto-page__burger-lines - 3 линии внутри бургера */
.crypto-page__burger-lines {
    display: block;
    width: 20px;
    height: 14px;
    margin: 0 auto;
    position: relative;
}

/* .crypto-page__burger-lines::before/after - верх/низ линий */
.crypto-page__burger-lines::before,
.crypto-page__burger-lines::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--crypto-text);
    border-radius: 2px;
}

.crypto-page__burger-lines::before {
    top: 0;
}

.crypto-page__burger-lines::after {
    bottom: 0;
}

/* .crypto-page__burger-lines (середина) */
.crypto-page__burger-lines {
    background: linear-gradient(var(--crypto-text), var(--crypto-text)) center/100% 2px no-repeat;
}

/* =========================
   Mobile menu
   ========================= */

/* .crypto-page__mobile-menu-overlay - темный оверлей */
.crypto-page__mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

/* .crypto-page__mobile-menu-overlay--open - оверлей в состоянии открыто */
.crypto-page__mobile-menu-overlay--open {
    opacity: 1;
    pointer-events: auto;
}

/* .crypto-page__mobile-menu - панель меню, которая выезжает */
.crypto-page__mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(420px, 100%);
    background: var(--crypto-surface);
    border-left: 1px solid rgba(15, 23, 42, 0.10);
    z-index: 100;
    transform: translateX(18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
}

/* .crypto-page__mobile-menu--open - модификатор (open) */
.crypto-page__mobile-menu--open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* .crypto-page__mobile-menu-panel - внутренний контейнер панели */
.crypto-page__mobile-menu-panel {
    padding: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* .crypto-page__mobile-menu-top - верхняя строка панели */
.crypto-page__mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* .crypto-page__mobile-menu-brand - бренд внутри меню */
.crypto-page__mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

/* .crypto-page__mobile-menu-brand-dot - цветная точка бренда */
.crypto-page__mobile-menu-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--crypto-primary);
}

/* .crypto-page__mobile-menu-brand-text - текст бренда в моб. меню */
.crypto-page__mobile-menu-brand-text {
    font-weight: 800;
    color: var(--crypto-text);
}

/* .crypto-page__mobile-menu-close - кнопка закрытия */
.crypto-page__mobile-menu-close {
    height: 40px;
    width: 40px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: var(--crypto-surface);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

/* .crypto-page__mobile-nav - вертикальное меню ссылок */
.crypto-page__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
}

/* .crypto-page__mobile-nav .crypto-page__nav - переопределяем ul для вертикального меню */
.crypto-page__mobile-nav .crypto-page__nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* .crypto-page__mobile-nav .menu-item - убираем маркеры списка (на всякий случай) */
.crypto-page__mobile-nav .menu-item {
    list-style: none;
}

/* .crypto-page__mobile-nav .menu-item a - ссылки в моб. меню по дизайну */
.crypto-page__mobile-nav .menu-item a {
    display: block;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(91, 124, 250, 0.06);
    border: 1px solid rgba(91, 124, 250, 0.12);
    font-weight: 700;
    color: var(--crypto-text);
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

/* .crypto-page__mobile-nav .menu-item a:hover - hover-состояние для кнопкоподобных ссылок */
.crypto-page__mobile-nav .menu-item a:hover {
    background: rgba(91, 124, 250, 0.10);
    border-color: rgba(91, 124, 250, 0.22);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

/* .crypto-page__mobile-nav-link - ссылки в моб. меню */
.crypto-page__mobile-nav-link {
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(91, 124, 250, 0.06);
    border: 1px solid rgba(91, 124, 250, 0.12);
    font-weight: 700;
    color: var(--crypto-text);
}

/* .crypto-page__mobile-menu-actions - блок кнопок внизу панели */
.crypto-page__mobile-menu-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =========================
   Typography / Sections
   ========================= */

/* .crypto-page__main - основной поток контента */
.crypto-page__main {
    padding-bottom: 40px;
}

/* .crypto-section - общее оформление секций */
.crypto-section {
    padding: 56px 0;
}

/* .crypto-section--hero - hero отличается большим верхним отступом */
.crypto-section--hero {
    padding: 54px 0 44px;
}

/* .crypto-section--final - финальная CTA секция */
.crypto-section--final {
    padding: 64px 0 70px;
}

/* .crypto-section__head - заголовки секции */
.crypto-section__head {
    margin-bottom: 24px;
}

/* .crypto-section__title - общий стиль заголовков H2 */
.crypto-section__title {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* .crypto-section__subtitle - подзаголовок секции */
.crypto-section__subtitle {
    margin: 0;
    color: var(--crypto-muted);
    font-size: 16px;
    line-height: 1.65;
    max-width: 760px;
}

/* .crypto-section__cta - контейнер кнопок/ссылок после блоков */
.crypto-section__cta {
    margin-top: 20px;
}

/* .crypto-link - ссылка с аккуратным видом */
.crypto-link {
    display: inline-block;
    font-weight: 700;
    color: var(--crypto-primary);
    border-bottom: 1px solid rgba(91, 124, 250, 0.35);
    padding-bottom: 2px;
}

/* .crypto-link:hover - усиление при наведении */
.crypto-link:hover {
    color: #3b63ea;
    border-bottom-color: rgba(59, 99, 234, 0.5);
}

/* =========================
   Buttons
   ========================= */

/* .crypto-btn - базовая кнопка */
.crypto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    padding: 0 18px;
    border-radius: 16px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
    user-select: none;
}

/* .crypto-btn:active - легкое нажатие */
.crypto-btn:active {
    transform: translateY(1px);
}

/* .crypto-btn--primary - основная CTA */
.crypto-btn--primary {
    background: linear-gradient(135deg, var(--crypto-primary), #7c5cff);
    color: #fff;
    box-shadow: 0 14px 30px rgba(91, 124, 250, 0.25);
}

/* .crypto-btn--primary:hover - усиление hover */
.crypto-btn--primary:hover {
    box-shadow: 0 18px 38px rgba(91, 124, 250, 0.32);
}

/* .crypto-btn--ghost - вторичная кнопка */
.crypto-btn--ghost {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--crypto-text);
}

/* .crypto-btn--ghost:hover - подсветка */
.crypto-btn--ghost:hover {
    border-color: rgba(91, 124, 250, 0.35);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

/* =========================
   Hero
   ========================= */

/* .crypto-hero__grid - раскладка hero (контент + карточка) */
.crypto-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
    align-items: center;
}

/* .crypto-hero__content - левая часть hero */
.crypto-hero__content {
    padding-right: 8px;
}

/* .crypto-hero__title - большой заголовок */
.crypto-hero__title {
    margin: 0 0 14px;
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

/* .crypto-hero__subtitle - основной текст hero */
.crypto-hero__subtitle {
    margin: 0 0 22px;
    color: var(--crypto-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* .crypto-hero__actions - группа кнопок hero */
.crypto-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

/* .crypto-hero__benefits - список выгод */
.crypto-hero__benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
}

/* .crypto-hero__benefit-item - каждый пункт списка */
.crypto-hero__benefit-item {
    color: var(--crypto-text);
    font-weight: 700;
    font-size: 14px;
    position: relative;
    padding-left: 18px;
}

/* .crypto-hero__benefit-item::before - чек/маркер */
.crypto-hero__benefit-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: rgba(91, 124, 250, 0.25);
    border: 1px solid rgba(91, 124, 250, 0.45);
}

/* .crypto-hero__side - правая часть hero */
.crypto-hero__side {
    display: flex;
    justify-content: flex-end;
}

/* =========================
   Card system
   ========================= */

/* .crypto-card - универсальная карточка */
.crypto-card {
    background: var(--crypto-surface);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: var(--crypto-radius);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    padding: 20px;
}

/* .crypto-card--glow - вариация карточки с подсветкой */
.crypto-card--glow {
    position: relative;
    overflow: hidden;
}

/* .crypto-card--glow::after - мягкое свечение */
.crypto-card--glow::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -110px;
    top: -110px;
    background: radial-gradient(circle at center, rgba(91, 124, 250, 0.28), transparent 60%);
    pointer-events: none;
}

/* .crypto-card__title - заголовок карточки */
.crypto-card__title {
    margin: 0 0 10px;
    font-size: 20px;
}

/* .crypto-card__text - текст карточки */
.crypto-card__text {
    margin: 0 0 14px;
    color: var(--crypto-muted);
    line-height: 1.7;
}

/* .crypto-card__chips - контейнер чипов */
.crypto-card__chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* .crypto-chip - небольшой бейдж */
.crypto-chip {
    font-weight: 800;
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(91, 124, 250, 0.18);
    background: rgba(91, 124, 250, 0.08);
    color: #2f4ee3;
}

/* =========================
   Widget / Form
   ========================= */

/* .crypto-widget - контейнер виджета обмена */
.crypto-widget {
    background: var(--crypto-surface);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 22px;
    box-shadow: var(--crypto-shadow);
    padding: 22px;
}

/* .crypto-widget__header - верхняя часть виджета */
.crypto-widget__header {
    margin-bottom: 18px;
}

/* .crypto-widget__title - заголовок виджета */
.crypto-widget__title {
    margin: 0 0 10px;
    font-size: 28px;
}

/* .crypto-widget__text - текст под заголовком */
.crypto-widget__text {
    margin: 0;
    color: var(--crypto-muted);
    line-height: 1.65;
}

/* .crypto-widget__form - сетка формы */
.crypto-widget__form {
    display: grid;
    grid-template-columns: 1fr 30px 1fr;
    gap: 14px 16px;
    align-items: end;
}

/* .crypto-form-field - контейнер поля */
.crypto-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* .crypto-form-field__label - подпись поля */
.crypto-form-field__label {
    font-weight: 800;
    font-size: 13px;
    color: var(--crypto-text);
}

/* .crypto-form-field__select - стили select */
.crypto-form-field__select {
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #fff;
    padding: 0 14px;
    font-weight: 700;
}

/* .crypto-widget__swap-visual - визуальный блок стрелки */
.crypto-widget__swap-visual {
    display: flex;
    justify-content: center;
}

/* .crypto-widget__arrow - сама стрелка */
.crypto-widget__arrow {
    margin-top: 4px;
    font-weight: 900;
    font-size: 18px;
    color: rgba(15, 23, 42, 0.35);
}

/* .crypto-widget__direction - направление под полями */
.crypto-widget__direction {
    grid-column: 1 / -1;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px dashed rgba(91, 124, 250, 0.35);
    background: rgba(91, 124, 250, 0.06);
    font-weight: 700;
}

/* .crypto-widget__note - заметка под кнопкой */
.crypto-widget__note {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--crypto-muted);
    font-size: 13px;
}

/* =========================
   Grids & Cards (pairs/coins)
   ========================= */

/* .crypto-grid - общий grid */
.crypto-grid {
    display: grid;
    gap: 16px;
}

/* .crypto-grid--4 - 4 колонки */
.crypto-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* .crypto-grid--2 - 2 колонки */
.crypto-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* .crypto-pair-card - карточка пары */
.crypto-pair-card {
    position: relative;
    background: var(--crypto-surface);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}
.crypto-pair-card__title{
    position: relative;
}
/*.crypto-pair-card----link {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    opacity: 0;*/
/*}*/
/* .crypto-pair-card__title - заголовок пары */
.crypto-pair-card__title {
    margin: 0 0 8px;
    font-size: 18px;
}

/* .crypto-pair-card__text - текст пары */
.crypto-pair-card__text {
    margin: 0;
    color: var(--crypto-muted);
    line-height: 1.7;
}

/* .crypto-coin-card - карточка монеты */
.crypto-coin-card {
    background: var(--crypto-surface);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

/* .crypto-coin-card__title - заголовок монеты */
.crypto-coin-card__title {
    margin: 0 0 8px;
    font-size: 18px;
}

/* .crypto-coin-card__text - текст монеты */
.crypto-coin-card__text {
    margin: 0;
    color: var(--crypto-muted);
    line-height: 1.7;
}

/* =========================
   Steps / Why / Info cards
   ========================= */

/* .crypto-steps - контейнер шагов */
.crypto-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* .crypto-step - карточка шага */
.crypto-step {
    background: var(--crypto-surface);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 20px;
    padding: 18px;
}

/* .crypto-step__title - заголовок шага */
.crypto-step__title {
    margin: 0 0 10px;
    font-size: 18px;
}

/* .crypto-step__text - текст шага */
.crypto-step__text {
    margin: 0;
    color: var(--crypto-muted);
    line-height: 1.75;
}

/* .crypto-why - карточка преимущества */
.crypto-why {
    background: var(--crypto-surface);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 20px;
    padding: 18px;
}

/* .crypto-why__title - заголовок преимущества */
.crypto-why__title {
    margin: 0 0 10px;
    font-size: 18px;
}

/* .crypto-why__text - текст преимущества */
.crypto-why__text {
    margin: 0;
    color: var(--crypto-muted);
    line-height: 1.75;
}

/* .crypto-info-card - карточка информации */
.crypto-info-card {
    background: var(--crypto-surface);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 20px;
    padding: 18px;
}

/* .crypto-info-card__title - заголовок инфо-карточки */
.crypto-info-card__title {
    margin: 0 0 10px;
    font-size: 18px;
}

/* .crypto-info-card__text - текст инфо-карточки */
.crypto-info-card__text {
    margin: 0;
    color: var(--crypto-muted);
    line-height: 1.75;
}

/* =========================
   FAQ / Final CTA
   ========================= */

/* .crypto-faq - контейнер вопросов */
.crypto-faq {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

/* .crypto-faq-item - карточка вопроса/ответа */
.crypto-faq-item {
    background: var(--crypto-surface);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 20px;
    padding: 18px;
}

/* .crypto-faq-item__q - вопрос */
.crypto-faq-item__q {
    margin: 0 0 10px;
    font-size: 18px;
}

/* .crypto-faq-item__a - ответ */
.crypto-faq-item__a {
    margin: 0;
    color: var(--crypto-muted);
    line-height: 1.75;
}

/* .crypto-final-cta - контейнер финального CTA */
.crypto-final-cta {
    background: linear-gradient(180deg, rgba(91, 124, 250, 0.08), rgba(255, 255, 255, 0) 60%),
    var(--crypto-surface);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--crypto-shadow);
}

/* .crypto-final-cta__title - заголовок финального CTA */
.crypto-final-cta__title {
    margin: 0 0 12px;
    font-size: 32px;
    letter-spacing: -0.02em;
}

/* .crypto-final-cta__text - текст финального CTA */
.crypto-final-cta__text {
    margin: 0 0 18px;
    color: var(--crypto-muted);
    line-height: 1.75;
    max-width: 820px;
}

/* .crypto-final-cta__actions - кнопки CTA */
.crypto-final-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================
   Footer
   ========================= */

/* .crypto-footer - общий футер */
.crypto-footer {
    padding: 46px 0 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.6);
}

/* .crypto-footer__inner - layout футера (колонки) */
.crypto-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* .crypto-footer__col - колонка футера */
.crypto-footer__col {
    padding: 10px 0;
}

/* .crypto-footer__col .crypto-page__nav - список меню в футере вертикально */
.crypto-footer__col .crypto-page__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

/* .crypto-footer__col .menu-item a - стили ссылок внутри футера */
.crypto-footer__col .menu-item a {
    display: inline-block;
    padding: 6px 0;
    color: var(--crypto-muted);
    font-weight: 700;
    border-radius: 12px;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

/* .crypto-footer__col .menu-item a:hover - подсветка при наведении */
.crypto-footer__col .menu-item a:hover {
    color: var(--crypto-text);
    background: rgba(91, 124, 250, 0.08);
}

/* .crypto-footer__col .menu-item a[aria-current="page"] - активный пункт */
.crypto-footer__col .menu-item a[aria-current="page"] {
    color: var(--crypto-text);
    background: rgba(91, 124, 250, 0.12);
}

/* .crypto-footer__title - заголовок колонки */
.crypto-footer__title {
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--crypto-text);
}

/* .crypto-footer__link - ссылки в футере */
.crypto-footer__link {
    display: block;
    padding: 8px 0;
    color: var(--crypto-muted);
    font-weight: 700;
}

/* .crypto-footer__link:hover - подсветка при hover */
.crypto-footer__link:hover {
    color: var(--crypto-text);
}

/* .crypto-footer__bottom - нижняя строка футера */
.crypto-footer__bottom {
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* .crypto-footer__bottom-inner - выравнивание нижней строки */
.crypto-footer__bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .crypto-footer__copy - текст копирайта */
.crypto-footer__copy {
    color: var(--crypto-muted);
    font-weight: 700;
    font-size: 13px;
}

/* =========================
   Responsive
   ========================= */

/* @media - планшеты */
@media (max-width: 980px) {
    .crypto-hero__grid {
        grid-template-columns: 1fr;
    }

    .crypto-hero__side {
        justify-content: flex-start;
    }

    .crypto-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .crypto-steps {
        grid-template-columns: 1fr;
    }

    .crypto-section__title {
        font-size: 26px;
    }
}

/* @media - мобилки */
@media (max-width: 720px) {
    .crypto-page__container {
        padding: 0 16px;
    }

    /* скрываем только верхнее (header) меню, а футер-меню оставляем видимым */
    .crypto-page__header .head-menu .crypto-page__nav {
        display: none;
    }
    .crypto-section {
        padding: 10px 0;
    }
    .crypto-page__burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .crypto-widget__form {
        grid-template-columns: 1fr;
    }

    .crypto-widget__swap-visual {
        display: none;
    }

    .crypto-hero__benefits {
        grid-template-columns: 1fr;
    }

    .crypto-grid--2 {
        grid-template-columns: 1fr;
    }

    .crypto-grid--4 {
        grid-template-columns: 1fr 1fr;
    }

    .crypto-footer__inner {
        grid-template-columns: 1fr;
    }

    .crypto-final-cta__title {
        font-size: 26px;
    }
}

