/*
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 & Ember palette (source: предоставленный референс-макет)
   ===================================================================== */
:root {
    /* базовые цвета */
    --crypto-bg: #FBFAF6;
    --crypto-bg-soft: #F3EFE6;
    --crypto-sage: #CBD2C4;
    --crypto-cream: #F2DFC3;
    --crypto-surface: #FFFFFF;
    --crypto-surface-alt: #F6F4EE;

    /* бренд */
    --crypto-accent: #1E4A3F;
    --crypto-accent-deep: #123128;
    --crypto-accent-soft: rgba(30, 74, 63, 0.10);
    --crypto-mint: #8FD9C4;
    --crypto-mint-soft: rgba(143, 217, 196, 0.18);

    /* CTA-градиент */
    --crypto-ember: #F2712B;
    --crypto-ember-light: #F5A15E;
    --crypto-ember-soft: rgba(242, 113, 43, 0.12);

    /* текст */
    --crypto-text: #16211D;
    --crypto-text-muted: #5B6B63;
    --crypto-text-on-dark: #F3EFE6;
    --crypto-text-on-dark-muted: #B9C7C0;

    /* линии/границы */
    --crypto-border: #E3DFD3;
    --crypto-border-dark: rgba(243, 239, 230, 0.16);

    /* тень */
    --crypto-shadow: 0 18px 40px -20px rgba(18, 49, 40, 0.35);
    --crypto-shadow-sm: 0 8px 20px -12px rgba(18, 49, 40, 0.28);

    /* геометрия */
    --crypto-radius: 20px;
    --crypto-radius-sm: 12px;
    --crypto-radius-pill: 999px;
    --crypto-section-y: 22px;
    --crypto-container: 1180px;

    /* анимации */
    --crypto-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --crypto-speed: 0.35s;
}

/* =====================================================================
   RESET / BASE
   ===================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--crypto-bg);
    color: var(--crypto-text);
    font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    font-size: 16px;
    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 {
    margin: 0 0 16px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(32px, 4.4vw, 52px);
}

h2 {
    font-size: clamp(26px, 3.2vw, 36px);
}

h3 {
    font-size: clamp(19px, 2.1vw, 22px);
}

p {
    margin: 0 0 14px;
    color: var(--crypto-text-muted);
}

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

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

/* =====================================================================
   SCROLL-REVEAL ANIMATION
   ===================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--crypto-ease), transform 0.7s var(--crypto-ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1.is-visible { transition-delay: 0.08s; }
.reveal--delay-2.is-visible { transition-delay: 0.16s; }
.reveal--delay-3.is-visible { transition-delay: 0.24s; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--crypto-radius-pill);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--crypto-speed) var(--crypto-ease), box-shadow var(--crypto-speed) var(--crypto-ease), background var(--crypto-speed) var(--crypto-ease);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--crypto-ember) 0%, var(--crypto-ember-light) 100%);
    color: #fff;
    box-shadow: var(--crypto-shadow-sm);
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--crypto-shadow);
}

.btn--dark {
    background: var(--crypto-accent);
    color: var(--crypto-text-on-dark);
}

.btn--dark:hover {
    background: var(--crypto-accent-deep);
    transform: translateY(-3px);
}

.btn--ghost {
    background: transparent;
    color: var(--crypto-accent);
    border-color: var(--crypto-border);
}

.btn--ghost:hover {
    background: var(--crypto-surface-alt);
    border-color: var(--crypto-accent);
    transform: translateY(-2px);
}

.btn--block {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--crypto-accent);
    font-weight: 600;
    border-bottom: 1px solid var(--crypto-accent-soft);
    transition: gap var(--crypto-speed) var(--crypto-ease), border-color var(--crypto-speed) var(--crypto-ease);
}

.link-arrow::after {
    content: "→";
    transition: transform var(--crypto-speed) var(--crypto-ease);
}

.link-arrow:hover {
    gap: 10px;
    border-color: var(--crypto-accent);
}

.link-arrow:hover::after {
    transform: translateX(3px);
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 250, 246, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--crypto-border);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--crypto-accent);
    flex-shrink: 0;
}

.header__logo img {
    height: 36px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__item {
    position: relative;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--crypto-radius-pill);
    font-weight: 600;
    font-size: 15px;
    color: var(--crypto-text);
    transition: background var(--crypto-speed) var(--crypto-ease), color var(--crypto-speed) var(--crypto-ease);
}

.nav__link:hover,
.nav__item.is-open > .nav__link {
    background: var(--crypto-accent-soft);
    color: var(--crypto-accent);
}

.nav__caret {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--crypto-speed) var(--crypto-ease);
    margin-top: -3px;
}

.nav__item.is-open .nav__caret {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.nav__submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    box-shadow: var(--crypto-shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--crypto-speed) var(--crypto-ease), transform var(--crypto-speed) var(--crypto-ease), visibility var(--crypto-speed);
}

.nav__item:hover > .nav__submenu,
.nav__item.is-open > .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__submenu .nav__link {
    display: block;
    border-radius: var(--crypto-radius-sm);
    padding: 10px 12px;
}

.header__cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* burger */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--crypto-radius-sm);
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.burger__line {
    width: 20px;
    height: 2px;
    background: var(--crypto-accent);
    border-radius: 2px;
    transition: transform var(--crypto-speed) var(--crypto-ease), opacity var(--crypto-speed) var(--crypto-ease);
}

.burger.is-active .burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.is-active .burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================================
   HERO (2 колонки: контент + finder)
   ===================================================================== */
.hero {
    padding: 56px 0 var(--crypto-section-y);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: start;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--crypto-radius-pill);
    background: var(--crypto-mint-soft);
    color: var(--crypto-accent-deep);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

.hero__title {
    color: var(--crypto-text);
}

.hero__lead {
    font-size: 18px;
    color: var(--crypto-text-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
}

.hero__explainer {
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid var(--crypto-border);
}

/* =====================================================================
   FINDER WIDGET
   ===================================================================== */
.finder {
    background: var(--crypto-accent);
    background: linear-gradient(160deg, var(--crypto-accent) 0%, var(--crypto-accent-deep) 100%);
    border-radius: var(--crypto-radius);
    padding: 28px;
    box-shadow: var(--crypto-shadow);
    color: var(--crypto-text-on-dark);
}

.finder__title {
    color: #fff;
    font-size: 21px;
    margin-bottom: 6px;
}

.finder__lead {
    color: var(--crypto-text-on-dark-muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.finder__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.finder__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.finder__field--full {
    grid-column: 1 / -1;
}

.finder__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--crypto-text-on-dark-muted);
}

.finder__select {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--crypto-radius-sm);
    border: 1px solid var(--crypto-border-dark);
    background: rgba(251, 250, 246, 0.08);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--crypto-text-on-dark-muted) 50%), linear-gradient(135deg, var(--crypto-text-on-dark-muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) center, calc(100% - 15px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    transition: border-color var(--crypto-speed) var(--crypto-ease), background var(--crypto-speed) var(--crypto-ease);
}

.finder__select:focus {
    outline: none;
    border-color: var(--crypto-mint);
}

.finder__select option {
    color: var(--crypto-text);
}

.finder__submit {
    grid-column: 1 / -1;
    margin-top: 6px;
}

.finder__status {
    margin-top: 16px;
    font-size: 14px;
    color: var(--crypto-text-on-dark-muted);
    display: none;
}

.finder__status.is-active {
    display: block;
}

.finder__results {
    margin-top: 22px;
    display: grid;
    gap: 14px;
}

.finder__results-title {
    color: #fff;
    font-size: 15px;
    margin-bottom: 4px;
}

.result-card {
    background: var(--crypto-surface);
    color: var(--crypto-text);
    border-radius: var(--crypto-radius-sm);
    padding: 18px;
    box-shadow: var(--crypto-shadow-sm);
    transition: transform var(--crypto-speed) var(--crypto-ease), box-shadow var(--crypto-speed) var(--crypto-ease);
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--crypto-shadow);
}

.result-card__label {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: var(--crypto-radius-pill);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.result-card__label--featured { background: var(--crypto-ember-soft); color: var(--crypto-ember); }
.result-card__label--best { background: var(--crypto-mint-soft); color: var(--crypto-accent-deep); }
.result-card__label--exact { background: var(--crypto-mint-soft); color: var(--crypto-accent-deep); }
.result-card__label--compatible { background: var(--crypto-bg-soft); color: var(--crypto-text-muted); }
.result-card__label--dependent { background: var(--crypto-bg-soft); color: var(--crypto-text-muted); }
.result-card__label--alternative { background: rgba(91, 107, 99, 0.14); color: var(--crypto-text-muted); }

.result-card__name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.result-card__route {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.result-card__route span {
    color: var(--crypto-text-muted);
}

.result-card__meta {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: var(--crypto-text-muted);
    margin-bottom: 12px;
}

.result-card__meta b {
    color: var(--crypto-text);
}

.result-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.feature-badge {
    padding: 4px 10px;
    border-radius: var(--crypto-radius-pill);
    background: var(--crypto-bg-soft);
    border: 1px solid var(--crypto-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--crypto-text-muted);
}

.result-card__note {
    font-size: 13px;
    color: var(--crypto-text-muted);
    margin-bottom: 12px;
}

/* =====================================================================
   SECTIONS / GENERIC CONTENT
   ===================================================================== */
.section {
    padding: var(--crypto-section-y) 0;
}

.section--alt {
    background: var(--crypto-bg-soft);
}

.section__head {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.section__head--left {
    margin: 0 0 32px;
    text-align: left;
    max-width: 760px;
}

.section__eyebrow {
    display: inline-block;
    color: var(--crypto-ember);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.prose p,
.prose li {
    color: var(--crypto-text-muted);
    font-size: 16px;
}

.prose ul {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.prose ul li {
    position: relative;
    padding-left: 26px;
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--crypto-ember);
}

.prose h3 {
    margin-top: 28px;
}

/* картинка-раздел с ховером */
.media-frame {
    position: relative;
    border-radius: var(--crypto-radius);
    overflow: hidden;
    box-shadow: var(--crypto-shadow);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--crypto-ease);
}

.media-frame:hover img {
    transform: scale(1.06);
}

.page-hero {
    padding: 48px 0 var(--crypto-section-y);
}

.page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 44px;
    align-items: center;
}

.page-hero__media {
    aspect-ratio: 4 / 3;
}

/* =====================================================================
   CARDS (иконки/картинки блоков)
   ===================================================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.info-card {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 24px;
    transition: transform var(--crypto-speed) var(--crypto-ease), box-shadow var(--crypto-speed) var(--crypto-ease), border-color var(--crypto-speed) var(--crypto-ease);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--crypto-shadow);
    border-color: transparent;
}

.info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--crypto-radius-sm);
    background: var(--crypto-mint-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--crypto-accent);
    font-weight: 800;
    font-size: 18px;
}

.info-card__title {
    font-size: 17px;
    margin-bottom: 8px;
}

.info-card__text {
    font-size: 14px;
    margin-bottom: 0;
}

/* =====================================================================
   ROUTE DIAGRAM ("BTC → Private Route → BTC")
   ===================================================================== */
.route {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--crypto-surface-alt);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    font-weight: 700;
    font-size: 15px;
    margin: 16px 0;
}

.route__step {
    color: var(--crypto-text);
}

.route__step--mid {
    color: var(--crypto-accent);
}

.route__arrow {
    color: var(--crypto-ember);
}

/* =====================================================================
   TABLES
   ===================================================================== */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--crypto-radius);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow-sm);
    margin: 20px 0;
}

.table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: var(--crypto-surface);
    font-size: 14px;
}

.table caption {
    text-align: left;
    padding: 14px 18px 0;
    font-weight: 700;
    color: var(--crypto-text);
}

.table th,
.table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--crypto-border);
    color: var(--crypto-text-muted);
}

.table thead th {
    background: var(--crypto-accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.table tbody tr:hover {
    background: var(--crypto-mint-soft);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table td:first-child,
.table th:first-child {
    font-weight: 700;
}

.table a {
    color: var(--crypto-accent);
    font-weight: 700;
    border-bottom: 1px solid var(--crypto-accent-soft);
}

/* =====================================================================
   PROS / CONS
   ===================================================================== */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 20px 0;
}

.pros-cons__col {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 22px;
}

.pros-cons__col--pro {
    border-top: 4px solid var(--crypto-mint);
}

.pros-cons__col--con {
    border-top: 4px solid var(--crypto-ember);
}

.pros-cons__title {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.pros-cons__list {
    display: grid;
    gap: 10px;
}

.pros-cons__list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--crypto-text-muted);
}

.pros-cons__col--pro .pros-cons__list li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--crypto-accent);
    font-weight: 800;
}

.pros-cons__col--con .pros-cons__list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--crypto-ember);
    font-weight: 800;
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq {
    display: grid;
    gap: 14px;
}

.faq__item {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 20px 22px;
    transition: box-shadow var(--crypto-speed) var(--crypto-ease), transform var(--crypto-speed) var(--crypto-ease);
}

.faq__item:hover {
    box-shadow: var(--crypto-shadow-sm);
    transform: translateY(-2px);
}

.faq__question {
    margin-bottom: 8px;
    color: var(--crypto-text);
}

.faq__answer {
    margin-bottom: 0;
    font-size: 15px;
}

/* =====================================================================
   FORMS (contact / submit-service)
   ===================================================================== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--crypto-text);
}

.form-field__control {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--crypto-radius-sm);
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface);
    font-family: inherit;
    font-size: 14px;
    color: var(--crypto-text);
    transition: border-color var(--crypto-speed) var(--crypto-ease), box-shadow var(--crypto-speed) var(--crypto-ease);
}

.form-field__control:focus {
    outline: none;
    border-color: var(--crypto-accent);
    box-shadow: 0 0 0 3px var(--crypto-accent-soft);
}

textarea.form-field__control {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 13px;
    color: var(--crypto-text-muted);
    background: var(--crypto-bg-soft);
    border-radius: var(--crypto-radius-sm);
    padding: 14px 16px;
    margin-top: 18px;
}

.form-panel {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 28px;
    box-shadow: var(--crypto-shadow-sm);
}

/* =====================================================================
   DIRECTORY STATUS LEGEND
   ===================================================================== */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 18px 0;
}

.legend__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--crypto-text-muted);
}

.legend__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--crypto-accent);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    background: var(--crypto-accent-deep);
    color: var(--crypto-text-on-dark);
    padding: 56px 0 0;
    margin-top: 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--crypto-border-dark);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__logo {
    font-weight: 800;
    font-size: 20px;
    color: #fff;
}

.footer__tagline {
    font-size: 14px;
    color: var(--crypto-text-on-dark-muted);
    max-width: 320px;
}

.footer__col-title {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer__menu {
    display: grid;
    gap: 10px;
}

.footer__menu a {
    font-size: 14px;
    color: var(--crypto-text-on-dark-muted);
    transition: color var(--crypto-speed) var(--crypto-ease), padding-left var(--crypto-speed) var(--crypto-ease);
}

.footer__menu a:hover {
    color: var(--crypto-mint);
    padding-left: 4px;
}

.footer__disclaimer {
    padding: 32px 0;
    border-bottom: 1px solid var(--crypto-border-dark);
}

.footer__disclaimer-title {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer__disclaimer p {
    font-size: 13px;
    color: var(--crypto-text-on-dark-muted);
    margin-bottom: 10px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 0;
    font-size: 13px;
    color: var(--crypto-text-on-dark-muted);
}

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper {
    display: flex;
    align-items: center;
    min-height: 70vh;
    padding: 60px 0;
}

.error404__inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.error404__code {
    font-size: clamp(80px, 16vw, 160px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--crypto-accent) 0%, var(--crypto-ember) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.error404__title {
    margin-bottom: 12px;
}

.error404__text {
    font-size: 16px;
    margin-bottom: 28px;
}

.error404__actions {
    display: flex;
    justify-content: center;
}

/* =====================================================================
   CHART (шорткоды графиков цены/курса — переиспользуемая разметка)
   ===================================================================== */
.chart {
    margin: 16px 0;
}

.chart__svg {
    width: 100%;
    height: auto;
}

.chart__area {
    fill: var(--crypto-accent-soft);
}

.chart__line {
    fill: none;
    stroke: var(--crypto-accent);
    stroke-width: 2.5;
}

.chart__dot {
    fill: var(--crypto-accent);
}

.chart__grid {
    stroke: var(--crypto-border);
    stroke-width: 1;
}

.chart__grid--v {
    stroke-dasharray: 3 4;
}

.chart__label {
    fill: var(--crypto-text-muted);
    font-size: 11px;
}

.chart-empty {
    padding: 18px;
    text-align: center;
    color: var(--crypto-text-muted);
    background: var(--crypto-bg-soft);
    border-radius: var(--crypto-radius-sm);
}

/* =====================================================================
   ADAPTIVE — 768px
   ===================================================================== */
@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        inset: 72px 0 0 0;
        background: var(--crypto-bg);
        padding: 20px 24px;
        transform: translateX(100%);
        transition: transform var(--crypto-speed) var(--crypto-ease);
        overflow-y: auto;
        z-index: 90;
        height: fit-content;
    }

    .header__nav.is-open {
        transform: translateX(0);
    }

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

    .nav__link {
        padding: 14px 12px;
    }

    .nav__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        display: none;
        margin-left: 12px;
        padding: 4px 0;
    }

    .nav__item.is-open .nav__submenu {
        display: block;
    }

    .burger {
        display: flex;
    }

    .header__cta .btn--ghost {
        display: none;
    }

    .hero__grid,
    .page-hero__grid {
        grid-template-columns: 1fr;
    }

    .page-hero__media {
        order: -1;
    }

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

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

    .pros-cons {
        grid-template-columns: 1fr;
    }

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

/* =====================================================================
   ADAPTIVE — 480px
   ===================================================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 14px 16px;
    }

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

    .hero {
        padding: 32px 0 var(--crypto-section-y);
    }

    .btn {
        width: 100%;
    }

    .hero__actions .btn {
        width: auto;
    }

    .result-card__route {
        font-size: 14px;
    }

    .error404__code {
        font-size: 84px;
    }
}
