/* ==========================================================================
   Digital Budget Hub — Main Stylesheet
   Palette: deep emerald + warm amber + cream
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  --emerald-950: #032A22;
  --emerald-900: #04372C;
  --emerald-800: #04493A;
  --emerald-700: #056B55;
  --emerald-600: #07866A;
  --emerald-500: #0AA37F;
  --emerald-100: #D7ECE4;
  --emerald-50: #EDF7F2;

  --amber-500: #F7B32B;
  --amber-600: #E09B14;
  --amber-100: #FDEBC7;

  --ink: #0F231E;
  --body: #4E635D;
  --muted: #7A8C87;
  --line: #E3EDE8;
  --cream: #FFF8EC;
  --white: #FFFFFF;

  --grad-brand: linear-gradient(135deg, #04372C 0%, #056B55 52%, #0AA37F 100%);
  --grad-amber: linear-gradient(135deg, #F7B32B 0%, #E09B14 100%);
  --shadow-sm: 0 6px 18px rgba(4, 55, 44, .07);
  --shadow-md: 0 18px 40px rgba(4, 55, 44, .10);
  --shadow-lg: 0 30px 70px rgba(4, 55, 44, .16);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 100px;
}

/* ---------- Base ---------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }

p { margin-bottom: 1rem; }
a { color: var(--emerald-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--amber-600); }

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

::selection { background: var(--amber-100); color: var(--emerald-900); }

.section { padding: clamp(3.25rem, 7vw, 6rem) 0; position: relative; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-mint { background: var(--emerald-50); }
.bg-cream { background: var(--cream); }
.bg-dark-brand { background: var(--grad-brand); color: #CFE6DD; }

/* ---------- Helper text ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}
.eyebrow i { color: var(--amber-600); }
.bg-dark-brand .eyebrow,
.hero .eyebrow {
  color: var(--amber-500);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}
.eyebrow-light {
  color: var(--amber-500);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .2);
}

.section-title { margin-bottom: .9rem; }
.section-lead { color: var(--body); font-size: 1.04rem; max-width: 640px; }
.text-balance { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: .78rem 1.6rem;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.btn:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; box-shadow: none; }

.btn-brand {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(5, 107, 85, .28);
}
.btn-brand:hover, .btn-brand:focus {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(5, 107, 85, .36);
}

.btn-amber {
  background: var(--grad-amber);
  color: var(--emerald-950);
  box-shadow: 0 12px 26px rgba(224, 155, 20, .3);
}
.btn-amber:hover, .btn-amber:focus {
  color: var(--emerald-950);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(224, 155, 20, .4);
}

.btn-outline-brand {
  border-color: var(--emerald-600);
  color: var(--emerald-700);
  background: transparent;
}
.btn-outline-brand:hover {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
  color: #fff;
  transform: translateY(-3px);
}

.btn-outline-light-brand {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}
.btn-outline-light-brand:hover {
  background: #fff;
  border-color: #fff;
  color: var(--emerald-800);
  transform: translateY(-3px);
}

.btn-sm-pill { padding: .55rem 1.15rem; font-size: .85rem; }
.btn-lg-pill { padding: .95rem 2.1rem; font-size: 1rem; }

.link-arrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  color: var(--emerald-700);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.link-arrow i { transition: transform .22s ease; }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--emerald-950);
  color: #B9D5CB;
  font-size: .85rem;
  padding: .55rem 0;
}
.topbar a { color: #DCEBE4; }
.topbar a:hover { color: var(--amber-500); }
.topbar i { color: var(--amber-500); }
.topbar .divider { opacity: .25; }

/* ---------- Header / Logo ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.navbar { padding: .85rem 0; }

/* Logo — always rendered on a single line, one uniform style */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: var(--grad-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-500);
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(5, 107, 85, .28);
}
.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.22rem;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--emerald-900);
  white-space: nowrap;
}
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-mark { background: rgba(255, 255, 255, .12); box-shadow: none; }

.navbar-nav .nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  padding: .55rem .85rem !important;
  border-radius: var(--radius-pill);
  position: relative;
}
.navbar-nav .nav-link:hover { color: var(--emerald-600); }
.navbar-nav .nav-link.active {
  color: var(--emerald-700);
  background: var(--emerald-50);
}
.navbar-toggler {
  border: 1px solid var(--line);
  padding: .45rem .6rem;
  border-radius: 12px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem var(--emerald-100); }
.navbar-toggler i { font-size: 1.35rem; color: var(--emerald-800); }

.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  font-size: .92rem;
  margin-top: .55rem;
}
.dropdown-item {
  border-radius: 10px;
  padding: .55rem .8rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  gap: .55rem;
  align-items: center;
}
.dropdown-item i { color: var(--emerald-600); }
.dropdown-item:hover, .dropdown-item:focus {
  background: var(--emerald-50);
  color: var(--emerald-800);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-brand);
  color: #D3E8E0;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px;
  right: -140px; top: -180px;
  background: radial-gradient(circle at 30% 30%, rgba(247, 179, 43, .35), transparent 62%);
}
.hero::after {
  width: 460px; height: 460px;
  left: -180px; bottom: -220px;
  background: radial-gradient(circle at 50% 50%, rgba(10, 163, 127, .42), transparent 65%);
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 1.15rem; }
.hero h1 .accent {
  color: var(--amber-500);
  position: relative;
  display: inline-block;
}
.hero p.lead {
  color: #C6E0D7;
  font-size: 1.08rem;
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.8rem; }

.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(3, 42, 34, .45);
  border: 6px solid rgba(255, 255, 255, .12);
}
.hero-img-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: .85rem 1.05rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .84rem;
  color: var(--ink);
  z-index: 3;
}
.floating-card strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .98rem; color: var(--emerald-800); line-height: 1.25; }
.floating-card span { color: var(--muted); font-size: .76rem; }
.fc-1 { left: -10px; bottom: 46px; }
.fc-2 { right: -6px; top: 40px; }
.fc-icon {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--emerald-50);
  color: var(--emerald-700);
  font-size: 1.05rem;
}
.fc-icon.amber { background: var(--amber-100); color: var(--amber-600); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-trust .item { display: flex; align-items: center; gap: .55rem; font-size: .87rem; color: #BFDACE; }
.hero-trust i { color: var(--amber-500); font-size: 1.05rem; }

/* ---------- Stat strip ---------- */
.stat-strip {
  margin-top: -58px;
  position: relative;
  z-index: 5;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.6rem 1.2rem;
  text-align: center;
  height: 100%;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-card .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--emerald-700);
  line-height: 1.1;
  display: block;
}
.stat-card .num .plus { color: var(--amber-600); }
.stat-card .lbl { font-size: .84rem; color: var(--muted); font-weight: 500; margin-top: .3rem; display: block; }

/* ---------- Cards generic ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  height: 100%;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--emerald-100); }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-100);
}
.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--emerald-50);
}
.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-media img { transform: scale(1.07); }
.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 55, 44, 0) 45%, rgba(4, 55, 44, .55) 100%);
}
.service-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .94);
  color: var(--emerald-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(3, 42, 34, .22);
}
.service-body {
  padding: 1.4rem 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.service-body h3 { margin-bottom: .55rem; }
.service-body h3 a { color: var(--ink); }
.service-body h3 a:hover { color: var(--emerald-600); }
.service-body p { font-size: .93rem; color: var(--body); margin-bottom: 1.2rem; }
.service-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Why choose / feature list ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: .8rem;
  font-size: .96rem;
  color: var(--body);
}
.check-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: .1rem;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
}
.check-list li strong { color: var(--ink); font-weight: 600; }

.why-media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.why-media img { display: block; width: 100%; object-fit: cover; }
.why-badge {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  background: #fff;
  border-radius: 16px;
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.why-badge .num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--emerald-700); line-height: 1; display: block; }
.why-badge .num i { font-size: 1.45rem; }
.why-badge .lbl { font-size: .74rem; color: var(--muted); }

.feature-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.2rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-tile .ft-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  background: var(--emerald-50);
  color: var(--emerald-700);
  margin-bottom: .9rem;
}
.feature-tile .ft-icon.amber { background: var(--amber-100); color: var(--amber-600); }
.feature-tile h4 { font-size: 1.02rem; margin-bottom: .35rem; }
.feature-tile p { font-size: .89rem; margin: 0; color: var(--body); }

/* ---------- Steps ---------- */
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.35rem 1.5rem;
  height: 100%;
  transition: transform .28s ease, box-shadow .28s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute;
  top: -22px;
  left: 1.35rem;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 10px 22px rgba(5, 107, 85, .3);
}
.step-card h4 { font-size: 1.05rem; margin-bottom: .45rem; }
.step-card p { font-size: .9rem; margin: 0; }
.step-line { display: none; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 1.9rem 1.7rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .28s ease, box-shadow .28s ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--amber-500);
  opacity: .9;
  display: block;
  margin-bottom: .3rem;
}
.testimonial-card .stars { color: var(--amber-500); font-size: .85rem; letter-spacing: .12rem; margin-bottom: .75rem; }
.testimonial-card p { font-size: .96rem; color: var(--body); font-style: italic; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
}
.avatar-initials {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-700);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--emerald-100);
}
.testimonial-author .name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: .96rem;
  line-height: 1.2;
}

.carousel-control-prev,
.carousel-control-next {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  top: auto;
  bottom: -10px;
  opacity: 1;
  color: var(--emerald-700);
}
.carousel-control-prev { left: calc(50% - 56px); }
.carousel-control-next { right: calc(50% - 56px); }
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--emerald-700); color: #fff; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 1rem; height: 1rem; filter: none; }
.carousel-control-prev-icon { background-image: none; }
.carousel-control-next-icon { background-image: none; }
.carousel-control-prev i, .carousel-control-next i { font-size: 1.15rem; }
.gallery-carousel-pad { padding-bottom: 3.6rem; }

/* ---------- Blog cards ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--emerald-50); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-body h3 { font-size: 1.13rem; margin-bottom: .6rem; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--emerald-600); }
.blog-body p { font-size: .92rem; margin-bottom: 1.15rem; }
.blog-body .link-arrow { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-brand);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.2rem);
  color: #D5E9E1;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -120px; top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 179, 43, .38), transparent 62%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C6E0D7; margin-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-brand);
  color: #CDE4DB;
  padding: clamp(2.6rem, 5vw, 4.2rem) 0 clamp(2.8rem, 5.5vw, 4.4rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  right: -150px; bottom: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 179, 43, .3), transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .7rem; }
.page-hero p { color: #C6E0D7; max-width: 680px; margin-bottom: 0; }
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: #A9C9BE;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.breadcrumb-nav a { color: #D9EBE4; }
.breadcrumb-nav a:hover { color: var(--amber-500); }
.breadcrumb-nav i { font-size: .7rem; opacity: .7; }
.breadcrumb-nav .current { color: var(--amber-500); }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.form-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--ink);
  margin-bottom: .4rem;
}
.form-label .req { color: #D64545; }
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .72rem .95rem;
  font-size: .94rem;
  color: var(--ink);
  background-color: #FCFEFD;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-control::placeholder { color: #A6B5B0; }
.form-control:focus, .form-select:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(10, 163, 127, .14);
  background-color: #fff;
}
.form-control.is-invalid, .form-select.is-invalid {
  border-color: #DC6A6A;
  background-image: none;
}
.form-control.is-valid, .form-select.is-valid { background-image: none; border-color: var(--emerald-500); }
.field-error {
  display: none;
  color: #C04545;
  font-size: .8rem;
  margin-top: .32rem;
  font-weight: 500;
}
.field-error.show { display: block; }
.form-check-input { width: 1.1em; height: 1.1em; margin-top: .28em; border-color: #C6D6D0; }
.form-check-input:checked { background-color: var(--emerald-600); border-color: var(--emerald-600); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(10, 163, 127, .18); border-color: var(--emerald-500); }
.form-check-label { font-size: .88rem; color: var(--body); }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status { display: none; }
.form-status.show { display: block; }

.alert-brand {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  color: var(--emerald-800);
  border-radius: var(--radius-sm);
  font-size: .92rem;
}
.alert-brand i { color: var(--emerald-600); }

/* ---------- Contact info cards ---------- */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.3rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-card .ic {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 12px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.info-card .ic.amber { background: var(--amber-100); color: var(--amber-600); }
.info-card h4 { font-size: .95rem; margin-bottom: .2rem; }
.info-card p, .info-card a { font-size: .9rem; margin: 0; color: var(--body); }
.info-card a:hover { color: var(--emerald-700); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 860px; }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); margin-top: 2.2rem; margin-bottom: .75rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.prose p, .prose li { font-size: .97rem; color: var(--body); }
.prose ul, .prose ol { padding-left: 1.15rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .45rem; }
.prose a { font-weight: 600; }
.prose .lead-in { font-size: 1.05rem; color: var(--ink); }
.legal-toc {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem;
}
.legal-toc h4 { font-size: .95rem; margin-bottom: .6rem; }
.legal-toc ol { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.legal-toc li { margin-bottom: .35rem; }
.legal-toc a { color: var(--emerald-700); font-weight: 500; }

/* ---------- Article (blog single) ---------- */
.article-wrap { max-width: 800px; }
.article-hero img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}
.article-body h2 { font-size: clamp(1.28rem, 2vw, 1.6rem); margin-top: 2.1rem; margin-bottom: .7rem; }
.article-body p { font-size: 1.02rem; line-height: 1.85; }
.article-body p:first-of-type { font-size: 1.1rem; color: var(--ink); }
.article-body ul { padding-left: 1.15rem; margin-bottom: 1.3rem; }
.article-body li { font-size: 1rem; margin-bottom: .5rem; }
.article-body blockquote {
  border-left: 4px solid var(--amber-500);
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.15rem 1.4rem;
  margin: 1.8rem 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: var(--emerald-900);
  font-size: 1.03rem;
}
.article-share {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  margin-top: 2.2rem;
}
.article-share .lbl { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .85rem; color: var(--ink); }
.share-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--emerald-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .92rem;
  transition: all .22s ease;
}
.share-btn:hover { background: var(--emerald-700); color: #fff; border-color: var(--emerald-700); transform: translateY(-3px); }

.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.35rem;
}
.sidebar-card h4 { font-size: 1.02rem; margin-bottom: 1rem; }
.mini-post { display: flex; gap: .85rem; margin-bottom: 1.05rem; }
.mini-post:last-child { margin-bottom: 0; }
.mini-post img { width: 74px; height: 62px; flex: 0 0 74px; object-fit: cover; border-radius: 10px; }
.mini-post a { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .87rem; color: var(--ink); line-height: 1.4; display: block; }
.mini-post a:hover { color: var(--emerald-600); }

/* ---------- Newsletter page ---------- */
.nl-card {
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  height: 100%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.nl-card.is-subscribe { border-top: 5px solid var(--emerald-600); }
.nl-card.is-unsubscribe { border-top: 5px solid var(--amber-600); }
.nl-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--emerald-50);
  color: var(--emerald-700);
}
.nl-card.is-unsubscribe .nl-icon { background: var(--amber-100); color: var(--amber-600); }
.perk-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.perk-list li { display: flex; gap: .6rem; font-size: .9rem; margin-bottom: .6rem; color: var(--body); }
.perk-list i { color: var(--emerald-600); margin-top: .2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--emerald-950);
  color: #A9C6BC;
  padding: clamp(2.8rem, 5vw, 4rem) 0 0;
  position: relative;
}
.site-footer h5 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .04em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  font-weight: 700;
}
.site-footer p { font-size: .9rem; color: #A9C6BC; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  color: #A9C6BC;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s ease, transform .2s ease;
}
.footer-links a::before {
  content: "\F285";
  font-family: "bootstrap-icons";
  font-size: .65rem;
  color: var(--amber-500);
  opacity: .8;
}
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .9rem; color: #A9C6BC; }
.footer-contact i { color: var(--amber-500); margin-top: .25rem; }
.footer-contact a { color: #CFE3DA; }
.footer-contact a:hover { color: var(--amber-500); }
.social-links { display: flex; gap: .55rem; margin-top: 1.2rem; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #D5E7E0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: all .22s ease;
}
.social-links a:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--emerald-950); transform: translateY(-3px); }
.footer-newsletter .form-control {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: .88rem;
}
.footer-newsletter .form-control::placeholder { color: #8FAEA4; }
.footer-newsletter .form-control:focus {
  background: rgba(255, 255, 255, .12);
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(247, 179, 43, .16);
  color: #fff;
}
.footer-newsletter .field-error { color: #FFB4A2; }
.footer-newsletter .form-status .alert { font-size: .84rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 2.4rem;
  padding: 1.15rem 0;
  font-size: .84rem;
  color: #8FAEA4;
}
.footer-bottom a { color: #BFD8CE; }
.footer-bottom a:hover { color: var(--amber-500); }

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .28s ease;
  z-index: 1040;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--grad-amber); color: var(--emerald-950); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.js .reveal.visible { opacity: 1; transform: none; }

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

/* ---------- Accordion ---------- */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: .8rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-button {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .96rem;
  color: var(--ink);
  background: #fff;
  padding: 1.05rem 1.2rem;
}
.accordion-button:not(.collapsed) { background: var(--emerald-50); color: var(--emerald-800); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(10, 163, 127, .16); border-color: var(--emerald-100); }
.accordion-button::after { background-size: .95rem; }
.accordion-body { font-size: .93rem; color: var(--body); padding-top: .4rem; }

/* ---------- Misc ---------- */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-pill);
  padding: .35rem .85rem;
  font-size: .8rem;
  font-weight: 600;
}
.contact-strip {
  background: var(--cream);
  border: 1px solid var(--amber-100);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.contact-strip i { color: var(--amber-600); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .fc-2 { right: 0; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: .75rem;
    margin-top: .8rem;
    max-height: 78vh;
    overflow-y: auto;
  }
  .navbar-nav .nav-link { padding: .65rem .85rem !important; }
  .hero { padding-top: 2.5rem; }
  .hero-visual { margin-top: 2.6rem; }
  .fc-1 { left: 0; bottom: 16px; }
  .fc-2 { right: 0; top: 16px; }
  .stat-strip { margin-top: -34px; }
  .carousel-control-prev { left: calc(50% - 56px); }
}

@media (max-width: 767.98px) {
  body { font-size: .97rem; }
  .topbar .d-none-sm { display: none !important; }
  .brand-name { font-size: 1.05rem; }
  .brand-mark { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; font-size: 1rem; }
  .floating-card { font-size: .76rem; padding: .65rem .8rem; }
  .floating-card strong { font-size: .86rem; }
  .fc-2 { display: none; }
  .hero-trust { gap: 1rem; }
  .step-card { padding-top: 2.3rem; }
  .stat-strip { margin-top: 1.5rem; }
  .cta-band { border-radius: 20px; text-align: center; }
  .cta-band .btn { margin-top: .4rem; }
  .article-body p { font-size: .99rem; }
  #backToTop { right: 14px; bottom: 14px; }
}

@media (max-width: 575.98px) {
  .brand-name { font-size: .98rem; }
  .brand-mark { width: 32px; height: 32px; flex: 0 0 32px; font-size: .9rem; }
  .btn { padding: .7rem 1.3rem; font-size: .9rem; }
  .hero-actions .btn { width: 100%; }
  .carousel-control-prev { left: calc(50% - 52px); }
  .carousel-control-next { right: calc(50% - 52px); }
}
