/**
 * ZUNAVISH MASTER EDITORIAL DESIGN SYSTEM
 * Brand Palette:
 *   Forest Green (Primary): #213D30
 *   Deep Forest:           #172C23
 *   Dark Green:            #14291F
 *   Muted Sage:            #DCE5DD
 *   Warm Ivory:            #F6F3EC
 *   Soft Cream:            #EEEAE1
 *   Champagne:             #B9A17A
 *   Champagne Light:       #F3EDE2
 *   Stone Grey:            #D5D4CB
 *   Charcoal:              #242824
 *   White:                 #FFFFFF
 */

:root {
  /* Brand Palette Core & Aliases */
  --zv-primary: #213D30;
  --zv-forest: #213D30;
  --zv-deep-forest: #172C23;
  --zv-dark-green: #14291F;
  --zv-muted-sage: #DCE5DD;
  --zv-sage: #DCE5DD;
  --zv-warm-ivory: #F6F3EC;
  --zv-ivory: #F6F3EC;
  --zv-soft-cream: #EEEAE1;
  --zv-cream: #EEEAE1;
  --zv-champagne: #B9A17A;
  --zv-champagne-light: #F3EDE2;
  --zv-stone-grey: #D5D4CB;
  --zv-charcoal: #242824;
  --zv-body-text: #2B332D;
  --zv-white: #FFFFFF;

  /* Borders & Shadows */
  --zv-border: rgba(33, 61, 48, 0.12);
  --zv-border-light: rgba(255, 255, 255, 0.16);
  --zv-shadow-sm: 0 4px 12px rgba(23, 44, 35, 0.05);
  --zv-shadow-md: 0 12px 28px rgba(23, 44, 35, 0.08);
  --zv-shadow-lg: 0 24px 54px rgba(23, 44, 35, 0.14);

  /* Typography */
  --zv-font-serif: 'Cormorant Garamond', 'DM Serif Display', Georgia, serif;
  --zv-font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii & Transitions */
  --zv-radius-sm: 6px;
  --zv-radius-md: 12px;
  --zv-radius-lg: 20px;
  --zv-radius-full: 9999px;
  --zv-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =======================================================
   CORE WEB VITALS & PERFORMANCE ENFORCEMENT
   ======================================================= */
/* Eliminate render-blocking full-screen preloader curtain for instant FCP/LCP */
#de-loader,
.de-loader,
.lds-roller {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* =======================================================
   TYPOGRAPHY & GLOBAL RESETS
   ======================================================= */
body {
  font-family: var(--zv-font-sans);
  color: var(--zv-body-text);
  background-color: #FAFAF7;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .zv-serif, .editorial-heading {
  font-family: var(--zv-font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--zv-deep-forest);
}

h4, h5, h6 {
  font-family: var(--zv-font-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--zv-deep-forest);
}

p {
  color: var(--zv-body-text);
  font-size: 1rem;
  line-height: 1.7;
}

/* Editorial Heading Scales */
.zv-heading-xl {
  font-family: var(--zv-font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--zv-deep-forest);
}
.zv-heading-lg {
  font-family: var(--zv-font-serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--zv-deep-forest);
}
.zv-heading-md {
  font-family: var(--zv-font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  font-weight: 600;
  color: var(--zv-deep-forest);
}
.zv-heading-sm {
  font-family: var(--zv-font-sans);
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--zv-deep-forest);
}

.zv-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  font-weight: 400;
  color: #38423a;
}
.zv-font-italic {
  font-style: italic !important;
  font-family: var(--zv-font-serif) !important;
}

/* Color Utilities */
.text-champagne {
  color: var(--zv-champagne) !important;
}
.text-forest {
  color: var(--zv-forest) !important;
}
.text-deep-forest {
  color: var(--zv-deep-forest) !important;
}
.text-sage {
  color: var(--zv-sage) !important;
}
.text-ivory {
  color: var(--zv-warm-ivory) !important;
}

/* =======================================================
   HIGH CONTRAST & WCAG AA READABILITY ENFORCEMENT
   ======================================================= */
/* Replace washed-out Bootstrap 50% opacity text with high-contrast text */
.text-white-50 {
  color: rgba(246, 243, 236, 0.92) !important;
}
/* Replace washed-out grey #6c757d with rich readable Charcoal on light backgrounds */
.text-muted {
  color: #38423a !important;
  font-weight: 400;
}
/* Ensure text-muted inside dark containers remains bright and legible */
.text-light .text-muted,
[class*="hero"] .text-muted,
footer .text-muted,
.bg-dark .text-muted,
.zv-about-hero .text-muted,
.flagship-card-zuna .text-muted {
  color: rgba(220, 229, 221, 0.92) !important;
}

/* Dark section headings & paragraphs - applies only to direct dark section text, NOT light cards */
.text-light > h1, .text-light > h2, .text-light > h3, .text-light > h4, .text-light > h5, .text-light > h6,
.text-light > .container h1, .text-light > .container h2, .text-light > .container h3,
.text-light > .container h4:not(.card *):not(.zv-card *):not(.zv-framework-card *):not(.zv-val-card *),
.zv-about-hero h1, .zv-about-hero h2, .zv-about-hero h3,
.zv-article-hero h1, .zv-article-hero h2 {
  color: #FFFFFF !important;
}
.text-light p:not(.card *):not(.zv-card *):not(.zv-framework-card *):not(.zv-val-card *),
.zv-about-hero p, .zv-article-hero p {
  color: rgba(246, 243, 236, 0.92);
}

/* =======================================================
   CONTAINERS & LAYOUT WRAPPERS
   ======================================================= */
.zv-container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.zv-container-sm {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Universal Page Wrapper with Header Clearance */
.zv-page-wrap {
  width: 100%;
  min-height: 100vh;
  background-color: #FAFAF7;
}

/* Ensure top sections on inner pages have ample breathing room below the fixed header */
.zv-about-hero,
.zv-article-hero,
.zv-serv-hero,
.zv-story-hero,
.zv-news-hero,
.zv-lead-shell,
.zv-quiz-shell,
.zv-result-shell,
.zv-step-shell,
.zv-careers-shell,
.zv-contact-shell,
.zv-faq-shell,
.zv-testi-shell,
section.zv-hero-top {
  padding-top: 140px !important;
}

@media (max-width: 991px) {
  .zv-about-hero,
  .zv-article-hero,
  .zv-serv-hero,
  .zv-story-hero,
  .zv-news-hero,
  .zv-lead-shell,
  .zv-quiz-shell,
  .zv-result-shell,
  .zv-step-shell,
  .zv-careers-shell,
  .zv-contact-shell,
  .zv-faq-shell,
  .zv-testi-shell,
  section.zv-hero-top {
    padding-top: 110px !important;
  }
}

/* =======================================================
   HEADER & NAVIGATION SYSTEM (PRECISION ALIGNMENT)
   ======================================================= */

/* 1. Permanent Luxury Frosted Deep Forest Header Shell */
header,
header.header-full,
header.header-full.transparent,
header.header-full.smaller,
header.smaller {
  background: rgba(20, 41, 31, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.28) !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 84px !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 1001 !important;
  display: flex !important;
  align-items: center !important;
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease !important;
}

header.smaller {
  height: 70px !important;
  background: rgba(16, 33, 25, 0.98) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.38) !important;
}

/* 2. Container & Row Width Control */
header .container-fluid {
  padding: 0 36px !important;
  max-width: 1760px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

header .row,
header .col-md-12 {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* 3. Header Flex Alignment Engine */
header .de-flex {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 84px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: height 0.3s ease !important;
}

header.smaller .de-flex {
  height: 70px !important;
}

header .de-flex-col {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

header .header-col-left {
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  z-index: 5 !important;
}

header .header-col-mid {
  flex: 1 1 auto !important;
  justify-content: center !important;
  padding: 0 14px !important;
  z-index: 1 !important;
}

header .header-col-right {
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  z-index: 5 !important;
}

header.smaller #mainmenu > li > a {
  padding: 6px 8px !important;
  font-size: 0.84rem !important;
}

/* 4. Logo Alignment */
#logo {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

#logo a {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

#logo img.logo-main {
  height: 48px !important;
  width: auto !important;
  max-height: 48px !important;
  display: block !important;
  transition: height 0.3s ease !important;
}

header.smaller #logo img.logo-main {
  height: 40px !important;
  max-height: 40px !important;
}

#logo img.logo-mobile {
  display: none !important;
}

/* 5. Main Editorial Navigation System */
#mainmenu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  list-style: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  height: 100% !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
}

#mainmenu > li {
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  list-style: none !important;
}

/* Crucial: Strictly hide mobile drawer flagship links on desktop */
@media (min-width: 992px) {
  #mainmenu > li.d-lg-none,
  #mainmenu > li.zv-mobile-flagship-item,
  header:not(.header-mobile) #mainmenu > li.d-lg-none,
  header:not(.header-mobile) #mainmenu > li.zv-mobile-flagship-item {
    display: none !important;
  }
}

#mainmenu > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--zv-font-sans) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 8px 10px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  transition: all 0.2s ease !important;
}

@media (min-width: 992px) and (max-width: 1240px) {
  header .container-fluid {
    padding: 0 16px !important;
  }
  header .header-col-mid {
    padding: 0 6px !important;
  }
  #mainmenu {
    gap: 0px !important;
  }
  #mainmenu > li > a {
    font-size: 0.77rem !important;
    padding: 5px 6px !important;
  }
  #logo img.logo-main {
    height: 34px !important;
  }
  .nav-flagship-pill {
    padding: 5px 10px !important;
    font-size: 0.78rem !important;
  }
}

#mainmenu > li > a:hover,
#mainmenu > li:hover > a,
#mainmenu > li > a.active {
  color: var(--zv-champagne) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* 6. Clean Dropdown Micro-Chevrons */
#mainmenu > li.has-child:after {
  display: none !important;
  content: none !important;
}

#mainmenu > li.has-child > a:after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.60rem;
  margin-left: 6px;
  opacity: 0.65;
  display: inline-block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#mainmenu > li.has-child:hover > a:after {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--zv-champagne);
}

/* Neutralize legacy template span-underline animation bug */
#mainmenu a span:not(.badge) {
  position: static !important;
  width: auto !important;
  display: inline-block !important;
  font-size: inherit !important;
  text-transform: inherit !important;
  line-height: inherit !important;
  border-bottom: none !important;
}
#mainmenu li:hover a span:not(.badge) {
  width: auto !important;
}

/* 7. Desktop Dropdown Menus */
#mainmenu ul,
#mainmenu li ul {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: auto !important;
  min-width: 290px !important;
  max-width: 440px !important;
  background: #172C23 !important;
  border: 1px solid rgba(185, 161, 122, 0.28) !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45) !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  z-index: 1000 !important;
  display: none;
}

#mainmenu li:hover > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#mainmenu ul li,
#mainmenu li li {
  width: 100% !important;
  display: block !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

#mainmenu ul li a,
#mainmenu li li a {
  display: block !important;
  width: 100% !important;
  font-family: var(--zv-font-sans) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #DCE5DD !important;
  padding: 10px 20px !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  text-align: left !important;
  white-space: nowrap !important;
  border-radius: 0 !important;
  transition: all 0.2s ease !important;
}

#mainmenu ul li:last-child a,
#mainmenu li li:last-child a {
  border-bottom: none !important;
}

#mainmenu ul li a:hover,
#mainmenu li li a:hover {
  background: rgba(185, 161, 122, 0.16) !important;
  color: #FFFFFF !important;
  padding-left: 24px !important;
}

#mainmenu ul li a.font-weight-bold {
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  font-size: 0.78rem !important;
  text-transform: uppercase !important;
  padding-top: 12px !important;
  padding-bottom: 6px !important;
  background: rgba(0, 0, 0, 0.15) !important;
}

/* 8. Right Header CTA Area & Flagship Pills */
.menu_side_area {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  flex-shrink: 0 !important;
}

.nav-flagship-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: var(--zv-radius-full) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  height: 38px !important;
  line-height: 1 !important;
  transition: var(--zv-transition) !important;
}

.nav-flagship-pill i {
  font-size: 0.8rem !important;
}

.nav-flagship-zuna {
  background: linear-gradient(135deg, #B9A17A 0%, #a2895f 100%) !important;
  color: #172C23 !important;
  box-shadow: 0 4px 14px rgba(185, 161, 122, 0.35) !important;
}

.nav-flagship-zuna:hover {
  background: #FFFFFF !important;
  color: var(--zv-primary) !important;
  transform: translateY(-1px) !important;
}

.nav-flagship-assessment {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

.nav-flagship-assessment:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

/* 9. Responsive Precision for Laptop Viewports (992px to 1350px) */
@media (min-width: 992px) and (max-width: 1350px) {
  header .container-fluid {
    padding: 0 14px !important;
  }
  #mainmenu {
    gap: 1px !important;
  }
  #mainmenu > li > a {
    font-size: 0.80rem !important;
    padding: 6px 7px !important;
  }
  #logo img.logo-main {
    height: 36px !important;
  }
  .nav-flagship-pill {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    height: 34px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  header .container-fluid {
    padding: 0 8px !important;
  }
  #mainmenu {
    gap: 0 !important;
  }
  #mainmenu > li > a {
    font-size: 0.74rem !important;
    padding: 4px 5px !important;
    letter-spacing: -0.01em !important;
  }
  #logo img.logo-main {
    height: 32px !important;
  }
  .nav-flagship-assessment {
    display: none !important;
  }
  .nav-flagship-pill {
    padding: 5px 10px !important;
    font-size: 0.74rem !important;
    height: 32px !important;
  }
}

.zv-footer-email {
  font-size: 0.85rem !important;
}
@media (max-width: 1200px) {
  .zv-footer-email {
    font-size: 0.76rem !important;
  }
}

/* 10. Mobile Header Polish & Off-Canvas Menu (max-width: 991px) */
@media (max-width: 991px) {
  header,
  header.header-mobile:not(.menu-open) {
    height: 72px !important;
    background: #172C23 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0 16px !important;
    overflow: hidden !important;
  }
  
  header.header-mobile.menu-open {
    height: 72px !important;
    background: #172C23 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0 16px !important;
    overflow: visible !important;
  }

  header .de-flex {
    height: 72px !important;
  }

  #logo img.logo-main {
    display: none !important;
  }

  #logo img.logo-mobile {
    display: block !important;
    height: 38px !important;
    width: auto !important;
  }

  /* Fixed full-screen mobile menu drawer */
  header.header-mobile #mainmenu {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 72px) !important;
    max-height: calc(100vh - 72px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: #172C23 !important;
    padding: 20px 20px 80px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    z-index: 1002 !important;
  }

  header.header-mobile:not(.menu-open) #mainmenu {
    display: none !important;
  }

  header.header-mobile.menu-open #mainmenu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  header.header-mobile #mainmenu > li {
    width: 100% !important;
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  header.header-mobile #mainmenu > li > a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 48px !important;
    font-size: 1rem !important;
    padding: 12px 0 !important;
    color: #FFFFFF !important;
    border-radius: 0 !important;
    background: none !important;
  }

  header.header-mobile #mainmenu > li > a:hover {
    color: var(--zv-champagne) !important;
  }

  /* Mobile Drawer Featured Flagship Links */
  header.header-mobile #mainmenu > li.d-lg-none {
    background: rgba(185, 161, 122, 0.08) !important;
    border: 1px solid rgba(185, 161, 122, 0.22) !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    padding: 0 14px !important;
  }

  header.header-mobile #mainmenu > li.has-child > a:after {
    display: none !important;
  }

  /* Mobile Submenu Accordion Container */
  header.header-mobile #mainmenu li ul {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 6px !important;
    background: rgba(0, 0, 0, 0.25) !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    height: 0;
    overflow: hidden;
    transition: none !important;
  }

  header.header-mobile #mainmenu li ul li {
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
  }

  header.header-mobile #mainmenu li ul li a.menu-item {
    display: block !important;
    width: 100% !important;
    color: #DCE5DD !important;
    padding: 10px 16px !important;
    font-size: 0.90rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    min-height: 42px !important;
    line-height: 1.4 !important;
  }

  header.header-mobile #mainmenu li ul li:last-child a.menu-item {
    border-bottom: none !important;
  }

  header.header-mobile #mainmenu li ul li a.menu-item:hover {
    color: #FFFFFF !important;
    background: rgba(185, 161, 122, 0.12) !important;
  }

  /* Submenu Expansion Arrow Indicator */
  header.header-mobile #mainmenu > li > span {
    width: 44px !important;
    height: 44px !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1001 !important;
    cursor: pointer !important;
  }

  /* Mobile Hamburger / Close Toggle Button */
  #menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    cursor: pointer !important;
    margin-left: 6px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
  }

  #menu-btn:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f0c9" !important;
    color: #FFFFFF !important;
    font-size: 22px !important;
    transition: transform 0.2s ease !important;
  }

  #menu-btn.menu-open:before {
    content: "\f00d" !important; /* Close 'X' icon */
    color: var(--zv-champagne) !important;
  }
}

/* =======================================================
   BADGES, EYEBROWS & CHIPS
   ======================================================= */
.zv-eyebrow,
.zv-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--zv-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--zv-primary);
  background: var(--zv-muted-sage);
  padding: 6px 16px;
  border-radius: var(--zv-radius-full);
  margin-bottom: 14px;
}
.zv-eyebrow-champagne,
.zv-badge-champagne {
  background: rgba(185, 161, 122, 0.18);
  color: #7b6238;
  border: 1px solid rgba(185, 161, 122, 0.3);
}
.zv-eyebrow-light,
.zv-badge-light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--zv-warm-ivory);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.zv-badge-forest {
  background: var(--zv-primary);
  color: #FFFFFF;
}

.zv-tag-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--zv-radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  background: #FAF8F5;
  color: var(--zv-forest);
  border: 1px solid rgba(33, 61, 48, 0.12);
}

/* Section Header Typography */
.zv-section-header {
  margin-bottom: 48px;
}
.zv-section-title {
  font-family: var(--zv-font-serif);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.15;
  color: var(--zv-deep-forest);
  margin-bottom: 18px;
}
.zv-section-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #38423a;
  max-width: 680px;
}
.zv-section-title.text-light {
  color: var(--zv-white) !important;
}
.zv-section-subtitle.text-light {
  color: rgba(246, 243, 236, 0.92) !important;
}

/* =======================================================
   BUTTONS & CTAs
   ======================================================= */
.zv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--zv-font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--zv-radius-full);
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--zv-transition);
}
.zv-btn-sm {
  padding: 9px 20px !important;
  font-size: 0.84rem !important;
}
.zv-btn-primary {
  background-color: var(--zv-primary);
  color: var(--zv-white) !important;
  border-color: var(--zv-primary);
  box-shadow: 0 6px 18px rgba(33, 61, 48, 0.22);
}
.zv-btn-primary:hover {
  background-color: var(--zv-deep-forest);
  border-color: var(--zv-deep-forest);
  color: var(--zv-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 44, 35, 0.3);
}
.zv-btn-champagne {
  background: linear-gradient(135deg, #B9A17A 0%, #9e8457 100%);
  color: var(--zv-deep-forest) !important;
  box-shadow: 0 6px 18px rgba(185, 161, 122, 0.3);
}
.zv-btn-champagne:hover {
  background: #FFFFFF;
  color: var(--zv-deep-forest) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(185, 161, 122, 0.4);
}
.zv-btn-secondary {
  background-color: var(--zv-muted-sage);
  color: var(--zv-deep-forest) !important;
  border-color: var(--zv-muted-sage);
}
.zv-btn-secondary:hover {
  background-color: var(--zv-primary);
  color: #FFFFFF !important;
  border-color: var(--zv-primary);
  transform: translateY(-2px);
}
.zv-btn-outline {
  background: transparent;
  color: var(--zv-primary) !important;
  border-color: var(--zv-primary);
}
.zv-btn-outline:hover {
  background: var(--zv-primary);
  color: var(--zv-white) !important;
  transform: translateY(-2px);
}
.zv-btn-outline-white {
  background: transparent;
  color: var(--zv-white) !important;
  border-color: rgba(255, 255, 255, 0.38);
}
.zv-btn-outline-white:hover {
  background: var(--zv-white);
  color: var(--zv-deep-forest) !important;
  border-color: var(--zv-white);
  transform: translateY(-2px);
}

/* =======================================================
   FORM CONTROLS & INPUT SYSTEM
   ======================================================= */
.zv-form-group {
  margin-bottom: 24px;
}
.zv-form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--zv-deep-forest);
  margin-bottom: 8px;
}
.zv-form-control,
.zv-input-control,
.zv-select-control {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1.5px solid #C4D0C7;
  background: #FAF8F5;
  color: var(--zv-deep-forest);
  font-size: 15px;
  font-family: var(--zv-font-sans);
  outline: none;
  transition: all 0.2s ease;
}
textarea.zv-form-control,
textarea.zv-input-control {
  height: auto;
  min-height: 120px;
  padding: 16px 18px;
}
.zv-form-control:focus,
.zv-input-control:focus,
.zv-select-control:focus {
  border-color: var(--zv-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(33, 61, 48, 0.16);
}
.zv-form-control::placeholder,
.zv-input-control::placeholder {
  color: #7A877E;
}

/* =======================================================
   FLAGSHIP SHOWCASE COMPONENTS (MEET ZUNA & ASSESSMENT)
   ======================================================= */
.flagship-duo-section {
  padding: 80px 0;
  background: var(--zv-warm-ivory);
  position: relative;
}
.flagship-card {
  height: 100%;
  border-radius: var(--zv-radius-lg);
  padding: 44px 38px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--zv-shadow-md);
  transition: var(--zv-transition);
}
.flagship-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--zv-shadow-lg);
}

/* Zuna Flagship Card */
.flagship-card-zuna {
  background: linear-gradient(145deg, #213D30 0%, #172C23 100%);
  color: var(--zv-white);
  border: 1px solid rgba(185, 161, 122, 0.28);
}
.flagship-card-zuna::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(185, 161, 122, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* Assessment Flagship Card */
.flagship-card-assessment {
  background: #FFFFFF;
  color: var(--zv-charcoal);
  border: 1px solid rgba(33, 61, 48, 0.12);
}
.flagship-card-assessment::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(220, 229, 221, 0.6) 0%, transparent 70%);
  pointer-events: none;
}

/* Prompt Chips for Zuna */
.zv-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}
.zv-prompt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: var(--zv-radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: var(--zv-transition);
}
.zv-prompt-chip:hover {
  background: var(--zv-champagne);
  color: var(--zv-deep-forest);
  border-color: var(--zv-champagne);
  transform: translateY(-1px);
}
.zv-prompt-chip i {
  color: var(--zv-champagne);
  font-size: 0.72rem;
}
.zv-prompt-chip:hover i {
  color: var(--zv-deep-forest);
}

/* Dimension Badges for Assessment */
.zv-dimension-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 26px;
}
.zv-dimension-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--zv-warm-ivory);
  border-radius: var(--zv-radius-md);
  border: 1px solid rgba(33, 61, 48, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--zv-deep-forest);
  transition: var(--zv-transition);
}
.zv-dimension-item:hover {
  background: #FFFFFF;
  border-color: var(--zv-primary);
  box-shadow: 0 4px 12px rgba(33, 61, 48, 0.08);
}
.zv-dimension-item i {
  color: var(--zv-primary);
  margin-right: 10px;
}
.zv-dimension-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4b544e;
  background: #FFFFFF;
  padding: 3px 10px;
  border-radius: var(--zv-radius-full);
  border: 1px solid rgba(33, 61, 48, 0.08);
}

/* =======================================================
   ASSESSMENT WIZARD INTERFACE (QUESTIONS & SCORING)
   ======================================================= */
.zv-step-shell,
.zv-quiz-shell,
.zv-lead-shell,
.zv-result-shell {
  min-height: 85vh;
  padding: 140px 0 100px;
  background: #F9F8F5;
}
.zv-step-card,
.zv-quiz-card,
.zv-lead-card,
.zv-result-card {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--zv-radius-lg);
  border: 1px solid rgba(33, 61, 48, 0.08);
  box-shadow: 0 20px 45px rgba(20, 41, 31, 0.06);
  padding: 48px;
}
@media (max-width: 768px) {
  .zv-step-card,
  .zv-quiz-card,
  .zv-lead-card,
  .zv-result-card {
    padding: 28px 20px;
  }
}

/* Assessment Option Cards */
.zv-option-card {
  border: 1.5px solid #D5D4CB;
  background: #FFFFFF;
  padding: 18px 22px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.zv-option-card:hover {
  border-color: var(--zv-primary);
  background: #FAF8F5;
  transform: translateX(3px);
}
.zv-option-card.active,
.zv-option-card:has(input[type="radio"]:checked) {
  border-color: var(--zv-primary) !important;
  background: rgba(33, 61, 48, 0.06) !important;
  box-shadow: 0 6px 18px rgba(33, 61, 48, 0.08);
}
.zv-option-pill {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: var(--zv-warm-ivory);
  color: var(--zv-deep-forest);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 61, 48, 0.12);
  transition: all 0.2s ease;
}
.zv-option-card.active .zv-option-pill,
.zv-option-card:has(input[type="radio"]:checked) .zv-option-pill {
  background: var(--zv-primary);
  color: #FFFFFF;
  border-color: var(--zv-primary);
}
.zv-option-text {
  font-size: 0.95rem;
  color: var(--zv-charcoal);
  line-height: 1.5;
  flex-grow: 1;
}

/* Quiz Progress Bar */
.zv-quiz-progress-track,
.zv-dim-progress-track {
  width: 100%;
  height: 8px;
  background: #E5E9E6;
  border-radius: var(--zv-radius-full);
  overflow: hidden;
  margin: 16px 0 24px;
}
.zv-quiz-progress-bar,
.zv-dim-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #213D30 0%, #B9A17A 100%);
  border-radius: var(--zv-radius-full);
  transition: width 0.4s ease;
}

/* =======================================================
   MEET ZUNA QUESTION & AI ANSWER SYSTEM
   ======================================================= */
.zv-detail-shell {
  padding: 140px 0 100px;
  background: #FAF8F5;
  min-height: 85vh;
}
.zv-detail-card {
  background: #FFFFFF;
  border-radius: var(--zv-radius-lg);
  border: 1px solid rgba(33, 61, 48, 0.08);
  box-shadow: 0 20px 45px rgba(20, 41, 31, 0.06);
  padding: 44px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .zv-detail-card {
    padding: 24px;
  }
}
.zv-detail-header {
  border-bottom: 1px solid rgba(33, 61, 48, 0.08);
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.zv-ai-answer {
  color: #242824;
  font-size: 1.05rem;
  line-height: 1.78;
}
.zv-ai-answer h3, .zv-ai-answer h4 {
  font-family: var(--zv-font-serif);
  color: var(--zv-deep-forest);
  margin-top: 28px;
  margin-bottom: 14px;
}
.zv-ai-answer p {
  margin-bottom: 18px;
  color: #2E3A33;
}
.zv-ai-answer ul, .zv-ai-answer ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.zv-ai-answer li {
  margin-bottom: 8px;
  color: #2E3A33;
}
.zv-ai-answer blockquote {
  border-left: 4px solid var(--zv-champagne);
  background: var(--zv-warm-ivory);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--zv-deep-forest);
}

/* =======================================================
   CARDS & CONSULTING FRAMEWORKS
   ======================================================= */
/* Responsive Grid for People & Organisation Framework */
.zv-framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 991px) {
  .zv-framework-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}
@media (max-width: 640px) {
  .zv-framework-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.zv-card,
.zv-val-card,
.zv-blog-card,
.zv-story-card,
.zv-news-card,
.zv-office-card,
.zv-testi-card {
  background: #FFFFFF;
  border: 1px solid var(--zv-border);
  border-radius: var(--zv-radius-lg);
  padding: 36px 30px;
  transition: var(--zv-transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.zv-val-card {
  align-items: center !important;
  text-align: center !important;
}
.zv-val-card .rounded-circle,
.zv-val-card > div:first-child {
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
}
.zv-card:hover,
.zv-val-card:hover,
.zv-blog-card:hover,
.zv-story-card:hover,
.zv-news-card:hover,
.zv-office-card:hover,
.zv-testi-card:hover {
  border-color: var(--zv-primary);
  box-shadow: var(--zv-shadow-md);
  transform: translateY(-4px);
}

/* Bespoke Framework Card (White on Dark Section with High Contrast) */
.zv-framework-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(220, 229, 221, 0.75) !important;
  border-radius: 18px !important;
  padding: 38px 30px !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 10px 30px rgba(10, 25, 18, 0.08) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
}
.zv-framework-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--zv-champagne) 0%, rgba(185, 161, 122, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.zv-framework-card:hover {
  border-color: rgba(185, 161, 122, 0.6) !important;
  box-shadow: 0 20px 45px rgba(10, 25, 18, 0.16) !important;
  transform: translateY(-6px) !important;
}
.zv-framework-card:hover::before {
  opacity: 1;
}

.zv-framework-number {
  font-family: var(--zv-font-serif) !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  color: var(--zv-champagne) !important;
  line-height: 1 !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.02em !important;
  display: block;
}

.zv-framework-title,
.zv-framework-card h4,
.text-light .zv-framework-card h4,
.text-light .zv-framework-title {
  font-family: var(--zv-font-serif) !important;
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  color: #172C23 !important;
  line-height: 1.3 !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.01em !important;
  text-decoration: none !important;
}

.zv-framework-text,
.zv-framework-card p,
.text-light .zv-framework-card p,
.text-light .zv-framework-text {
  font-family: var(--zv-font-sans) !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: #38423a !important;
  flex-grow: 1 !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
}
@media (max-width: 640px) {
  .zv-framework-card {
    padding: 28px 22px !important;
    border-radius: 14px !important;
  }
  .zv-framework-title {
    font-size: 1.3rem !important;
  }
}

/* Team Card Polish */
.zv-team-card {
  background: #FFFFFF;
  border: 1px solid rgba(33, 61, 48, 0.08);
  border-radius: var(--zv-radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  padding-bottom: 24px;
  height: 100%;
}
.zv-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 41, 31, 0.06);
}
.zv-team-img-wrap {
  height: 280px;
  background: var(--zv-soft-cream);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.zv-team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.zv-team-card:hover .zv-team-img-wrap img {
  transform: scale(1.04);
}

/* Modal Dialog System */
.zv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 41, 31, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.zv-modal-dialog {
  background: #FFFFFF;
  border-radius: var(--zv-radius-lg);
  max-width: 620px;
  width: 100%;
  padding: 38px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  max-height: 85vh;
  overflow-y: auto;
}
.zv-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--zv-forest);
  cursor: pointer;
  line-height: 1;
}

/* =======================================================
   CONTEXTUAL BANNER COMPONENT
   (Used on Services, Journeys, Blogs, Case Studies)
   ======================================================= */
.zv-flagship-callout {
  background: linear-gradient(135deg, #172C23 0%, #213D30 100%);
  border-radius: var(--zv-radius-lg);
  padding: 44px 40px;
  color: #FFFFFF;
  border: 1px solid rgba(185, 161, 122, 0.22);
  margin: 50px 0;
  box-shadow: var(--zv-shadow-md);
  position: relative;
  overflow: hidden;
}
.zv-flagship-callout::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(185, 161, 122, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.zv-flagship-callout-light {
  background: var(--zv-warm-ivory);
  color: var(--zv-charcoal);
  border: 1px solid var(--zv-border);
}
.zv-callout-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
@media (max-width: 1199px) {
  .zv-callout-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}

/* =======================================================
   ACCORDIONS & TABLES
   ======================================================= */
.zv-accordion-item {
  border: 1px solid rgba(33, 61, 48, 0.1);
  border-radius: 10px !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #FFFFFF;
}
.zv-accordion-button {
  font-family: var(--zv-font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--zv-deep-forest);
  padding: 18px 24px;
  background: #FFFFFF;
  border: none;
  box-shadow: none !important;
}
.zv-accordion-button:not(.collapsed) {
  color: var(--zv-primary);
  background: var(--zv-warm-ivory);
}
.zv-accordion-body {
  padding: 20px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #38423a;
}

.zv-table-editorial {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--zv-border);
  border-radius: 10px;
  overflow: hidden;
}
.zv-table-editorial th {
  background: var(--zv-warm-ivory);
  color: var(--zv-deep-forest);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--zv-border);
}
.zv-table-editorial td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(33, 61, 48, 0.06);
  font-size: 0.92rem;
  color: #2E3A33;
}
.zv-table-editorial tr:last-child td {
  border-bottom: none;
}

/* =======================================================
   MOBILE PERSISTENT ACCESS BAR
   ======================================================= */
.zv-mobile-flagship-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(23, 44, 35, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
}
@media (max-width: 991px) {
  .zv-mobile-flagship-bar {
    display: flex;
    gap: 12px;
  }
  body {
    padding-bottom: 60px; /* offset for bar */
  }
}
.zv-mobile-flagship-bar a {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--zv-radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none !important;
}
.zv-mobile-bar-zuna {
  background: var(--zv-champagne);
  color: var(--zv-deep-forest) !important;
}
.zv-mobile-bar-assessment {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =======================================================
   FOOTER REDESIGN ENHANCEMENTS
   ======================================================= */
footer {
  background: #14291F !important;
  color: rgba(246, 243, 236, 0.82);
  padding-top: 70px;
}
.zv-footer-flagship-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--zv-radius-md);
  padding: 24px 20px;
  margin-bottom: 24px;
  transition: var(--zv-transition);
}
.zv-footer-flagship-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--zv-champagne);
  transform: translateY(-2px);
}
.zv-footer-flagship-title {
  font-family: var(--zv-font-serif);
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.zv-footer-flagship-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(246, 243, 236, 0.82);
  margin-bottom: 14px;
}
.zv-footer-flagship-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--zv-champagne) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}
.zv-footer-flagship-link:hover {
  color: #FFFFFF !important;
}

/* =======================================================
   MASTER TEXT-WRAP, TYPOGRAPHY & OVERFLOW REMEDIATION
   ======================================================= */

/* 1. Global Viewport & Flow Safeguards */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* Universal Flexbox Text Wrapping & Overflow Remediation */
.d-flex,
.de-flex,
.row,
.card,
.zv-card,
[class*="d-flex"] {
  white-space: normal !important;
}

.d-flex > div,
.de-flex > div,
.d-flex > p,
.d-flex > span,
.de-flex > p,
.de-flex > span {
  min-width: 0;
}

.d-flex p,
.de-flex p,
.d-flex small,
.de-flex small,
.d-flex span:not(.badge):not(.nav-flagship-pill):not(.zv-badge):not(.zv-btn):not(.btn-main):not(.zv-nowrap):not(.text-nowrap),
.d-flex div,
.de-flex div,
.card p,
.zv-card p,
.card div,
.zv-card div {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Living Values List Card Component */
.zv-value-pill {
  background: #FFFFFF !important;
  border: 1px solid rgba(33, 61, 48, 0.08) !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
  width: 100% !important;
}
.zv-value-pill:hover {
  transform: translateX(4px);
  border-color: rgba(185, 161, 122, 0.5) !important;
  box-shadow: 0 6px 18px rgba(33, 61, 48, 0.06);
}
.zv-value-pill img {
  flex-shrink: 0 !important;
  width: 34px !important;
  height: 34px !important;
  object-fit: contain;
  margin-top: 2px;
}
.zv-value-body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.zv-value-body strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--zv-deep-forest) !important;
  margin-bottom: 2px;
}
.zv-value-body p {
  color: #4a544e !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  margin-bottom: 0 !important;
}

/* 2. Global Text & Paragraph Wrapping */
p,
li,
blockquote,
dd,
dt,
address {
  overflow-wrap: break-word;
  word-break: normal;
}

/* 3. Heading Wrap Protection (prevents unnatural hyphenation and awkward word breaks) */
h1,
h2,
h3,
h4,
h5,
h6,
.zv-heading-xl,
.zv-heading-lg,
.zv-heading-md,
.zv-heading-sm,
.zv-section-title,
.zv-card-title {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

/* 4. Action Buttons Wrap Protection (keeps button pills whole and unbroken) */
.zv-btn,
.btn-main,
.btn-line,
.btn-custom,
.zv-footer-flagship-link,
.nav-flagship-pill {
  white-space: nowrap !important;
  flex-shrink: 0;
}

/* 5. Eyebrows, Badges, Tags & Dimension Pills (never break mid-word) */
.zv-badge,
.zv-eyebrow,
.zv-tag-pill,
.badge,
.zv-dimension-tag {
  white-space: nowrap !important;
  flex-shrink: 0;
}
@media (max-width: 576px) {
  .zv-eyebrow {
    white-space: normal !important;
    display: inline-block !important;
    line-height: 1.4 !important;
  }
}

/* Global Text Contrast Safeguard (Elevate Bootstrap text-white-50 to WCAG AAA) */
.text-white-50 {
  color: rgba(246, 243, 236, 0.88) !important;
}

/* 6. Utility Classes for Non-Wrapping Elements */
.zv-nowrap,
.text-nowrap {
  white-space: nowrap !important;
}

/* 7. Assessment Quiz Component Wrap Protections */
.zv-option-card {
  word-break: normal;
  overflow-wrap: break-word;
}
.zv-option-pill {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}
.zv-option-text {
  min-width: 0;
  flex-grow: 1;
  word-break: normal;
  overflow-wrap: break-word;
}

/* 8. Accordion Typography & Arrow Cushioning (prevents text overlapping the chevron) */
.zv-accordion-button {
  padding-right: 56px !important;
  text-align: left !important;
  line-height: 1.45 !important;
  word-break: normal;
  overflow-wrap: break-word;
}

/* 9. Zuna Prompt Chips Sizing & Responsive Fallback */
.zv-prompt-chip {
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 480px) {
  .zv-prompt-chip {
    white-space: normal;
    text-align: left;
    word-break: normal;
    overflow-wrap: break-word;
  }
}

/* 10. Hero Stat Bar Flex Item Tuning */
.zv-hero-stat-item {
  flex-shrink: 0;
}

/* =======================================================
   MOBILE USABILITY & TOUCH EXPERIENCE OPTIMIZATIONS
   ======================================================= */

/* 1. iOS Auto-Zoom Neutralization (Inputs at 16px minimum on touch devices) */
@media (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  select,
  textarea,
  .form-control,
  .zv-form-control,
  .zv-select-control,
  .zv-input-control {
    font-size: 16px !important;
  }
}

/* 2. iPhone Safe-Area Bottom Inset & Mobile Flagship Access Bar */
@media (max-width: 991px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .zv-mobile-flagship-bar {
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) 16px !important;
  }
}

/* 3. Mobile Card Padding & Touch Spacing (< 768px) */
@media (max-width: 767px) {
  .flagship-card,
  .zv-footer-flagship-card {
    padding: 26px 20px !important;
  }
  .zv-office-card {
    padding: 24px 18px !important;
  }
  .zv-hero-stat-item {
    width: 100% !important;
    border-left: none !important;
    padding-left: 0 !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .zv-hero-stat-item:first-child {
    border-top: none !important;
    padding-top: 0 !important;
  }
}

/* 4. Small Screen Editorial Headline Tuning (< 576px) */
@media (max-width: 575px) {
  .zv-heading-xl {
    font-size: 2.1rem !important;
    line-height: 1.16 !important;
  }
  .zv-heading-lg {
    font-size: 1.7rem !important;
    line-height: 1.2 !important;
  }
  .zv-heading-md {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
  .zv-lead {
    font-size: 1.02rem !important;
    line-height: 1.6 !important;
  }
  
  /* Compact Score Gauge for Extra Narrow Phones (e.g. 360px) */
  .zv-score-gauge {
    width: 170px !important;
    height: 170px !important;
  }
  .zv-score-gauge::before {
    width: 135px !important;
    height: 135px !important;
  }
}

/* 5. Mobile Touch Target Compliance (Minimum 44px height for interactive targets) */
@media (max-width: 991px) {
  .zv-btn,
  .btn-main,
  .btn-line,
  .nav-flagship-pill:not(.d-none) {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .nav-flagship-assessment {
    display: none !important;
  }
  .zv-mobile-flagship-bar a {
    min-height: 44px !important;
  }
  .zv-accordion-button {
    min-height: 54px !important;
  }
  #mainmenu > li > a {
    min-height: 48px !important;
  }
}

/* =======================================================
   ABOUT US PAGE TYPOGRAPHY & PURPOSE CONTRAST REMEDIATION
   ======================================================= */
/* 1. Global safeguard: Strong, em, and small elements inside dark containers must always be light */
.text-light strong,
.text-white strong,
.bg-dark strong,
[style*="#14291F"] strong,
[style*="#172C23"] strong,
[style*="#213D30"] strong,
.zv-about-hero strong,
footer strong {
  color: #FFFFFF !important;
}

.text-light small,
.text-white small,
.bg-dark small,
[style*="#14291F"] small,
[style*="#172C23"] small,
[style*="#213D30"] small {
  color: rgba(246, 243, 236, 0.92) !important;
}

/* 2. Bespoke Purpose Section Styling (about-us.php #our-purpose) */
#our-purpose .zv-purpose-content {
  color: rgba(246, 243, 236, 0.95) !important;
  font-size: 1.08rem !important;
  line-height: 1.85 !important;
}

#our-purpose .zv-purpose-content p,
#our-purpose .zv-purpose-content small,
#our-purpose .zv-purpose-content em,
#our-purpose .zv-purpose-content span,
#our-purpose .zv-purpose-content blockquote {
  color: rgba(246, 243, 236, 0.92) !important;
  font-size: 1.08rem !important;
  line-height: 1.85 !important;
  font-style: normal !important;
}

#our-purpose .zv-purpose-content strong,
#our-purpose .zv-purpose-content b {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

#our-purpose .zv-purpose-content blockquote {
  border-left: 3px solid var(--zv-champagne) !important;
  padding: 8px 0 8px 24px !important;
  margin: 0 !important;
  background: transparent !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

/* 3. Our Story Section Styling (about-us.php #our-story) */
.zv-story-body p {
  color: #2E3A33 !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.2rem !important;
}
.zv-story-body p:last-child {
  margin-bottom: 0 !important;
}
.zv-story-body strong {
  color: var(--zv-deep-forest) !important;
  font-weight: 700 !important;
}

/* 4. Smooth Anchor Scrolling Offset for Fixed Header */
#our-story,
#our-mission,
#our-vision,
#our-value,
#our-purpose,
#our-team,
#our-partners {
  scroll-margin-top: 100px;
}



/* ==========================================================================
   PHASE 16: HEADING HYPERLINK CONTRAST & QUESTION CARD TYPOGRAPHY OVERHAUL
   Guarantees high-contrast, WCAG AAA readability for question headings,
   threads, cards, and links across the entire website.
   ========================================================================== */

/* Universal Link Base & Hover */
a {
  color: var(--zv-primary);
  text-decoration: none;
  transition: var(--zv-transition);
}

a:hover {
  color: var(--zv-champagne);
}

/* Headings containing links must always inherit deep forest and transition to champagne */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.zv-section-title a,
.zv-card-title a,
.zv-card h1 a,
.zv-card h2 a,
.zv-card h3 a,
.zv-card h4 a,
.zv-question-title-link {
  color: var(--zv-deep-forest) !important;
  text-decoration: none !important;
  font-weight: inherit !important;
  transition: color 0.25s ease !important;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
.zv-section-title a:hover,
.zv-card-title a:hover,
.zv-card h1 a:hover,
.zv-card h2 a:hover,
.zv-card h3 a:hover,
.zv-card h4 a:hover,
.zv-question-title-link:hover {
  color: var(--zv-champagne) !important;
}

/* Dark layout headings containing links */
.text-light h1 a,
.text-light h2 a,
.text-light h3 a,
.text-light h4 a,
.text-white h1 a,
.text-white h2 a,
.text-white h3 a,
.text-white h4 a,
.zv-about-hero a,
.zv-article-hero a {
  color: #FFFFFF !important;
}

.text-light h1 a:hover,
.text-light h2 a:hover,
.text-light h3 a:hover,
.text-light h4 a:hover,
.text-white h1 a:hover,
.text-white h2 a:hover,
.text-white h3 a:hover,
.text-white h4 a:hover,
.zv-about-hero a:hover,
.zv-article-hero a:hover {
  color: var(--zv-champagne) !important;
}

/* ==========================================================================
   QUESTION CARDS & FEED TYPOGRAPHY OVERHAUL (ZUNA & FORUM FEED)
   ========================================================================== */
.question-card,
.question-thread-card {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.question-card {
  display: block;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(33, 61, 48, 0.08) !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(33, 61, 48, 0.04) !important;
  margin-bottom: 20px;
}

.question-card:hover,
.question-thread-card .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(33, 61, 48, 0.1) !important;
}

.question-card h3,
.question-card-top h3,
.question-thread-card h4,
.question-thread-card h3 {
  font-family: var(--zv-font-serif) !important;
  font-size: 1.35rem !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
}

.question-card h3 a,
.question-card-top h3 a,
.question-thread-card h4 a,
.question-thread-card h3 a,
.zv-question-title-link {
  color: var(--zv-deep-forest) !important;
  text-decoration: none !important;
  display: inline-block;
  transition: color 0.2s ease !important;
}

.question-card h3 a:hover,
.question-card-top h3 a:hover,
.question-thread-card h4 a:hover,
.question-thread-card h3 a:hover,
.zv-question-title-link:hover {
  color: var(--zv-champagne) !important;
}

.question-card p {
  color: #4a544c !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.question-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #737c75 !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  margin-bottom: 10px;
}

.question-tag {
  background: var(--zv-warm-ivory) !important;
  color: var(--zv-deep-forest) !important;
  font-weight: 700 !important;
  border: 1px solid var(--zv-border) !important;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
}

.comment-count,
.zv-question-readmore {
  color: var(--zv-primary) !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.comment-count:hover,
.zv-question-readmore:hover {
  color: var(--zv-champagne) !important;
}

/* =======================================================
   CLIENT ORGANISATIONS SHOWCASE (WHITE BACKGROUND MARQUEE)
   ======================================================= */
.zv-clients-section {
  background: #FFFFFF !important;
  border-top: 1px solid rgba(33, 61, 48, 0.08);
  border-bottom: 1px solid rgba(33, 61, 48, 0.08);
  position: relative;
  overflow: hidden;
}

.zv-clients-marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 10px 0 20px;
}

.zv-clients-marquee-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.zv-clients-marquee-track {
  display: flex !important;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.zv-marquee-left {
  animation: zvMarqueeScrollLeft 48s linear infinite;
}

.zv-marquee-right {
  animation: zvMarqueeScrollRight 52s linear infinite;
}

.zv-clients-marquee-wrap:hover .zv-clients-marquee-track {
  animation-play-state: paused;
}

@keyframes zvMarqueeScrollLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes zvMarqueeScrollRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.zv-client-logo-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(33, 61, 48, 0.1) !important;
  border-radius: 12px;
  height: 72px;
  width: 190px;
  min-width: 190px;
  padding: 10px 20px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 10px;
  box-shadow: 0 2px 8px rgba(23, 44, 35, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.zv-client-logo-card:hover {
  border-color: rgba(185, 161, 122, 0.5) !important;
  box-shadow: 0 8px 24px rgba(23, 44, 35, 0.1) !important;
  transform: translateY(-3px);
}

.zv-client-logo {
  max-height: 44px !important;
  max-width: 150px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.zv-client-logo-card:hover .zv-client-logo {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .zv-marquee-left, .zv-marquee-right {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =======================================================
   FONT AWESOME FREE COMPATIBILITY ALIASES
   ======================================================= */
.fa-sparkles:before,
.fa-solid.fa-sparkles:before {
  content: "\e2ca" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
