/* ==========================================================================
   Meridian Capital — Public company-profile frontend
   Investment, brokerage & trading company profile.
   Built on Bootstrap 5.3. Scoped under .site-body so it never leaks into the
   admin panel. Assets are local (system font stack); live market widgets are
   loaded on demand from TradingView and require an internet connection.
   ========================================================================== */

:root {
  /* Yellow & black theme. The primary yellow is a warm, muted amber-gold
     (not a bright neon yellow) so it reads as premium and is comfortable on
     the eye; black text always sits on the yellow fills for contrast. */
  --s-primary: #e0a516;
  --s-primary-rgb: 224, 165, 22;
  --s-primary-dark: #b8860b;
  --s-primary-soft: #fcf3da;
  --s-accent: #d98f12;
  --s-violet: #8b5cf6;
  --s-gold: #e0a516;
  --s-ink: #1a160f;
  --s-body: #4b463d;
  --s-muted: #9b958a;
  --s-border: #ece7dd;
  --s-surface: #ffffff;
  --s-surface-2: #faf7f1;
  --s-dark: #161208;
  --s-dark-2: #221b0e;
  --s-radius: 16px;
  --s-radius-sm: 10px;
  --s-radius-lg: 26px;
  --s-shadow-sm: 0 6px 18px rgba(26, 22, 15, .07);
  --s-shadow: 0 18px 40px rgba(26, 22, 15, .10);
  --s-shadow-lg: 0 30px 70px rgba(26, 22, 15, .16);
  --s-gradient: linear-gradient(120deg, #e0a516 0%, #f4c430 100%);
  --s-gradient-soft: linear-gradient(120deg, #fcf3da 0%, #fbe9c2 100%);
  --s-nav-h: 76px;
}

/* -------------------------------------------------------------- base ----- */
.site-body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--s-body);
  background: var(--s-surface);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.site-body h1, .site-body h2, .site-body h3,
.site-body h4, .site-body h5, .site-body h6 {
  color: var(--s-ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.site-body a { text-decoration: none; transition: color .2s ease; }
.site-body p { margin-bottom: 1rem; }
.site-body img { max-width: 100%; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
@media (max-width: 767.98px) { .section { padding: 4rem 0; } }

.text-gradient {
  /* Darker gold gradient so the highlighted words stay readable on the light
     hero background (the bright theme gradient would wash out as text). */
  background: linear-gradient(120deg, #b8860b 0%, #d98f12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead-muted { color: var(--s-body); font-size: 1.125rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--s-ink);
  background: var(--s-primary-soft);
  padding: .4rem .9rem;
  border-radius: 999px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.bg-soft { background: var(--s-surface-2); }
.bg-ink { background: var(--s-dark); }

/* ------------------------------------------------------------ buttons ---- */
.site-body .btn { border-radius: 999px; font-weight: 600; padding: .72rem 1.6rem; transition: all .25s ease; }
.site-body .btn-lg { padding: .9rem 2rem; font-size: 1.02rem; }
.site-body .btn-primary {
  background: var(--s-primary); border-color: var(--s-primary); color: var(--s-ink);
  box-shadow: 0 10px 24px rgba(var(--s-primary-rgb), .28);
}
.site-body .btn-primary:hover {
  background: var(--s-primary-dark); border-color: var(--s-primary-dark); color: #fff;
  transform: translateY(-2px); box-shadow: 0 14px 30px rgba(var(--s-primary-rgb), .36);
}
/* Solid yellow (no gradient) primary call-to-action button. */
.site-body .btn-gradient {
  background: var(--s-primary); color: var(--s-ink); border: none; font-weight: 700;
  box-shadow: 0 12px 26px rgba(var(--s-primary-rgb), .3);
}
.site-body .btn-gradient:hover { background: var(--s-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(var(--s-primary-rgb), .4); }
.site-body .btn-outline-light:hover { color: var(--s-ink); }
.site-body .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.site-body .btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-2px); }
.btn-icon { display: inline-flex; align-items: center; gap: .5rem; }

/* ------------------------------------------------------------- navbar ---- */
.site-nav {
  height: var(--s-nav-h);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
  z-index: 1030;
}
.site-nav.is-stuck { box-shadow: var(--s-shadow-sm); border-bottom-color: var(--s-border); }
.site-nav .navbar-brand { font-weight: 800; font-size: 1.4rem; color: var(--s-ink); letter-spacing: -.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--s-gradient); color: var(--s-ink);
  display: inline-grid; place-items: center; font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(var(--s-primary-rgb), .35);
}
.site-nav .nav-link {
  font-weight: 500; color: var(--s-ink); padding: .5rem .8rem !important;
  border-radius: 999px; position: relative; white-space: nowrap;
}
.site-nav .nav-link.active { font-weight: 600; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--s-primary-dark); }
.site-nav .nav-link.active { background: var(--s-primary-soft); }
/* Keep the right-hand actions on a single line and compact in the bar. */
.site-nav .btn { white-space: nowrap; }
.site-nav .navbar-collapse > .d-flex .btn { padding: .58rem 1.25rem; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav .navbar-brand { font-size: 1.2rem; }
  .site-nav .nav-link { padding: .5rem .62rem !important; }
  .site-nav .navbar-collapse > .d-flex .btn { padding: .55rem 1rem; }
}
@media (max-width: 991.98px) {
  .site-nav { height: auto; }
  .site-nav .navbar-collapse { padding: 1rem 0 .5rem; }
  .site-nav .nav-link { padding: .65rem .75rem !important; }
}

/* --------------------------------------------------------------- hero ---- */
.hero {
  position: relative;
  padding: calc(var(--s-nav-h) + 4.5rem) 0 5.5rem;
  background:
    radial-gradient(1100px 460px at 85% -10%, rgba(6, 182, 212, .12), transparent 60%),
    radial-gradient(900px 460px at 10% 0%, rgba(var(--s-primary-rgb), .12), transparent 55%),
    var(--s-surface);
  overflow: hidden;
}
.hero-title { font-size: clamp(2.1rem, 4.2vw, 3.35rem); line-height: 1.1; letter-spacing: -.02em; }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5;
  background: var(--s-gradient); pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-visual {
  position: relative; border-radius: var(--s-radius-lg);
  background: var(--s-gradient); aspect-ratio: 1 / 1;
  box-shadow: var(--s-shadow-lg); overflow: hidden;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(360px 360px at 30% 25%, rgba(255,255,255,.35), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 18px, transparent 18px 36px);
}
/* Photo variant: real image fills the visual with a soft scrim for depth so
   any overlaid float cards stay readable. */
.hero-visual.has-image { background-color: var(--s-dark); background-size: cover; background-position: center; }
.hero-visual.has-image::after {
  background: linear-gradient(180deg, rgba(22,18,8,.10) 0%, rgba(22,18,8,.42) 100%);
}
.hero-visual .hero-emoji {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(5rem, 18vw, 9rem); z-index: 1;
}
.float-card {
  position: absolute; z-index: 2; background: #fff; border-radius: var(--s-radius-sm);
  box-shadow: var(--s-shadow); padding: .85rem 1.05rem; display: flex; gap: .7rem;
  align-items: center; animation: floaty 4s ease-in-out infinite;
}
.float-card .fc-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 1.2rem; }
.float-card small { color: var(--s-muted); display: block; line-height: 1.1; }
.float-card strong { color: var(--s-ink); font-size: 1.1rem; }
.float-card.fc-1 { top: 8%; left: -6%; }
.float-card.fc-2 { bottom: 12%; right: -7%; animation-delay: 1.2s; }
.float-card.fc-3 { bottom: -4%; left: 14%; animation-delay: .6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; }
.hero-badges .hb { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--s-ink); }
.hero-badges .hb i { color: var(--s-primary-dark); font-size: 1.2rem; }

/* ------------------------------------------------------ client strip ----- */
.client-strip { border-top: 1px solid var(--s-border); border-bottom: 1px solid var(--s-border); }
.client-logo { font-weight: 800; font-size: 1.35rem; color: var(--s-muted); letter-spacing: -.02em; opacity: .75; transition: color .2s, opacity .2s; }
.client-logo:hover { color: var(--s-ink); opacity: 1; }

/* -------------------------------------------------------------- cards ---- */
.card-surface {
  background: var(--s-surface); border: 1px solid var(--s-border);
  border-radius: var(--s-radius); box-shadow: var(--s-shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.card-surface:hover { transform: translateY(-6px); box-shadow: var(--s-shadow); border-color: transparent; }

.feature-icon {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.55rem; color: var(--s-ink); background: var(--s-primary);
  box-shadow: 0 8px 18px rgba(var(--s-primary-rgb), .30);
  transition: transform .3s ease;
}
.card-surface:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }

.service-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service-cover { height: 168px; background-size: cover; background-position: center; overflow: hidden; }
.service-cover::after {
  content: ""; display: block; height: 100%;
  background: linear-gradient(180deg, transparent 45%, rgba(26,22,15,.18) 100%);
  transition: transform .4s ease;
}
.service-card:hover .service-cover::after { transform: scale(1.02); }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 0 1.85rem 1.95rem; }
.service-card-body .feature-icon { margin-top: -1.9rem; position: relative; z-index: 1; border: 3px solid #fff; }
.service-card .arrow { color: var(--s-ink); opacity: 0; transform: translateX(-6px); transition: all .3s ease; }
.service-card:hover .arrow { opacity: 1; transform: translateX(0); }
.service-card .learn-more { color: var(--s-ink); }
.service-card:hover .learn-more { color: var(--s-primary-dark); }

/* ------------------------------------------------------------ process ---- */
.process-step { position: relative; padding: 2rem 1.5rem; }
.process-no {
  font-size: 2.4rem; font-weight: 800; line-height: 1;
  -webkit-text-stroke: 1.5px rgba(var(--s-primary-rgb), .35); color: transparent;
}
.process-line { position: absolute; top: 3.1rem; left: 60%; width: 80%; height: 2px; border-top: 2px dashed var(--s-border); }
@media (max-width: 767.98px) { .process-line { display: none; } }

/* ---------------------------------------------------------- portfolio ---- */
.portfolio-card { position: relative; border-radius: var(--s-radius); overflow: hidden; height: 280px; box-shadow: var(--s-shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.portfolio-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--s-dark); transition: transform .4s ease; }
.portfolio-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; background: linear-gradient(180deg, transparent 30%, rgba(8,12,24,.88) 100%);
  opacity: 1;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--s-shadow-lg); }
.portfolio-card:hover .portfolio-thumb { transform: scale(1.06); }
.portfolio-overlay .cat { color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.portfolio-overlay h3 { color: #fff; }

/* --------------------------------------------------------- testimonial --- */
.testi-card { background: #fff; border: 1px solid var(--s-border); border-radius: var(--s-radius); padding: 2rem; height: 100%; }
.testi-card .stars i { color: #f59e0b; }
.testi-quote { font-size: 1.05rem; color: var(--s-ink); }
.avatar { border-radius: 50%; object-fit: cover; }
.avatar-ring { border: 3px solid #fff; box-shadow: var(--s-shadow-sm); }

/* --------------------------------------------------------------- team ---- */
.team-card { text-align: center; }
.team-photo { position: relative; border-radius: var(--s-radius); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--s-shadow-sm); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-social {
  position: absolute; left: 0; right: 0; bottom: -100%; padding: .8rem;
  display: flex; justify-content: center; gap: .5rem;
  background: linear-gradient(180deg, transparent, rgba(8,12,24,.8)); transition: bottom .3s ease;
}
.team-card:hover .team-social { bottom: 0; }
.team-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; display: grid; place-items: center; }
.team-social a:hover { background: #fff; color: var(--s-primary); }

/* ------------------------------------------------------------ counter ---- */
.stat-card { text-align: center; padding: 1.5rem; }
.stat-value { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; color: var(--s-ink); line-height: 1; }

/* ------------------------------------------------------------ feature ---- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--s-body); }
.check-list li i { position: absolute; left: 0; top: .15rem; color: var(--s-primary-dark); font-size: 1.15rem; }

/* ----------------------------------------------------------- timeline ---- */
.timeline { position: relative; padding-left: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--s-border); }
.timeline-item { position: relative; padding-left: 2.5rem; padding-bottom: 2.2rem; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--s-primary); box-shadow: 0 0 0 4px var(--s-primary-soft); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year { font-weight: 800; color: var(--s-primary-dark); }

/* ---------------------------------------------------------- page head ---- */
.page-hero {
  position: relative; padding: calc(var(--s-nav-h) + 3.5rem) 0 3.5rem;
  background:
    radial-gradient(900px 360px at 90% -20%, rgba(6,182,212,.14), transparent 60%),
    radial-gradient(700px 340px at 0% 0%, rgba(var(--s-primary-rgb),.12), transparent 55%),
    var(--s-surface-2);
  border-bottom: 1px solid var(--s-border);
}
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: var(--s-muted); justify-content: center; }
.page-hero .breadcrumb a { color: var(--s-body); }
.page-hero .breadcrumb .active { color: var(--s-primary-dark); }

/* ---------------------------------------------------------------- blog --- */
.post-card { overflow: hidden; }
.post-cover { height: 200px; background-size: cover; background-position: center; background-color: var(--s-dark); position: relative; }
.post-cat {
  position: absolute; top: 1rem; left: 1rem; background: var(--s-primary);
  color: var(--s-ink); font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(26,22,15,.25);
}
.post-body { padding: 1.5rem; }
.post-meta { font-size: .85rem; color: var(--s-muted); }
.post-title a { color: var(--s-ink); }
.post-title a:hover { color: var(--s-primary-dark); }

.post-featured { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 340px; border-radius: var(--s-radius); overflow: hidden; }
@media (max-width: 767.98px) { .post-featured { grid-template-columns: 1fr; } }
.post-featured .cover { background-size: cover; background-position: center; background-color: var(--s-dark); min-height: 240px; }

.sidebar-card { background: #fff; border: 1px solid var(--s-border); border-radius: var(--s-radius); padding: 1.5rem; }
.cat-list a { display: flex; justify-content: space-between; padding: .55rem 0; color: var(--s-body); border-bottom: 1px solid var(--s-border); }
.cat-list a:last-child { border-bottom: 0; }
.cat-list a:hover { color: var(--s-primary-dark); }
.tag-chip { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: var(--s-surface-2); color: var(--s-body); font-size: .82rem; font-weight: 600; margin: 0 .35rem .5rem 0; border: 1px solid var(--s-border); }
.tag-chip:hover { background: var(--s-primary-soft); color: var(--s-primary-dark); }

/* article body */
.article-body { font-size: 1.08rem; color: #334155; }
.article-body h2 { margin: 2.2rem 0 1rem; font-size: 1.6rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul { padding-left: 1.2rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  margin: 1.8rem 0; padding: 1.2rem 1.6rem; border-left: 4px solid var(--s-primary);
  background: var(--s-primary-soft); border-radius: 0 var(--s-radius-sm) var(--s-radius-sm) 0;
  font-size: 1.2rem; font-style: italic; color: var(--s-ink);
}

/* --------------------------------------------------------- pagination --- */
/* Themed, circular pagination that matches the yellow & black palette and the
   site's rounded-pill button language. */
.site-body .pagination { gap: .45rem; }
.site-body .page-link {
  min-width: 44px; height: 44px; padding: 0 .6rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--s-border); background: var(--s-surface);
  color: var(--s-ink); font-weight: 600;
  border-radius: 999px !important;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.site-body .page-link:hover {
  background: var(--s-primary-soft); border-color: var(--s-primary);
  color: var(--s-primary-dark); transform: translateY(-2px);
}
.site-body .page-link:focus {
  box-shadow: 0 0 0 4px rgba(var(--s-primary-rgb), .18); z-index: 2;
}
.site-body .page-item.active .page-link {
  background: var(--s-primary); border-color: var(--s-primary); color: var(--s-ink);
  box-shadow: 0 8px 18px rgba(var(--s-primary-rgb), .30);
}
.site-body .page-item.active .page-link:hover { transform: none; color: var(--s-ink); }
.site-body .page-item.disabled .page-link {
  background: var(--s-surface-2); border-color: var(--s-border);
  color: var(--s-muted); opacity: 1; transform: none;
}

/* ----------------------------------------------------------- pricing ---- */
.price-card { padding: 2.25rem; position: relative; }
.price-card.featured { border: 2px solid var(--s-primary); box-shadow: var(--s-shadow); transform: scale(1.02); }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--s-ink); line-height: 1; }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--s-gradient); color: var(--s-ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 999px; }

/* --------------------------------------------------------------- faq ----- */
.faq .accordion-item { border: 1px solid var(--s-border); border-radius: var(--s-radius-sm) !important; margin-bottom: .85rem; overflow: hidden; }
.faq .accordion-button { font-weight: 600; color: var(--s-ink); border-radius: var(--s-radius-sm); }
.faq .accordion-button:not(.collapsed) { background: var(--s-primary-soft); color: var(--s-ink); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }

/* -------------------------------------------------------------- forms ---- */
.site-body .form-control, .site-body .form-select {
  border-radius: var(--s-radius-sm); border: 1px solid var(--s-border); padding: .8rem 1rem; background: var(--s-surface);
}
.site-body .form-control:focus, .site-body .form-select:focus {
  border-color: var(--s-primary); box-shadow: 0 0 0 4px rgba(var(--s-primary-rgb), .12);
}
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .ci-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 13px; background: var(--s-primary); color: var(--s-ink); display: grid; place-items: center; font-size: 1.3rem; }
/* Circular social icons for light backgrounds (e.g. the contact column). */
.site-body .social-btn {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid var(--s-border); background: var(--s-surface);
  color: var(--s-ink); font-size: 1.1rem; transition: all .25s ease;
}
.site-body .social-btn:hover {
  background: var(--s-primary); border-color: var(--s-primary); color: var(--s-ink);
  transform: translateY(-3px); box-shadow: 0 8px 18px rgba(var(--s-primary-rgb), .3);
}

/* --------------------------------------------------------------- CTA ----- */
/* Elegant, minimal call-to-action: a solid black band (no gradient) with a
   single gold accent line, generous spacing and a clear gold primary button. */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--s-radius-lg);
  background: var(--s-dark); color: #fff;
  padding: 4.75rem 3.5rem;
  border: 1px solid rgba(255, 255, 255, .07);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; letter-spacing: -.02em; }
.cta-band .cta-lead { color: rgba(255, 255, 255, .58); }
/* Slim gold accent line above the heading — the only decoration. */
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--s-primary); margin-bottom: 1.15rem;
}
.cta-eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: var(--s-primary); display: inline-block;
}
.cta-eyebrow.justify-content-center { justify-content: center; }
/* Buttons on the dark band: a solid gold primary and an outlined-light
   secondary. (.btn-light / .btn-ghost are the classes already in the markup.) */
.cta-band .btn-light {
  background: var(--s-primary); color: var(--s-ink); border-color: var(--s-primary); font-weight: 700;
}
.cta-band .btn-light:hover {
  background: var(--s-primary); border-color: var(--s-primary); color: var(--s-ink);
  transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--s-primary-rgb), .38);
}
.cta-band .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; transform: translateY(-2px); }
@media (max-width: 575.98px) { .cta-band { padding: 3rem 1.5rem; } }

/* ------------------------------------------------------------- footer ---- */
.site-footer { background: var(--s-dark); color: #94a3b8; padding: 4.5rem 0 0; }
.site-footer h6 { color: #fff; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; margin-bottom: 1.2rem; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); color: #cbd5e1; display: grid; place-items: center; font-size: 1.1rem; transition: all .25s ease; }
.footer-social a:hover { background: var(--s-primary); color: var(--s-ink); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3.5rem; padding: 1.5rem 0; }
.footer-brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--s-gradient); color: #fff; display: inline-grid; place-items: center; font-size: 1.25rem; }
.newsletter .form-control { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.newsletter .form-control::placeholder { color: #64748b; }

/* ------------------------------------------------------- back to top ----- */
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; width: 46px; height: 46px; border-radius: 50%;
  background: var(--s-primary); color: var(--s-ink); display: grid; place-items: center; font-size: 1.2rem;
  box-shadow: var(--s-shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease; z-index: 1040; border: none;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--s-primary-dark); color: #fff; }

/* ------------------------------------------------------ scroll reveal ---- */
/* Progressive enhancement: only hide when JS is active (html.js). Without
   JS — and for crawlers / print — content stays fully visible. */
[data-reveal] { transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .float-card { animation: none; }
}

/* ----------------------------------------------- TradingView widgets ----- */
.tv-strip {
  border-top: 1px solid var(--s-border);
  border-bottom: 1px solid var(--s-border);
  background: var(--s-surface);
}
.tv-strip .tradingview-widget-container { line-height: 0; }
.tv-card {
  overflow: hidden;
  border-radius: var(--s-radius);
}
.tv-chart { height: 480px; }
.tv-overview { height: 480px; }
@media (max-width: 991.98px) {
  .tv-chart { height: 420px; }
  .tv-overview { height: 460px; }
}
/* Hide the TradingView attribution row so the cards stay clean (logo link
   remains inside the widget per TradingView's embedding terms). */
.tv-card .tradingview-widget-copyright { display: none; }
