/* ====================================================================
   Empire Agency — Static site styles
   Theme: tech blue (matches logo), responsive, mobile-first friendly
   ==================================================================== */

:root {
  --blue-900: #061a3f;
  --blue-800: #0a2a66;
  --blue-700: #0f3a8a;
  --blue-600: #1455c4;
  --blue-500: #2b7bff;
  --blue-400: #4f9bff;
  --cyan: #38d6ff;
  --ink: #0c1424;
  --text: #1f2a3d;
  --muted: #5d6b82;
  --bg: #ffffff;
  --bg-soft: #f4f8ff;
  --border: #e2e9f5;
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(10, 42, 102, 0.08);
  --shadow-md: 0 14px 40px rgba(10, 42, 102, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --header-h: 96px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Orbitron', var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--ink); }

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

.container-narrow { max-width: 820px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(20, 85, 196, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20, 85, 196, .45); }
.btn-ghost {
  background: transparent;
  color: var(--blue-700);
  border-color: rgba(20, 85, 196, .35);
}
.btn-ghost:hover { background: rgba(20, 85, 196, .07); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* Logo art has white padding around the wordmark; a fixed-height clip + slight
   vertical zoom crops that padding so the "EMPIRE" text reads larger & clearer. */
.brand { display: inline-flex; align-items: center; height: 80px; overflow: hidden; }
.brand-logo { height: 150px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue-500);
  transition: width .2s ease;
}
.nav-links a:hover { color: var(--blue-600); }
.nav-links a:hover::after { width: 100%; }

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

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-soft);
}
.lang-btn {
  border: 0;
  background: transparent;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
}

/* ---- Header contact buttons (Telegram + WhatsApp) ---- */
.header-contacts { display: flex; align-items: center; gap: 10px; }
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(10, 42, 102, .22);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.contact-btn svg { flex-shrink: 0; }
.contact-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.contact-tg { background: linear-gradient(135deg, #2ca5e0, #1c8adb); }
.contact-tg:hover { box-shadow: 0 10px 22px rgba(28, 138, 219, .5); }
.contact-wa { background: linear-gradient(135deg, #36d962, #1faf4e); }
.contact-wa:hover { box-shadow: 0 10px 22px rgba(31, 175, 78, .5); }
/* gentle attention pulse to make contacts stand out */
.contact-tg { animation: contactPulse 2.6s ease-in-out infinite; }
.contact-wa { animation: contactPulse 2.6s ease-in-out infinite .6s; }
@keyframes contactPulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(10, 42, 102, .22); }
  50%      { box-shadow: 0 6px 22px rgba(43, 123, 255, .55); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-tg, .contact-wa { animation: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(56, 214, 255, .18), transparent 60%),
    linear-gradient(160deg, var(--blue-900), var(--blue-700) 70%, var(--blue-600));
  color: var(--white);
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 20%, black, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, .85);
  max-width: 540px;
  margin: 0 0 24px;
}
.hero-list { display: grid; gap: 10px; margin-bottom: 30px; }
.hero-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, .9);
  font-size: 15.5px;
}
.hero-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 800;
  display: grid; place-items: center;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,.12); }

.hero-cards { display: grid; gap: 16px; }
.hero-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(6px);
  transition: transform .2s, background .2s;
}
.hero-card:hover { transform: translateX(6px); background: rgba(255,255,255,.13); }
.hero-card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(56, 214, 255, .18);
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--cyan);
}
.hero-card-icon svg { width: 26px; height: 26px; }
.hero-card:nth-child(1) .hero-card-icon { background: linear-gradient(135deg, #38d6ff, #2b7bff); color: var(--white); box-shadow: 0 12px 26px rgba(56,214,255,.28); }
.hero-card:nth-child(2) .hero-card-icon { background: linear-gradient(135deg, #f0b90b, #ff7a45); color: var(--white); box-shadow: 0 12px 26px rgba(240,185,11,.28); }
.hero-card:nth-child(3) .hero-card-icon { background: linear-gradient(135deg, #36d962, #20c997); color: var(--white); box-shadow: 0 12px 26px rgba(54,217,98,.25); }
.hero-card h3 { font-size: 17px; color: var(--white); }

/* ---------------- Stats ---------------- */
.stats {
  background: var(--blue-800);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 20px;
  text-align: center;
}
.stat { display: grid; gap: 4px; justify-items: center; }
.stat-icon { color: var(--cyan); margin-bottom: 6px; line-height: 0; }
.stat-icon svg { width: 30px; height: 30px; }
.stat:nth-child(1) .stat-icon { color: #38d6ff; }
.stat:nth-child(2) .stat-icon { color: #36d962; }
.stat:nth-child(3) .stat-icon { color: #f0b90b; }
.stat:nth-child(4) .stat-icon { color: #ff6b8a; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--cyan);
}
.stat-label { font-size: 14px; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: 1px; }

/* ---------------- Sections ---------------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  margin: 0 0 10px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-lead { color: var(--muted); margin: 14px 0 0; font-size: 17px; }

/* ---------------- Grids & Cards ---------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(43,123,255,.4); }
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 16px;
  background: rgba(43, 123, 255, .1);
  color: var(--blue-600);
  box-shadow: 0 10px 22px rgba(20, 85, 196, .12);
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.icon-grad {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 8px 18px rgba(20, 85, 196, .3);
}
.grid-3 .card:nth-child(1) .card-icon { background: linear-gradient(135deg, #2b7bff, #38d6ff); color: var(--white); }
.grid-3 .card:nth-child(2) .card-icon { background: linear-gradient(135deg, #36d962, #20c997); color: var(--white); }
.grid-3 .card:nth-child(3) .card-icon { background: linear-gradient(135deg, #8b5cf6, #ec4899); color: var(--white); }
.grid-3 .card:nth-child(4) .card-icon { background: linear-gradient(135deg, #f97316, #facc15); color: var(--white); }
.grid-3 .card:nth-child(5) .card-icon { background: linear-gradient(135deg, #06b6d4, #14b8a6); color: var(--white); }
.grid-3 .card:nth-child(6) .card-icon { background: linear-gradient(135deg, #ff477e, #ff9f1c); color: var(--white); }
.grid-2 .card:nth-child(1) .card-icon.icon-grad { background: linear-gradient(135deg, #2b7bff, #38d6ff); box-shadow: 0 10px 24px rgba(43,123,255,.28); }
.grid-2 .card:nth-child(2) .card-icon.icon-grad { background: linear-gradient(135deg, #f0b90b, #ff7a45); box-shadow: 0 10px 24px rgba(240,185,11,.28); }
.grid-2 .card:nth-child(3) .card-icon.icon-grad { background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 10px 24px rgba(139,92,246,.25); }
.grid-2 .card:nth-child(4) .card-icon.icon-grad { background: linear-gradient(135deg, #36d962, #20c997); box-shadow: 0 10px 24px rgba(54,217,98,.24); }
.card h3 { font-size: 19px; margin-bottom: 8px; color: var(--blue-800); }
.card p { color: var(--muted); margin: 0; }
.card-lg { padding: 32px; }

.check-list { display: grid; gap: 11px; margin-top: 6px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: rgba(43,123,255,.12);
  color: var(--blue-600);
  font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.tag {
  background: rgba(43,123,255,.09);
  color: var(--blue-700);
  border: 1px solid rgba(43,123,255,.2);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 500;
}

/* ---------------- Steps ---------------- */
.steps .step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 18px;
}
.step-num {
  width: 54px; height: 54px;
  margin: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  border-radius: 16px;
}
.step:nth-child(1) .step-num { background: linear-gradient(135deg, #2b7bff, #38d6ff); box-shadow: 0 10px 22px rgba(43,123,255,.24); }
.step:nth-child(2) .step-num { background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 10px 22px rgba(139,92,246,.22); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, #f0b90b, #ff7a45); box-shadow: 0 10px 22px rgba(240,185,11,.22); }
.step:nth-child(4) .step-num { background: linear-gradient(135deg, #36d962, #20c997); box-shadow: 0 10px 22px rgba(54,217,98,.22); }
.step-icon {
  width: 68px; height: 68px;
  display: grid; place-items: center;
  margin: 0;
  color: var(--blue-600);
}
.step-icon svg { width: 44px; height: 44px; }
.step:nth-child(1) .step-icon { color: #2b7bff; }
.step:nth-child(2) .step-icon { color: #c026d3; }
.step:nth-child(3) .step-icon { color: #d97706; }
.step:nth-child(4) .step-icon { color: #16a34a; }
.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.payment-info {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.payment-media {
  min-height: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
}
.payment-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}
.payment-copy { display: grid; align-content: start; gap: 14px; }
.payment-copy .section-eyebrow { margin: 0; }
.payment-copy h3 { font-size: 24px; color: var(--blue-800); margin: 0; }
.payment-copy p { color: var(--muted); margin: 0; }
.payment-wallets { display: grid; gap: 10px; }
.payment-wallet {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.payment-wallet span { font-weight: 700; color: var(--blue-800); }
.payment-wallet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.payment-wallet code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--text);
  word-break: break-all;
}
.wallet-inline-copy {
  border: 0;
  border-radius: 8px;
  background: var(--blue-700);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  min-width: 72px;
  padding: 8px 10px;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.wallet-inline-copy:hover {
  background: var(--blue-600);
  box-shadow: 0 8px 18px rgba(10, 42, 102, 0.18);
  transform: translateY(-1px);
}
.wallet-inline-copy:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}
.payment-copy h4 { margin: 4px 0 0; color: var(--blue-800); font-size: 16px; }
.payment-notes { display: grid; gap: 8px; color: var(--text); font-size: 14.5px; }
.payment-support {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-weight: 700;
}
.payment-support a { color: var(--blue-600); }
.payment-support a:hover { text-decoration: underline; }

/* ---------------- Article cards ---------------- */
.article-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.article-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background-color: var(--blue-900);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.article-thumb-1,
.article-thumb-2,
.article-thumb-3,
.article-thumb-4,
.article-thumb-5,
.article-thumb-6 {
  background-size: cover;
}
.article-thumb-1 { background-image: url(../images/articles/gambling-ai.jpg); }
.article-thumb-2 { background-image: url(../images/articles/finance-meta-ads-2026.png); }
.article-thumb-3 { background-image: url(../images/articles/news-publisher-growth-2026.png); }
.article-thumb-4 { background-image: url(../images/articles/bitcoin-ai.jpg); }
.article-thumb-5 { background-image: url(../images/articles/election-facebook-ads-2026.png); }
.article-thumb-6 { background-image: url(../images/articles/supplements-facebook-ads-2026.png); }
.articles-grid .article-card h3 { font-size: 17px; }
.article-tag {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(7, 20, 48, .82);
  border: 1px solid rgba(255,255,255,.58);
  padding: 8px 15px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,.32);
  backdrop-filter: blur(8px);
}
.article-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card h3 { font-size: 18.5px; color: var(--blue-800); line-height: 1.35; }
.article-excerpt { color: var(--muted); margin: 0; font-size: 15px; }
.article-meta { color: var(--muted); font-size: 13.5px; margin: 0; }
.article-link { margin-top: auto; padding-top: 6px; color: var(--blue-600); font-weight: 700; font-size: 14.5px; }
.article-card:hover .article-link { text-decoration: underline; }

/* ---------------- Article (single post) page ---------------- */
.post-hero {
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(56,214,255,.18), transparent 60%),
    linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  padding: 60px 0 56px;
}
.post-hero .post-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--blue-900); background: var(--cyan);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 18px;
}
.post-hero h1 {
  color: var(--white);
  font-size: clamp(28px, 4.5vw, 44px);
  max-width: 820px;
  margin-bottom: 16px;
}
.post-hero .post-meta { color: rgba(255,255,255,.8); font-size: 15px; }
.breadcrumb { font-size: 14px; margin-bottom: 22px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--cyan); }

.post-content { padding: 56px 0 72px; }
.post-content .container { max-width: 760px; }
.post-content .post-lead { font-size: 20px; color: var(--text); font-weight: 500; margin: 0 0 28px; }
.post-content h2 { font-size: 26px; color: var(--blue-800); margin: 36px 0 14px; }
.post-content p { font-size: 17px; color: var(--text); margin: 0 0 18px; line-height: 1.75; }
.post-content ul.post-list { display: grid; gap: 10px; margin: 0 0 18px; }
.post-content ul.post-list li { position: relative; padding-left: 28px; font-size: 17px; }
.post-content ul.post-list li::before {
  content: '✓'; position: absolute; left: 0; top: 2px;
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(43,123,255,.12); color: var(--blue-600);
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.post-cta {
  margin-top: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.post-cta h3 { font-size: 22px; color: var(--blue-800); margin-bottom: 8px; }
.post-cta p { color: var(--muted); margin: 0 0 18px; }
.post-figure { margin: 30px 0; }
.post-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.post-figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.back-link { display: inline-block; margin-top: 36px; color: var(--blue-600); font-weight: 700; }
.back-link:hover { text-decoration: underline; }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 20px 22px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--blue-800);
  font-family: var(--font);
}
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(43,123,255,.1);
  color: var(--blue-600);
  font-size: 20px;
  font-weight: 700;
  transition: transform .25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------------- Payment / Wallet ---------------- */
.wallet-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  text-align: center;
}
.wallet-net {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.wallet-badge {
  background: linear-gradient(135deg, #36d962, #1faf4e);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  padding: 4px 12px;
  border-radius: 999px;
}
.wallet-reveal {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 6px 0 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.wallet-address {
  flex: 1;
  min-width: 240px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px;
  color: var(--blue-800);
  background: var(--bg-soft);
  border: 1px dashed rgba(20, 85, 196, .4);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  word-break: break-all;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-copy { white-space: nowrap; }
.wallet-warn {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------------- CTA band ---------------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(56,214,255,.2), transparent 70%),
    linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-inner h2 { font-size: clamp(26px, 4vw, 38px); color: var(--white); margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,.85); font-size: 18px; margin: 0 0 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-actions .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.45); }
.cta-actions .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.78); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding: 60px 20px 40px;
}
.footer-logo { height: 72px; width: auto; object-fit: contain; margin-bottom: 16px; }
.footer-brand p { margin: 0; max-width: 320px; font-size: 15px; }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:hover { color: var(--cyan); }
.footer-col li { font-size: 14.5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .fc-icon {
  flex-shrink: 0;
  color: var(--cyan);
  line-height: 0;
  margin-top: 2px;
}
.footer-contact .fc-icon svg { width: 17px; height: 17px; }
.footer-contact li:nth-child(1) .fc-icon { color: #2ca5e0; }
.footer-contact li:nth-child(2) .fc-icon { color: #f0b90b; }
.footer-contact li:nth-child(3) .fc-icon { color: #36d962; }
.footer-contact li:nth-child(4) .fc-icon { color: #ff6b8a; }
.footer-contact li:nth-child(5) .fc-icon { color: #8b5cf6; }
.footer-contact a { word-break: break-word; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
}
.footer-bottom p { margin: 0; }

/* ---------------- Floating contact buttons (mobile) ---------------- */
.floating-contacts {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* On desktop the chat buttons live in the header, so only the wallet floats.
   On mobile (≤760px) all three float (see media query below). */
.float-tg, .float-wa { display: none; }
.float-btn {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .15s ease;
}
.float-btn svg { width: 28px; height: 28px; }
.float-btn:active { transform: scale(.93); }
.float-tg { background: linear-gradient(135deg, #2ca5e0, #1c8adb); }
.float-wa { background: linear-gradient(135deg, #36d962, #1faf4e); }
.float-wallet { background: linear-gradient(135deg, #f0b90b, #d99400); }

/* wallet popover above the floating buttons */
.wallet-pop {
  position: absolute;
  right: 68px;
  bottom: 0;
  width: 252px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .26);
  padding: 16px;
  text-align: center;
}
.wallet-pop-net {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; color: var(--muted); margin-bottom: 10px;
}
.wallet-pop-addr {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--blue-800);
  background: var(--bg-soft);
  border: 1px dashed rgba(20, 85, 196, .4);
  border-radius: 9px;
  padding: 10px;
  word-break: break-all;
  margin-bottom: 10px;
}
.wallet-pop-copy { width: 100%; padding: 9px 12px; font-size: 14px; }
/* attention ping ring */
.float-btn::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 currentColor;
  opacity: .55;
  animation: floatPing 2.4s ease-out infinite;
}
.float-wa::after { animation-delay: .6s; }
@keyframes floatPing {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.5); opacity: .5; }
  70%  { box-shadow: 0 0 0 14px rgba(255,255,255,0); opacity: 0; }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .float-btn::after { animation: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand contact"
      "links services";
  }
  .footer-grid .footer-col:nth-child(1) { grid-area: brand; }
  .footer-grid .footer-col:nth-child(2) { grid-area: links; }
  .footer-grid .footer-col:nth-child(3) { grid-area: services; }
  .footer-grid .footer-col:nth-child(4) { grid-area: contact; }
}

@media (max-width: 760px) {
  /* shrink the (now larger) logo & header so the top bar fits small phones */
  :root { --header-h: 76px; }
  .brand { height: 58px; }
  .brand-logo { height: 108px; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  /* on mobile the header contacts move to the floating widget bottom-right */
  .header-contacts { display: none; }
  .float-tg, .float-wa { display: grid; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .payment-info { grid-template-columns: 1fr; padding: 22px; }
  .payment-media img { min-height: 260px; max-height: 360px; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .stat {
    min-height: 132px;
    padding: 18px 8px;
    align-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.045);
  }
  .stat-icon { margin-bottom: 10px; }
  .stat-label { line-height: 1.35; }
  .section { padding: 60px 0; }
}

@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .btn { font-size: 14px; padding: 12px 20px; }
  /* tighten the top bar further so nothing overflows on narrow phones */
  .container { padding: 0 16px; }
  .nav-bar { gap: 10px; }
  .nav-actions { gap: 8px; }
  .brand { height: 50px; }
  .brand-logo { height: 94px; }
  .lang-btn { padding: 6px 9px; font-size: 12px; }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .stat {
    min-height: 124px;
    padding: 16px 6px;
  }
  .stat-icon svg {
    width: 28px;
    height: 28px;
  }
  .stat-label {
    font-size: 12px;
    letter-spacing: .7px;
  }
}
