/* ==========================================================================
   Finance Plus Expert — Custom Theme
   Bootstrap 5.3.3 + custom teal / gold / coral palette
   ========================================================================== */

:root {
  --ink:        #062A2E;
  --teal:       #0F4C5C;
  --teal-dark:  #0A3540;
  --teal-soft:  #E7F1F2;
  --gold:       #E9C46A;
  --gold-deep:  #C99420;
  --coral:      #E76F51;
  --cream:      #FBF7EF;
  --white:      #FFFFFF;
  --body:       #4C5C62;
  --muted:      #6B7B81;
  --border:     #E5DFD2;
  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 18px 40px rgba(6, 42, 46, .10);
  --shadow-lg:  0 26px 60px rgba(6, 42, 46, .16);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
}
a { color: var(--teal); text-decoration: none; transition: .25s ease; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; height: auto; }
p { margin-bottom: 1rem; }
::selection { background: var(--gold); color: var(--ink); }

.lead-lg { font-size: 1.12rem; color: var(--muted); }
.text-justify { text-align: justify; }

/* ---------- Small utilities ---------- */
.kicker {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .6rem;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}
.kicker-light { color: var(--gold); }

.section { padding: 90px 0; position: relative; }
.section-sm { padding: 60px 0; }
.section-cream { background: var(--cream); }
.section-teal { background: var(--teal); color: #CFE3E5; }
.section-teal h1, .section-teal h2, .section-teal h3, .section-teal h4 { color: var(--white); }
.section-teal .lead-lg, .section-teal p { color: #CFE3E5; }
.section-ink { background: var(--ink); color: #C8DCDE; }
.section-ink h2, .section-ink h3, .section-ink h4 { color: var(--white); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); margin-bottom: .9rem; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-teal .section-head p, .section-ink .section-head p { color: #BFD5D8; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .78rem 1.7rem; transition: .25s ease; }
.btn-gold { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,148,32,.34); }
.btn-teal { background: var(--teal); color: var(--white); border: 1px solid var(--teal); }
.btn-teal:hover, .btn-teal:focus { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15,76,92,.28); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn-outline-dark-teal { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline-dark-teal:hover { background: var(--teal); color: var(--white); }
.btn:disabled { opacity: .7; transform: none; }
.btn-sm { padding: .5rem 1.15rem; font-size: .875rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--teal-dark); color: #B7CFD2; font-size: .875rem; padding: .55rem 0; }
.topbar a { color: #DCEDEF; }
.topbar a:hover { color: var(--gold); }
.topbar .topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; fill: var(--gold); flex: none; }
.social-links a {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.10); color: var(--white); margin-left: .35rem;
}
.social-links a:hover { background: var(--gold); color: var(--ink); }
.social-links svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Navbar ---------- */
.navbar-fpe {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(6,42,46,.07);
  padding-top: .55rem; padding-bottom: .55rem;
}
.navbar-fpe .navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: .93rem;
  padding: .5rem .95rem !important;
  position: relative;
}
.navbar-fpe .navbar-nav .nav-link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .25rem;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: .3s ease;
}
.navbar-fpe .navbar-nav .nav-link:hover::after,
.navbar-fpe .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-fpe .navbar-nav .nav-link:hover { color: var(--teal); }
.navbar-fpe .navbar-nav .nav-link.active { color: var(--teal); }
.navbar-toggler { border: 0; padding: .25rem .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { background-image: none; position: relative; width: 26px; height: 20px; }
.navbar-toggler-icon::before, .navbar-toggler-icon::after, .navbar-toggler-icon span.bar {
  content: ""; position: absolute; left: 0; height: 2.5px; background: var(--teal); width: 100%; border-radius: 3px;
}
.navbar-toggler-icon::before { top: 2px; }
.navbar-toggler-icon::after { bottom: 2px; }
.navbar-toggler-icon span.bar { top: 9px; }

/* ---------- Logo (single line, single style) ---------- */
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  white-space: nowrap; text-decoration: none; line-height: 1;
}
.brand-mark {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal) 0%, #17798C 100%);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(15,76,92,.28);
}
.brand-mark svg { width: 20px; height: 20px; fill: var(--gold); }
.brand-text {
  font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink);
  font-family: var(--font); text-transform: none;
}
.brand-text .accent { color: var(--teal); }
.brand-light .brand-text { color: var(--white); }
.brand-light .brand-text .accent { color: var(--gold); }
.brand-light .brand-mark { background: rgba(255,255,255,.14); box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 480px at 88% -8%, rgba(233,196,106,.28), transparent 60%),
    linear-gradient(135deg, #08343D 0%, var(--teal) 55%, #12616F 100%);
  color: #D9EAEC; padding: 100px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 1.2rem; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.08rem; color: #D3E6E8; max-width: 560px; }
.hero .hero-badges span {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  color: #ECF6F7; border-radius: 999px; padding: .38rem .95rem; font-size: .85rem; font-weight: 600; margin: 0 .5rem .5rem 0;
}
.hero-img-wrap { position: relative; min-height: 430px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,.14); }
.hero-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-float-card {
  position: absolute; left: -26px; bottom: -26px; background: var(--white); color: var(--ink);
  border-radius: 16px; padding: 1rem 1.25rem; box-shadow: var(--shadow-lg); max-width: 240px;
}
.hero-float-card strong { display: block; font-size: 1.6rem; color: var(--teal); line-height: 1.1; }
.hero-float-card small { color: var(--muted); font-size: .8rem; }

/* ---------- Stats ---------- */
.stats-band { background: var(--white); margin-top: -46px; position: relative; z-index: 3; }
.stat-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.7rem 1.2rem; text-align: center; box-shadow: var(--shadow); height: 100%;
  transition: .3s ease;
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.stat-card .stat-num { font-size: 2.1rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: .35rem; }
.stat-card .stat-num i { font-style: normal; color: var(--gold-deep); }
.stat-card .stat-label { font-size: .9rem; color: var(--muted); margin: 0; font-weight: 600; }

/* ---------- Cards ---------- */
.service-card, .blog-card, .feature-card, .testimonial-card, .step-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; height: 100%; transition: .32s ease;
}
.service-card:hover, .blog-card:hover, .feature-card:hover, .testimonial-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(15,76,92,.22);
}
.service-card .card-media { height: 190px; overflow: hidden; background: var(--teal-soft); }
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .card-media img { transform: scale(1.07); }
.service-card .card-body-in { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; height: calc(100% - 190px); }
.service-card h3 { font-size: 1.22rem; margin-bottom: .7rem; }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-card .card-actions { margin-top: auto; padding-top: .6rem; }
.icon-badge {
  width: 54px; height: 54px; border-radius: 14px; background: var(--teal-soft);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.icon-badge svg { width: 26px; height: 26px; fill: var(--teal); }
.icon-badge.gold { background: rgba(233,196,106,.22); }
.icon-badge.gold svg { fill: var(--gold-deep); }
.icon-badge.coral { background: rgba(231,111,81,.15); }
.icon-badge.coral svg { fill: var(--coral); }

.feature-card { padding: 2rem 1.7rem; }
.feature-card h4 { font-size: 1.1rem; margin-bottom: .6rem; }
.feature-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.feature-card.plain { background: transparent; border: 0; box-shadow: none; padding: 0 1rem; }
.feature-card.plain:hover { transform: none; }

.step-card { padding: 2rem 1.7rem; position: relative; text-align: center; }
.step-card .step-num {
  width: 62px; height: 62px; border-radius: 50%; background: var(--teal); color: var(--white);
  font-weight: 800; font-size: 1.35rem; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; box-shadow: 0 10px 24px rgba(15,76,92,.28);
}
.step-card h4 { font-size: 1.12rem; margin-bottom: .6rem; }
.step-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card { padding: 2rem 1.8rem; }
.testimonial-card .quote-mark { font-size: 3rem; line-height: .8; color: var(--gold); font-weight: 800; display: block; margin-bottom: .6rem; }
.testimonial-card p { color: var(--body); font-size: .98rem; font-style: italic; }
.testimonial-card .stars { color: var(--gold-deep); letter-spacing: 2px; font-size: .95rem; margin-bottom: .8rem; }
.testimonial-card .author { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal); color: var(--white); font-weight: 700; font-size: .95rem;
}
.testimonial-card h5 { font-size: 1rem; margin: 0; }

/* ---------- Blog ---------- */
.blog-card .card-media { height: 210px; overflow: hidden; background: var(--teal-soft); }
.blog-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .card-media img { transform: scale(1.06); }
.blog-card .card-body-in { padding: 1.6rem 1.6rem 1.7rem; }
.blog-card h3 { font-size: 1.18rem; margin-bottom: .75rem; line-height: 1.35; }
.blog-card p { color: var(--muted); font-size: .95rem; }
.blog-card .read-more { font-weight: 700; font-size: .9rem; color: var(--teal); display: inline-flex; align-items: center; gap: .4rem; }
.blog-card .read-more:hover { color: var(--gold-deep); gap: .7rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #08343D 0%, var(--teal) 60%, #146B7A 100%);
  color: #D9EAEC; padding: 78px 0 78px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: .7rem; }
.page-hero p { color: #CFE3E5; max-width: 640px; margin: 0; }
.breadcrumb-fpe { margin: 0 0 .9rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .87rem; color: #A9C7CB; }
.breadcrumb-fpe li + li::before { content: "/"; margin-right: .4rem; color: var(--gold); }
.breadcrumb-fpe a { color: #DCEDEF; }
.breadcrumb-fpe a:hover { color: var(--gold); }

/* ---------- About / content blocks ---------- */
.about-img-wrap { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.experience-badge {
  position: absolute; right: 20px; bottom: 20px; background: var(--gold); color: var(--ink);
  border-radius: 14px; padding: 1rem 1.3rem; text-align: center; box-shadow: var(--shadow);
}
.experience-badge strong { display: block; font-size: 2rem; line-height: 1; }
.experience-badge span { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.check-list { list-style: none; padding: 0; margin: 0 0 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; color: var(--body); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42rem; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(233,196,106,.28);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: .72rem; width: 8px; height: 4px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}
.on-light li { color: #D7E8EA; }

.value-prop { border-left: 3px solid var(--gold); padding-left: 1.1rem; }

/* ---------- Service detail block ---------- */
.service-block { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 8px 26px rgba(6,42,46,.05); height: 100%; }
.service-block img { width: 100%; height: 230px; object-fit: cover; display: block; }
.service-block .sb-body { padding: 1.8rem; }
.service-block h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.service-block .sb-meta {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); background: rgba(233,196,106,.16); border-radius: 999px; padding: .3rem .8rem; margin-bottom: .9rem;
}

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.form-label { font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: .72rem .95rem; font-size: .95rem; color: var(--ink); background: #FDFCFA;
}
.form-control:focus, .form-select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(15,76,92,.14); background: var(--white);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #D1483A; background: #FFF7F6; }
.invalid-feedback { font-size: .82rem; font-weight: 500; }
.form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(15,76,92,.14); }
.form-note { font-size: .82rem; color: var(--muted); }
.form-alert { display: none; border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-size: .93rem; font-weight: 500; }
.form-alert.show { display: block; animation: fadeIn .4s ease; }
.alert-success-soft { background: #E8F6EE; border: 1px solid #B7E2C6; color: #16643A; }
.alert-danger-soft { background: #FDECEA; border: 1px solid #F5C2BC; color: #8A2018; }

.contact-info-card {
  background: var(--teal); color: #D3E6E8; border-radius: var(--radius); padding: 2.2rem; height: 100%;
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(233,196,106,.22), transparent 60%);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1rem; }
.contact-info-card a { color: var(--gold); }
.contact-info-card a:hover { color: var(--white); }
.contact-row { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-row .cr-icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-row .cr-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.contact-row > div { min-width: 0; }
.contact-row p, .contact-row a, .contact-row h6 { overflow-wrap: anywhere; }
.contact-row h6 { color: var(--white); font-size: .95rem; margin: 0 0 .1rem; }
.contact-row p, .contact-row a { font-size: .95rem; margin: 0; color: #D9EAEC; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #08343D 0%, var(--teal) 60%, #146B7A 100%);
  color: #D9EAEC; border-radius: 26px; padding: 3.2rem; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 20px 20px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #CFE3E5; }

/* ---------- Legal content ---------- */
.legal-content h2 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.12rem; margin: 1.5rem 0 .5rem; }
.legal-content p, .legal-content li { color: var(--body); }
.legal-content ul { padding-left: 1.2rem; }
.legal-content ul li { margin-bottom: .5rem; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc a {
  display: block; padding: .45rem .8rem; border-left: 2px solid var(--border); color: var(--muted);
  font-size: .92rem; font-weight: 600;
}
.legal-toc a:hover, .legal-toc a.active { border-left-color: var(--gold); color: var(--teal); background: var(--cream); }

/* ---------- Article ---------- */
.article-body { font-size: 1.03rem; }
.article-body h2 { font-size: 1.5rem; margin: 2.2rem 0 .9rem; }
.article-body p { color: var(--body); margin-bottom: 1.25rem; }
.article-body ul { padding-left: 1.2rem; margin-bottom: 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2rem; }
.article-hero-img img { width: 100%; height: 380px; object-fit: cover; display: block; }
.article-quote {
  border-left: 4px solid var(--gold); background: var(--cream); padding: 1.4rem 1.6rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.08rem; font-style: italic; color: var(--ink); margin: 1.8rem 0;
}
.related-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.3rem; height: 100%; background: var(--white); transition: .3s ease; }
.related-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: var(--shadow); }
.related-card h5 { font-size: 1.02rem; margin-bottom: .4rem; line-height: 1.4; }
.related-card span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #A8C2C6; padding: 78px 0 0; }
.footer h5 { color: var(--white); font-size: 1.05rem; margin-bottom: 1.3rem; letter-spacing: .01em; }
.footer p { font-size: .93rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #A8C2C6; font-size: .93rem; display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transition: .25s; }
.footer-links a:hover { color: var(--gold); padding-left: .3rem; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .93rem; }
.footer-contact li a, .footer-contact li span { overflow-wrap: anywhere; max-width: 100%; }
.footer-contact a::before { display: none; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--gold); flex: none; margin-top: .28rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 3rem; padding: 1.4rem 0; font-size: .87rem; }
.footer-bottom a { color: #A8C2C6; }
.footer-bottom a:hover { color: var(--gold); }
.footer .brand-text { color: var(--white); font-size: 1.22rem; }
.footer .brand-text .accent { color: var(--gold); }
.footer .brand-mark { background: rgba(255,255,255,.10); box-shadow: none; }
.newsletter-mini { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.newsletter-mini input { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: var(--white); border-radius: 999px; padding: .6rem 1rem; font-size: .9rem; flex: 1 1 120px; min-width: 0; }
.newsletter-mini input::placeholder { color: #7E9AA0; }
.newsletter-mini input:focus { outline: none; border-color: var(--gold); }

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--teal); color: var(--white); display: none; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(15,76,92,.35); z-index: 999;
}
#backToTop.show { display: flex; }
#backToTop:hover { background: var(--gold); color: var(--ink); }
#backToTop svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
/* g-5 gutters (3rem) are wider than the container padding on narrow screens —
   step them down to 1.5rem below 1200px so rows never push past the viewport. */
@media (max-width: 1199.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}
@media (max-width: 991.98px) {
  .navbar-fpe .navbar-nav .nav-link::after { display: none; }
  .navbar-collapse { padding: .8rem 0 1rem; }
  .section { padding: 66px 0; }
  .hero { padding: 70px 0 80px; }
  .hero-float-card { display: none; }
  .hero-img-wrap { min-height: 300px; }
  .stats-band { margin-top: 0; padding-top: 40px; }
  .legal-toc { position: static; margin-bottom: 2rem; }
}
@media (max-width: 767.98px) {
  .cta-band { padding: 2.2rem 1.5rem; }
  .form-card { padding: 1.5rem; }
  .topbar { text-align: center; }
  .topbar .topbar-item { justify-content: center; }
  .article-hero-img img { height: 240px; }
  .section-head { margin-bottom: 36px; }
}
