/*
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 — palette taken from the supplied brand-color image
   (Cool Blue / Plum Noir / Persimmon)
   ===================================================================== */
:root {
    --crypto-bg: #ffffff;
    --crypto-bg-soft: #D7EFFF;
    --crypto-bg-soft-2: #eef7ff;
    --crypto-text: #351E28;
    --crypto-text-muted: #6f5c66;
    --crypto-accent: #FF5C34;
    --crypto-accent-hover: #e64d27;
    --crypto-accent-soft: rgba(255, 92, 52, 0.12);
    --crypto-dark: #351E28;
    --crypto-dark-soft: #4a2f3a;
    --crypto-border: #dbe9f5;
    --crypto-white: #ffffff;
    --crypto-success: #1f9d6c;
    --crypto-radius: 16px;
    --crypto-radius-sm: 10px;
    --crypto-shadow: 0 10px 30px rgba(53, 30, 40, 0.08);
    --crypto-shadow-hover: 0 18px 40px rgba(53, 30, 40, 0.14);
    --crypto-section-y: 20px;
    --crypto-container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--crypto-text);
    background: var(--crypto-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    padding-left: 0;
    list-style: none;
}

h1, h2, h3, h4 {
    color: var(--crypto-text);
    line-height: 1.25;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(32px, 5vw, 48px);
}

h2 {
    font-size: clamp(24px, 3.5vw, 32px);
}

h3 {
    font-size: 20px;
}

p {
    margin: 0 0 16px;
}

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

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Links inside paragraphs stand out from plain text */
p a {
    color: var(--crypto-accent);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

p a:hover {
    color: var(--crypto-accent-hover);
}

/* =====================================================================
   SECTION RHYTHM
   ===================================================================== */
.section {
    padding: calc(var(--crypto-section-y) * 2.2) 0;
}

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

.section--dark {
    background: var(--crypto-dark);
    color: var(--crypto-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
    color: var(--crypto-white);
}

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

.section__title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.section__badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--crypto-accent-soft);
    color: var(--crypto-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.section__title-row:hover .section__badge {
    transform: scale(1.1) rotate(-6deg);
    background: var(--crypto-accent);
    color: var(--crypto-white);
}

.section__badge svg {
    width: 22px;
    height: 22px;
}

.section__title-row h2 {
    margin-bottom: 0;
}

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

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn--primary {
    background: var(--crypto-accent);
    color: var(--crypto-white);
    box-shadow: 0 8px 20px rgba(255, 92, 52, 0.35);
}

.btn--primary:hover {
    background: var(--crypto-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(255, 92, 52, 0.4);
}

.btn--outline {
    background: transparent;
    border-color: var(--crypto-dark);
    color: var(--crypto-dark);
}

.btn--outline:hover {
    background: var(--crypto-dark);
    color: var(--crypto-white);
    transform: translateY(-3px);
}

.btn--light {
    background: var(--crypto-white);
    color: var(--crypto-accent);
}

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

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 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: 14px 0;
}

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

.header__logo img {
    max-height: 40px;
    width: auto;
}

.header__nav {
    flex: 1;
}

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

.header__item {
    position: relative;
}

.header__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    color: var(--crypto-text);
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.header__link:hover,
.header__item--active > .header__link {
    background: var(--crypto-accent-soft);
    color: var(--crypto-accent);
}

.header__item--has-children > .header__link::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.header__item--has-children:hover > .header__link::after {
    transform: rotate(225deg);
}

.header__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--crypto-white);
    border-radius: var(--crypto-radius-sm);
    box-shadow: var(--crypto-shadow-hover);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 50;
}

.header__item--has-children:hover .header__submenu,
.header__item--has-children:focus-within .header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__submenu-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--crypto-text);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.header__submenu-link:hover {
    background: var(--crypto-bg-soft);
    color: var(--crypto-accent);
    padding-left: 16px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header__cta {
    padding: 10px 22px;
    font-size: 14px;
}

/* Burger */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--crypto-border);
    border-radius: 10px;
    background: var(--crypto-white);
    cursor: pointer;
    padding: 0;
}

.header__burger-line {
    width: 20px;
    height: 2px;
    background: var(--crypto-dark);
    margin: 0 auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.header__burger.is-active .header__burger-line:nth-child(2) {
    opacity: 0;
}

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

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    padding: 56px 0;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero__inner--wide {
    grid-template-columns: 1fr;
}

.hero__eyebrow {
    display: inline-block;
    background: var(--crypto-accent-soft);
    color: var(--crypto-accent);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero__text {
    font-size: 18px;
    color: var(--crypto-text-muted);
    max-width: 560px;
}

.hero__media {
    position: relative;
    border-radius: var(--crypto-radius);
    overflow: hidden;
    box-shadow: var(--crypto-shadow);
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.6s ease;
}

.hero__media:hover img {
    transform: scale(1.06);
}

.hero__widget-wrap {
    background: var(--crypto-white);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 20px;
    box-shadow: var(--crypto-shadow);
}

/* =====================================================================
   EXCHANGE WIDGET
   ===================================================================== */
.exchange-widget {
    display: flex;
    justify-content: center;
}

.exchange-widget iframe {
    max-width: 100%;
    border-radius: var(--crypto-radius-sm);
}

.exchange-widget-empty {
    background: var(--crypto-bg-soft-2);
    border: 1px dashed var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 20px;
    text-align: center;
    color: var(--crypto-text-muted);
}

/* =====================================================================
   CARDS / ICON BLOCKS
   ===================================================================== */
.grid {
    display: grid;
    gap: 20px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

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

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--crypto-shadow-hover);
    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 0.3s ease, background 0.3s ease;
}

.card:hover .card__icon {
    transform: scale(1.12) rotate(-6deg);
    background: var(--crypto-accent);
    color: var(--crypto-white);
}

.card__icon svg {
    width: 26px;
    height: 26px;
}

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

.card__text {
    color: var(--crypto-text-muted);
    font-size: 15px;
    margin: 0;
}

.card--media {
    padding: 0;
    overflow: hidden;
}

.card--media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card--media:hover img {
    transform: scale(1.08);
}

.card--media__body {
    padding: 20px 24px 24px;
}

/* =====================================================================
   ROUTE / STEP LIST
   ===================================================================== */
.steps {
    counter-reset: step;
    display: grid;
    gap: 16px;
}

.steps__item {
    counter-increment: step;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--crypto-white);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 18px 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.steps__item:hover {
    transform: translateX(6px);
    box-shadow: var(--crypto-shadow);
}

.steps__item::before {
    content: counter(step);
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--crypto-accent);
    color: var(--crypto-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.steps__text {
    margin: 0;
    padding-top: 6px;
}

/* =====================================================================
   CHECKLIST
   ===================================================================== */
.checklist {
    display: grid;
    gap: 12px;
}

.checklist__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checklist__item::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--crypto-success);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

/* =====================================================================
   ROUTE DETAIL TABLE (send/receive)
   ===================================================================== */
.route-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--crypto-bg-soft);
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
    color: var(--crypto-dark);
    margin-bottom: 24px;
}

.route-badge__arrow {
    color: var(--crypto-accent);
    font-size: 18px;
}

/* =====================================================================
   TABLES
   ===================================================================== */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--crypto-radius);
    box-shadow: var(--crypto-shadow);
    margin-bottom: 24px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--crypto-white);
    min-width: 480px;
}

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

table th {
    background: var(--crypto-dark);
    color: var(--crypto-white);
    font-weight: 700;
    white-space: nowrap;
}

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

table tr:hover td {
    background: var(--crypto-bg-soft-2);
}

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

.faq__item {
    background: var(--crypto-white);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 4px 20px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq__item:hover {
    box-shadow: var(--crypto-shadow);
    border-color: var(--crypto-accent);
}

.faq__question {
    margin: 0;
    padding: 16px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 17px;
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.faq__question::after {
    content: "+";
    flex-shrink: 0;
    font-size: 22px;
    color: var(--crypto-accent);
    transition: transform 0.25s ease;
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__answer {
    margin: 0 0 18px;
    color: var(--crypto-text-muted);
}

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: var(--crypto-white);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 22px;
    box-shadow: var(--crypto-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--crypto-shadow-hover);
}

.review-card__stars {
    color: var(--crypto-accent);
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 15px;
}

.review-card__author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    font-weight: 700;
    font-size: 14px;
    color: var(--crypto-dark);
}

.review-card__route {
    font-weight: 500;
    color: var(--crypto-text-muted);
}

/* =====================================================================
   CTA BANNER
   ===================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--crypto-dark) 0%, var(--crypto-dark-soft) 100%);
    color: var(--crypto-white);
    border-radius: var(--crypto-radius);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: var(--crypto-accent);
    opacity: 0.25;
    border-radius: 50%;
    top: -160px;
    right: -100px;
    filter: blur(10px);
}

.cta-banner__title {
    color: var(--crypto-white);
    margin-bottom: 12px;
}

.cta-banner__text {
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 24px;
}

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contact-form {
    background: var(--crypto-white);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 28px;
    box-shadow: var(--crypto-shadow);
    display: grid;
    gap: 16px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form__field--full {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--crypto-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: var(--crypto-bg-soft-2);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--crypto-accent);
    box-shadow: 0 0 0 3px var(--crypto-accent-soft);
}

.contact-form__meta {
    font-size: 13px;
    color: var(--crypto-text-muted);
}

.contact-form__notice {
    padding: 14px 16px;
    border-radius: var(--crypto-radius-sm);
    font-weight: 600;
    font-size: 14px;
}

.contact-form__notice--success {
    background: rgba(31, 157, 108, 0.12);
    color: var(--crypto-success);
}

.contact-form__notice--error {
    background: rgba(255, 92, 52, 0.12);
    color: var(--crypto-accent-hover);
}

/* =====================================================================
   CONTACT CHANNELS
   ===================================================================== */
.channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.channel-card {
    background: var(--crypto-white);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 18px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* =====================================================================
   REVEAL ANIMATION (Intersection Observer toggles .is-visible)
   ===================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s 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; }
.reveal--delay-4.is-visible { transition-delay: 0.32s; }

.parallax {
    will-change: transform;
}

/* Каскадная задержка появления для повторяющихся элементов списков/карточек */
.steps__item.reveal,
.checklist__item.reveal,
.grid > .card.reveal,
.reviews-grid > .review-card.reveal,
.channels > .channel-card.reveal,
.faq__item.reveal {
    transition-delay: 0s;
}

.steps__item.reveal:nth-child(2), .checklist__item.reveal:nth-child(2), .grid > .card.reveal:nth-child(2), .reviews-grid > .review-card.reveal:nth-child(2), .channels > .channel-card.reveal:nth-child(2), .faq__item.reveal:nth-child(2) { transition-delay: 0.06s; }
.steps__item.reveal:nth-child(3), .checklist__item.reveal:nth-child(3), .grid > .card.reveal:nth-child(3), .reviews-grid > .review-card.reveal:nth-child(3), .channels > .channel-card.reveal:nth-child(3), .faq__item.reveal:nth-child(3) { transition-delay: 0.12s; }
.steps__item.reveal:nth-child(4), .checklist__item.reveal:nth-child(4), .grid > .card.reveal:nth-child(4), .reviews-grid > .review-card.reveal:nth-child(4), .channels > .channel-card.reveal:nth-child(4), .faq__item.reveal:nth-child(4) { transition-delay: 0.18s; }
.steps__item.reveal:nth-child(5), .checklist__item.reveal:nth-child(5), .grid > .card.reveal:nth-child(5), .reviews-grid > .review-card.reveal:nth-child(5), .channels > .channel-card.reveal:nth-child(5), .faq__item.reveal:nth-child(5) { transition-delay: 0.24s; }
.steps__item.reveal:nth-child(6), .checklist__item.reveal:nth-child(6), .grid > .card.reveal:nth-child(6), .reviews-grid > .review-card.reveal:nth-child(6), .channels > .channel-card.reveal:nth-child(6), .faq__item.reveal:nth-child(6) { transition-delay: 0.3s; }
.steps__item.reveal:nth-child(7), .faq__item.reveal:nth-child(7), .reviews-grid > .review-card.reveal:nth-child(7) { transition-delay: 0.36s; }
.steps__item.reveal:nth-child(8), .faq__item.reveal:nth-child(8), .reviews-grid > .review-card.reveal:nth-child(8) { transition-delay: 0.42s; }
.reviews-grid > .review-card.reveal:nth-child(9) { transition-delay: 0.48s; }
.reviews-grid > .review-card.reveal:nth-child(10) { transition-delay: 0.54s; }
.reviews-grid > .review-card.reveal:nth-child(11) { transition-delay: 0.6s; }
.reviews-grid > .review-card.reveal:nth-child(12) { transition-delay: 0.66s; }
.reviews-grid > .review-card.reveal:nth-child(13) { transition-delay: 0.72s; }
.reviews-grid > .review-card.reveal:nth-child(14) { transition-delay: 0.78s; }
.reviews-grid > .review-card.reveal:nth-child(15) { transition-delay: 0.84s; }

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper {
    padding: 100px 0;
    text-align: center;
}

.error404__code {
    font-size: clamp(80px, 16vw, 160px);
    font-weight: 800;
    color: var(--crypto-accent);
    line-height: 1;
    margin-bottom: 10px;
}

.error404__title {
    margin-bottom: 12px;
}

.error404__text {
    color: var(--crypto-text-muted);
    margin-bottom: 28px;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    background: var(--crypto-dark);
    color: rgba(255, 255, 255, 0.72);
    padding-top: 48px;
}

.footer__columns {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__col-title {
    color: var(--crypto-white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

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

.footer__menu a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

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

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 0;
    font-size: 13px;
}

.footer__bottom a:hover {
    color: var(--crypto-accent);
}

tr td a {
    color: var(--crypto-accent);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}
tr td a:hover {
    color: var(--crypto-accent-hover);
}
/* =====================================================================
   ADAPTIVE
   ===================================================================== */
@media (max-width: 1024px) {
    .footer__columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .channels {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__media {
        order: -1;
    }

    .header__nav,
    .header__actions .btn--outline {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .header__nav.is-open {
        display: block;
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--crypto-white);
        padding: 20px;
        overflow-y: auto;
        z-index: 90;
    }

    .header__nav.is-open .header__menu {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .header__nav.is-open .header__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        margin-left: 12px;
        border-left: 2px solid var(--crypto-bg-soft);
    }

    .header__item--open .header__submenu {
        display: block;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .grid--5 {
        grid-template-columns: 1fr;
    }

    .reviews-grid,
    .channels {
        grid-template-columns: 1fr;
    }

    .footer__columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 28px 20px;
    }

    .section {
        padding: calc(var(--crypto-section-y) * 1.4) 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    h1 {
        font-size: 30px;
    }

    .btn {
        width: 100%;
    }

    .header__actions .btn {
        width: auto;
    }

    table th,
    table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}
