/* =========================================================
   Wealth Manage Zone — Custom Stylesheet
   Palette: Deep Emerald · Gold · Deep Navy
   ========================================================= */

:root {
  --wmz-primary: #0e7a5f;      /* deep emerald */
  --wmz-primary-dark: #085746;
  --wmz-primary-darker: #063f33;
  --wmz-accent: #d4a017;       /* gold */
  --wmz-accent-light: #eec463;
  --wmz-navy: #122a38;         /* deep navy */
  --wmz-navy-light: #1c3b4e;
  --wmz-ink: #22303a;
  --wmz-muted: #5b6b76;
  --wmz-bg: #f6f9f8;
  --wmz-card: #ffffff;
  --wmz-border: #e4ece9;
  --wmz-shadow: 0 18px 40px -18px rgba(8, 87, 70, 0.35);
  --wmz-shadow-soft: 0 8px 24px -12px rgba(8, 87, 70, 0.22);
  --wmz-radius: 18px;
  --wmz-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--wmz-font);
  color: var(--wmz-ink);
  background: var(--wmz-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--wmz-navy);
  letter-spacing: -0.01em;
}

a { color: var(--wmz-primary); text-decoration: none; }
a:hover { color: var(--wmz-primary-dark); }

.text-primary-wmz { color: var(--wmz-primary) !important; }
.text-accent { color: var(--wmz-accent) !important; }

.section { padding: 84px 0; }
.section-alt { background: #ffffff; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wmz-primary);
  background: rgba(14, 122, 95, 0.10);
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wmz-accent);
}

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.18; }
.section-subtitle { color: var(--wmz-muted); max-width: 640px; }

/* Buttons */
.btn-wmz {
  background: linear-gradient(135deg, var(--wmz-primary) 0%, var(--wmz-primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.72rem 1.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px -10px rgba(8, 87, 70, 0.65);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-wmz:hover, .btn-wmz:focus {
  color: #fff;
  background: linear-gradient(135deg, var(--wmz-primary-dark) 0%, var(--wmz-primary-darker) 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -10px rgba(8, 87, 70, 0.7);
}

.btn-outline-wmz {
  border: 2px solid var(--wmz-primary);
  color: var(--wmz-primary);
  border-radius: 50px;
  padding: 0.66rem 1.6rem;
  font-weight: 600;
  background: transparent;
  transition: all .18s ease;
}
.btn-outline-wmz:hover {
  background: var(--wmz-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--wmz-accent) 0%, #b9870e 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.72rem 1.7rem;
  font-weight: 700;
  box-shadow: 0 10px 22px -10px rgba(185, 135, 14, 0.7);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); }

/* ============ Navbar ============ */
.wmz-navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px -18px rgba(18, 42, 56, 0.5);
  transition: box-shadow .2s ease;
}
.wmz-navbar.scrolled { box-shadow: 0 8px 30px -18px rgba(18, 42, 56, 0.55); }

.navbar-brand .brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--wmz-primary) 0%, var(--wmz-primary-dark) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px -8px rgba(8, 87, 70, 0.7);
}
.brand-text { font-weight: 800; font-size: 1.18rem; color: var(--wmz-navy); line-height: 1; }
.brand-text .brand-sub { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wmz-accent); }

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--wmz-ink);
  padding: 0.5rem 0.95rem !important;
  border-radius: 50px;
  transition: color .15s ease, background .15s ease;
}
.navbar-nav .nav-link:hover { color: var(--wmz-primary); }
.navbar-nav .nav-link.active { color: var(--wmz-primary); }

.navbar-nav .nav-cta { margin-left: 8px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 88% -10%, rgba(212, 160, 23, 0.20), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(14, 122, 95, 0.28), transparent 55%),
    linear-gradient(135deg, #0d2b3a 0%, var(--wmz-navy) 45%, #0a232e 100%);
  color: #eaf3f0;
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: var(--wmz-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(55%);
}
.hero h1 { color: #ffffff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.1; }
.hero .lead { color: #c3d6cf; max-width: 560px; }
.hero .hero-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d9e7e2;
  padding: 9px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
}
.hero .hero-stat { border-left: 2px solid rgba(212,160,23,.55); padding-left: 16px; }
.hero .hero-stat .num { font-size: 1.7rem; font-weight: 800; color: #fff; }
.hero .hero-stat .lbl { font-size: 0.82rem; color: #b9cfc7; }

.hero-img-wrap { position: relative; }
.hero-img {
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hero-float-card {
  position: absolute;
  bottom: -24px; left: -24px;
  background: #fff;
  color: var(--wmz-ink);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--wmz-shadow);
  display: flex; align-items: center; gap: 12px;
}
.hero-float-card .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(14,122,95,0.12);
  color: var(--wmz-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}

/* ============ Service cards ============ */
.service-card {
  background: var(--wmz-card);
  border: 1px solid var(--wmz-border);
  border-radius: var(--wmz-radius);
  overflow: hidden;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--wmz-shadow);
  border-color: transparent;
}
.service-card .sc-img {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.service-card .sc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .sc-img img { transform: scale(1.08); }
.service-card .sc-img .sc-icon {
  position: absolute; bottom: -26px; left: 22px;
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--wmz-primary), var(--wmz-primary-dark));
  color: #fff; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 22px -10px rgba(8,87,70,0.7);
  border: 3px solid #fff;
}
.service-card .sc-body { padding: 40px 24px 24px; }
.service-card .sc-body h3 { font-size: 1.22rem; }
.service-card .sc-body p { color: var(--wmz-muted); font-size: 0.96rem; }
.service-card .sc-link { font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }

/* ============ Feature / Why choose ============ */
.feature-item {
  display: flex; gap: 16px;
  background: #fff;
  border: 1px solid var(--wmz-border);
  border-radius: 16px;
  padding: 22px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--wmz-shadow-soft); }
.feature-item .fi-icon {
  flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(212,160,23,0.16);
  color: #a97e0c;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.feature-item h5 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-item p { color: var(--wmz-muted); font-size: 0.92rem; margin: 0; }

/* ============ Stats ============ */
.stats-band {
  background: linear-gradient(135deg, var(--wmz-primary-darker), var(--wmz-navy));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 20% 0%, rgba(212,160,23,0.25), transparent 60%);
}
.stat-box { text-align: center; position: relative; padding: 10px 0; }
.stat-box .num { font-size: 2.6rem; font-weight: 800; color: #fff; }
.stat-box .num span { color: var(--wmz-accent-light); }
.stat-box .lbl { color: #c3d6cf; font-weight: 600; letter-spacing: 0.03em; }

/* ============ Process / steps ============ */
.step-card { text-align: center; position: relative; padding: 0 10px; }
.step-card .step-num {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px dashed var(--wmz-primary);
  color: var(--wmz-primary);
  font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-card h5 { font-size: 1.1rem; }
.step-card p { color: var(--wmz-muted); font-size: 0.93rem; }

/* ============ Testimonials ============ */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--wmz-border);
  border-radius: var(--wmz-radius);
  padding: 28px;
  height: 100%;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--wmz-shadow-soft); }
.testimonial-card .quote-ic {
  font-size: 2rem; color: rgba(14,122,95,0.25); line-height: 1;
}
.testimonial-card .stars { color: var(--wmz-accent); letter-spacing: 2px; }
.testimonial-card .t-text { color: var(--wmz-ink); font-size: 0.98rem; }
.testimonial-card .t-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--wmz-primary), var(--wmz-primary-dark));
  color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.testimonial-card .t-name { font-weight: 700; color: var(--wmz-navy); line-height: 1.1; }

/* ============ Blog cards ============ */
.blog-card {
  background: #fff;
  border: 1px solid var(--wmz-border);
  border-radius: var(--wmz-radius);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--wmz-shadow); }
.blog-card .bc-img { height: 200px; overflow: hidden; }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .bc-img img { transform: scale(1.07); }
.blog-card .bc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card .bc-body h3 { font-size: 1.18rem; }
.blog-card .bc-body p { color: var(--wmz-muted); font-size: 0.95rem; flex: 1; }
.blog-card .bc-link { font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }

/* ============ Article page ============ */
.article-hero {
  background: linear-gradient(135deg, var(--wmz-navy), var(--wmz-primary-darker));
  color: #fff;
  padding: 72px 0 60px;
}
.article-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.article-hero .crumb a { color: #b9cfc7; }
.article-hero .crumb a:hover { color: #fff; }
.article-body { background: #fff; border-radius: var(--wmz-radius); padding: 40px; box-shadow: var(--wmz-shadow-soft); }
.article-body h2 { font-size: 1.4rem; margin-top: 1.6rem; }
.article-body p { color: #3c4b56; line-height: 1.85; font-size: 1.03rem; }
.article-body img.article-img { border-radius: 16px; margin: 8px 0 22px; }
.article-lead { font-size: 1.15rem !important; color: var(--wmz-navy) !important; }

/* ============ Page hero (inner pages) ============ */
.page-hero {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(212,160,23,0.22), transparent 55%),
    linear-gradient(135deg, var(--wmz-navy), var(--wmz-primary-darker));
  color: #fff;
  padding: 70px 0 60px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-hero p { color: #c3d6cf; max-width: 640px; }
.page-hero .crumb a { color: #b9cfc7; }
.page-hero .crumb a:hover { color: #fff; }

/* ============ Forms ============ */
.form-control, .form-select {
  border: 1px solid var(--wmz-border);
  border-radius: 12px;
  padding: 0.68rem 1rem;
  font-size: 0.98rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--wmz-primary);
  box-shadow: 0 0 0 0.2rem rgba(14,122,95,0.15);
}
.form-label { font-weight: 600; color: var(--wmz-navy); font-size: 0.92rem; }
.form-text-muted { color: var(--wmz-muted); }
.form-card {
  background: #fff;
  border: 1px solid var(--wmz-border);
  border-radius: var(--wmz-radius);
  padding: 32px;
  box-shadow: var(--wmz-shadow-soft);
}
.alert-success-soft {
  background: rgba(14,122,95,0.10);
  color: var(--wmz-primary-dark);
  border: 1px solid rgba(14,122,95,0.25);
  border-radius: 12px;
}
.alert-danger-soft {
  background: rgba(196,64,64,0.08);
  color: #a32f2f;
  border: 1px solid rgba(196,64,64,0.25);
  border-radius: 12px;
}

/* ============ Contact info blocks ============ */
.info-block {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--wmz-border);
  border-radius: 14px; padding: 20px;
}
.info-block .ib-icon {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(14,122,95,0.12); color: var(--wmz-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.info-block h6 { margin-bottom: 2px; }
.info-block p { color: var(--wmz-muted); margin: 0; font-size: 0.95rem; }

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(120deg, var(--wmz-accent), #c9960d);
  color: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 100% 0%, rgba(255,255,255,0.25), transparent 60%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.92); }

/* ============ Footer ============ */
.wmz-footer {
  background: linear-gradient(180deg, #0d2b3a, #081f2b);
  color: #b9cfc7;
  padding-top: 72px;
}
.wmz-footer .f-brand { color: #fff; font-weight: 800; font-size: 1.3rem; }
.wmz-footer h6 { color: #fff; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 18px; }
.wmz-footer .f-link {
  color: #b9cfc7; display: inline-block; padding: 3px 0;
  font-size: 0.95rem; transition: color .15s ease, padding-left .15s ease;
}
.wmz-footer .f-link:hover { color: var(--wmz-accent-light); padding-left: 4px; }
.wmz-footer .f-newsletter input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  border-radius: 50px;
  padding: 0.6rem 1.1rem;
}
.wmz-footer .f-newsletter input::placeholder { color: #8aa39a; }
.wmz-footer .f-newsletter input:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--wmz-accent);
  box-shadow: none; color: #fff;
}
.wmz-footer .f-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #d9e7e2;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; margin-right: 8px;
  transition: background .18s ease, transform .18s ease;
}
.wmz-footer .f-social a:hover { background: var(--wmz-accent); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 22px 0;
  font-size: 0.9rem;
  color: #8aa39a;
}
.footer-bottom a { color: #b9cfc7; }

/* ============ Misc ============ */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--wmz-primary); color: #fff;
  border: none; box-shadow: 0 10px 20px -8px rgba(8,87,70,0.7);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease; z-index: 1000;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--wmz-primary-dark); color: #fff; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

.legal-body h2 { font-size: 1.3rem; margin-top: 1.8rem; color: var(--wmz-navy); }
.legal-body h3 { font-size: 1.05rem; margin-top: 1.4rem; color: var(--wmz-primary-dark); }
.legal-body p, .legal-body li { color: #3c4b56; line-height: 1.8; }
.legal-body ul { padding-left: 1.3rem; }

.pill-list li { margin-bottom: 8px; }
.check-li { list-style: none; padding-left: 0; }
.check-li li { position: relative; padding-left: 30px; margin-bottom: 10px; color: #3c4b56; }
.check-li li::before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 1px;
  color: var(--wmz-primary); font-weight: 700;
}

@media (max-width: 991px) {
  .navbar-nav .nav-cta { margin-left: 0; margin-top: 8px; }
  .hero { padding: 72px 0 96px; }
  .hero-float-card { left: 8px; bottom: -18px; }
}
