/* ==========================================================================
   Business Xpertise (BX) — Core Stylesheet
   Corporate / professional theme: navy, emerald green, gold accent
   ========================================================================== */

:root {
  --bx-navy: #0c2340;
  --bx-navy-dark: #081729;
  --bx-navy-light: #15375f;
  --bx-green: #0e7c5a;
  --bx-green-dark: #0a5c43;
  --bx-green-light: #1fae82;
  --bx-gold: #c9a227;
  --bx-gold-light: #e0bf4f;
  --bx-bg: #ffffff;
  --bx-bg-alt: #f4f7fa;
  --bx-bg-navy-tint: #eef2f7;
  --bx-text: #1a2230;
  --bx-text-muted: #5b6472;
  --bx-border: #e2e7ee;
  --bx-white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(12, 35, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(12, 35, 64, 0.12);
  --shadow-lg: 0 16px 48px rgba(12, 35, 64, 0.18);
  --max-width: 1180px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text, var(--bx-text));
  color: var(--bx-text);
  background: var(--bx-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--bx-navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { color: var(--bx-text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--bx-bg-alt); }
.section-navy { background: var(--bx-navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #c3cedd; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bx-green);
  margin-bottom: 12px;
}

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--bx-green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--bx-green-dark); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--bx-gold); color: var(--bx-navy-dark); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--bx-gold-light); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--bx-navy); }
.btn-outline-navy { background: transparent; border-color: var(--bx-navy); color: var(--bx-navy); }
.btn-outline-navy:hover { background: var(--bx-navy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--bx-border);
}
.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 700; color: var(--bx-navy); font-size: 1.15rem; line-height: 1.1; }
.brand-text span { display: block; font-size: 0.62rem; letter-spacing: 0.1em; color: var(--bx-green); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bx-navy);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--bx-green);
  transition: width 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--bx-green); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--bx-navy); border-radius: 2px; }

@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    top: 73px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--bx-border); }
  .nav-cta .btn-sm-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--bx-navy-dark) 0%, var(--bx-navy) 55%, var(--bx-navy-light) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/hero-skyline.jpg') center right / cover no-repeat;
  opacity: 0.38;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,23,41,0.97) 15%, rgba(12,35,64,0.82) 48%, rgba(12,35,64,0.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 24px 90px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-inner .eyebrow { color: var(--bx-gold-light); }
.hero-inner h1 { color: #fff; max-width: 740px; }
.hero-inner h1 em { color: var(--bx-green-light); font-style: normal; }
.hero-inner p.lead { color: #cfd9e6; font-size: 1.15rem; max-width: 580px; margin: 20px 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  background: rgba(8, 23, 41, 0.55);
}
.hero-stats .stat {
  flex: 1 1 160px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--bx-gold-light); }
.hero-stats .stat span { font-size: 0.78rem; color: #cfd9e6; letter-spacing: 0.03em; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--bx-navy-dark), var(--bx-navy));
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfd9e6; max-width: 620px; margin: 14px auto 0; }
.breadcrumb { font-size: 0.85rem; color: var(--bx-gold-light); margin-bottom: 10px; }
.breadcrumb a { color: #cfd9e6; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--bx-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon-wrap {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bx-green), var(--bx-green-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { font-size: 0.94rem; }
.card ul { margin-top: 14px; }
.card ul li {
  font-size: 0.9rem;
  color: var(--bx-text);
  padding: 5px 0 5px 22px;
  position: relative;
}
.card ul li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bx-green-light);
}
.card-link { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--bx-green); font-size: 0.9rem; }

.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; font-size: 0.98rem; color: var(--bx-text);
  border-bottom: 1px solid var(--bx-border);
}
.check-list li:last-child { border-bottom: none; }
.check-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bx-green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; margin-top: 2px;
}
.check-list strong { color: var(--bx-navy); }

/* ---------- Stats row ---------- */
.stats-strip {
  display: flex; flex-wrap: wrap; gap: 0;
  background: var(--bx-navy);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stats-strip .stat-item {
  flex: 1 1 180px; text-align: center; padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stats-strip .stat-item:last-child { border-right: none; }
.stats-strip strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--bx-gold-light); }
.stats-strip span { font-size: 0.82rem; color: #cfd9e6; }

/* ---------- About / Founder ---------- */
.founder-split { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 56px; align-items: center; }
.founder-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.founder-quote {
  margin-top: 22px; padding: 18px 22px;
  border-left: 4px solid var(--bx-gold);
  background: var(--bx-bg-alt);
  font-style: italic; color: var(--bx-navy); font-weight: 600;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
@media (max-width: 860px) { .founder-split { grid-template-columns: 1fr; } }

/* ---------- Portfolio / clients ---------- */
.sector-block { margin-bottom: 40px; }
.sector-title {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; font-size: 1.1rem; color: var(--bx-navy); font-family: var(--font-head); font-weight: 700;
}
.sector-title .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bx-green-light); }
.client-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.client-chips span {
  background: #fff; border: 1px solid var(--bx-border); border-radius: 999px;
  padding: 9px 16px; font-size: 0.86rem; color: var(--bx-navy); font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 36px; border: 1px solid var(--bx-border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--bx-navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--bx-border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--bx-text); background: #fbfcfe;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--bx-green); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--bx-text-muted); }
.field-check input { width: auto; margin-top: 3px; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; }
.form-note { font-size: 0.78rem; color: var(--bx-text-muted); margin-top: 10px; }
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 18px; display: none; }
.form-msg.success { background: #e6f6ef; color: var(--bx-green-dark); display: block; }
.form-msg.error { background: #fdeceb; color: #b3261e; display: block; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--bx-border); border-radius: var(--radius-md);
  margin-bottom: 14px; overflow: hidden; background: #fff;
}
.faq-q {
  width: 100%; text-align: left; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; color: var(--bx-navy); font-size: 1rem;
}
.faq-q .plus { font-size: 1.3rem; color: var(--bx-green); transition: transform 0.2s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }
.faq-a p { font-size: 0.93rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--bx-green-dark), var(--bx-green));
  color: #fff; border-radius: var(--radius-lg);
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: 1.6rem; }
.cta-band p { color: #e3f3ec; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bx-navy-dark); color: #c3cedd; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--bx-gold-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 38px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); }
.footer-grid p.foot-desc { font-size: 0.88rem; color: #9fb0c4; max-width: 280px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
  transition: background 0.15s ease;
}
.social-row a:hover { background: var(--bx-green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #8798ad;
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); font-size: 1.7rem; color: #fff;
  animation: pulse-wa 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.07); }
@keyframes pulse-wa {
  0% { box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.45); }
  70% { box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Misc ---------- */
.badge {
  display: inline-block; background: var(--bx-bg-navy-tint); color: var(--bx-navy);
  font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.map-embed { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: none; width: 100%; height: 320px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--bx-border); }
.contact-detail .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--bx-bg-navy-tint); color: var(--bx-green); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-detail strong { display: block; color: var(--bx-navy); font-size: 0.95rem; }
.contact-detail span, .contact-detail a { font-size: 0.9rem; color: var(--bx-text-muted); }

.blog-card img { border-radius: var(--radius-md); margin-bottom: 16px; height: 190px; object-fit: cover; width: 100%; }
.blog-card .meta { font-size: 0.78rem; color: var(--bx-green); font-weight: 700; margin-bottom: 8px; letter-spacing: 0.04em; text-transform: uppercase; }

.placeholder-note {
  background: #fff8e8; border: 1px dashed var(--bx-gold); color: #7a5c00;
  padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.85rem; margin-bottom: 24px;
}

::selection { background: var(--bx-green-light); color: #fff; }

/* ==========================================================================
   Preview-site extensions — additional component classes used by the
   generated static preview pages (home/about/services/portfolio/faq/blog/contact)
   ========================================================================== */
.eyebrow-light { color: var(--bx-gold-light) !important; }
.hero-sub { color: #cfd9e6; font-size: 1.1rem; max-width: 600px; margin: 18px 0 30px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; position: relative; z-index: 2; }
.page-hero-sub { color: #cfd9e6; font-size: 1.05rem; max-width: 640px; margin-top: 12px; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: #e4ebf3; margin-bottom: 22px; }
.stats-grid { display: flex; flex-wrap: wrap; gap: 0; }
.stats-grid .stat { flex: 1 1 180px; text-align: center; padding: 10px 16px; }
.stats-grid .stat strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--bx-gold-light); }
.stats-grid .stat span { font-size: 0.85rem; color: #cfd9e6; }
.check-list li .check { color: var(--bx-green); font-weight: 700; flex-shrink: 0; }
.check-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
@media (max-width: 760px) { .check-list-grid { grid-template-columns: 1fr; } }
.faq-icon { font-size: 1.3rem; color: var(--bx-green); transition: transform 0.2s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.social-row-dark a { background: var(--bx-bg-alt); color: var(--bx-navy); }
.lead-p { font-size: 1.05rem; color: var(--bx-text-muted); margin-bottom: 20px; line-height: 1.7; }
.related-services { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--bx-border); }
.related-services strong { display: block; margin-bottom: 10px; color: var(--bx-navy); }
.chip-link { display: inline-block; margin: 0 8px 8px 0; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--bx-border); font-size: 0.85rem; font-weight: 600; color: var(--bx-navy); text-decoration: none; }
.chip-link:hover { border-color: var(--bx-green); color: var(--bx-green); }
.form-sub { color: var(--bx-text-muted); font-size: 0.9rem; margin: -6px 0 18px; }
.form-privacy { font-size: 0.78rem; color: var(--bx-text-muted); margin-top: 14px; line-height: 1.5; }
.form-privacy a { color: var(--bx-green); }
.blog-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--bx-border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-body { padding: 26px; }
.blog-card-body h3 { color: var(--bx-navy); margin-bottom: 10px; }
.blog-card-body p { color: var(--bx-text-muted); font-size: 0.92rem; margin-bottom: 14px; }
.blog-post h3 { color: var(--bx-navy); margin: 28px 0 10px; }
.blog-post p { margin-bottom: 14px; line-height: 1.75; color: var(--bx-text); }
.form-col .form-card { margin-top: 0; }
@media (max-width: 760px) {
  .hero-inner h1 { font-size: 1.9rem; }
  .two-col { grid-template-columns: 1fr !important; }
}

/* Map link card (replaces iframe embed for preview/artifact-safety) */
.map-link-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--bx-bg-alt); border: 1px solid var(--bx-border); border-radius: var(--radius-md);
  padding: 20px; text-decoration: none; color: var(--bx-navy); font-weight: 600; font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.map-link-card:hover { border-color: var(--bx-green); box-shadow: var(--shadow-sm); }
.map-pin { font-size: 1.4rem; }
.form-msg.success { color: var(--bx-green-dark); background: #e8f6f0; border: 1px solid var(--bx-green-light); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.88rem; margin-top: 14px; }

/* ==========================================================================
   Design refresh — readability pass, SVG icon system, dropdown nav
   ========================================================================== */

/* ---- Readability: bigger, bolder type throughout ---- */
body { font-size: 17px; line-height: 1.7; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
p { font-size: 1.02rem; }
.eyebrow { font-size: 0.82rem; letter-spacing: 0.1em; }
.nav-links a, .nav-dropdown-trigger { font-size: 1rem; }
.card h3 { font-size: 1.22rem; }
.card p { font-size: 1rem; }
.card ul li { font-size: 0.98rem; }
.hero-sub { font-size: 1.2rem; }
.lead-p { font-size: 1.12rem; }
.check-list li { font-size: 1.05rem; }
.faq-q { font-size: 1.08rem; }
.faq-a p { font-size: 1rem; }
.section-head p { font-size: 1.1rem; }
.form-sub { font-size: 0.98rem; }
.contact-detail { font-size: 1.05rem; }
.footer-grid ul li, .footer-contact-list li { font-size: 0.98rem; }
.blog-card-body h3 { font-size: 1.3rem; }
.blog-card-body p { font-size: 1rem; }
.stats-strip span, .stats-grid .stat span { font-size: 0.92rem; }

/* ---- SVG icon system (replaces emoji glyphs) ---- */
.card .icon-wrap { font-size: 0; }
.card .icon-wrap svg { width: 28px; height: 28px; }
.map-pin svg, .ft-ic svg { width: 1em; height: 1em; display: block; }

/* ---- Brand / logo ---- */
.brand img { height: 52px; width: auto; }
.footer-brand img { height: 46px; width: auto; }

/* ---- Social icons (real SVG brand marks) ---- */
.social-row a { font-size: 0; }
.social-row a svg { width: 17px; height: 17px; }
.social-row a[aria-label="Facebook"]:hover { background: #1877F2; }
.social-row a[aria-label="LinkedIn"]:hover { background: #0A66C2; }
.social-row a[aria-label="Instagram"]:hover { background: #C8368A; }
.social-row-dark a { color: var(--bx-navy); }
.social-row-dark a:hover { color: #fff; }

/* ---- Footer contact list with leading icons (WhatsApp / email / phone / pin) ---- */
.footer-contact-list li a, .footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.ft-ic {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(255,255,255,0.1); color: var(--bx-gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; margin-top: 1px;
}
.ft-ic-wa { color: #25D366; }
.contact-detail { display: flex; align-items: flex-start; gap: 10px; }

/* ---- Services dropdown (desktop hover, mobile click-to-expand) ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
  font-weight: 600; color: var(--bx-navy); padding: 6px 0;
}
.nav-dropdown-trigger svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: grid; gap: 2px;
  background: #fff; border: 1px solid var(--bx-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 10px; min-width: 280px;
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600; color: var(--bx-navy);
  transition: background 0.15s ease;
}
.nav-dropdown-item:hover { background: var(--bx-bg-alt); }
.nav-dd-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--bx-bg-navy-tint); color: var(--bx-green); display: flex; align-items: center; justify-content: center; }
.nav-dd-icon svg { width: 16px; height: 16px; }
.nav-dropdown-all { color: var(--bx-green); border-top: 1px solid var(--bx-border); margin-top: 4px; padding-top: 12px; }

@media (min-width: 921px) {
  .nav-dropdown-menu {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 40;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
}
@media (max-width: 920px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--bx-border); }
  .nav-dropdown-menu {
    max-height: 0; overflow: hidden; border: none; box-shadow: none; padding: 0; min-width: 0;
    transition: max-height 0.25s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 500px; padding: 6px 0 10px; }
  .nav-dropdown-item { padding: 10px 0 10px 14px; }
}

.faq-container-inline .faq-item { margin-bottom: 10px; }

/* ---- Fix header crowding at narrow phone widths ---- */
@media (max-width: 480px) {
  .nav-cta .btn-primary { display: none; }
  .brand img { height: 40px; }
  .brand-text { font-size: 0.98rem; }
  .brand-text span { font-size: 0.56rem; }
}

/* ==========================================================
   Upgrade round 1 — motion, header-on-scroll, card polish,
   "How it works" timeline
   ========================================================== */

/* Header gains depth once the page scrolls */
.site-header { transition: box-shadow 0.25s ease, background 0.25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(12, 35, 64, 0.10); background: rgba(255,255,255,0.99); }
.site-header .nav-wrap { transition: padding 0.25s ease; }
.site-header.is-scrolled .nav-wrap { padding-top: 8px; padding-bottom: 8px; }

/* Hero entrance */
.hero-inner > * { animation: bx-rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes bx-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll reveal (only when JS is running, so content never hides without it) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Service cards: accent bar + icon lift */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--bx-green), var(--bx-gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .icon-wrap { transition: transform 0.3s ease; }
.card:hover .icon-wrap { transform: scale(1.08) rotate(-4deg); }
.card .card-link { transition: letter-spacing 0.2s ease; }
.card:hover .card-link { letter-spacing: 0.02em; }

/* Stat counters */
.stats-grid .stat strong { font-variant-numeric: tabular-nums; font-size: 2.2rem; }

/* How it works timeline */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--bx-green), var(--bx-gold)); opacity: 0.35;
}
.step { text-align: center; position: relative; padding: 0 8px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--bx-green); color: var(--bx-green);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  position: relative; z-index: 1; box-shadow: var(--shadow-sm);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.step:hover .step-num { background: var(--bx-green); color: #fff; transform: scale(1.06); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--bx-text-muted); }
.steps-cta { text-align: center; margin-top: 40px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--bx-green), var(--bx-gold)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0 0 28px; }
  .step-num { margin: 0; grid-row: span 2; }
  .step h3 { align-self: end; margin: 6px 0 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner > *, .js .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .card:hover, .card:hover .icon-wrap, .step:hover .step-num { transform: none; }
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-grid .stat { flex: none; padding: 10px 8px; border-right: 1px solid rgba(255,255,255,0.12); }
.stats-grid .stat:last-child { border-right: none; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stats-grid .stat:nth-child(2n) { border-right: none; }
}

/* ==========================================================
   Upgrade round 2 — tools (mortgage calculator, setup quiz)
   ========================================================== */
.nav-link { white-space: nowrap; }

.tool-card {
  max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid var(--bx-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
}
.tool-inputs { padding: 34px 32px; }
.tool-results { padding: 34px 32px; background: var(--bx-navy); color: #fff; display: flex; flex-direction: column; gap: 18px; }
.result-hero span { display: block; font-size: 0.85rem; color: #c3cedd; letter-spacing: 0.03em; }
.result-hero strong { display: block; font-family: var(--font-head); font-size: 2.3rem; color: var(--bx-gold-light); line-height: 1.15; font-variant-numeric: tabular-nums; }
.result-list { margin: 0; display: grid; gap: 10px; }
.result-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.93rem; }
.result-list dt { color: #c3cedd; }
.result-list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.result-list .total dt, .result-list .total dd { color: #fff; font-size: 1rem; }
.tool-alert { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.86rem; background: rgba(201,162,39,0.15); border: 1px solid rgba(224,191,79,0.45); color: #f3e3a8; }
.tool-alert.ok { background: rgba(31,174,130,0.14); border-color: rgba(31,174,130,0.45); color: #bdeedc; }
.tool-note { margin: 0; font-size: 0.76rem; color: #93a3b8; line-height: 1.5; }
.field input[type=range] { width: 100%; accent-color: var(--bx-green); padding: 0; border: none; background: none; }
@media (max-width: 860px) {
  .tool-card { grid-template-columns: 1fr; }
  .tool-inputs, .tool-results { padding: 26px 20px; }
  .result-hero strong { font-size: 2rem; }
}

/* Quiz */
.quiz-card { display: block; max-width: 760px; padding: 0; }
.quiz-progress { height: 5px; background: var(--bx-bg-alt); }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--bx-green), var(--bx-gold)); transition: width 0.35s ease; }
#qz-body { padding: 34px 32px 36px; }
.qz-step { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bx-green); }
.qz-q { font-size: 1.35rem; margin: 8px 0 20px; }
.qz-options { display: grid; gap: 12px; }
.qz-option {
  text-align: left; width: 100%; padding: 15px 18px; border-radius: var(--radius-md);
  border: 1.5px solid var(--bx-border); background: #fff; font: inherit; color: var(--bx-text); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.qz-option:hover, .qz-option:focus-visible { border-color: var(--bx-green); background: #f2faf7; transform: translateX(3px); outline: none; }
.qz-back { margin-top: 18px; background: none; border: none; color: var(--bx-text-muted); font: inherit; font-size: 0.88rem; cursor: pointer; padding: 0; }
.qz-back:hover { color: var(--bx-navy); }
.qz-fade { animation: bx-rise 0.4s ease both; }
.qz-result-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #e8f5ef; color: var(--bx-green-dark); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.qz-result h3 { font-size: 1.7rem; margin: 12px 0 10px; }
.qz-result ul { margin: 16px 0 22px; padding-left: 20px; color: var(--bx-text-muted); }
.qz-result li { margin-bottom: 6px; }
.qz-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qz-disclaimer { margin-top: 16px; font-size: 0.78rem; color: var(--bx-text-muted); }
@media (max-width: 600px) { #qz-body { padding: 26px 20px 28px; } .qz-q { font-size: 1.15rem; } }

/* Homepage tool teasers */
.tool-teaser-card { display: block; color: inherit; text-decoration: none; }
.tool-teaser-card:hover { color: inherit; }
.brand-text { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1340px) {
  .nav-links { gap: 18px; }
  .nav-links a, .nav-links .nav-link { font-size: 0.88rem; }
  .nav-cta .btn-sm { padding: 9px 14px; font-size: 0.8rem; }
}
@media (min-width: 921px) and (max-width: 1080px) {
  .nav-cta .btn-sm-desktop { display: none; }
}
.brand { flex-shrink: 0; margin-right: 20px; }
.brand-text span { letter-spacing: 0.02em; font-size: 0.6rem; }
/* Contact map */
.map-wrap { margin-top: 24px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--bx-border); box-shadow: var(--shadow-sm); background: var(--bx-bg-alt); }
.map-frame { display: block; width: 100%; height: 320px; border: 0; }
.map-directions { display: block; padding: 14px 18px; font-weight: 600; font-size: 0.92rem; color: var(--bx-green-dark); border-top: 1px solid var(--bx-border); background: #fff; }
.map-directions:hover { background: #f2faf7; }
.steps { list-style: none; }
