/* ===========================================================
   The Dark's Side — Crypto Analysis
   By @defenddark
   =========================================================== */

:root {
  --bg-0: #06070b;
  --bg-1: #0b0d14;
  --bg-2: #11141d;
  --bg-3: #181c28;
  --line: #232938;
  --text: #e9ecf3;
  --text-dim: #8a93a8;
  --text-mute: #5b6478;
  --accent: #f6c343;       /* gold */
  --accent-2: #ff5b6e;     /* red-pink */
  --accent-3: #5cf0c4;     /* teal */
  --green: #21d07a;
  --red: #ff4d6d;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-1: 0 10px 40px rgba(0,0,0,.45);
  --shadow-2: 0 4px 18px rgba(0,0,0,.55);
  --max: 1240px;
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Background ambience */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(800px 500px at 80% -10%, rgba(246,195,67,.10), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(92,240,196,.08), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(255,91,110,.07), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6,7,11,.6);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .3px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0b0d14;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name {
  font-size: 18px;
}
.brand-name span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #0b0d14 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(246,195,67,.35); color: #0b0d14 !important; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #0b0d14;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(246,195,67,.35); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--text-dim); background: rgba(255,255,255,.03); }

.btn-x {
  background: #0b0d14;
  color: #fff;
  border-color: #2a2f3d;
}
.btn-x:hover { border-color: #fff; }

/* ===== Hero ===== */

.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
  background: rgba(255,255,255,.02);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(33,208,122,.18);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.stat .n {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.stat .n .unit { color: var(--accent); }
.stat .l {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 240px at 80% 20%, rgba(246,195,67,.18), transparent 70%),
    radial-gradient(360px 220px at 10% 90%, rgba(92,240,196,.18), transparent 70%);
  pointer-events: none;
}
.hero-visual .ticker {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 18px;
  background: rgba(6,7,11,.75);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  gap: 22px;
  white-space: nowrap;
  overflow: hidden;
}
.hero-visual .ticker span b { color: var(--text); font-weight: 600; margin-right: 6px; }
.hero-visual .ticker .up { color: var(--green); }
.hero-visual .ticker .down { color: var(--red); }

.hero-chart-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  filter: contrast(1.05) saturate(1.05);
}

.hero-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11,13,20,.7);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ===== Brand banner ===== */

.brand-banner {
  position: relative;
  padding: 30px 0 10px;
}
.brand-banner .banner-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
}
.brand-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.brand-banner .banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(6,7,11,.35) 100%);
  pointer-events: none;
}

/* ===== Sections ===== */

section { padding: 80px 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  max-width: 720px;
}
.section-head .kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-dim);
  max-width: 520px;
  margin: 0;
}

/* ===== Value props ===== */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(246,195,67,.4); }
.value-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(246,195,67,.12);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
  font-size: 20px;
}
.value-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.value-card p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
}

/* ===== Showcase ===== */

.showcase {
  position: relative;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.chart-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  aspect-ratio: 16/11;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.chart-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.chart-card:hover { transform: translateY(-4px); border-color: rgba(246,195,67,.4); box-shadow: var(--shadow-2); }
.chart-card:hover img { transform: scale(1.04); }

.chart-card .meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(6,7,11,.92));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chart-card .coin {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  letter-spacing: .04em;
}
.chart-card .date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.chart-card .tf {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11,13,20,.75);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .04em;
}
.chart-card .verdict {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(33,208,122,.15);
  color: var(--green);
  border: 1px solid rgba(33,208,122,.4);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ===== Pricing / CTA ===== */

.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.tiers.tiers-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tier-logo {
  width: 168px;
  height: 168px;
  margin: 0 auto 24px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 26px rgba(246,195,67,.22));
}
.tier.featured .tier-logo {
  filter: drop-shadow(0 10px 32px rgba(246,195,67,.45));
}
.tier.tier-templar .tier-logo {
  width: 218px;   /* 30% bigger than 168 */
  height: 218px;
  filter: drop-shadow(0 12px 36px rgba(246,195,67,.5));
}
@media (max-width: 980px) {
  .tier-logo { width: 200px; height: 200px; }
  .tier.tier-templar .tier-logo { width: 260px; height: 260px; }
}

/* 𝕏 subscription banner */
.x-banner {
  margin-top: 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 26px 32px;
  background: linear-gradient(120deg, #0b0d14, #181c28);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.x-banner .x-mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #000;
  border: 1px solid #2a2f3d;
  display: grid; place-items: center;
  font-size: 26px;
  color: #fff;
  font-weight: 700;
}
.x-banner h3 {
  font-size: 22px;
  margin: 0 0 4px;
}
.x-banner p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}
.x-banner .x-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  margin-right: 8px;
  white-space: nowrap;
}
.x-banner .actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tier {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.tier.featured {
  border-color: rgba(246,195,67,.45);
  box-shadow: 0 0 0 1px rgba(246,195,67,.08), 0 24px 60px rgba(246,195,67,.08);
}
.tier .badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--accent);
  color: #0b0d14;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.tier h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.tier .lead {
  color: var(--text-dim);
  margin: 0 0 24px;
  font-size: 15px;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier ul li {
  padding-left: 28px;
  position: relative;
  color: var(--text);
  font-size: 15px;
}
.tier ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(246,195,67,.12);
  border: 1px solid rgba(246,195,67,.4);
}
.tier ul li::after {
  content: "";
  position: absolute;
  left: 5px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.tier .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
}
.tier .price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
}
.tier .per { color: var(--text-mute); font-size: 14px; }

/* ===== Filter bar ===== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.filter-bar button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-dim);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s ease;
  font-family: var(--font-body);
}
.filter-bar button:hover { color: var(--text); border-color: var(--text-dim); }
.filter-bar button.is-active {
  background: var(--accent);
  color: #0b0d14;
  border-color: var(--accent);
}
.filter-bar .count {
  margin-left: auto;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 12px;
  align-self: center;
  padding-right: 8px;
}

/* ===== Gallery ===== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery .chart-card { aspect-ratio: 4/3; }

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-mute);
}

/* ===== Lightbox ===== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
}
.lightbox .close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}
.lightbox .caption {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: rgba(11,13,20,.85);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== Final CTA ===== */

.final-cta {
  position: relative;
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  background:
    radial-gradient(800px 300px at 50% -10%, rgba(246,195,67,.18), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  overflow: hidden;
}
.final-cta h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 16px;
}
.final-cta p {
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 17px;
}
.final-cta .hero-actions { justify-content: center; }

/* ===== Contact ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
}
.contact-form {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 140px; }

.contact-side .card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
}
.contact-side h3 { font-size: 19px; margin-bottom: 14px; }
.contact-side p { color: var(--text-dim); margin: 0 0 18px; font-size: 15px; }
.contact-side .social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-side .social a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.contact-side .social a:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-side .social a .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  font-size: 14px;
  font-weight: 800;
}

/* ===== FAQ ===== */

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  color: var(--text-dim);
  margin: 12px 0 0;
  font-size: 15px;
}

/* ===== Footer ===== */

.footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
  margin-top: 60px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer p { color: var(--text-mute); font-size: 13px; margin: 0; }
.footer .links { display: flex; gap: 22px; }
.footer .links a { color: var(--text-dim); font-size: 14px; }
.footer .links a:hover { color: var(--accent); }
.footer .disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.7;
}

/* ===== Reveal animations ===== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
  .hero { padding: 50px 0 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .values { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tiers, .tiers.tiers-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .x-banner { grid-template-columns: 1fr; text-align: center; }
  .x-banner .x-mark { margin: 0 auto; }
  .x-banner .actions { justify-content: center; }
  section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .stat .n { font-size: 26px; }
  .showcase-grid, .gallery { grid-template-columns: 1fr; }
  .final-cta { padding: 50px 22px; }
  .hero h1 { font-size: 44px; }
}
