/*
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.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =====================================================================
   1. CSS Variables
   ===================================================================== */
:root {
    --header-bg:       #a6461f;
    --header-text:     #ffffff;
    --footer-bg:       #a6461f;
    --footer-text:     #ffffff;
    --body-bg:         #ffffff;
    --body-text:       #000000;
    --card-orange:     #ff831f;
    --card-dark:       #0f4c45;
    --card-text:       #ffffff;
    --accent:          #ff831f;
    --accent-hover:    #e06c0a;
    --section-y:       72px;
    --container-w:     1200px;
    --radius:          12px;
    --radius-sm:       8px;
    --shadow:          0 4px 24px rgba(0,0,0,.10);
    --shadow-hover:    0 12px 40px rgba(0,0,0,.18);
    --transition:      .3s ease;
    --header-h:        68px;
}

/* =====================================================================
   2. Reset / Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--body-bg);
    color: var(--body-text);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { padding-left: 1.4em; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =====================================================================
   3. Layout
   ===================================================================== */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: var(--section-y) 0;
}
.section--alt {
    background: #f5f7fa;
}
.section--dark {
    background: var(--card-dark);
    color: var(--card-text);
}
.section--dark a { color: #6ee7d4; }
.section__header {
    margin-bottom: 40px;
    text-align: center;
}
.section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
    margin-bottom: 14px;
}
.section__text {
    max-width: 780px;
    margin: 0 auto;
    color: #444;
    font-size: 1rem;
}
.section--dark .section__text { color: rgba(255,255,255,.85); }

/* =====================================================================
   4. Header
   ===================================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--header-bg);
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
    transition: background var(--transition);
}
.site-header__container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
/* Logo */
.site-header__logo {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.5px;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-shrink: 0;
}
.site-header__logo:hover { color: #ffe0c8; }
.site-header__logo-btc  { color: #f7931a; }
.site-header__logo-sep  { color: #fff; font-weight: 400; font-size: .85em; margin: 0 1px; }
.site-header__logo-xmr  { color: #ffe0c8; }
.site-header__logo-dot  { color: rgba(255,255,255,.6); font-size: .75em; }

/* Desktop nav */
.site-header__nav { flex: 1; display: flex; justify-content: flex-end; }
.site-header__menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0; margin: 0;
}
.site-header__menu li a {
    color: rgba(255,255,255,.88);
    font-size: .92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.site-header__menu li a:hover,
.site-header__menu li.current-menu-item a {
    background: rgba(255,255,255,.15);
    color: #fff;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    flex-shrink: 0;
}
.burger:hover { background: rgba(255,255,255,.15); }
.burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--header-bg);
    z-index: 999;
    display: none;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.is-open {
    display: flex;
    transform: translateX(0);
}
.mobile-menu__inner { width: 100%; padding: 24px; }
.mobile-menu__list { list-style: none; padding: 0; margin: 0; }
.mobile-menu__list li { border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-menu__list li:last-child { border-bottom: none; }
.mobile-menu__list li a {
    display: block;
    color: #fff;
    padding: 16px 8px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color var(--transition);
}
.mobile-menu__list li a:hover { color: #ffe0c8; }

/* Push body down under fixed header */
.site-main { padding-top: var(--header-h); }

/* =====================================================================
   5. Footer
   ===================================================================== */
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.site-footer__top { padding: 60px 0 40px; }
.site-footer__container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}
.site-footer__logo {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.site-footer__logo:hover { color: #ffe0c8; }
.site-footer__logo-btc  { color: #f7931a; }
.site-footer__logo-sep  { color: #fff; font-weight: 400; font-size: .75em; }
.site-footer__logo-xmr  { color: #ffe0c8; }
.site-footer__logo-dot  { color: rgba(255,255,255,.5); font-size: .65em; }
.site-footer__tagline { color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.6; margin-bottom: 16px; }
.site-footer__coins { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer__coin {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 700;
}
.site-footer__coin--btc { background: rgba(247,147,26,.25); color: #f7931a; border: 1px solid rgba(247,147,26,.4); }
.site-footer__coin--xmr { background: rgba(255,131,31,.25); color: #ffb86c; border: 1px solid rgba(255,131,31,.4); }

.site-footer__col-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.55);
    margin-bottom: 16px;
}
.site-footer__menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__menu li a {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    transition: color var(--transition);
}
.site-footer__menu li a:hover { color: #fff; }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 20px 0;
}
.site-footer__bottom .site-footer__container { display: flex; justify-content: space-between; align-items: center; grid-template-columns: none; }
.site-footer__copy { font-size: .85rem; color: rgba(255,255,255,.7); }
.site-footer__disclaimer { font-size: .78rem; color: rgba(255,255,255,.5); max-width: 500px; text-align: right; }

/* =====================================================================
   6. Buttons
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,131,31,.35);
}
.btn--primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,131,31,.45);
}
.btn--outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn--outline:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.btn--white {
    background: #fff;
    color: var(--header-bg);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn--white:hover { background: #ffe0c8; color: var(--header-bg); transform: translateY(-2px); }

/* =====================================================================
   7. Hero Section
   ===================================================================== */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(166,70,31,.88) 0%, rgba(15,76,69,.75) 100%);
}
.hero__container {
    position: relative;
    z-index: 2;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}
.hero__content { color: #fff; }
.hero__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}
.hero__title span { color: #f7931a; }
.hero__text {
    font-size: 1.05rem;
    color: rgba(255,255,255,.88);
    line-height: 1.7;
    margin-bottom: 32px;
}
.hero__widget { display: flex; flex-direction: column; align-items: center; }
.hero--single .hero__container { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
.hero--single .hero__text { margin: 0 auto 0; }

/* =====================================================================
   8. Exchange Widget
   ===================================================================== */
.exchange-widget__wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    border: 2px solid rgba(166,70,31,.15);
}
.exchange-widget__iframe {
    width: 540px;
    max-width: 100%;
    height: 420px;
    border: none;
}
#exchange-widget { scroll-margin-top: calc(var(--header-h) + 20px); }

/* =====================================================================
   9. Rate Card
   ===================================================================== */
.rate-card {
    background: linear-gradient(135deg, var(--card-dark) 0%, #174d46 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 32px 36px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.rate-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
}
.rate-card__loading { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-size: .95rem; }
.rate-card__primary { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.rate-card__label { font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,.75); }
.rate-card__eq { font-size: 1.3rem; color: rgba(255,255,255,.5); }
.rate-card__value { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: #fff; line-height: 1; }
.rate-card__unit { font-size: 1.2rem; font-weight: 700; color: var(--card-orange); align-self: flex-end; }
.rate-card__secondary {
    font-size: .95rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.rate-card__meta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 14px; }
.rate-card__change { font-size: .95rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.rate-card__change.up   { background: rgba(110,231,183,.2); color: #6ee7b7; }
.rate-card__change.down { background: rgba(248,113,113,.2); color: #f87171; }
.rate-card__source { font-size: .8rem; color: rgba(255,255,255,.45); }
.rate-card__updated { font-size: .8rem; color: rgba(255,255,255,.5); margin-left: auto; }
.rate-card__note { font-size: .8rem; color: rgba(255,255,255,.5); font-style: italic; }
.rate-card__fallback { color: #f87171; font-size: .95rem; }

/* =====================================================================
   10. Spinner
   ===================================================================== */
.rate-card__spinner {
    display: inline-block;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   11. Converter
   ===================================================================== */
.converter {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}
.converter__row { display: flex; gap: 20px; align-items: flex-end; margin-bottom: 20px; flex-wrap: wrap; }
.converter__field { flex: 1; min-width: 200px; }
.converter__label { display: block; font-size: .85rem; font-weight: 600; color: #555; margin-bottom: 8px; }
.converter__input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-family: inherit;
    transition: border-color var(--transition);
    background: #f9fafb;
}
.converter__input:focus { outline: none; border-color: var(--accent); background: #fff; }
.converter__arrow { font-size: 1.5rem; color: var(--accent); font-weight: 700; padding-bottom: 14px; flex-shrink: 0; }
.converter__result {
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--card-dark), #174d46);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    font-weight: 700;
    min-height: 52px;
    display: flex;
    align-items: center;
}
.converter__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.converter__quick-label { font-size: .82rem; color: #777; margin-right: 4px; }
.converter__quick-btn {
    padding: 6px 14px;
    background: #f0f4ff;
    color: var(--accent);
    border: 1px solid #dde3f0;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.converter__quick-btn:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.converter__meta { font-size: .82rem; color: #888; margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.converter__sep { color: #ccc; }
.converter__note { font-size: .82rem; color: #aaa; font-style: italic; }

/* =====================================================================
   12. Market Snapshot
   ===================================================================== */
.market-snapshot {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 28px;
    max-width: 900px;
    margin: 0 auto;
}
.market-snapshot__loading { display: flex; align-items: center; gap: 10px; color: #888; }
.market-snapshot__loading .rate-card__spinner { border-color: #ccc; border-top-color: var(--accent); }
.market-snapshot__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}
.market-snapshot__item {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.07);
    border: 1px solid #f0f0f0;
    transition: box-shadow var(--transition), transform var(--transition);
}
.market-snapshot__item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.market-snapshot__item--wide { grid-column: span 2; }
.market-snapshot__label { display: block; font-size: .78rem; color: #888; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.market-snapshot__value { display: block; font-size: 1.1rem; font-weight: 700; color: #111; }
.market-snapshot__value.up   { color: #059669; }
.market-snapshot__value.down { color: #dc2626; }
.market-snapshot__fallback { color: #f87171; }

/* =====================================================================
   13. Conversion Table
   ===================================================================== */
.conv-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.conv-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: .95rem;
}
.conv-table thead { background: var(--header-bg); color: #fff; }
.conv-table thead th { padding: 14px 20px; text-align: left; font-weight: 600; white-space: nowrap; }
.conv-table__row { border-bottom: 1px solid #f0f0f0; transition: background var(--transition); }
.conv-table__row:hover { background: #fff8f5; }
.conv-table__row:last-child { border-bottom: none; }
.conv-table td { padding: 13px 20px; }
.conv-table__btc { font-weight: 700; color: var(--header-bg); }
.conv-table__xmr { font-weight: 600; color: var(--card-dark); }
.conv-table__rate { color: #888; font-size: .85rem; }
.conv-table__updated { margin-top: 12px; font-size: .82rem; color: #aaa; text-align: right; padding: 0 4px; }

/* =====================================================================
   14. Chart
   ===================================================================== */
.chart-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.chart-wrap__controls {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.chart-wrap__btn {
    padding: 7px 18px;
    border-radius: 20px;
    border: 1px solid #dde3f0;
    font-size: .85rem;
    font-weight: 600;
    color: #666;
    background: #f5f7fa;
    transition: all var(--transition);
}
.chart-wrap__btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.chart-wrap__btn--active { background: var(--accent); color: #fff; border-color: var(--accent); }
.chart-wrap__canvas-container { position: relative; min-height: 300px; }
.chart-wrap__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: .95rem;
    color: #888;
    background: #fff;
}
.chart-wrap__loading .rate-card__spinner { border-color: #e5e7eb; border-top-color: var(--accent); }
.chart-wrap__note { margin-top: 12px; font-size: .8rem; color: #aaa; font-style: italic; text-align: right; }

/* =====================================================================
   15. Reference Table
   ===================================================================== */
.ref-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.ref-table { width: 100%; border-collapse: collapse; background: #fff; }
.ref-table thead { background: var(--card-dark); color: #fff; }
.ref-table thead th { padding: 13px 20px; text-align: left; font-weight: 600; }
.ref-table__row { border-bottom: 1px solid #f0f0f0; transition: background var(--transition); }
.ref-table__row:hover { background: #f0faf8; }
.ref-table__row:last-child { border-bottom: none; }
.ref-table td { padding: 13px 20px; }
.ref-table__xmr { font-weight: 700; color: var(--card-dark); }
.ref-table__btc { font-weight: 600; color: var(--header-bg); }
.ref-table__note { margin-top: 12px; font-size: .82rem; color: #888; padding: 0 4px; }

/* =====================================================================
   16. How It Works Steps
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 24px; }
.steps__item {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--accent);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}
.steps__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.steps__num {
    width: 44px; height: 44px;
    background: var(--accent);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 12px rgba(255,131,31,.35);
}
.steps__text { font-size: .92rem; color: #444; line-height: 1.5; }

/* =====================================================================
   17. Checklist
   ===================================================================== */
.checklist { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--accent);
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    font-size: .95rem;
    transition: transform var(--transition), box-shadow var(--transition);
}
.checklist li:hover { transform: translateX(4px); box-shadow: 0 3px 12px rgba(0,0,0,.1); }
.checklist li::before {
    content: '✓';
    font-size: .85rem;
    font-weight: 800;
    color: #fff;
    background: var(--accent);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.checklist--dark li { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); border-left-color: var(--card-orange); }
.checklist--dark li::before { background: var(--card-orange); }

/* =====================================================================
   18. Reviews / Testimonials
   ===================================================================== */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 24px; }
.review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.review-card__stars { display: flex; gap: 3px; }
.review-card__star { font-size: 1.1rem; color: #f7931a; }
.review-card__star--empty { color: #ddd; }
.review-card__text { font-size: .94rem; color: #444; line-height: 1.65; font-style: italic; flex: 1; }
.review-card__text::before { content: '"'; font-size: 2rem; color: var(--accent); line-height: 0; vertical-align: -.4em; margin-right: 4px; }
.review-card__author { display: flex; align-items: center; gap: 10px; }
.review-card__avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--card-orange), var(--header-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.review-card__name { font-weight: 700; font-size: .9rem; color: #111; }
.review-card__rating-text { font-size: .8rem; color: #888; }

/* =====================================================================
   19. FAQ Accordion
   ===================================================================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}
.faq__item:first-child { border-top: 1px solid #e5e7eb; }
.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 8px;
    background: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    transition: color var(--transition);
}
.faq__question:hover { color: var(--accent); }
.faq__icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform var(--transition), background var(--transition);
    font-style: normal;
    padding: 0 0 4px 1px;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--header-bg); }
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s ease;
    padding: 0 8px;
}
.faq__answer-inner { padding-bottom: 18px; font-size: .95rem; color: #555; line-height: 1.7; }
.faq__answer-inner a { color: var(--accent); }
.faq__item.is-open .faq__answer { max-height: 400px; padding: 0 8px; }

/* =====================================================================
   20. Comparison Table
   ===================================================================== */
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: .95rem;
}
.compare-table thead { background: linear-gradient(90deg, var(--header-bg), var(--card-dark)); color: #fff; }
.compare-table thead th { padding: 16px 20px; text-align: left; font-weight: 600; }
.compare-table thead th:first-child { background: rgba(0,0,0,.1); }
.compare-table__row { border-bottom: 1px solid #f0f0f0; transition: background var(--transition); }
.compare-table__row:hover { background: #fff8f5; }
.compare-table__row:last-child { border-bottom: none; }
.compare-table td { padding: 14px 20px; }
.compare-table td:first-child { font-weight: 600; color: #555; background: #fafafa; }

/* =====================================================================
   21. Image + Text blocks (alternating layout)
   ===================================================================== */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.content-block--reverse { direction: rtl; }
.content-block--reverse > * { direction: ltr; }
.content-block__img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 320px;
}
.content-block__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.content-block__img:hover img { transform: scale(1.05); }
.content-block__body {}
.content-block__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; }
.content-block__text { font-size: .95rem; color: #444; line-height: 1.7; }

/* =====================================================================
   22. Advantages / Feature Cards
   ===================================================================== */
.advantages__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.advantage-card {
    background: linear-gradient(135deg, var(--card-orange), #e06c0a);
    color: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 6px 20px rgba(255,131,31,.3);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.advantage-card:nth-child(even) {
    background: linear-gradient(135deg, var(--card-dark), #0d3d38);
    box-shadow: 0 6px 20px rgba(15,76,69,.3);
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.advantage-card__icon { font-size: 2rem; line-height: 1; }
.advantage-card__title { font-size: 1rem; font-weight: 700; }
.advantage-card__text { font-size: .88rem; opacity: .88; line-height: 1.6; }

/* =====================================================================
   23. Section with image bg + overlay
   ===================================================================== */
.section--img-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}
.section--img-bg .section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(166,70,31,.9) 0%, rgba(15,76,69,.85) 100%);
}
.section--img-bg .container { position: relative; z-index: 1; }
.section--img-bg .section__title { color: #fff; }
.section--img-bg .section__text { color: rgba(255,255,255,.85); }

/* =====================================================================
   24. CTA Block
   ===================================================================== */
.cta-block {
    background: linear-gradient(120deg, var(--header-bg) 0%, var(--card-dark) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-hover);
}
.cta-block__title { font-size: 1.8rem; font-weight: 800; margin-bottom: 14px; }
.cta-block__text { color: rgba(255,255,255,.82); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* =====================================================================
   25. Checklist block (pre-start)
   ===================================================================== */
.pre-check {
    background: linear-gradient(135deg, var(--card-dark) 0%, #0d3d38 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 40px;
}
.pre-check__title { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }
.pre-check__list { list-style: none; padding: 0; display: grid; gap: 10px; }
.pre-check__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem;
    color: rgba(255,255,255,.88);
    line-height: 1.5;
}
.pre-check__list li::before {
    content: '✓';
    font-size: .8rem;
    font-weight: 800;
    color: var(--card-dark);
    background: #6ee7b7;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* =====================================================================
   26. Legal pages typography
   ===================================================================== */
.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; color: #111; }
.legal-content p  { font-size: .97rem; color: #444; line-height: 1.75; margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin: 12px 0 18px 1.4em; }
.legal-content li { font-size: .95rem; color: #444; margin-bottom: 6px; line-height: 1.6; }
.legal-content a { color: var(--accent); }
.legal-content .contact-box {
    background: #f5f7fa;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    margin: 16px 0;
    font-size: .95rem;
}

/* =====================================================================
   27. About page reviews
   ===================================================================== */
.about-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* =====================================================================
   28. 404 Page
   ===================================================================== */
.page-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 80px 24px;
}
.page-404__num {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 3px var(--accent);
    margin-bottom: 16px;
    animation: pulse404 2s ease-in-out infinite;
}
@keyframes pulse404 { 0%,100% { opacity: 1; } 50% { opacity: .6; } }
.page-404__title { font-size: 1.8rem; font-weight: 700; margin-bottom: 14px; }
.page-404__text { color: #666; max-width: 400px; margin-bottom: 32px; }

/* =====================================================================
   29. Scroll-reveal animation
   ===================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--left.is-visible, .reveal--right.is-visible { transform: translateX(0); }

/* staggered children */
.reveal-group > * { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.reveal-group.is-visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
.reveal-group.is-visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.15s; }
.reveal-group.is-visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.25s; }
.reveal-group.is-visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.35s; }
.reveal-group.is-visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.45s; }
.reveal-group.is-visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:.55s; }
.reveal-group.is-visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:.65s; }
.reveal-group.is-visible > *:nth-child(n+8) { opacity:1; transform:none; transition-delay:.7s; }

/* =====================================================================
   30. Parallax container
   ===================================================================== */
.parallax-hero { will-change: transform; }

/* =====================================================================
   31. Misc helpers
   ===================================================================== */
.text-center { text-align: center; }
.mt-0  { margin-top: 0; }
.mb-40 { margin-bottom: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
p + p { margin-top: .8em; }

/* =====================================================================
   32. Responsive 768px
   ===================================================================== */
@media (max-width: 768px) {
    :root { --section-y: 48px; }

    /* Header */
    .site-header__nav { display: none; }
    .burger { display: flex; }

    /* Footer */
    .site-footer__container { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__bottom .site-footer__container { flex-direction: column; text-align: center; gap: 8px; }
    .site-footer__disclaimer { text-align: center; }

    /* Hero */
    .hero__container { grid-template-columns: 1fr; gap: 32px; }
    .hero__widget { align-items: stretch; }

    /* Content blocks */
    .content-block { grid-template-columns: 1fr; }
    .content-block--reverse { direction: ltr; }
    .content-block__img { height: 240px; }

    /* Grids */
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }

    /* Steps */
    .steps { grid-template-columns: repeat(2, 1fr); }

    /* Compare table */
    .compare-table thead th, .compare-table td { padding: 11px 12px; font-size: .87rem; }

    /* CTA */
    .cta-block { padding: 36px 24px; }
    .cta-block__title { font-size: 1.4rem; }

    /* Pre-check */
    .pre-check { padding: 28px 20px; }
}

/* =====================================================================
   33. Responsive 480px
   ===================================================================== */
@media (max-width: 480px) {
    :root { --section-y: 36px; }

    .site-header__container { padding: 0 16px; }
    .container { padding: 0 16px; }

    .hero__title { font-size: 1.7rem; }
    .hero__container { padding: 56px 16px; }

    .site-footer__container { grid-template-columns: 1fr; }

    .converter__row { flex-direction: column; }
    .converter__arrow { transform: rotate(90deg); align-self: center; }

    .steps { grid-template-columns: 1fr; }
    .market-snapshot__item--wide { grid-column: span 1; }

    .advantages__grid { grid-template-columns: 1fr; }
    .reviews__grid { grid-template-columns: 1fr; }
}
