/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }

:root {
  --primary: #4361EE;
  --primary-dark: #3451CE;
  --primary-light: #EEF2FF;
  --text: #111827;
  --text-2: #4B5563;
  --text-3: #9CA3AF;
  --border: #E5E7EB;
  --bg: #F8FAFF;
  --white: #FFFFFF;
  --shadow: 0 2px 20px rgba(67, 97, 238, 0.08);
  --shadow-lg: 0 8px 40px rgba(67, 97, 238, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(67,97,238,0.3); }
.btn--outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: var(--white);
}
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--ghost {
  border: 1.5px solid var(--border);
  color: var(--text-2);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn--full { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }

/* ─── HEADER ───────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}
.logo__text strong { font-weight: 800; color: var(--primary); }

/* NAV */
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
}
.nav__link:hover { background: var(--primary-light); color: var(--primary); }
.header__tg { margin-left: 8px; font-size: 14px; padding: 9px 16px; }

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #F0F4FF 0%, #FAFBFF 50%, #F8FAFF 100%);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(67,97,238,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #C7D2FE;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero__title span { color: var(--primary); }
.hero__sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 420px;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}
.stat:first-child { padding-left: 0; }
.stat strong { font-size: 22px; font-weight: 800; color: var(--text); }
.stat span { font-size: 13px; color: var(--text-3); font-weight: 500; }
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ─── EXCHANGE CARD ────────────────────────────────── */
.exchange-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: visible;
}
.exchange-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}
.exchange-card__title {
  font-weight: 700;
  font-size: 17px;
}
.exchange-card__badge {
  background: #ECFDF5;
  color: #059669;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #A7F3D0;
}
.exchange-form {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exchange-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.exchange-input-group {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: visible;
  transition: border-color var(--transition);
}
.exchange-input-group:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(67,97,238,0.1); }

/* CURRENCY SELECT */
.currency-select {
  position: relative;
  flex-shrink: 0;
}
.currency-select__btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 12px 12px 14px;
  border-right: 1.5px solid var(--border);
  border-radius: 0;
  background: #F9FAFB;
  transition: background var(--transition);
  min-width: 110px;
  white-space: nowrap;
}
.currency-select__btn:hover { background: var(--primary-light); }
.currency-icon {
  font-size: 16px;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.currency-name { font-weight: 700; font-size: 14px; }
.select-arrow { color: var(--text-3); margin-left: 2px; }
.currency-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 220px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  z-index: 500;
  display: none;
}
.currency-dropdown.drop-up {
  top: auto;
  bottom: calc(100% + 6px);
}
.currency-dropdown.open { display: block; }
.currency-search {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
  font-size: 13px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  color: var(--text);
}
.currency-list {
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
  padding: 6px 0;
}
.currency-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background var(--transition);
  font-size: 14px;
  font-weight: 500;
}
.currency-list li:hover { background: var(--primary-light); }
.currency-list li.selected { background: var(--primary-light); color: var(--primary); }
.currency-list .c-name { flex: 1; }
.currency-list .c-full { font-size: 12px; color: var(--text-3); font-weight: 400; }

/* AMOUNT INPUT */
.amount-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  min-width: 0;
}
.amount-input[readonly] { color: var(--text-2); }
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; }

/* SWAP BUTTON */
.exchange-middle {
  display: flex;
  align-items: center;
  gap: 12px;
}
.swap-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.swap-btn:hover { background: var(--primary); color: #fff; transform: rotate(180deg); }
.exchange-rate-info {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}
.exchange-note {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin-top: -4px;
}

/* ─── SECTION COMMON ───────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
}

/* ─── HOW IT WORKS ─────────────────────────────────── */
.how {
  padding: 90px 0;
  background: var(--white);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  text-align: center;
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: all var(--transition);
}
.step:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.step__num {
  font-size: 42px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.step__icon {
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.step__arrow {
  display: flex;
  align-items: center;
  padding: 0 12px;
  padding-bottom: 60px;
  flex-shrink: 0;
}

/* ─── LIVE INDICATOR ───────────────────────────────── */
.rates-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.live-dot.error { background: #EF4444; animation: none; }

/* ─── RATES ────────────────────────────────────────── */
.rates {
  padding: 90px 0;
}
.rates-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.rates-filter__btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-2);
  transition: all var(--transition);
  background: var(--white);
}
.rates-filter__btn:hover,
.rates-filter__btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}
.rates-table-wrap {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.rates-table {
  width: 100%;
  border-collapse: collapse;
}
.rates-table thead tr {
  background: #F9FAFB;
  border-bottom: 1.5px solid var(--border);
}
.rates-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.rates-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.rates-table tbody tr:last-child td { border-bottom: none; }
.rates-table tbody tr:hover { background: var(--primary-light); }
.rate-currency {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rate-currency .c-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.rate-currency .c-info strong { display: block; font-weight: 700; font-size: 14px; }
.rate-currency .c-info span { font-size: 12px; color: var(--text-3); }
.rate-val { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.rate-min { font-size: 13px; color: var(--text-2); }
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #059669;
}
.status-dot::before {
  content: '';
  width: 8px; height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.rate-exchange-btn {
  padding: 7px 16px;
  border-radius: 7px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.rate-exchange-btn:hover { background: var(--primary); color: #fff; }

/* ─── FEATURES ─────────────────────────────────────── */
.features {
  padding: 90px 0;
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ─── FAQ ──────────────────────────────────────────── */
.faq { padding: 90px 0; }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
}
.faq-question:hover { background: var(--primary-light); }
.faq-arrow { flex-shrink: 0; color: var(--text-3); transition: transform 0.3s ease; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ─── CONTACTS ─────────────────────────────────────── */
.contacts {
  padding: 90px 0;
  background: linear-gradient(135deg, #F0F4FF, #FAFBFF);
}
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contacts__text .section-tag { margin-bottom: 14px; }
.contacts__text .section-title { text-align: left; margin-bottom: 16px; }
.contacts__text p { color: var(--text-2); font-size: 16px; line-height: 1.65; margin-bottom: 28px; }
.contacts__links { display: flex; flex-direction: column; gap: 12px; }
.contacts__links .btn { width: fit-content; }
.contacts__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contacts__stat {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.contacts__stat:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.contacts__stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.contacts__stat span { font-size: 13px; color: var(--text-2); }

/* ─── FOOTER ───────────────────────────────────────── */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 52px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer__brand .logo { margin-bottom: 14px; }
.footer__brand .logo__text { color: #fff; }
.footer__brand p { font-size: 14px; line-height: 1.65; max-width: 280px; }
.footer__links h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer__links a {
  display: block;
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  flex-wrap: wrap;
}

/* ─── MODAL ────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.93) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: background var(--transition);
}
.modal__close:hover { background: var(--border); }
.modal__icon { margin: 0 auto 20px; }
.modal h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.modal p { font-size: 15px; color: var(--text-2); line-height: 1.6; margin-bottom: 24px; }

/* ─── TELEGRAM FLOAT BTN ───────────────────────────── */
#tg-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px; height: 54px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(67,97,238,0.35);
  z-index: 999;
  transition: all var(--transition);
}
#tg-float-btn:hover { background: var(--primary-dark); transform: scale(1.08); }

/* ─── RESPONSIVE ───────────────────────────────────── */

/* ── Tablet 960px ── */
@media (max-width: 960px) {
  .hero { padding: 60px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: 36px; }
  .hero__sub { max-width: 100%; }
  .exchange-card { max-width: 540px; margin: 0 auto; width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts__inner { grid-template-columns: 1fr; gap: 36px; }
  .contacts__text { text-align: center; }
  .contacts__text .section-title { text-align: center; font-size: 28px; }
  .contacts__links { align-items: center; }
  .contacts__links .btn { width: 100%; justify-content: center; max-width: 320px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── Mobile 768px ── */
@media (max-width: 768px) {
  /* Header */
  .nav { display: none; flex-direction: column; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px 16px;
    z-index: 99;
    box-shadow: var(--shadow);
  }
  .nav.open .nav__link { padding: 12px 16px; font-size: 15px; }
  .header__tg { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero { padding: 40px 0 56px; }
  .hero__title { font-size: 28px; }
  .hero__sub { font-size: 15px; margin-bottom: 28px; }

  /* Sections */
  .how, .features, .faq, .contacts { padding: 60px 0; }
  .rates { padding: 60px 0; }
  .section-title { font-size: 24px; }
  .section-header { margin-bottom: 36px; }

  /* Steps */
  .steps { flex-direction: column; gap: 14px; }
  .step__arrow { display: none; }
  .step { padding: 24px 20px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 22px 20px; display: flex; gap: 16px; align-items: flex-start; }
  .feature-card__icon { flex-shrink: 0; margin-bottom: 0; }
  .feature-card h3 { margin-bottom: 6px; }

  /* Rates table — скрываем Минимум и Статус, оставляем Отдаёте/Получаете/Курс/Кнопку */
  .rates-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rates-table th:nth-child(4),
  .rates-table td:nth-child(4),
  .rates-table th:nth-child(5),
  .rates-table td:nth-child(5) { display: none; }

  /* Contacts */
  .contacts__card { grid-template-columns: 1fr 1fr; }

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

/* ── Small mobile 480px ── */
@media (max-width: 480px) {
  .container { padding: 0 14px; }

  /* Hero */
  .hero { padding: 28px 0 36px; }
  .hero__inner { gap: 24px; }
  .hero__title { font-size: 24px; line-height: 1.2; }
  .hero__sub { font-size: 14px; margin-bottom: 20px; }
  .hero__stats { flex-wrap: wrap; gap: 14px; justify-content: flex-start; margin-bottom: 0; }
  .stat-sep { display: none; }
  .stat { padding: 0; }
  .stat strong { font-size: 19px; }

  /* Exchange card */
  .exchange-card { border-radius: 14px; width: 100%; max-width: 100%; }
  .exchange-card__header { padding: 14px 14px 0; }
  .exchange-form { padding: 12px 14px 16px; gap: 10px; }
  .exchange-input-group { width: 100%; overflow: visible; }
  .currency-select { flex-shrink: 0; max-width: 50%; }
  .currency-select__btn { min-width: 86px; padding: 10px 8px; }
  .currency-name { font-size: 13px; }
  .currency-icon { width: 22px; height: 22px; font-size: 11px; }
  .amount-input { font-size: 17px; padding: 10px 8px; min-width: 0; max-width: 100%; }
  .currency-dropdown { width: calc(100vw - 32px); max-width: 300px; }
  .exchange-rate-info { font-size: 12px; }
  .btn--full { padding: 13px; font-size: 15px; }

  /* Sections */
  .how, .features, .faq, .contacts, .rates { padding: 44px 0; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 14px; }

  /* Steps */
  .step { padding: 20px 16px; }
  .step__num { font-size: 32px; margin-bottom: 12px; }

  /* Rates table — оставляем: кто, кому, курс, кнопка */
  .rates-table th:nth-child(4),
  .rates-table td:nth-child(4),
  .rates-table th:nth-child(5),
  .rates-table td:nth-child(5) { display: none; }
  .rates-table td, .rates-table th { padding: 10px 8px; }
  .rate-currency .c-info span { display: none; }
  .rate-currency .c-icon { width: 26px; height: 26px; font-size: 11px; }
  .rate-val { font-size: 12px; white-space: normal; word-break: break-word; max-width: 90px; }
  .rate-exchange-btn { padding: 6px 10px; font-size: 12px; }

  /* FAQ */
  .faq-question { padding: 16px 16px; font-size: 14px; }
  .faq-answer p { padding: 0 16px 16px; }

  /* Contacts */
  .contacts__card { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contacts__stat { padding: 16px 12px; }
  .contacts__stat strong { font-size: 20px; }
  .contacts__stat span { font-size: 12px; }

  /* Rates filter */
  .rates-filter { gap: 6px; }
  .rates-filter__btn { padding: 7px 12px; font-size: 13px; }

  /* Modal */
  .modal { padding: 28px 18px; border-radius: 16px; }
  .modal h3 { font-size: 19px; }
  .modal p { font-size: 14px; }

  /* Footer */
  .footer { padding: 36px 0 24px; }
  .footer__links { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
  .footer__links h4 { width: 100%; margin-bottom: 4px; }
  .footer__links a { margin-bottom: 0; }
}

/* ── Very small 360px ── */
@media (max-width: 360px) {
  .hero__title { font-size: 21px; }
  .currency-select__btn { min-width: 76px; }
  .amount-input { font-size: 15px; }
  .contacts__card { grid-template-columns: 1fr; }
  .exchange-card__badge { display: none; }
}
