/* ============================================================
   EasyExOps — Components & Layout
   Mobile-first. Breakpoints: 640 / 768 / 1024 / 1280.
   ============================================================ */

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
  min-height: 100vh;
}
body { padding-top: var(--header-h); }
@media (max-width: 640px) {
  html, body { font-size: 14px; }
  body { padding-top: 56px; }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* Focus ring */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ---------------- Layout primitives ----------------
   Container scales smoothly across breakpoints:
     <640         : 100% - 32px gutter
      640-1023    : 100% - 48px gutter
     1024-1279    : max 1100
     1280-1439    : max 1240
     1440-1599    : max 1380
     1600-1919    : max 1520
     1920-2559    : max 1720
     2560+        : max 2000   (ultrawide)
   This keeps line-length readable yet fills the screen on widescreen monitors.
*/
.container {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 640px)  { .container { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .container { max-width: 1100px; padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1280px) { .container { max-width: 1240px; } }
@media (min-width: 1440px) { .container { max-width: 1380px; padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1600px) { .container { max-width: 1520px; } }
@media (min-width: 1920px) { .container { max-width: 1720px; padding-left: 48px; padding-right: 48px; } }
@media (min-width: 2560px) { .container { max-width: 2000px; padding-left: 64px; padding-right: 64px; } }

.container-wide { max-width: 100%; }
@media (min-width: 1024px) { .container-wide { max-width: 1200px; } }
@media (min-width: 1280px) { .container-wide { max-width: 1360px; } }
@media (min-width: 1440px) { .container-wide { max-width: 1520px; } }
@media (min-width: 1600px) { .container-wide { max-width: 1680px; } }
@media (min-width: 1920px) { .container-wide { max-width: 1860px; } }
@media (min-width: 2560px) { .container-wide { max-width: 2200px; } }

/* Section vertical rhythm. Two adjacent .section blocks collide their
   padding, so the *between-sections* spacing is 2x these numbers. Keep
   it readable on big screens — 144px gap (72+72) on 1920 is much more
   comfortable than the old 240px (120+120). */
.section { padding: 32px 0; }
@media (min-width: 640px)  { .section { padding: 44px 0; } }
@media (min-width: 1024px) { .section { padding: 56px 0; } }
@media (min-width: 1440px) { .section { padding: 64px 0; } }
@media (min-width: 1920px) { .section { padding: 72px 0; } }

/* ---------------- Background grid ---------------- */
.grid-bg {
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  background-attachment: fixed;
}

/* Decorative gradient blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.blob--violet { background: radial-gradient(circle, #8B5CF6 0%, transparent 70%); }
.blob--magenta { background: radial-gradient(circle, #EC4899 0%, transparent 70%); }

/* Hero blob geometry — previously inline width/height/top/left on home.html. */
.blob--hero-tl { width: 520px; height: 520px; top: -180px; left: -200px; }
.blob--hero-br { width: 480px; height: 480px; bottom: -220px; right: -180px; }

/* ============== Feature cards — premium polish ============== */
/* Gradient-glow icon tile (was a flat 8% violet box). */
.feature-card .feature-card__icon {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-magenta));
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.32);
  border-radius: var(--r-md);
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-card .feature-card__icon img {
  width: 26px; height: 26px;
  filter: brightness(0) invert(1); /* force icons white over the gradient */
}

/* Numbered badge in the corner (data-num="01" .. "06"). Monospace, faint by
   default, lights up on hover to match Material-style premium grids. */
.feature-card { position: relative; transition: transform var(--duration-fast) ease, border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease; }
.feature-card::after {
  content: attr(data-num);
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.18);
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(139, 92, 246, 0.18);
}
.feature-card:hover::after { color: var(--accent-violet); transform: translateY(-1px); }

/* Bold lead-in sentence (the <strong> wrapper added in HTML). */
.feature-card__text strong {
  color: var(--text-strong);
  font-weight: 600;
  display: inline;
}

/* Left-column CTA under the description. */
.features__cta { margin-top: 20px; display: inline-flex; align-self: flex-start; }

/* ============== Review card — screenshot variant ============== */
/* Same outer dimensions as the text card so the carousel doesn't jump
   between slides of different heights. Image is contained (preserves
   aspect-ratio) and the dark backdrop fills any letterboxing space. */
.review-card--screenshot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  min-height: 260px;
}
.review-card--screenshot .review-card__shot {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--r-md);
  overflow: hidden;
}
.review-card--screenshot .review-card__shot img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.review-card--screenshot .review-card__shot-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.review-card--screenshot .review-card__shot-author { color: var(--text-strong); font-weight: 600; }

/* Strip the quote leading-quote decoration on screenshot cards (they
   don't render one, but the base ::before would otherwise reserve space). */
.review-card--screenshot::before { display: none; }

/* ============== Guides — index, single, home block ============== */
.guides-hero {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(28px, 4vw, 48px);
  text-align: center;
}
.guides-hero .label-eyebrow { margin-bottom: 12px; }
.guides-hero p {
  color: var(--text-muted);
  font-size: var(--text-body-lg);
  max-width: 62ch;
  margin: 16px auto 0;
  line-height: 1.55;
}
.guides-list { padding-bottom: clamp(48px, 8vw, 96px); }

.guides-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.guide-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-card);
  overflow: hidden;
  transition:
    transform var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}
.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.35),
    0 8px 24px rgba(139, 92, 246, 0.16);
}
.guide-card__cover {
  aspect-ratio: 16 / 9;
  background-color: rgba(139, 92, 246, 0.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.guide-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2vw, 22px);
  flex: 1;
}
.guide-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.guide-card__dot { opacity: 0.6; }
.guide-card__title {
  font-size: var(--text-h4);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--text-strong);
}
.guide-card__desc {
  color: var(--text-muted);
  font-size: var(--text-body);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-card__cta {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--accent-violet);
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.guide-card:hover .guide-card__cta {
  color: var(--accent-magenta);
  transform: translateX(2px);
}

.guides-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 20px;
  border: 1px dashed var(--border-default);
  border-radius: var(--r-card);
}

/* === Single guide article === */
.guide-article {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(60px, 8vw, 96px);
}
.guide-article__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.guide-article__crumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
.guide-article__crumbs a:hover { color: var(--accent-violet); }
.guide-article__crumbs .is-current { color: var(--text-strong); }
.guide-article__head { margin-bottom: clamp(24px, 4vw, 40px); max-width: 760px; }
.guide-article__title {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  margin-bottom: 14px;
}
.guide-article__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.guide-article__cover {
  margin-top: clamp(20px, 3vw, 32px);
  aspect-ratio: 16 / 9;
  background-color: rgba(139, 92, 246, 0.08);
  background-size: cover;
  background-position: center;
  border-radius: var(--r-card);
  border: 1px solid var(--border-default);
}
.guide-article__body {
  max-width: 720px;
  font-size: var(--text-body-lg);
  line-height: 1.7;
  color: var(--text-strong);
}
.guide-article__body p { margin: 0 0 18px; color: var(--text-strong); }
.guide-article__body h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  margin: 36px 0 14px;
  line-height: 1.3;
}
.guide-article__body h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  margin: 28px 0 12px;
}
.guide-article__body ul,
.guide-article__body ol { padding-left: 22px; margin: 0 0 18px; }
.guide-article__body li { margin: 6px 0; }
.guide-article__body a {
  color: var(--accent-violet);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) ease;
}
.guide-article__body a:hover { color: var(--accent-magenta); }
.guide-article__body code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.92em;
}
.guide-article__body pre {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--border-default);
  padding: 16px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 0 0 18px;
}
.guide-article__body pre code { background: transparent; padding: 0; }
.guide-article__body blockquote {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent-violet);
  background: rgba(139, 92, 246, 0.06);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text-strong);
  font-style: italic;
}
.guide-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
  margin: 12px 0;
}
.guide-article__body hr {
  border: 0;
  height: 1px;
  background: var(--border-default);
  margin: 28px 0;
}
.guide-article__foot {
  max-width: 720px;
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.guide-article__share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.guide-article__share-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.guide-article__share-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-strong);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.guide-article__share-btn:hover {
  background: rgba(139, 92, 246, 0.10);
  border-color: rgba(139, 92, 246, 0.45);
}
.guide-article__back {
  display: inline-flex;
  align-self: flex-start;
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--duration-fast) ease;
}
.guide-article__back:hover { color: var(--accent-violet); }
.guide-related { padding-top: clamp(40px, 6vw, 64px); }
.guide-related .h-section { margin-bottom: 24px; }

/* === Home block — "Полезные гайды" hook after reviews === */
.home-guides__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.home-guides__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-violet);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-body);
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.home-guides__all:hover {
  color: var(--accent-magenta);
  transform: translateX(2px);
}

/* Trust badges — fills the vertical gap beside the long rates table on
   home (sits under .crypto-cards inside the .rates-block second column). */
.crypto-stack { display: flex; flex-direction: column; gap: 16px; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  transition: border-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.trust-badge:hover { border-color: var(--border-glow); transform: translateY(-1px); }
.trust-badge__icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-badge__body { min-width: 0; }
.trust-badge__title {
  color: var(--text-strong);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
}
.trust-badge__text {
  color: var(--text-muted);
  font-size: var(--text-xs);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .trust-row { grid-template-columns: minmax(0, 1fr); }
}

/* Section pair modifier: two thematically related sections that should
   read as one combined product block instead of two independent zones.
   Cuts the gap between them by ~70%. */
.section--pair-top    { padding-bottom: clamp(20px, 3vw, 32px) !important; }
.section--pair-bottom { padding-top:    clamp(16px, 2.5vw, 24px) !important; }

/* ============== Gold offering (home page) ============== */
.gold-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: clamp(20px, 3vw, 32px);
}
.gold-card {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  /* overflow:clip prevents the soft glow below from causing scroll without
     producing the hard rectangular cut-off of overflow:hidden. */
  overflow: clip;
}
.gold-card::before {
  content: "";
  position: absolute;
  top: -30%; right: -30%;
  width: 80%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(252, 211, 77, 0.35) 0%, rgba(252, 211, 77, 0.10) 35%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.9;
}
.gold-card__head {
  display: flex; align-items: center; gap: 10px;
}
.gold-card__flag { font-size: 22px; line-height: 1; }
.gold-card__brand {
  font-size: var(--text-card);
  font-weight: 700;
  color: var(--text-strong);
  margin: 0;
}
.gold-card__country {
  color: var(--text-faint);
  font-size: var(--text-sm);
  margin-left: auto;
}
.gold-card__weight {
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.gold-card__tier {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border-default);
}
.gold-card__qty {
  color: var(--text-muted);
  font-size: var(--text-body);
}
.gold-card__price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold);
  font-size: var(--text-body-lg);
  white-space: nowrap;
}
.gold-card__price small {
  color: var(--text-faint);
  font-size: var(--text-xs);
  font-weight: 500;
  margin-left: 4px;
}

.gold-other {
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(20px, 3vw, 28px);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-card-lg);
}
.gold-other__head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}
.gold-other__title {
  margin: 0;
  font-size: var(--text-card);
  font-weight: 700;
  color: var(--text-strong);
}
.gold-other__note {
  color: var(--text-faint);
  font-size: var(--text-sm);
  margin: 0;
}
.gold-other__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.gold-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 14px 8px;
  background: var(--bg-translucent);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  transition: border-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.gold-chip:hover { border-color: rgba(252, 211, 77, 0.45); transform: translateY(-1px); }
.gold-chip__w { color: var(--text-muted); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.gold-chip__p { color: var(--gold); font-family: var(--font-mono); font-weight: 700; font-size: var(--text-body); }

.gold-disclaimer {
  margin: 18px 0 0;
  text-align: center;
  color: var(--text-faint);
  font-size: var(--text-sm);
}

/* ============== Money transfers (home page) ============== */
.tx-services {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: clamp(20px, 3vw, 32px) 0 clamp(24px, 4vw, 40px);
}
.tx-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: var(--bg-translucent);
  border: 1px solid var(--border-default);
  border-radius: var(--r-pill);
  color: var(--text-strong);
  font-weight: 600;
  font-size: var(--text-body);
  transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.tx-chip:hover {
  border-color: var(--border-glow);
  background: rgba(139, 92, 246, 0.12);
}

.tx-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.tx-card {
  padding: clamp(20px, 3vw, 28px);
  display: flex; flex-direction: column; gap: 10px;
  text-align: left;
}
.tx-card__icon {
  font-size: 32px; line-height: 1;
  margin-bottom: 4px;
}
.tx-card__title {
  margin: 0;
  font-size: var(--text-card);
  font-weight: 700;
  color: var(--text-strong);
}
.tx-card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-body);
  line-height: 1.5;
}

/* Locale-gated content: show only when <html lang=…> matches. Used for
   "English translation in progress" notices on legal/long-content pages where
   the body text stays RU and a banner explains it to EN visitors. */
html:not([lang="en"]) [data-en-only] { display: none !important; }
html[lang="en"] [data-ru-only] { display: none !important; }

.locale-notice {
  max-width: 880px;
  margin: 0 auto clamp(20px, 3vw, 32px);
  padding: 14px 18px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.45);
  border-radius: var(--r-md);
  color: var(--text-strong);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.locale-notice strong { color: var(--accent-magenta); }

/* ---------------- Typography ---------------- */
h1, h2, h3, h4, h5 { margin: 0; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }

.h-display {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.h-section {
  font-size: var(--text-section);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.h-card {
  font-size: var(--text-card);
  font-weight: 700;
}
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1, "lnum" 1; }

.label-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  color: var(--text-muted);
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  transition: filter var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease),
              background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  white-space: nowrap;
  user-select: none;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn-primary:active:not(:disabled) { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-secondary {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-light);
  border-color: var(--border-default);
}
.btn-secondary:hover { background: rgba(139, 92, 246, 0.2); border-color: var(--border-glow); }
.btn-secondary:active { transform: scale(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-faint);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--border-default); }

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-icon {
  width: 40px; height: 40px; padding: 0;
  border-radius: var(--r-lg);
}

/* Telegram chip button */
.tg-chip {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-lg);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--border-default);
  transition: background var(--t-base), border-color var(--t-base);
}
.tg-chip:hover { background: rgba(139, 92, 246, 0.2); border-color: var(--border-glow); }
.tg-chip img { width: 18px; height: 18px; }

/* ---------------- Cards ---------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-card);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.card:hover { border-color: var(--border-glow); }
.card-lg { border-radius: var(--r-card-lg); }
.card-tight { border-radius: var(--r-md); }
.card-pad { padding: 20px; }
.card-pad-lg { padding: 24px; }
@media (min-width: 768px) { .card-pad-lg { padding: 32px; } }

/* ---------------- Inputs ---------------- */
.input, .textarea, .select {
  width: 100%;
  background: var(--bg-translucent);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  transition: border-color var(--t-base), background var(--t-base);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--border-glow);
  background: var(--bg-translucent-strong);
}
.input.error, .textarea.error { border-color: var(--red); }
.textarea { min-height: 110px; resize: vertical; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------------- Header / Nav ---------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: var(--bg-header);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-default);
  transition: height var(--t-base) var(--ease), background var(--t-base);
}
body.shrink .header { height: var(--header-h-shrink); }
@media (max-width: 640px) {
  .header { height: 56px; }
  body.shrink .header { height: 50px; }
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Brand */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.45);
  flex-shrink: 0;
}
.brand__mark svg { width: 24px; height: 22px; display: block; }
@media (max-width: 380px) { .brand__mark svg { width: 22px; height: 20px; } }
.brand__wordmark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
@media (max-width: 480px) { .brand__wordmark { font-size: 16px; } }

/* Desktop nav */
.nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 1024px) { .nav { display: inline-flex; } }
.nav__link {
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-base), background var(--t-base);
}
.nav__link:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.04); }
.nav__link.active {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.14);
}

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 640px) { .header__actions { gap: 6px; } }
@media (max-width: 480px) { .header__actions .tg-chip { display: none; } }
@media (max-width: 380px) { .brand__mark { width: 32px; height: 32px; font-size: 16px; border-radius: 8px; } .brand__wordmark { font-size: 14px; } }
/* Narrow phones: drop the EASYEXOPS wordmark so EX-tile + lang-toggle + burger all fit */
@media (max-width: 420px) { .brand__wordmark { display: none; } }
/* Belt-and-suspender: never let any element cause horizontal scroll on mobile */
@media (max-width: 480px) { html, body { overflow-x: hidden; } }
/* Narrow phones: keep the hero from overflowing horizontally — clamp's 30px min was too big at <400px */
@media (max-width: 480px) {
  .h-display { font-size: clamp(22px, 6.4vw, 30px); overflow-wrap: break-word; }
  .hero__subtitle { font-size: 14px; overflow-wrap: break-word; }
}

/* Lang toggle */
.lang-toggle {
  display: inline-flex;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--border-default);
  border-radius: var(--r-pill);
  padding: 3px;
}
.lang-toggle__btn {
  background: transparent;
  border: 0;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  transition: color var(--t-base), background var(--t-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.lang-toggle__btn.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

/* Burger */
.burger {
  width: 44px; height: 44px;
  display: none;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  background: rgba(139, 92, 246, 0.22);
  border: 1px solid var(--border-glow);
  border-radius: var(--r-md);
  padding: 0;
}
@media (max-width: 1023px) { .burger { display: inline-flex; } }
.burger:hover { background: rgba(139, 92, 246, 0.32); }
.burger span {
  display: block; width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform var(--t-base), opacity var(--t-base);
}
.burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-menu);
  background: var(--bg-menu-overlay);
  backdrop-filter: blur(20px);
  padding: 24px 20px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-base);
  display: flex; flex-direction: column; gap: 8px;
}
@media (max-width: 640px) { .mobile-menu { top: 56px; } }
.mobile-menu.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-faint);
}
.mobile-menu a.active { background: rgba(139, 92, 246, 0.14); border-color: var(--border-default); }
.mobile-menu__cta {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-menu__cta .btn { width: 100%; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 32px 0 24px;
  /* overflow-x:clip lets the blob blur fade vertically beyond the section
     edge instead of being chopped by a hard rectangular boundary, while
     still preventing horizontal scroll caused by negative-positioned blobs. */
  overflow-x: clip;
}
@media (min-width: 640px)  { .hero { padding: 40px 0 28px; } }
@media (min-width: 1024px) { .hero { padding: 64px 0 40px; } }
@media (min-width: 1440px) { .hero { padding: 80px 0 56px; } }
@media (min-width: 1920px) { .hero { padding: 96px 0 64px; } }
.hero__inner {
  position: relative;
  display: grid;
  gap: 28px;
}
@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; } }
@media (min-width: 1440px) { .hero__inner { grid-template-columns: 1.15fr 1fr; gap: 80px; } }
@media (min-width: 1920px) { .hero__inner { grid-template-columns: 1.2fr 1fr; gap: 120px; } }
.hero__eyebrow { margin-bottom: 14px; }
.hero__title { margin-bottom: 16px; }
.hero__subtitle { color: var(--text-muted); font-size: var(--text-body-lg); max-width: 60ch; margin-bottom: 24px; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .hero__cta .btn { flex: 1 1 100%; }
}

/* Crypto-widgets row */
.widgets-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 32px;
}
@media (min-width: 560px)  { .widgets-row { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .widgets-row { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1440px) { .widgets-row { gap: 20px; margin-top: 48px; } }
.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-card);
  padding: 14px;
  overflow: hidden;
  transition: border-color var(--t-base);
}
.widget-card:hover { border-color: var(--border-glow); }

/* ---------------- FX Calculator ---------------- */
.fx-card {
  padding: 20px;
  position: relative;
}
@media (min-width: 480px)  { .fx-card { padding: 24px; } }
@media (min-width: 768px)  { .fx-card { padding: 28px; } }
@media (min-width: 1440px) { .fx-card { padding: 36px; } }
.fx-card__title {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  font-size: 14px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.fx-row {
  display: grid; grid-template-columns: minmax(90px, 1fr) 1.4fr; gap: 12px; align-items: end;
}
@media (max-width: 360px) {
  .fx-row { grid-template-columns: 1fr; gap: 8px; }
}
.fx-divider {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin: 16px 0;
}
.fx-divider::before {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1px;
  background: var(--border-default);
}
.fx-swap-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: var(--bg-card);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base), background var(--t-base);
}
.fx-swap-btn:hover { transform: rotate(180deg); border-color: var(--border-glow); }
.fx-swap-btn img { width: 18px; height: 18px; filter: brightness(0) invert(1); opacity: 0.85; }

.currency-select {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: var(--bg-translucent);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
}
.currency-select:hover { border-color: var(--border-glow); }
.currency-select img { width: 12px; height: 12px; opacity: 0.7; transition: transform var(--t-base); }
.currency-select[aria-expanded="true"] img { transform: rotate(180deg); }

.fx-input {
  width: 100%;
  background: var(--bg-translucent);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}
.fx-input:focus { border-color: var(--border-glow); outline: none; }

.fx-rate {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Currency dropdown (used by both calc.js currency selects) */
.currency-dropdown {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 6px;
  z-index: var(--z-dropdown);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-width: 120px;
  max-height: 260px; overflow-y: auto;
}
.currency-dropdown-item {
  display: block; width: 100%;
  padding: 8px 12px;
  background: transparent; border: 0;
  text-align: left;
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.currency-dropdown-item:hover { background: rgba(139, 92, 246, 0.14); }
.currency-dropdown.show { animation: fadein 0.18s var(--ease) both; }

/* ---------------- Currency Table ---------------- */
.rates-block { display: grid; gap: 20px; }
@media (min-width: 1024px) { .rates-block { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 28px; } }
@media (min-width: 1440px) { .rates-block { grid-template-columns: 1.4fr 1fr; gap: 40px; } }

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
}
.rates-table thead th {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
}
.rates-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-faint);
  font-size: 15px;
  font-weight: 600;
}
.rates-table tbody td:first-child { font-family: var(--font-sans); color: var(--text-muted); }
.rates-table tbody tr:hover { background: rgba(139, 92, 246, 0.05); }
.rates-table .cell-buy { color: var(--green); }
.rates-table .cell-sell { color: var(--red); }
.rates-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-default);
  font-size: 14px; font-weight: 700;
  color: var(--text-muted);
}

/* Crypto cards (USD/EUR/CNY) */
.crypto-cards {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 20px;
}
@media (min-width: 480px) { .crypto-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .crypto-cards { margin-top: 0; } }
.crypto-card { padding: 20px; }
@media (min-width: 1440px) { .crypto-card { padding: 24px; } }
.crypto-card__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.crypto-card__icon {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--grad-soft);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-default);
}
.crypto-card__icon img { width: 22px; height: 22px; }
.crypto-card__buttons { display: inline-flex; padding: 3px; background: rgba(255, 255, 255, 0.04); border-radius: var(--r-pill); }
.crypto-card__buttons button {
  background: transparent; border: 0;
  padding: 5px 11px;
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.crypto-card__buttons button.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}
.crypto-card__name { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.crypto-card__price { font-family: var(--font-mono); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }

/* ---------------- Features ---------------- */
.features {
  display: grid; gap: 28px;
}
@media (min-width: 1024px) { .features { grid-template-columns: 1fr 1.6fr; align-items: start; gap: 48px; } }
@media (min-width: 1440px) { .features { grid-template-columns: 1fr 1.9fr; gap: 64px; } }
.features__heading { margin-bottom: 16px; }
.features__description { color: var(--text-muted); font-size: 15px; max-width: 48ch; line-height: 1.6; }
.features__grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px)  { .features__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .features__grid { gap: 20px; } }
@media (min-width: 1280px) { .features__grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { padding: 22px; height: 100%; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1440px) { .feature-card { padding: 28px; } }
.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--grad-soft);
  border: 1px solid var(--border-default);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.feature-card__icon img { width: 22px; height: 22px; }
.feature-card__title { font-size: 16px; font-weight: 700; }
.feature-card__text { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ---------------- Request form ---------------- */
.request {
  display: grid; gap: 16px;
}
@media (min-width: 640px)  { .request { gap: 20px; } }
@media (min-width: 1024px) { .request { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1440px) { .request { gap: 32px; max-width: 1200px; margin: 0 auto; } }
.request-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 768px)  { .request-card { padding: 28px; } }
@media (min-width: 1440px) { .request-card { padding: 36px; gap: 18px; } }
.req-top {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  margin-bottom: 6px;
}
.req-label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.req-required { color: var(--accent-light); font-size: 11px; }
.req-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 360px) { .req-row { grid-template-columns: 1fr; } }
.req-currency-wrap { position: relative; }
.req-currency-select {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-translucent);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-weight: 700;
}
.req-currency-select img { width: 12px; height: 12px; opacity: 0.7; transition: transform var(--t-base); }
.req-currency-select[aria-expanded="true"] img { transform: rotate(180deg); }
.req-dropdown {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 6px;
  z-index: var(--z-dropdown);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-width: 140px;
  max-height: 260px; overflow-y: auto;
}
.req-dropdown-item {
  display: block; width: 100%;
  padding: 8px 12px;
  background: transparent; border: 0;
  text-align: left;
  border-radius: var(--r-sm);
  color: var(--text-primary); font-weight: 600;
}
.req-dropdown-item:hover { background: rgba(139, 92, 246, 0.14); }
.req-info-list { padding-left: 18px; margin: 0; color: var(--text-muted); font-size: 13px; }
.req-info-list li { padding: 4px 0; }
.req-submit { margin-top: 8px; align-self: flex-start; }
.req-note { font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.req-notification {
  position: fixed; right: 20px; bottom: 20px;
  z-index: var(--z-toast);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-card);
  padding: 14px 18px;
  box-shadow: var(--shadow-glow);
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-base);
}
.req-notification.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.req-notification-line2 { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; }
.req-notification-check { width: 16px; height: 16px; }

/* ---------------- Reviews / Map / Sections ---------------- */
.section-title { margin-bottom: 24px; }
.reviews-section { padding: 56px 0; }
.reviews-slider {
  padding: 32px 0 8px;
  margin: 0 auto;
}
.reviews-slider .slick-list {
  /* Top/bottom padding leaves room for the lift (-6px) + shadow of the active card. */
  padding: 28px 0 !important;
  overflow: hidden;
}
.reviews-slider .slick-track { display: flex; align-items: stretch; }
.reviews-slider .slide { padding: 0 12px; height: auto; }

/* Slick dots — our visual style (default ::before contents are unicode dot) */
.reviews-slider .slick-dots {
  position: static;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.reviews-slider .slick-dots li {
  width: 8px; height: 8px;
  margin: 0;
}
.reviews-slider .slick-dots li button {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  font-size: 0;
  cursor: pointer;
  transition: background var(--t-base), transform var(--t-base) var(--ease);
}
.reviews-slider .slick-dots li button::before { content: none; }
.reviews-slider .slick-dots li:hover button { background: rgba(255,255,255,0.32); }
.reviews-slider .slick-dots li.slick-active button {
  background: var(--grad-primary);
  transform: scale(1.4);
}

/* Card uses the production easyexops.com transform/shadow choreography,
   but in our dark palette. Three different transition durations on purpose:
   transform 420ms + box-shadow 420ms with the same easing = lifts in sync;
   opacity 220ms (faster, linear ease) = the appearing card "fades in" before
   it finishes scaling — that's the trick that reads as smooth. */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-card-lg);
  padding: 32px 28px;
  min-height: 240px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  /* 1400 ms matches slick's `speed: 1400` in slick-init.js so the card
     scale/lift finishes exactly when the track stops translating. easeInOutCubic
     gives a slow start and slow finish — feels like the card glides past. */
  transition:
    transform 1400ms cubic-bezier(.65, 0, .35, 1),
    box-shadow 1400ms cubic-bezier(.65, 0, .35, 1),
    border-color 1400ms cubic-bezier(.65, 0, .35, 1),
    opacity 900ms ease;
  will-change: transform, opacity;
}
@media (min-width: 768px)  { .review-card { padding: 48px 40px; min-height: 280px; } }
@media (min-width: 1280px) { .review-card { padding: 64px 56px 64px 48px; min-height: 320px; } }

/* Non-centre cards: shrink + nearly-full opacity. NOT heavy-faded. */
.reviews-slider .slick-slide:not(.slick-center) .review-card {
  transform: scale(0.92);
  opacity: 0.92;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

/* Centre card: lift up + scale up + extra shadow */
.reviews-slider .slick-center .review-card {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45),
              0 12px 36px rgba(139, 92, 246, 0.22);
  border-color: var(--border-glow);
  z-index: 5;
  opacity: 1;
}

/* Mobile: 1 slide visible, no scale shenanigans needed — full focus. */
@media (max-width: 900px) {
  .reviews-slider .slick-slide:not(.slick-center) .review-card {
    transform: scale(0.96);
    opacity: 0.85;
  }
  .reviews-slider .slick-center .review-card {
    transform: translateY(-2px) scale(1);
  }
}
/* ------- Review card internals: avatar + identity + stars + quote + footer ------- */
.review-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2vw, 28px); min-height: 260px; }
.review-card__head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-magenta));
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}
.review-card__id { min-width: 0; }
.review-card__name {
  color: var(--text-strong);
  font-weight: 700;
  font-size: var(--text-body);
  line-height: 1.2;
  margin-bottom: 2px;
}
.review-card__role {
  color: var(--text-muted);
  font-size: var(--text-xs);
  line-height: 1.3;
}
.review-card__stars {
  display: inline-flex; gap: 2px;
  font-size: 13px;
  letter-spacing: 1px;
}
.review-star { color: rgba(255, 255, 255, 0.18); transition: color 200ms ease; }
.review-star.is-on { color: #FCD34D; text-shadow: 0 0 8px rgba(252, 211, 77, 0.5); }
.review-card__quote {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--accent-violet);
  color: var(--text-strong);
  font-size: var(--text-body);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}
.review-card__foot {
  color: var(--text-faint);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  text-align: right;
  padding-top: 4px;
  border-top: 1px solid var(--border-default);
}
/* The old leading-quote decoration would now collide with the new layout. */
.review-card::before { display: none; }
.review-card__legacy::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 0.8;
  color: var(--accent-light);
  opacity: 0.18;
  position: absolute;
  top: 8px; left: 18px;
  pointer-events: none;
}
.review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.02em;
  margin-top: auto;
  z-index: 1;
}
.review-text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.65;
  z-index: 1;
  position: relative;
}
@media (min-width: 768px) { .review-text { font-size: 16px; } }

.reviews-controls { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.reviews-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border-default);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t-base), border-color var(--t-base);
}
.reviews-btn:hover { background: rgba(139, 92, 246, 0.2); border-color: var(--border-glow); }
.reviews-btn img { width: 18px; height: 18px; filter: brightness(0) invert(1); opacity: 0.8; }
.reviews-btn--prev img { transform: rotate(-90deg); }
.reviews-btn--next img { transform: rotate(90deg); }

.map-section { padding: 40px 0 64px; }
.map-container { position: relative; }
.map-image { width: 100%; height: auto; filter: drop-shadow(0 4px 20px rgba(139, 92, 246, 0.1)); }
.map-pin {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-magenta);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.18), 0 0 8px rgba(236, 72, 153, 0.4);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform var(--duration-fast) ease, background var(--duration-fast) ease;
}
.map-pin:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.4);
}
/* Pins were animated (pulse-pin) — removed because the constant blink
   reads as 'something is wrong' and hurts focus. Static dots, hover lift. */

/* Smaller pins on phones so the densely-packed Russian capitals
   don't overlap each other. */
@media (max-width: 768px) {
  .map-pin {
    width: 7px; height: 7px;
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.18), 0 0 6px rgba(236, 72, 153, 0.4);
  }
}
@media (max-width: 480px) {
  .map-pin {
    width: 5px; height: 5px;
    box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.22);
  }
}
.map-tooltip {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 8px 12px;
  font-size: 13px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 5;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.map-tooltip.show { opacity: 1; }

/* ---------------- Binance widget ----------------
   Third-party widget. Selectors below match what the legacy stylesheet used
   (only branding/credit chrome, never the card rows themselves — those are
   themselves anchors to binance.com so hiding them by href is fatal).
*/
.binance-wrapper {
  position: relative;
  padding: 16px 0;
  /* Break out of any parent's max-width so the marquee spans the full
     viewport edge-to-edge. width:100vw + margin-left: calc(50% - 50vw)
     is the classic 'full-bleed inside a centred container' trick. */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.binance-widget-marquee img[src*="binance"],
.binance-widget-marquee img[src*="bnbstatic"],
.binance-widget-marquee [class*="header" i],
.binance-widget-marquee [class*="powered" i],
.binance-widget-marquee [class*="brand" i],
.binance-widget-marquee [class*="logo" i],
.binance-widget-marquee [data-testid*="brand" i],
.binance-widget-marquee [data-testid*="powered" i] {
  display: none !important;
}

/* ---------------- Footer ---------------- */
.footer {
  border-top: 1px solid var(--border-default);
  background: var(--bg-footer);
  padding: 48px 0 24px;
  margin-top: 56px;
}
@media (min-width: 768px)  { .footer { padding: 64px 0 28px; margin-top: 72px; } }
@media (min-width: 1440px) { .footer { padding: 80px 0 32px; margin-top: 96px; } }
.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
@media (min-width: 1440px) { .footer__grid { gap: 56px; } }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer__sponsor { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.partner-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 280px;
}
@media (min-width: 480px) { .partner-grid { grid-template-columns: repeat(3, 1fr); max-width: 360px; } }
.partner {
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-faint);
  border-radius: var(--r-sm);
  transition: border-color var(--t-base);
}
.partner:hover { border-color: var(--border-default); }
.partner img { max-height: 28px; width: auto; opacity: 0.9; }

.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__heading {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.footer__link {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--t-base);
}
.footer__link:hover { color: var(--text-primary); }

.support-btns { display: flex; flex-direction: column; gap: 10px; max-width: 260px; }
.support-btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--t-base), border-color var(--t-base);
}
.support-btn:hover { background: rgba(139, 92, 246, 0.2); border-color: var(--border-glow); }
.support-btn img { width: 18px; height: 18px; }

.footer-qa {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 14px;
  font-size: 13px;
}
.footer-qa a { color: var(--accent-light); }
.footer-qa a:hover { color: var(--text-primary); }

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-faint);
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.6;
}

/* Floating CTA (Telegram quick) */
.floating-cta {
  position: fixed; right: 16px; bottom: 16px;
  z-index: var(--z-toast);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow-strong);
  border: 0;
  transition: transform var(--t-base) var(--ease);
}
.floating-cta:hover { transform: scale(1.05); }
.floating-cta img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
@media (min-width: 768px)  { .floating-cta { width: 56px; height: 56px; right: 24px; bottom: 24px; } .floating-cta img { width: 26px; height: 26px; } }
@media (min-width: 1440px) { .floating-cta { width: 60px; height: 60px; right: 32px; bottom: 32px; } .floating-cta img { width: 28px; height: 28px; } }

/* ---------------- Animations ---------------- */
@keyframes fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadein { animation: fadein 0.5s var(--ease) both; }
.animate-fadein-stagger > * { opacity: 0; animation: fadein 0.5s var(--ease) forwards; }
.animate-fadein-stagger > *:nth-child(1) { animation-delay: 0.04s; }
.animate-fadein-stagger > *:nth-child(2) { animation-delay: 0.10s; }
.animate-fadein-stagger > *:nth-child(3) { animation-delay: 0.16s; }
.animate-fadein-stagger > *:nth-child(4) { animation-delay: 0.22s; }
.animate-fadein-stagger > *:nth-child(5) { animation-delay: 0.28s; }
.animate-fadein-stagger > *:nth-child(6) { animation-delay: 0.34s; }

@keyframes pulse-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.6; } }
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-magenta);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------------- Utility helpers ---------------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.hidden { display: none; }
@media (min-width: 640px) { .sm\:flex { display: flex; } .sm\:hidden { display: none; } }
@media (min-width: 1024px) { .lg\:flex { display: flex; } .lg\:hidden { display: none; } }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.w-full { width: 100%; }
