/* ==========================================================
   Money Fintech Guide - Stylesheet
   Palette: night ink, bull green, candle coral, paper
   Fonts: Unbounded (headings), IBM Plex Sans (body), IBM Plex Mono (labels)
   ========================================================== */

:root {
  --tmg-night: #0e1621;
  --tmg-night-2: #16212f;
  --tmg-night-3: #22303f;
  --tmg-bull: #00baa0;
  --tmg-bull-dark: #0b8f52;
  --tmg-bull-tint: #e4f7ee;
  --tmg-coral: #ff6b57;
  --tmg-coral-dark: #e8503b;
  --tmg-coral-tint: #ffe9e5;
  --tmg-paper: #f5f7f3;
  --tmg-line: #dfe5e0;
  --tmg-text: #2a3544;
  --tmg-muted: #5d6877;
  --tmg-white: #ffffff;
  --tmg-radius: 14px;
  --tmg-radius-lg: 22px;
  --tmg-shadow: 0 18px 40px -22px rgba(14, 22, 33, .35);
  --tmg-shadow-sm: 0 8px 22px -14px rgba(14, 22, 33, .28);
  --tmg-head: 'Unbounded', 'Segoe UI', sans-serif;
  --tmg-body: 'IBM Plex Sans', 'Segoe UI', Roboto, sans-serif;
  --tmg-mono: 'IBM Plex Mono', 'Consolas', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--tmg-body);
  color: var(--tmg-text);
  background: var(--tmg-white);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tmg-head);
  color: var(--tmg-night);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}
a { color: var(--tmg-bull-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--tmg-coral-dark); }
img { max-width: 100%; display: block; }
p { margin-bottom: 1rem; }

/* ---------- Buttons ---------- */
.btn-tmg, .btn-tmg-outline, .btn-tmg-light {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--tmg-body); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.5rem; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: all .22s ease; white-space: nowrap; line-height: 1.2;
}
.btn-tmg { background: var(--tmg-bull); color: var(--tmg-white); border-color: var(--tmg-bull); }
.btn-tmg:hover { background: var(--tmg-night); border-color: var(--tmg-night); color: var(--tmg-white); transform: translateY(-2px); }
.btn-tmg:disabled { opacity: .7; cursor: wait; transform: none; }
.btn-tmg-outline { background: transparent; color: var(--tmg-night); border-color: var(--tmg-night); }
.btn-tmg-outline:hover { background: var(--tmg-night); color: var(--tmg-white); }
.btn-tmg-light { background: var(--tmg-white); color: var(--tmg-night); border-color: var(--tmg-white); }
.btn-tmg-light:hover { background: var(--tmg-coral); border-color: var(--tmg-coral); color: var(--tmg-white); }

/* ---------- Common ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }
.bg-paper { background: var(--tmg-paper); }
.bg-tint { background: var(--tmg-bull-tint); }
.bg-night { background: var(--tmg-night); color: #c7d0db; }
.bg-night h2, .bg-night h3 { color: var(--tmg-white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--tmg-mono); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--tmg-bull-dark);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 8px; height: 18px; border-radius: 2px; background: var(--tmg-coral); box-shadow: 12px -5px 0 var(--tmg-bull); margin-right: 14px; }
.eyebrow i { color: var(--tmg-coral); }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.35rem); margin-bottom: 1.1rem; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow::before { display: none; }
.section-head p { color: var(--tmg-muted); }
.hl { color: var(--tmg-bull); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .18em; background: var(--tmg-coral); opacity: .35; border-radius: 4px; z-index: -1; }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.check-list li::before {
  content: "\F26E"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0;
  color: var(--tmg-bull); font-size: 1.15rem;
}
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .6rem; }
.feature-list i { color: var(--tmg-bull); margin-top: .2rem; }

.img-fallback { background: linear-gradient(135deg, var(--tmg-night-2), var(--tmg-bull-dark)); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--tmg-night); color: #b6c1cd; font-size: .86rem; padding: .55rem 0; }
.topbar .item { color: #b6c1cd; margin-right: 1.6rem; display: inline-flex; align-items: center; gap: .45rem; }
.topbar .item i { color: var(--tmg-bull); }
.topbar a.item:hover { color: var(--tmg-white); }
.social a {
  display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center;
  border-radius: 8px; color: #b6c1cd; margin-left: .3rem; transition: all .2s ease;
}
.social a:hover { background: var(--tmg-bull); color: var(--tmg-white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--tmg-line); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 28px -18px rgba(14,22,33,.45); }
.site-header .navbar { padding: .85rem 0; }
.navbar-brand img { width: 250px; }
.navbar-toggler { border: 0; color: var(--tmg-night); padding: .2rem .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.nav-link { font-weight: 600; color: var(--tmg-night) !important; padding: .5rem .95rem !important; position: relative; }
.nav-link::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .2rem; height: 2px; background: var(--tmg-bull); transform: scaleX(0); transition: transform .25s ease; transform-origin: left; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--tmg-bull-dark) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 90px 0 110px; overflow: hidden;
  background:
    linear-gradient(rgba(14,22,33,.04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(14,22,33,.04) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--tmg-paper);
}
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 700; margin-bottom: 1.3rem; }
.hero .lead { font-size: 1.12rem; color: var(--tmg-muted); margin-bottom: 2rem; max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--tmg-night); font-size: .95rem; }
.hero-points i { color: var(--tmg-bull); font-size: 1.1rem; }

.chart-visual { position: relative; padding: 0 0 70px 40px; }
.chart-frame { border-radius: var(--tmg-radius-lg); overflow: hidden; box-shadow: var(--tmg-shadow); aspect-ratio: 5 / 4; border: 6px solid var(--tmg-white); }
.chart-frame img { width: 100%; height: 100%; object-fit: cover; }
.chart-badge {
  position: absolute; top: 26px; left: 0; background: var(--tmg-night); color: var(--tmg-white);
  font-family: var(--tmg-mono); font-size: .82rem; font-weight: 600; padding: .65rem 1rem; border-radius: 10px;
  display: inline-flex; align-items: center; gap: .5rem; box-shadow: var(--tmg-shadow-sm);
}
.chart-badge i { color: var(--tmg-bull); }
.plan-card {
  position: absolute; right: -10px; bottom: 0; width: min(330px, 86%);
  background: var(--tmg-white); border-radius: var(--tmg-radius); padding: 1.2rem 1.3rem; box-shadow: var(--tmg-shadow);
  border-top: 4px solid var(--tmg-bull);
}
.plan-card h6 { font-size: .92rem; margin-bottom: .2rem; }
.plan-card .candles { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin: .5rem 0 .8rem; }
.plan-card .candles span { flex: 1; border-radius: 3px; background: var(--tmg-bull); position: relative; }
.plan-card .candles span.down { background: var(--tmg-coral); }
.plan-card .candles span::before { content: ""; position: absolute; left: 50%; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: inherit; opacity: .55; }
.plan-step { display: flex; align-items: center; gap: .7rem; font-size: .9rem; padding: .35rem 0; color: var(--tmg-text); }
.plan-step span {
  width: 24px; height: 24px; flex: 0 0 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--tmg-paper); color: var(--tmg-night); font-family: var(--tmg-mono); font-size: .75rem; font-weight: 600;
}
.plan-step.done span { background: var(--tmg-bull); color: var(--tmg-white); }
.plan-step.done { color: var(--tmg-muted); text-decoration: line-through; text-decoration-color: rgba(18,183,106,.6); }

/* ---------- Ticker ---------- */
.ticker { background: var(--tmg-night); color: var(--tmg-white); overflow: hidden; padding: .95rem 0; border-top: 3px solid var(--tmg-bull); }
.ticker-track { display: flex; width: max-content; animation: tmg-ticker 38s linear infinite; }
.ticker-track span { font-family: var(--tmg-mono); font-size: .92rem; font-weight: 500; padding: 0 1.8rem; display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.ticker-track i.up { color: var(--tmg-bull); }
.ticker-track i.dot { color: var(--tmg-coral); font-size: .5rem; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tmg-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .reveal { opacity: 1; transform: none; } }

/* ---------- Pillars ---------- */
.pillar-card {
  height: 100%; background: var(--tmg-white); border: 1px solid var(--tmg-line); border-radius: var(--tmg-radius);
  padding: 2rem 1.8rem; position: relative; transition: all .25s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--tmg-shadow); border-color: transparent; }
.pillar-card .tag-mono { font-family: var(--tmg-mono); font-size: .78rem; color: var(--tmg-coral-dark); font-weight: 600; letter-spacing: .12em; }
.pillar-card .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--tmg-bull-tint); color: var(--tmg-bull-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: .8rem 0 1rem; }
.pillar-card h3 { font-size: 1.2rem; }
.pillar-card p { color: var(--tmg-muted); }
.pillar-card a { font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }

/* ---------- Image stack ---------- */
.img-stack { position: relative; padding: 0 60px 60px 0; }
.img-stack .main { border-radius: var(--tmg-radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--tmg-shadow); }
.img-stack .main img, .img-stack .small img { width: 100%; height: 100%; object-fit: cover; }
.img-stack .small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border-radius: var(--tmg-radius); overflow: hidden; border: 6px solid var(--tmg-white); box-shadow: var(--tmg-shadow); }
.img-stack .stamp { position: absolute; left: -14px; bottom: 24px; background: var(--tmg-coral); color: var(--tmg-white); border-radius: 12px; padding: .7rem 1rem; font-family: var(--tmg-mono); font-size: .8rem; font-weight: 600; display: inline-flex; gap: .45rem; align-items: center; box-shadow: var(--tmg-shadow-sm); }

/* ---------- Service cards ---------- */
.service-card {
  height: 100%; display: flex; flex-direction: column; background: var(--tmg-white);
  border-radius: var(--tmg-radius); overflow: hidden; box-shadow: var(--tmg-shadow-sm); transition: all .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--tmg-shadow); }
.service-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; position: relative; }
.service-card .icon {
  position: absolute; top: -28px; right: 1.4rem; width: 56px; height: 56px; border-radius: 14px;
  background: var(--tmg-night); color: var(--tmg-bull); display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem;
  border: 4px solid var(--tmg-white);
}
.service-card h3 { font-size: 1.12rem; margin: .3rem 0 .7rem; padding-right: 3.5rem; }
.service-card p { color: var(--tmg-muted); flex: 1; }
.service-card .btn-tmg { align-self: flex-start; margin-top: .6rem; }

.svc-detail .img-stack { padding: 0; }

/* ---------- Why ---------- */
.why-photo { border-radius: var(--tmg-radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--tmg-shadow); position: relative; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: linear-gradient(90deg, var(--tmg-bull) 0 70%, var(--tmg-coral) 70% 100%); }
.why-item { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.why-item .ico { flex: 0 0 50px; height: 50px; border-radius: 12px; background: var(--tmg-bull-tint); color: var(--tmg-bull-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.why-item h4 { font-size: 1rem; margin-bottom: .3rem; }
.why-item p { color: var(--tmg-muted); margin: 0; font-size: .95rem; }

/* ---------- Process (candle steps) ---------- */
.candle-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; align-items: end; }
.candle-step { background: var(--tmg-night-2); border-radius: var(--tmg-radius); padding: 1.6rem 1.4rem; border-top: 4px solid var(--tmg-bull); position: relative; }
.candle-step:nth-child(1) { min-height: 230px; }
.candle-step:nth-child(2) { min-height: 260px; border-top-color: var(--tmg-coral); }
.candle-step:nth-child(3) { min-height: 290px; }
.candle-step:nth-child(4) { min-height: 320px; }
.candle-step .n { font-family: var(--tmg-mono); font-size: .82rem; color: var(--tmg-bull); font-weight: 600; letter-spacing: .1em; }
.candle-step h3 { font-size: 1.05rem; color: var(--tmg-white); margin: .7rem 0 .6rem; }
.candle-step p { color: #aab6c3; font-size: .94rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 90px 0; color: #d4dce5; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; background: var(--tmg-night); }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,22,33,.96) 30%, rgba(11,143,82,.75)); z-index: 1; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--tmg-white); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .8rem; }

/* ---------- Testimonials ---------- */
.testi-card { height: 100%; background: var(--tmg-white); border-radius: var(--tmg-radius); padding: 1.9rem 1.7rem; position: relative; box-shadow: var(--tmg-shadow-sm); border-left: 4px solid var(--tmg-bull); display: flex; flex-direction: column; }
.testi-card .quote { position: absolute; top: .8rem; right: 1.2rem; font-size: 2.6rem; color: var(--tmg-coral); opacity: .25; line-height: 1; }
.testi-card .stars { color: #f5b301; margin-bottom: .8rem; font-size: .92rem; }
.testi-card p { flex: 1; font-size: .98rem; }
.testi-card .who { display: flex; align-items: center; gap: .8rem; margin-top: .4rem; }
.testi-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--tmg-night); color: var(--tmg-bull); display: inline-flex; align-items: center; justify-content: center; font-family: var(--tmg-mono); font-weight: 600; font-size: .9rem; }
.testi-card .name { font-family: var(--tmg-head); font-weight: 600; color: var(--tmg-night); font-size: .95rem; }

/* ---------- Blog cards ---------- */
.blog-card { height: 100%; display: flex; flex-direction: column; background: var(--tmg-white); border: 1px solid var(--tmg-line); border-radius: var(--tmg-radius); overflow: hidden; transition: all .25s ease; }
.blog-card:hover { box-shadow: var(--tmg-shadow); transform: translateY(-5px); border-color: transparent; }
.blog-card .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .tag { align-self: flex-start; font-family: var(--tmg-mono); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--tmg-bull-dark); background: var(--tmg-bull-tint); padding: .25rem .65rem; border-radius: 6px; margin-bottom: .9rem; }
.blog-card h3 { font-size: 1.08rem; line-height: 1.4; margin-bottom: .7rem; }
.blog-card h3 a { color: var(--tmg-night); }
.blog-card h3 a:hover { color: var(--tmg-bull-dark); }
.blog-card p { color: var(--tmg-muted); font-size: .95rem; flex: 1; }
.read-more { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--tmg-line); border-radius: 12px !important; margin-bottom: .8rem; overflow: hidden; background: var(--tmg-white); }
.faq .accordion-button { font-family: var(--tmg-head); font-weight: 500; font-size: .98rem; color: var(--tmg-night); padding: 1.15rem 1.3rem; background: var(--tmg-white); box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--tmg-bull-dark); background: var(--tmg-white); }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(18,183,106,.2); }
.faq .accordion-body { color: var(--tmg-muted); padding: 0 1.3rem 1.25rem; }

/* ---------- Newsletter band ---------- */
.news-band { background: var(--tmg-night); border-radius: var(--tmg-radius-lg); padding: 3rem; color: #c7d0db; position: relative; overflow: hidden; }
.news-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(18,183,106,.15); }
.news-band h2 { color: var(--tmg-white); font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: .7rem; }
.news-band .eyebrow { color: var(--tmg-bull); }
.news-band .row { position: relative; z-index: 1; }

/* ---------- Forms ---------- */
.form-control, .form-select { border: 1.5px solid var(--tmg-line); border-radius: 10px; padding: .75rem 1rem; font-size: .98rem; color: var(--tmg-text); }
.form-control:focus, .form-select:focus { border-color: var(--tmg-bull); box-shadow: 0 0 0 3px rgba(18,183,106,.18); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--tmg-coral-dark); background-image: none; padding-right: 1rem; }
.form-check-input.is-invalid { border-color: var(--tmg-coral-dark); }
.form-check-input:checked { background-color: var(--tmg-bull); border-color: var(--tmg-bull); }
.form-label { font-weight: 600; color: var(--tmg-night); font-size: .92rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.inline-form .form-control { flex: 1 1 200px; min-width: 0; }
.inline-form .form-alert { flex-basis: 100%; }
.form-alert { display: none; margin-top: .9rem; padding: .8rem 1rem; border-radius: 10px; font-size: .93rem; font-weight: 500; }
.form-alert.show { display: block; }
.form-alert.success { background: var(--tmg-bull-tint); color: #075c36; border: 1px solid #a9e5c8; }
.form-alert.error { background: var(--tmg-coral-tint); color: #a02a1a; border: 1px solid #ffc2b8; }
.form-alert.info { background: #e8eef7; color: #22406b; border: 1px solid #c3d3ea; }
.form-panel { background: var(--tmg-white); border-radius: var(--tmg-radius-lg); padding: 2.4rem; box-shadow: var(--tmg-shadow); border: 1px solid var(--tmg-line); }

/* ---------- Page banner ---------- */
.page-banner { position: relative; padding: 110px 0 96px; color: #d6dee7; overflow: hidden; }
.page-banner .bg { position: absolute; inset: 0; background: var(--tmg-night); }
.page-banner .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,22,33,.75), rgba(14,22,33,.94)); z-index: 1; }
.page-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--tmg-bull) 0 75%, var(--tmg-coral) 75% 100%); z-index: 2; }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--tmg-white); font-size: clamp(1.8rem, 4vw, 3rem); max-width: 900px; margin: 0 auto 1rem; }
.page-banner p { max-width: 680px; margin: 0 auto; font-size: 1.07rem; }
.crumbs { font-family: var(--tmg-mono); font-size: .84rem; margin-bottom: 1rem; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .55rem; }
.crumbs a { color: var(--tmg-bull); }
.crumbs i { font-size: .7rem; }

/* ---------- About ---------- */
.mv-card { height: 100%; background: var(--tmg-white); border-radius: var(--tmg-radius); padding: 2.2rem; border: 1px solid var(--tmg-line); }
.mv-card .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--tmg-night); color: var(--tmg-bull); display: inline-flex; align-items: center; justify-content: center; font-size: 1.45rem; }
.value-card { height: 100%; padding: 2rem 1.6rem; border-radius: var(--tmg-radius); background: var(--tmg-paper); border-bottom: 4px solid var(--tmg-bull); transition: all .25s ease; }
.value-card:hover { background: var(--tmg-white); box-shadow: var(--tmg-shadow); }
.value-card .ico { font-size: 1.7rem; color: var(--tmg-coral); }
.value-card h3 { font-size: 1.05rem; margin: .9rem 0 .6rem; }
.value-card p { color: var(--tmg-muted); font-size: .95rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-info { background: var(--tmg-night); color: #c7d0db; border-radius: var(--tmg-radius-lg); padding: 2.4rem; height: 100%; }
.contact-info h3 { color: var(--tmg-white); font-size: 1.3rem; margin-bottom: 1.6rem; }
.ci { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.ci > i { flex: 0 0 46px; height: 46px; border-radius: 12px; background: rgba(18,183,106,.15); color: var(--tmg-bull); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.ci strong { display: block; color: var(--tmg-white); font-size: .92rem; }
.ci span, .ci a { color: #c7d0db; }
.ci a:hover { color: var(--tmg-bull); }
.contact-photo { border-radius: var(--tmg-radius); overflow: hidden; aspect-ratio: 16 / 9; margin-top: 1.8rem; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.map-wrap { border-radius: var(--tmg-radius-lg); overflow: hidden; box-shadow: var(--tmg-shadow); border: 1px solid var(--tmg-line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Article ---------- */
.article-body { font-size: 1.05rem; }
.article-hero { border-radius: var(--tmg-radius-lg); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 2rem; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body h2 { font-size: 1.4rem; margin: 2.2rem 0 1rem; }
.article-body blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; background: var(--tmg-bull-tint); border-left: 5px solid var(--tmg-bull); border-radius: 0 12px 12px 0; font-family: var(--tmg-head); font-size: 1.08rem; color: var(--tmg-night); line-height: 1.55; }
.sidebar-box { background: var(--tmg-paper); border-radius: var(--tmg-radius); padding: 1.7rem; margin-bottom: 1.6rem; }
.sidebar-box h4 { font-size: 1.02rem; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--tmg-line); }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li { padding: .5rem 0; border-bottom: 1px dashed var(--tmg-line); }
.sidebar-box li:last-child { border-bottom: 0; }
.sidebar-box li a { color: var(--tmg-text); font-weight: 500; }
.sidebar-box li a:hover { color: var(--tmg-bull-dark); }
.sidebar-box.dark { background: var(--tmg-night); color: #c7d0db; }
.sidebar-box.dark h4 { color: var(--tmg-white); border-color: var(--tmg-night-3); }
.sidebar-box.dark .btn-tmg { width: 100%; }

/* ---------- Newsletter pages ---------- */
.perk { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.perk > i { flex: 0 0 50px; height: 50px; border-radius: 12px; background: var(--tmg-coral-tint); color: var(--tmg-coral-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.perk h4 { font-size: 1rem; margin-bottom: .25rem; }
.perk p { color: var(--tmg-muted); margin: 0; }
.news-photo { border-radius: var(--tmg-radius-lg); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 1.5rem; }
.news-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Legal ---------- */
.legal .updated { font-family: var(--tmg-mono); font-size: .85rem; color: var(--tmg-muted); }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 .8rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tmg-night); color: #a8b3c0; padding: 80px 0 0; font-size: .95rem; }
.site-footer h5 { color: var(--tmg-white); font-size: 1rem; margin-bottom: 1.3rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #a8b3c0; }
.site-footer a:hover { color: var(--tmg-bull); }
.f-logo img { height: 44px; width: auto; margin-bottom: 1.2rem; }
.f-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.f-contact i { color: var(--tmg-bull); margin-top: .2rem; }
.site-footer .inline-form .form-control { background: var(--tmg-night-2); border-color: var(--tmg-night-3); color: var(--tmg-white); }
.site-footer .inline-form .form-control::placeholder { color: #7f8b99; }
.site-footer .inline-form .btn-tmg { padding: .75rem 1rem; }
.site-footer .social a { background: var(--tmg-night-2); margin: 0 .35rem 0 0; }
.footer-bottom { border-top: 1px solid var(--tmg-night-3); margin-top: 60px; padding: 1.4rem 0; font-size: .88rem; }
.footer-bottom a { margin-left: 1.2rem; }
.footer-bottom a:first-child { margin-left: 0; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--tmg-bull); color: var(--tmg-white); font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease; z-index: 1040; box-shadow: var(--tmg-shadow-sm); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--tmg-night); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 80px; }
  .navbar-collapse { padding: 1rem 0 .5rem; }
  .nav-link::after { display: none; }
  .candle-steps { grid-template-columns: repeat(2, 1fr); }
  .candle-step:nth-child(n) { min-height: 0; }
  .chart-visual { padding-left: 20px; }
}
@media (max-width: 575.98px) {
  body { font-size: 16px; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .section { padding: 60px 0; }

  .chart-visual { padding: 0 0 40px; }
  .chart-badge { top: 14px; left: 14px; }
  .plan-card { position: relative; right: auto; width: 100%; margin-top: -40px; }
  .img-stack { padding: 0 30px 40px 0; }
  .img-stack .stamp { left: 8px; }
  .candle-steps { grid-template-columns: 1fr; }
  .news-band, .form-panel, .contact-info { padding: 1.8rem 1.3rem; }
  .page-banner { padding: 80px 0 70px; }
  .map-wrap iframe { height: 320px; }
  .footer-bottom a { margin: 0 1rem 0 0; }
  .inline-form .btn-tmg { flex: 1 1 100%; }
  .site-footer .inline-form .btn-tmg { flex: 0 0 auto; }
}
