/* ==========================================================================
   Finance Crypto Guide — Master Stylesheet
   Author: Finance Crypto Guide Web Team
   Contents:
     01. Design tokens
     02. Base & typography
     03. Utilities
     04. Buttons
     05. Top bar & navigation
     06. Hero
     07. Section shells
     08. Stat band
     09. Service cards
     10. Feature / why-us
     11. Process steps
     12. Calculator
     13. Testimonials
     14. Blog cards
     15. FAQ accordion
     16. Newsletter / CTA band
     17. Page hero (inner pages)
     18. Content pages (about / legal / article)
     19. Forms
     20. Contact cards & map
     21. Footer
     22. Animations
     23. Responsive
   ========================================================================== */

/* 01. Design tokens ------------------------------------------------------- */
:root {
  --ink: #0a1230;
  --ink-2: #1a2452;
  --muted: #5c6784;
  --line: #e6e8f2;
  --paper: #ffffff;
  --canvas: #f6f7fc;

  --violet: #5b3df5;
  --violet-soft: #efeaff;
  --teal: #0fb9a8;
  --teal-soft: #e2faf6;
  --amber: #ffb020;
  --amber-soft: #fff5e0;
  --coral: #ff5c7a;
  --coral-soft: #ffe9ee;
  --sky: #2e90fa;
  --sky-soft: #e6f2ff;
  --lime: #86c232;

  --grad-brand: linear-gradient(115deg, #5b3df5 0%, #7c3aed 45%, #0fb9a8 100%);
  --grad-warm: linear-gradient(115deg, #ffb020 0%, #ff5c7a 100%);
  --grad-cool: linear-gradient(115deg, #2e90fa 0%, #0fb9a8 100%);
  --grad-deep: linear-gradient(150deg, #0a1230 0%, #171a4a 55%, #2a1a63 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;

  --shadow-xs: 0 1px 2px rgba(10, 18, 48, .06);
  --shadow-sm: 0 4px 14px rgba(10, 18, 48, .06);
  --shadow: 0 14px 40px rgba(10, 18, 48, .09);
  --shadow-lg: 0 30px 70px rgba(10, 18, 48, .16);

  --head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --nav-h: 76px;
}

/* 02. Base & typography --------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.72;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
  font-family: var(--head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1, .h1 { font-size: clamp(2.15rem, 4.6vw, 3.65rem); }
h2, .h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); }
h3, .h3 { font-size: clamp(1.3rem, 2vw, 1.62rem); }
h4, .h4 { font-size: 1.18rem; font-weight: 700; }

p { color: var(--muted); margin-bottom: 1rem; }
p.lead { font-size: 1.07rem; color: #4c587a; }

a { color: var(--violet); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: #3d24d6; }

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

::selection { background: var(--violet); color: #fff; }

.container, .container-lg, .container-xl { padding-left: 22px; padding-right: 22px; }

@media (min-width: 1400px) {
  .container, .container-lg, .container-xl { max-width: 1220px; }
}

/* 03. Utilities ----------------------------------------------------------- */
.text-brand { color: var(--violet) !important; }
.text-teal  { color: var(--teal) !important; }
.text-ink   { color: var(--ink) !important; }
.bg-canvas  { background: var(--canvas) !important; }
.bg-ink     { background: var(--ink) !important; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow) !important; }
.fw-800 { font-weight: 800 !important; }
.lh-lg2 { line-height: 1.85 !important; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--head);
  font-size: .755rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-soft);
  border: 1px solid #ded3ff;
  border-radius: 999px;
  padding: 7px 15px 7px 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad-warm);
  box-shadow: 0 0 0 3px rgba(255, 92, 122, .18);
}
.eyebrow.eyebrow-light {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
}
.eyebrow.eyebrow-teal { color: #0a8b7f; background: var(--teal-soft); border-color: #bdefe8; }
.eyebrow.eyebrow-amber { color: #b06b00; background: var(--amber-soft); border-color: #ffe0a3; }

.divider-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .45; vertical-align: middle; margin: 0 10px; }

/* 04. Buttons ------------------------------------------------------------- */
.btn {
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 13px 27px;
  font-size: .955rem;
  border: 1.5px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn svg { flex: 0 0 auto; }

.btn-brand {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(91, 61, 245, .85);
  background-size: 160% 160%;
  background-position: 0% 50%;
}
.btn-brand:hover, .btn-brand:focus {
  color: #fff;
  background-position: 100% 50%;
  box-shadow: 0 18px 34px -12px rgba(91, 61, 245, .9);
  transform: translateY(-2px);
}

.btn-ink { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-ink:hover { background: #131c46; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline-brand {
  border-color: #d7cdfb;
  color: var(--violet);
  background: #fff;
}
.btn-outline-brand:hover { background: var(--violet-soft); color: #3d24d6; border-color: #c3b4f8; transform: translateY(-2px); }

.btn-outline-light-2 {
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.btn-outline-light-2:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }

.btn-ghost { background: #f2f3fa; color: var(--ink); }
.btn-ghost:hover { background: #e8eaf6; color: var(--ink); }

.btn-sm { padding: 10px 20px; font-size: .87rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

.btn-link-arrow {
  font-family: var(--head);
  font-weight: 700;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}
.btn-link-arrow svg { transition: transform .25s ease; }
.btn-link-arrow:hover svg { transform: translateX(5px); }

/* 05. Top bar & navigation ------------------------------------------------ */
.topbar {
  background: var(--ink);
  color: #b8c0dc;
  font-size: .82rem;
  padding: 9px 0;
  position: relative;
  z-index: 1031;
}
.topbar a { color: #ccd4ea; font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .tb-item svg { color: var(--teal); flex: 0 0 auto; }
.topbar .tb-sep { width: 1px; height: 13px; background: rgba(255, 255, 255, .18); display: inline-block; margin: 0 16px; }
.topbar-social { display: inline-flex; gap: 6px; }
.topbar-social a {
  width: 25px; height: 25px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(255, 255, 255, .09);
  color: #dbe1f2;
}
.topbar-social a:hover { background: var(--violet); color: #fff; }

.site-nav {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  min-height: var(--nav-h);
  padding: 0;
  z-index: 1030;
  transition: box-shadow .3s ease, background .3s ease;
}
.site-nav.is-stuck { box-shadow: 0 10px 34px rgba(10, 18, 48, .09); background: rgba(255, 255, 255, .97); }

/* One-line logo lockup — identical on every page */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  text-decoration: none;
  padding: 4px 0;
}
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -8px rgba(91, 61, 245, .9);
  flex: 0 0 auto;
}
.logo-mark svg { display: block; }
.logo-word {
  font-family: var(--head);
  font-size: 1.215rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}
.logo-word .lw-accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo:hover .logo-word { color: var(--ink); }

.site-nav .nav-link {
  font-family: var(--head);
  font-weight: 700;
  font-size: .935rem;
  color: #27305a;
  padding: 10px 14px !important;
  border-radius: 10px;
  position: relative;
  letter-spacing: -0.012em;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.site-nav .nav-link:hover { color: var(--violet); }
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--violet); }

.navbar-toggler {
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 7px 10px;
  box-shadow: none !important;
}
.navbar-toggler:focus { border-color: var(--violet); }

.nav-cta-group { display: flex; align-items: center; gap: 9px; }

/* 06. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--grad-deep);
  color: #fff;
  padding: 74px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
}
.hero::before {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(91, 61, 245, .68), transparent 66%);
  top: -180px; left: -140px;
}
.hero::after {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(15, 185, 168, .46), transparent 66%);
  bottom: -260px; right: -160px;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 78%);
  z-index: -1;
  pointer-events: none;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .grad-text { background: linear-gradient(105deg, #ffd166 0%, #ff8fa3 40%, #7cf2e0 100%); -webkit-background-clip: text; background-clip: text; }
.hero p.lead { color: #c3cbe6; font-size: 1.09rem; max-width: 34rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #e7ecff;
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--head);
  border-radius: 999px;
  padding: 8px 17px 8px 9px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-badge .hb-pill {
  background: var(--grad-warm);
  color: #3a1400;
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 10px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 30px 0 34px; }

.hero-visual { position: relative; }
.hero-visual .hv-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .72);
  border: 1px solid rgba(255, 255, 255, .16);
  position: relative;
}
.hero-visual .hv-main img { width: 100%; height: 430px; object-fit: cover; }
.hero-visual .hv-main::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 48, .05) 40%, rgba(10, 18, 48, .55) 100%);
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .97);
  border-radius: 16px;
  padding: 14px 17px;
  box-shadow: 0 22px 46px -18px rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, .6);
}
.float-card .fc-ico {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; flex: 0 0 auto;
}
.float-card .fc-t { font-family: var(--head); font-weight: 800; font-size: .95rem; color: var(--ink); line-height: 1.15; }
.float-card .fc-s { font-size: .72rem; color: var(--muted); line-height: 1.3; }
.float-card.fc-a { bottom: 26px; left: -26px; animation: floaty 6s ease-in-out infinite; }
.float-card.fc-b { top: 22px; right: -20px; animation: floaty 7.5s ease-in-out infinite .8s; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.hero-wave svg { width: 100%; height: 68px; display: block; }

/* 07. Section shells ------------------------------------------------------ */
.section { padding: 92px 0; position: relative; }
.section-sm { padding: 62px 0; }
.section-tight { padding: 72px 0 96px; }
.section-head { max-width: 660px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { margin-bottom: 15px; }
.section-head p { margin-bottom: 0; font-size: 1.03rem; }
.section-head.left { margin-left: 0; text-align: left; }

.bg-dots {
  background-image: radial-gradient(rgba(91, 61, 245, .16) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
}
.bg-split { background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas) 55%, #fff 55%); }

/* 09. Service cards ------------------------------------------------------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s ease, border-color .32s ease;
  position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #dcd5fb; }

.service-media { position: relative; overflow: hidden; height: 196px; flex: 0 0 auto; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.service-card:hover .service-media img { transform: scale(1.07); }
.service-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 48, 0) 35%, rgba(10, 18, 48, .48) 100%);
}
.service-icon {
  position: relative;
  margin: -34px 0 18px;
  width: 58px; height: 58px;
  border-radius: 17px;
  display: grid; place-items: center;
  color: #fff;
  z-index: 3;
  box-shadow: 0 16px 30px -12px rgba(10, 18, 48, .55);
  border: 4px solid #fff;
}
.service-tag {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  font-family: var(--head);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, .93);
  border-radius: 999px;
  padding: 5px 11px;
}
.service-body { padding: 0 24px 26px; display: flex; flex-direction: column; flex: 1 1 auto; }
.service-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-body p { font-size: .945rem; line-height: 1.68; margin-bottom: 18px; }
.service-body .btn { margin-top: auto; align-self: flex-start; }

.ico-violet { background: linear-gradient(135deg, #6b4bff, #9b5cf6); }
.ico-teal   { background: linear-gradient(135deg, #0fb9a8, #17d3a8); }
.ico-amber  { background: linear-gradient(135deg, #ffb020, #ff8a3d); }
.ico-coral  { background: linear-gradient(135deg, #ff5c7a, #ff8fa3); }
.ico-sky    { background: linear-gradient(135deg, #2e90fa, #58c4f5); }
.ico-lime   { background: linear-gradient(135deg, #6fb92c, #a6d94b); }

/* 10. Feature / why-us ---------------------------------------------------- */
.feature-row { --bs-gutter-y: 1.6rem; }
.feature-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #ddd7fb; }
.feature-item .fi-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  flex: 0 0 auto;
  color: #fff;
}
.feature-item h4 { font-size: 1.02rem; margin-bottom: 6px; }
.feature-item p { font-size: .9rem; margin-bottom: 0; line-height: 1.65; }

.image-stack { position: relative; padding: 0 0 34px 34px; }
.image-stack .is-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.image-stack .is-main img { width: 100%; height: 430px; object-fit: cover; }
.image-stack .is-small {
  position: absolute;
  left: 0; bottom: 0;
  width: 46%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.image-stack .is-small img { width: 100%; height: 170px; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0 0 26px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: .97rem;
  color: #3f4a6b;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--teal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230fb9a8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* 11. Process steps ------------------------------------------------------- */
.process-wrap { position: relative; }
.process-line {
  position: absolute;
  top: 46px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cfc6f9 0 8px, transparent 8px 17px);
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 10px;
}
.step-num {
  width: 92px; height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px dashed #cfc6f9;
  display: grid; place-items: center;
  position: relative;
  transition: transform .35s ease, border-color .35s ease;
}
.step-card:hover .step-num { transform: translateY(-6px); border-color: var(--violet); }
.step-num span {
  width: 66px; height: 66px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 12px 24px -12px rgba(91, 61, 245, .9);
}
.step-card h4 { font-size: 1.04rem; margin-bottom: 8px; }
.step-card p { font-size: .895rem; margin-bottom: 0; line-height: 1.65; }
.step-num span.st-1 { background: var(--grad-brand); }
.step-num span.st-2 { background: var(--grad-cool); }
.step-num span.st-3 { background: var(--grad-warm); }
.step-num span.st-4 { background: linear-gradient(135deg, #6fb92c, #a6d94b); }

/* 12. Calculator ---------------------------------------------------------- */
.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calc-head {
  padding: 26px 30px;
  background: var(--grad-deep);
  color: #fff;
}
.calc-head h3 { color: #fff; margin-bottom: 4px; font-size: 1.32rem; }
.calc-head p { color: #b6c0dd; margin-bottom: 0; font-size: .9rem; }
.calc-body { padding: 30px; }
.calc-body label { font-family: var(--head); font-weight: 700; font-size: .85rem; color: #2b3560; margin-bottom: 7px; display: block; }
.calc-result {
  background: linear-gradient(135deg, #f7f5ff 0%, #eefbf8 100%);
  border: 1px solid #e2ddfb;
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
}
.calc-result .cr-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed #d9d3f5; }
.calc-result .cr-row:last-of-type { border-bottom: 0; }
.calc-result .cr-k { font-size: .85rem; color: var(--muted); font-weight: 600; }
.calc-result .cr-v { font-family: var(--head); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.calc-result .cr-v.big { font-size: 1.55rem; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.calc-note { font-size: .74rem; color: #8b93ac; margin: 14px 0 0; line-height: 1.5; }

/* 13. Testimonials -------------------------------------------------------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.testimonial-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: #ddd7fb; }
.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: .6;
  color: #ded5ff;
  margin-bottom: 14px;
  display: block;
  height: 26px;
}
.testimonial-card .stars { color: var(--amber); display: flex; gap: 2px; margin-bottom: 12px; }
.testimonial-card blockquote {
  font-size: .965rem;
  line-height: 1.72;
  color: #3f4a6b;
  margin: 0 0 20px;
  flex: 1 1 auto;
}
.testimonial-card .t-person { display: flex; align-items: center; gap: 13px; padding-top: 16px; border-top: 1px solid var(--line); }
.t-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--head);
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
  flex: 0 0 auto;
  letter-spacing: .01em;
}
.t-name { font-family: var(--head); font-weight: 800; font-size: .99rem; color: var(--ink); line-height: 1.2; }
.av-1 { background: linear-gradient(135deg, #5b3df5, #8b5cf6); }
.av-2 { background: linear-gradient(135deg, #0fb9a8, #2fd6bb); }
.av-3 { background: linear-gradient(135deg, #ffb020, #ff8a3d); }
.av-4 { background: linear-gradient(135deg, #ff5c7a, #ff92a6); }
.av-5 { background: linear-gradient(135deg, #2e90fa, #58c4f5); }
.av-6 { background: linear-gradient(135deg, #6fb92c, #a6d94b); }

/* 14. Blog cards ---------------------------------------------------------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s ease, border-color .32s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #dcd5fb; }
.blog-media { position: relative; height: 200px; overflow: hidden; flex: 0 0 auto; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.blog-card:hover .blog-media img { transform: scale(1.07); }
.blog-media .blog-cat {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, .95);
  color: var(--violet);
  font-family: var(--head);
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
  z-index: 2;
}
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-body h3 { font-size: 1.13rem; line-height: 1.34; margin-bottom: 11px; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--violet); }
.blog-body p { font-size: .92rem; line-height: 1.68; margin-bottom: 18px; }
.blog-body .btn-link-arrow { margin-top: auto; font-size: .9rem; }

/* 15. FAQ accordion ------------------------------------------------------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  margin-bottom: 13px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: #d7cdfb;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  padding: 20px 22px;
  box-shadow: none !important;
  border-radius: var(--radius) !important;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--violet); background: #fbfaff; }
.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235b3df5' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 15px;
  transition: transform .28s ease;
}
.faq-accordion .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.faq-accordion .accordion-body { padding: 0 22px 22px; font-size: .95rem; color: var(--muted); line-height: 1.75; }

/* 16. Newsletter / CTA band ----------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--grad-deep);
  border-radius: var(--radius-xl);
  padding: 58px 52px;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 61, 245, .62), transparent 68%);
  top: -190px; right: -110px;
  filter: blur(50px);
  z-index: -1;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 185, 168, .46), transparent 68%);
  bottom: -200px; left: -100px;
  filter: blur(50px);
  z-index: -1;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #bcc5e2; margin-bottom: 0; }

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form .form-control {
  flex: 1 1 220px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  padding: 14px 22px;
  font-size: .95rem;
  backdrop-filter: blur(6px);
}
.newsletter-form .form-control::placeholder { color: #a9b3d3; }
.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, .16);
  border-color: #7cf2e0;
  box-shadow: 0 0 0 4px rgba(124, 242, 224, .16);
  color: #fff;
}
.form-note { font-size: .76rem; color: #9aa5c8; margin: 12px 0 0; }

/* 17. Page hero (inner pages) -------------------------------------------- */
.page-hero {
  background: var(--grad-deep);
  color: #fff;
  padding: 60px 0 74px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 75%);
  z-index: -1;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 185, 168, .4), transparent 68%);
  top: -240px; right: -120px;
  filter: blur(60px);
  z-index: -1;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #c0c9e5; max-width: 46rem; margin-bottom: 0; font-size: 1.03rem; }
.breadcrumb-nav { font-size: .84rem; color: #9fabc9; margin-bottom: 18px; }
.breadcrumb-nav a { color: #cdd6ee; }
.breadcrumb-nav a:hover { color: #7cf2e0; }
.breadcrumb-nav .sep { margin: 0 9px; opacity: .5; }
.breadcrumb-nav .current { color: #7cf2e0; font-weight: 600; }

/* 18. Content pages ------------------------------------------------------- */
.prose { font-size: 1.005rem; line-height: 1.85; color: #46516f; }
.prose h2 { font-size: 1.6rem; margin: 2.1rem 0 .9rem; color: var(--ink); }
.prose h3 { font-size: 1.22rem; margin: 1.7rem 0 .7rem; color: var(--ink); }
.prose p { color: #46516f; margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.25rem; color: #46516f; }
.prose li { margin-bottom: .55rem; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: #cdbffb; text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.8rem 0;
  padding: 22px 26px;
  border-left: 4px solid var(--violet);
  background: #f8f6ff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.04rem;
  color: #3a4467;
  font-style: italic;
}
.prose .table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.prose table th { background: #f7f6fe; font-family: var(--head); font-weight: 700; color: var(--ink); }

.legal-meta {
  background: #f7f6fe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 34px;
  font-size: .87rem;
  color: var(--muted);
}
.legal-meta strong { color: var(--ink); }

.legal-toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 100px;
}
.legal-toc h5 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; font-weight: 800; }
.legal-toc ol { margin: 0; padding-left: 18px; font-size: .875rem; }
.legal-toc li { margin-bottom: 9px; }
.legal-toc a { color: #3f4a6b; }
.legal-toc a:hover { color: var(--violet); }

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .vc-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.value-card h4 { font-size: 1.03rem; margin-bottom: 8px; }
.value-card p { font-size: .9rem; margin-bottom: 0; line-height: 1.65; }

.member-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member-photo { height: 210px; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 2.1rem; color: #fff; letter-spacing: .02em; }
.member-body { padding: 20px 18px 24px; }
.member-body h4 { font-size: 1.02rem; margin-bottom: 3px; }
.member-body p { font-size: .84rem; margin-bottom: 0; }

/* 19. Forms --------------------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px;
}
.form-label {
  font-family: var(--head);
  font-weight: 700;
  font-size: .845rem;
  color: #2b3560;
  margin-bottom: 7px;
}
.form-label .req { color: var(--coral); }
.form-control, .form-select {
  border: 1.5px solid #e2e5f2;
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-size: .945rem;
  color: var(--ink);
  background-color: #fdfdff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-control::placeholder { color: #a3aac2; }
.form-control:focus, .form-select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(91, 61, 245, .12);
  background-color: #fff;
  color: var(--ink);
}
textarea.form-control { min-height: 128px; resize: vertical; }
.form-check-input { width: 1.1em; height: 1.1em; border-color: #cfd4e8; margin-top: .28em; }
.form-check-input:checked { background-color: var(--violet); border-color: var(--violet); }
.form-check-label { font-size: .875rem; color: var(--muted); }
.form-text { font-size: .775rem; color: #8c93aa; }

/* Space is always reserved so an error never shifts the layout (and never
   moves a button out from under a click). */
.field-error {
  display: block;
  min-height: 18px;
  font-size: .78rem;
  line-height: 1.35;
  color: #e0344f;
  margin-top: 4px;
  font-weight: 600;
  visibility: hidden;
}
.is-invalid-soft { border-color: #f8a8b6 !important; background-color: #fff7f9 !important; }
.field-error.show { visibility: visible; }

.form-alert {
  display: none;
  border-radius: var(--radius);
  padding: 15px 18px;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 22px;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.55;
}
.form-alert.show { display: flex; }
.form-alert.ok { background: #e9fbf6; border: 1px solid #b6ecdd; color: #0a7d68; }
.form-alert.err { background: #fff2f4; border: 1px solid #f8c3cc; color: #b81f39; }
.form-alert svg { flex: 0 0 auto; margin-top: 2px; }

.form-success-panel {
  display: none;
  text-align: center;
  padding: 44px 26px;
}
.form-success-panel.show { display: block; animation: popIn .45s cubic-bezier(.2, .8, .2, 1); }
.form-success-panel .fsp-ico {
  width: 74px; height: 74px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #0fb9a8, #2fd6bb);
  color: #fff;
  box-shadow: 0 18px 36px -16px rgba(15, 185, 168, .9);
}
.form-success-panel h3 { margin-bottom: 10px; }
.form-success-panel p { max-width: 30rem; margin: 0 auto 22px; }

.form-status-chip {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  font-family: var(--head);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.form-status-chip.show { display: inline-flex; }
.form-status-chip.on { background: var(--teal-soft); color: #0a8b7f; border: 1px solid #bdefe8; }
.form-status-chip.off { background: #f2f3fa; color: var(--muted); border: 1px solid var(--line); }

/* 20. Contact cards ------------------------------------------------------- */
.contact-card {
  display: flex;
  gap: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #ddd7fb; }
.contact-card .cc-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; }
.contact-card h4 { font-size: .95rem; margin-bottom: 5px; }
.contact-card p, .contact-card a { font-size: .895rem; margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.contact-card a:hover { color: var(--violet); }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #eef1f8;
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}
.map-frame .mf-inner { max-width: 30rem; }
.map-frame h4 { margin: 14px 0 6px; }
.map-frame p { font-size: .9rem; margin-bottom: 16px; }

/* 21. Footer -------------------------------------------------------------- */
.site-footer {
  background: #070d24;
  color: #98a2c2;
  padding: 74px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 61, 245, .28), transparent 68%);
  top: -320px; left: -180px;
  filter: blur(60px);
  pointer-events: none;
}
.site-footer h5 {
  color: #fff;
  font-size: .93rem;
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: .01em;
  margin-bottom: 20px;
}
.site-footer p { color: #98a2c2; font-size: .915rem; line-height: 1.75; }
.site-footer a { color: #98a2c2; }
.site-footer a:hover { color: #7cf2e0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: .915rem; display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease, transform .2s ease; }
.footer-links a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #3b4570; transition: background .2s ease; }
.footer-links a:hover { transform: translateX(3px); }
.footer-links a:hover::before { background: #7cf2e0; }

.footer-brand .logo-word { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: .915rem; align-items: flex-start; }
.footer-contact .fc-i { color: #7cf2e0; flex: 0 0 auto; margin-top: 3px; }
.footer-social { display: flex; gap: 9px; margin-top: 22px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #c3cbe6;
  transition: all .25s ease;
}
.footer-social a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); border-color: transparent; }

.footer-newsletter .form-control {
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .14);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: .9rem;
}
.footer-newsletter .form-control::placeholder { color: #818dad; }
.footer-newsletter .form-control:focus { background: rgba(255, 255, 255, .12); border-color: #7cf2e0; box-shadow: 0 0 0 4px rgba(124, 242, 224, .13); color: #fff; }

.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0;
  font-size: .845rem;
  color: #7c86a6;
}
.footer-bottom a { color: #b3bcd6; }
.footer-bottom .fb-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom .fb-links a:hover { color: #7cf2e0; }

.footer-disclaimer {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .79rem;
  line-height: 1.65;
  color: #8b95b5;
  margin-top: 40px;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  border: 0;
  box-shadow: 0 14px 30px -10px rgba(91, 61, 245, .85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .3s ease;
  z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* 22. Animations ---------------------------------------------------------- */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(.94) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .55s cubic-bezier(.2, .8, .2, 1), transform .55s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 23. Responsive ---------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero-visual .hv-main img { height: 380px; }
  .float-card.fc-a { left: -8px; }
  .float-card.fc-b { right: -4px; }
  .process-line { display: none; }
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 12px;
    padding: 14px;
    max-height: 78vh;
    overflow-y: auto;
  }
  .site-nav .nav-link { padding: 11px 12px !important; }
  .site-nav .nav-link::after { display: none; }
  .site-nav .nav-link.active { background: var(--violet-soft); }
  .nav-cta-group { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; }
  .nav-cta-group .btn { flex: 1 1 auto; }
  .hero { padding: 56px 0 78px; }
  .hero-visual { margin-top: 44px; }
  .hero-visual .hv-main img { height: 330px; }
  .section { padding: 68px 0; }
  .section-tight { padding: 56px 0 72px; }
  .cta-band { padding: 44px 30px; border-radius: var(--radius-lg); }
  .image-stack { padding: 0; margin-bottom: 34px; }
  .image-stack .is-main img { height: 360px; }
  .legal-toc { position: static; margin-bottom: 30px; }
  .topbar .tb-desk { display: none; }
}

@media (max-width: 767.98px) {
  body { font-size: 16px; }
  .topbar { font-size: .78rem; text-align: center; }
  .topbar .tb-sep { display: none; }
  .topbar .tb-item { margin: 0 8px; }
  .hero { padding: 44px 0 70px; }
  .hero p.lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .service-media { height: 178px; }
  .section-head { margin-bottom: 38px; }
  .form-card { padding: 24px 20px; }
  .calc-body { padding: 22px; }
  .cta-band { padding: 36px 22px; }
  .site-footer { padding-top: 56px; }
  .float-card.fc-b { display: none; }
  .float-card.fc-a { left: 12px; bottom: 14px; padding: 11px 14px; }
  .image-stack .is-small { width: 52%; }
  .image-stack .is-small img { height: 130px; }
  .testimonial-card, .service-body, .blog-body { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 575.98px) {
  .logo-word { font-size: 1.05rem; }
  .logo-mark { width: 34px; height: 34px; border-radius: 10px; }
  .logo-mark svg { width: 18px; height: 18px; }
  .page-hero { padding: 40px 0 56px; }
  .hero-visual .hv-main img { height: 260px; }
  .newsletter-form .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   24. Final adjustments
   -------------------------------------------------------------------------- */
.newsletter-form .form-alert,
.newsletter-form .field-error { flex: 1 1 100%; margin-bottom: 4px; }
.newsletter-form .btn { flex: 0 0 auto; }
.form-shell { position: relative; }
.form-check-input.is-invalid-soft { outline: 2px solid #f8a8b6; outline-offset: 2px; }
.hero-visual .hv-main img,
.service-media img,
.blog-media img { background: #e9ecf6; }
.prose img { border-radius: 16px; }
.site-nav .dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Contact details must never overflow their card */
.contact-card p, .contact-card a, .footer-contact li, .map-frame p {
  overflow-wrap: break-word;
}
.contact-card p a { font-size: .86rem; }
.member-photo { height: 158px; font-size: 1.9rem; }
.footer-newsletter .field-error { color: #ffb8c5; }

@media (max-width: 575.98px) {
  .topbar-social { display: none; }
  .topbar { padding: 8px 0; }
  .topbar .tb-item { margin: 1px 8px; font-size: .76rem; }
}

/* The hero wave already separates the fold — tighten the first section */
.hero + .section { padding-top: 66px; }

/* Oversized gradient numeral (404 page) */
.grad-num {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
