/*
Theme Name: CryptoVault Child
Theme URI: https://cryptovault.au
Template: twentytwentyfour
Version: 1.0.0
Description: CryptoVault premium dark theme — Private Digital Asset Custody
Author: CryptoVault
Text Domain: cryptovault
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/* === GLOBAL === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { background-color: #0A0F1E; color: #F4F6FA; font-family: 'Inter', sans-serif; margin: 0; padding: 0; }

/* Force consistent dark appearance regardless of OS light/dark preference.
   This site uses an intentional luxury dark aesthetic — all colours are explicit. */
:root {
  color-scheme: dark;
  --cv-bg-primary:   #0A0F1E;
  --cv-bg-secondary: #060B17;
  --cv-bg-card:      #0D1220;
  --cv-gold:         #C9A84C;
  --cv-gold-light:   #E8C76A;
  --cv-text:         #F4F6FA;
  --cv-text-muted:   #8A9BB0;
}

/* Scrollbar — dark theme */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #060B17; }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.5); }

/* Light mode: preserve dark design, fix only system-rendered elements */
@media (prefers-color-scheme: light) {
  html { background: #0A0F1E; }
  /* Ensure system form inputs and controls stay dark */
  input, textarea, select, button { color-scheme: dark; }
  /* Prevent browser from inverting any colours */
  body { -webkit-font-smoothing: antialiased; }
}
a { color: #C9A84C; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #E8C76A; }

/* === NAVIGATION === */
.site-header, #site-header, header.site-header {
  background: rgba(6, 11, 23, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15) !important;
  position: sticky; top: 0; z-index: 9999; width: 100%;
}
.site-logo img { max-height: 44px; width: auto; }

/* Nav menu: horizontal flex list */
ul.elementor-nav-menu {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
  gap: 0;
}
ul.elementor-nav-menu > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
}
.elementor-nav-menu a {
  color: #8A9BB0 !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 500; transition: color 0.3s ease;
  padding: 8px 16px; white-space: nowrap;
  text-decoration: none !important;
}
.elementor-nav-menu a:hover,
.elementor-nav-menu .current-menu-item > a { color: #C9A84C !important; }
.nav-cta-button a {
  background: #C9A84C !important; color: #0A0F1E !important;
  padding: 10px 24px !important; font-weight: 600 !important; letter-spacing: 1px;
}
.nav-cta-button a:hover { background: #E8C76A !important; }

/* === SECTIONS === */
.cv-section { padding: 100px 0; }
.cv-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* === TYPOGRAPHY === */
.cv-section-heading, h1.cv-heading, h2.cv-heading {
  font-family: 'Playfair Display', serif; color: #F4F6FA;
  font-size: clamp(32px, 5vw, 56px); line-height: 1.2; font-weight: 700; margin: 0 0 24px;
}
.cv-eyebrow {
  color: #C9A84C; font-family: 'Inter', sans-serif; font-size: 12px;
  font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; display: block;
}
.cv-subheading { color: #8A9BB0; font-size: 18px; line-height: 1.7; font-weight: 400; margin-bottom: 40px; }
.cv-heading-underline::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: #C9A84C; margin-top: 16px;
}
.elementor-heading-title { font-family: 'Playfair Display', serif !important; }

/* === HERO === */
.cv-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0A0F1E 0%, #060B17 50%, #0A1428 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.cv-hero-hex-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104'%3E%3Cpolygon points='30,2 58,17 58,47 30,62 2,47 2,17' fill='none' stroke='%23C9A84C' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 104px;
}
.cv-hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(42px, 7vw, 72px);
  font-weight: 700; color: #F4F6FA; line-height: 1.15; margin: 16px 0 24px;
}
.cv-hero-inner { position: relative; z-index: 2; max-width: 900px; padding: 0 32px; }

/* === BUTTONS === */
.cv-btn-primary {
  background: #C9A84C !important; color: #0A0F1E !important;
  border-radius: 0 !important; padding: 16px 36px !important;
  font-family: 'Inter', sans-serif !important; font-weight: 700 !important;
  letter-spacing: 2px !important; text-transform: uppercase !important;
  font-size: 13px !important; border: 2px solid #C9A84C !important;
  transition: all 0.3s ease !important; display: inline-block; cursor: pointer;
  position: relative; overflow: hidden;
}
.cv-btn-primary:hover {
  background: #E8C76A !important; border-color: #E8C76A !important;
  box-shadow: 0 8px 32px rgba(201,168,76,0.3) !important;
}
.cv-btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0s;
}
.cv-btn-primary:hover::after {
  left: 160%;
  transition: left 0.5s ease;
}
.cv-btn-ghost {
  background: transparent !important; color: #C9A84C !important;
  border-radius: 0 !important; padding: 14px 34px !important;
  font-family: 'Inter', sans-serif !important; font-weight: 600 !important;
  letter-spacing: 2px !important; text-transform: uppercase !important;
  font-size: 13px !important; border: 2px solid #C9A84C !important;
  transition: all 0.3s ease !important; display: inline-block;
}
.cv-btn-ghost:hover { background: rgba(201,168,76,0.1) !important; }

/* === TRUST BAR === */
.cv-trust-bar {
  background: #0D1220; padding: 60px 0;
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.cv-stat-number { font-family: 'Inter', sans-serif; font-size: 48px; font-weight: 700; color: #C9A84C; line-height: 1; display: block; transition: color 0.3s; }
.cv-stat-label { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: #8A9BB0; margin-top: 8px; display: block; }
.cv-stat-item:hover .cv-stat-number { color: #E8C76A; }
.cv-stat-number[data-target] { font-variant-numeric: tabular-nums; }

/* === SERVICE CARDS === */
.cv-service-card {
  background: #0D1220; border: 1px solid rgba(201, 168, 76, 0.2);
  border-top: 4px solid #C9A84C; padding: 40px 32px; height: 100%;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s !important;
}
.cv-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.25);
  border-color: rgba(201,168,76,0.4) !important;
}
.cv-service-card .cv-card-icon { width: 52px; height: 52px; margin-bottom: 24px; color: #C9A84C; }
.cv-service-card h3 { font-family: 'Playfair Display', serif; color: #F4F6FA; font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.cv-service-card p { color: #8A9BB0; font-size: 15px; line-height: 1.7; margin: 0 0 24px; }
.cv-card-link { color: #C9A84C !important; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.cv-card-link:hover { letter-spacing: 2px; color: #E8C76A !important; }

/* === GOLD LIST === */
.cv-gold-list { list-style: none; padding: 0; margin: 0; }
.cv-gold-list li { padding-left: 28px; position: relative; margin-bottom: 14px; color: #F4F6FA; font-size: 16px; line-height: 1.6; }
.cv-gold-list li::before { content: '\2736'; position: absolute; left: 0; color: #C9A84C; font-size: 11px; top: 5px; }

/* === PROCESS STEPS === */
.cv-step { position: relative; padding: 32px; }
.cv-step-number { font-family: 'Playfair Display', serif; font-size: 72px; color: rgba(201,168,76,0.12); line-height: 1; font-weight: 700; position: absolute; top: 0; left: 16px; }
.cv-step-content { position: relative; z-index: 1; padding-top: 32px; }
.cv-step-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: #F4F6FA; margin: 0 0 12px; }
.cv-step p { color: #8A9BB0; font-size: 15px; line-height: 1.7; margin: 0; }

/* === CTA BANNER === */
.cv-cta-banner {
  background: #0A0F1E; border: 1px solid rgba(201,168,76,0.3);
  padding: 80px 40px; text-align: center; position: relative; overflow: hidden;
}
.cv-cta-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #C9A84C, transparent); }
.cv-cta-banner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #C9A84C, transparent); }
.cv-cta-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 52px); color: #F4F6FA; margin: 0 0 20px; }
.cv-cta-security-note { color: #8A9BB0; font-size: 13px; letter-spacing: 0.5px; margin-top: 20px; }

/* === FOOTER === */
.site-footer, .cv-footer { background: #060B17 !important; border-top: 1px solid rgba(201,168,76,0.15); color: #8A9BB0; font-size: 14px; padding: 80px 0 0; }
.footer-heading { color: #C9A84C; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; display: block; }
.footer-link, .cv-footer a { color: #8A9BB0; text-decoration: none; transition: color 0.3s ease; display: block; margin-bottom: 10px; font-size: 14px; }
.footer-link:hover, .cv-footer a:hover { color: #C9A84C; }
.cv-footer-bottom { border-top: 1px solid rgba(201,168,76,0.1); padding: 24px 0; margin-top: 60px; text-align: center; font-size: 12px; color: rgba(138,155,176,0.6); }
.cv-footer-bottom a { color: rgba(138,155,176,0.6); display: inline; margin: 0 12px; }
.cv-footer-bottom a:hover { color: #C9A84C; }

/* === CONTACT FORM 7 === */
.wpcf7 { max-width: 720px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 select, .wpcf7 textarea {
  background: #0D1220 !important; border: 1px solid rgba(201,168,76,0.3) !important;
  color: #F4F6FA !important; border-radius: 0 !important; padding: 14px 18px !important;
  font-family: 'Inter', sans-serif !important; font-size: 15px !important;
  width: 100% !important; transition: border-color 0.3s ease; margin-bottom: 8px;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
  border-color: #C9A84C !important; outline: none !important; box-shadow: 0 0 0 3px rgba(201,168,76,0.1) !important;
}
.wpcf7 label { color: #8A9BB0; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; display: block; margin-bottom: 6px; }
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input[type="submit"] {
  background: #C9A84C !important; color: #0A0F1E !important; font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important; letter-spacing: 2px !important;
  text-transform: uppercase !important; cursor: pointer !important; border: none !important;
  padding: 16px 40px !important; font-size: 13px !important; border-radius: 0 !important;
  width: 100%;
}
.wpcf7 input[type="submit"]:hover { background: #E8C76A !important; }

/* === SCROLL ARROW === */
.cv-scroll-arrow { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); animation: cvBounce 2s infinite; cursor: pointer; z-index: 2; }
.cv-scroll-arrow svg { width: 32px; height: 32px; }
@keyframes cvBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* === INSIGHTS === */
.cv-insight-featured {
  background: #0D1220; border: 1px solid rgba(201,168,76,0.18);
  border-left: 4px solid #C9A84C; padding: 48px 56px;
  transition: border-color 0.3s ease, background 0.3s ease; display: block;
}
.cv-insight-featured:hover { background: #111827; border-left-color: #E8C76A; }
.cv-insight-featured-inner { max-width: 820px; }
.cv-insight-featured-title {
  font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 34px);
  font-weight: 700; color: #F4F6FA; line-height: 1.3; margin: 12px 0 20px;
}
.cv-insight-excerpt { color: #8A9BB0; font-size: 16px; line-height: 1.75; margin: 0 0 24px; }
.cv-insight-cat {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; display: inline-block; margin-bottom: 4px;
}
.cv-insight-meta {
  display: flex; align-items: center; gap: 10px;
  color: rgba(138,155,176,0.7); font-size: 13px; font-family: 'Inter', sans-serif; flex-wrap: wrap;
}
.cv-insight-sep { opacity: 0.4; }
.cv-insights-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.cv-insight-card-link { text-decoration: none; display: flex; }
.cv-insight-card {
  background: #0D1220; border: 1px solid rgba(201,168,76,0.12);
  border-top: 3px solid rgba(201,168,76,0.35); padding: 32px;
  display: flex; flex-direction: column; gap: 12px; width: 100%;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s !important;
}
.cv-insight-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important; border-top-color: #C9A84C; }
.cv-insight-card-title {
  font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700;
  color: #F4F6FA; line-height: 1.4; margin: 0;
}
.cv-insight-card-excerpt { color: #8A9BB0; font-size: 14px; line-height: 1.7; margin: 0; flex-grow: 1; }
.cv-insight-read-more {
  color: #C9A84C; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; display: block;
}

/* === ARTICLE BODY === */
.cv-article-body { max-width: 780px; margin: 0 auto; padding: 80px 32px; }
.cv-article-lead {
  font-size: 19px; line-height: 1.8; color: #C9A84C;
  border-left: 3px solid #C9A84C; padding-left: 24px; margin: 0 0 48px; font-style: italic;
}
.cv-article-body h2 {
  font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700; color: #F4F6FA; margin: 48px 0 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(201,168,76,0.2);
}
.cv-article-body p { color: #8A9BB0; font-size: 16px; line-height: 1.85; margin: 0 0 24px; }
.cv-article-body strong { color: #D4C4A0; }
.cv-article-list { list-style: none; padding: 0; margin: 0 0 32px; }
.cv-article-list li {
  color: #8A9BB0; font-size: 16px; line-height: 1.75;
  padding: 12px 0 12px 24px; border-bottom: 1px solid rgba(255,255,255,0.05); position: relative;
}
.cv-article-list li::before { content: '—'; color: #C9A84C; position: absolute; left: 0; font-weight: 700; }
.cv-article-cta {
  background: #0D1220; border: 1px solid rgba(201,168,76,0.2);
  border-top: 4px solid #C9A84C; padding: 40px; margin-top: 64px; text-align: center;
}
.cv-article-cta p { color: #8A9BB0; font-size: 16px; margin-bottom: 24px; }

/* === ANIMATIONS === */
.cv-animate {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.cv-animate.cv-visible { opacity: 1; transform: none; }
.cv-animate-stagger > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.cv-animate-stagger.cv-visible > *:nth-child(1) { transition-delay: 0.05s; opacity:1; transform:none; }
.cv-animate-stagger.cv-visible > *:nth-child(2) { transition-delay: 0.15s; opacity:1; transform:none; }
.cv-animate-stagger.cv-visible > *:nth-child(3) { transition-delay: 0.25s; opacity:1; transform:none; }
.cv-animate-stagger.cv-visible > *:nth-child(4) { transition-delay: 0.35s; opacity:1; transform:none; }
.cv-animate-stagger.cv-visible > *:nth-child(5) { transition-delay: 0.45s; opacity:1; transform:none; }
.cv-animate-stagger.cv-visible > *:nth-child(6) { transition-delay: 0.55s; opacity:1; transform:none; }

/* Hero hex bg drift */
.cv-hero-hex-bg { animation: cv-hex-drift 18s ease-in-out infinite alternate; }
@keyframes cv-hex-drift {
  0%   { transform: scale(1)    translateX(0)    translateY(0); }
  50%  { transform: scale(1.04) translateX(-8px) translateY(4px); }
  100% { transform: scale(1.02) translateX(6px)  translateY(-6px); }
}

/* Nav link underline slide */
.elementor-nav-menu > li > a { position: relative; }
.elementor-nav-menu > li > a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 1px; background: #C9A84C; transition: right 0.25s ease;
}
.elementor-nav-menu > li > a:hover::after,
.elementor-nav-menu > li.current-menu-item > a::after { right: 0; }

/* === FAQ ACCORDION === */
.cv-faq-section { background: #060B17; border-top: 1px solid rgba(201,168,76,0.1); }
.cv-faq-list { max-width: 820px; margin: 0 auto; }
.cv-faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
.cv-faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.cv-faq-question {
  width: 100%; background: none; border: none; color: #F4F6FA;
  font-family: 'Inter', Arial, sans-serif; font-size: 16px; font-weight: 500;
  text-align: left; padding: 24px 48px 24px 0; cursor: pointer;
  position: relative; line-height: 1.5; transition: color 0.2s;
}
.cv-faq-question:hover { color: #C9A84C; }
.cv-faq-icon {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: #C9A84C; font-weight: 300; transition: transform 0.25s; line-height: 1;
}
.cv-faq-question[aria-expanded="true"] .cv-faq-icon { transform: translateY(-50%) rotate(45deg); }
.cv-faq-question[aria-expanded="true"] { color: #C9A84C; }
.cv-faq-answer {
  max-height: 0; overflow: hidden; display: block !important;
  transition: max-height 0.35s cubic-bezier(0.22,1,0.36,1), padding 0.25s;
  padding: 0 48px 0 0; color: #8A9BB0; font-size: 15px; line-height: 1.75;
}
.cv-faq-answer.open { max-height: 800px; padding: 0 48px 24px 0; }
.cv-faq-answer p { margin: 0; }

/* === RELATED READING === */
.cv-related-reading {
  background: rgba(201,168,76,0.05); border-left: 3px solid #C9A84C;
  padding: 20px 24px; margin: 40px 0; border-radius: 0 4px 4px 0;
}
.cv-related-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #C9A84C; margin: 0 0 8px 0 !important;
}
.cv-related-reading p { color: #8A9BB0; font-size: 14px; margin: 0; }
.cv-related-reading a { color: #C9A84C; text-decoration: underline; text-underline-offset: 3px; }
.cv-related-reading a:hover { color: #F4F6FA; }

/* =========================================================
   MOBILE TOGGLE BUTTON
   ========================================================= */
#cv-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(201,168,76,0.3);
  cursor: pointer;
  padding: 7px 9px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
  z-index: 10001;
}
#cv-mobile-toggle:hover { border-color: rgba(201,168,76,0.7); }
.cv-nav-open #cv-mobile-toggle { border-color: rgba(201,168,76,0.6); }

/* =========================================================
   MOBILE NAV DRAWER
   ========================================================= */
@media (max-width: 900px) {
  #cv-mobile-toggle { display: flex !important; }

  #primary-nav {
    display: none !important;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(6,11,23,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9998;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 28px 24px 60px;
    overflow-y: auto;
    border-top: 1px solid rgba(201,168,76,0.15);
  }
  .cv-nav-open #primary-nav { display: flex !important; }
  .cv-nav-open { overflow: hidden; }

  /* Mobile nav list — vertical */
  #primary-nav ul.elementor-nav-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 380px !important;
  }
  #primary-nav ul.elementor-nav-menu > li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(201,168,76,0.08) !important;
  }
  #primary-nav ul.elementor-nav-menu > li:first-child {
    border-top: 1px solid rgba(201,168,76,0.08) !important;
  }
  #primary-nav ul.elementor-nav-menu a {
    display: block !important;
    font-size: 13px !important;
    letter-spacing: 2px !important;
    padding: 18px 16px !important;
    color: #F4F6FA !important;
    text-align: center !important;
    white-space: normal !important;
  }
  #primary-nav ul.elementor-nav-menu a:hover { color: #C9A84C !important; }
  #primary-nav ul.elementor-nav-menu a::after { display: none !important; }

  /* Book Consultation CTA inside mobile nav */
  #primary-nav .cv-nav-cta {
    display: block !important;
    margin: 24px auto 0 !important;
    text-align: center !important;
    padding: 14px 32px !important;
    font-size: 12px !important;
    width: 100% !important;
    max-width: 300px !important;
  }
}

/* =========================================================
   HEADER INNER — responsive padding & logo
   ========================================================= */
@media (max-width: 900px) {
  /* Hide the "Book a Consultation" CTA button from the header on mobile —
     it appears inside the mobile nav drawer instead */
  .cv-nav-cta { display: none !important; }
}
@media (max-width: 768px) {
  .cv-header-inner { padding: 0 20px !important; }
}
@media (max-width: 480px) {
  .cv-header-inner { padding: 0 16px !important; }
  /* Tighten logo on very small screens */
  .cv-header-inner > a > svg { width: 150px !important; }
}

/* =========================================================
   PAGE HERO SECTIONS  (.cv-page-hero class on all inner-page heroes)
   ========================================================= */
@media (max-width: 900px) {
  .cv-page-hero { padding: 88px 0 56px !important; }
}
@media (max-width: 768px) {
  .cv-page-hero { padding: 64px 0 44px !important; }
}
@media (max-width: 480px) {
  .cv-page-hero { padding: 48px 0 36px !important; }
}

/* =========================================================
   INLINE-PADDED CONTENT SECTIONS  (attribute selector)
   Covers all service page sections with padding:80px 0
   ========================================================= */
@media (max-width: 768px) {
  [style*="padding:80px 0"]  { padding: 48px 0 !important; }
  [style*="padding:120px 0"] { padding: 64px 0 !important; }
}
@media (max-width: 480px) {
  [style*="padding:80px 0"]  { padding: 36px 0 !important; }
  [style*="padding:120px 0"] { padding: 48px 0 !important; }
}

/* =========================================================
   SERVICES PAGE — auto-fit grid & bespoke box
   ========================================================= */
@media (max-width: 768px) {
  /* The services overview page uses minmax(340px,1fr) — collapse on mobile */
  [style*="minmax(340px"] { grid-template-columns: 1fr !important; }
  /* "Every Engagement is Different" box has inline padding:60px */
  [style*="padding:60px;text-align:center"] { padding: 36px 20px !important; }
}
@media (max-width: 480px) {
  [style*="padding:60px;text-align:center"] { padding: 28px 16px !important; }
}

/* =========================================================
   TRUST BAR / STATS — 5-col  (.cv-grid-stats)
   Also used on About page as 4-col
   ========================================================= */
.cv-grid-stats { display: grid; grid-template-columns: repeat(5,1fr); gap: 32px; text-align: center; }
@media (max-width: 1100px) {
  .cv-grid-stats { grid-template-columns: repeat(3,1fr) !important; gap: 24px !important; }
}
@media (max-width: 768px) {
  .cv-grid-stats { grid-template-columns: repeat(2,1fr) !important; gap: 16px !important; }
  .cv-grid-stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cv-stat-number { font-size: 36px; }
}
@media (max-width: 480px) {
  .cv-stat-number { font-size: 30px; }
}

/* =========================================================
   SERVICES GRID — 3-col  (.cv-grid-services)
   ========================================================= */
.cv-grid-services { display: grid; grid-template-columns: repeat(3,1fr); }
@media (max-width: 1000px) {
  .cv-grid-services { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 640px) {
  .cv-grid-services { grid-template-columns: 1fr !important; }
}

/* =========================================================
   2-COL SPLIT  (.cv-grid-split — Who We Serve, About, Contact)
   ========================================================= */
.cv-grid-split { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  .cv-grid-split {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .cv-vault-svg { width: 260px !important; height: 260px !important; display: block; margin: 0 auto; }
}
@media (max-width: 768px) {
  .cv-grid-split { gap: 32px !important; }
  .cv-vault-svg { width: 220px !important; height: 220px !important; }
}
@media (max-width: 480px) {
  .cv-vault-svg { width: 180px !important; height: 180px !important; }
}

/* Service page 2fr/1fr split  (.cv-grid-split-svc) */
@media (max-width: 900px) {
  .cv-grid-split-svc { grid-template-columns: 1fr !important; gap: 32px !important; }
}

/* =========================================================
   PROCESS — 4-col  (.cv-grid-process)
   ========================================================= */
.cv-grid-process { display: grid; grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px) {
  .cv-grid-process { grid-template-columns: repeat(2,1fr) !important; gap: 0 !important; }
}
@media (max-width: 580px) {
  .cv-grid-process { grid-template-columns: 1fr !important; }
  .cv-step { border-left: none !important; border-bottom: 1px solid rgba(201,168,76,0.1); padding: 28px 16px; }
  .cv-step:last-child { border-bottom: none; }
}

/* =========================================================
   FOOTER — 4-col  (.cv-grid-footer)
   ========================================================= */
.cv-grid-footer { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 1100px) {
  .cv-grid-footer { grid-template-columns: 1fr 1fr !important; gap: 40px !important; }
  .cv-grid-footer > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .cv-grid-footer { grid-template-columns: 1fr !important; gap: 28px !important; }
  .cv-grid-footer > div:first-child { grid-column: auto; }
  .site-footer, .cv-footer { padding: 52px 0 0; }
}

/* =========================================================
   CTA BANNER
   ========================================================= */
@media (max-width: 768px) {
  .cv-cta-banner { padding: 52px 24px; }
  .cv-cta-banner h2 { font-size: clamp(24px, 6vw, 36px); }
}
@media (max-width: 480px) {
  .cv-cta-banner { padding: 36px 16px; }
  .cv-cta-banner h2 { font-size: 24px; }
}

/* =========================================================
   HERO (homepage)
   ========================================================= */
@media (max-width: 768px) {
  .cv-section { padding: 56px 0; }
  .cv-container { padding: 0 24px; }
  .cv-hero { min-height: 92svh; min-height: 92vh; }
  .cv-hero h1 { font-size: clamp(28px, 8vw, 44px); }
  .cv-hero-inner { padding: 0 20px; }
  .cv-hero-inner > div[style*="display:flex"] {
    flex-direction: column !important;
    align-items: center !important;
  }
  .cv-btn-primary, .cv-btn-ghost {
    width: 100% !important; max-width: 340px; text-align: center !important;
  }
  .cv-subheading { font-size: 16px; }
  .cv-section-heading { font-size: clamp(24px, 6vw, 42px); }
  .cv-trust-bar { padding: 40px 0; }
}
@media (max-width: 480px) {
  .cv-container { padding: 0 16px; }
  .cv-section { padding: 44px 0; }
  .cv-hero h1 { font-size: clamp(24px, 8vw, 34px); }
  .cv-scroll-arrow { display: none; }
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */
@media (max-width: 768px) {
  .cv-service-card { padding: 28px 20px; }
  .cv-service-card h3 { font-size: 19px; }
}

/* =========================================================
   INSIGHTS
   ========================================================= */
@media (max-width: 900px) {
  .cv-insights-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .cv-insight-featured { padding: 36px 32px; }
}
@media (max-width: 768px) {
  .cv-insights-grid { grid-template-columns: 1fr !important; }
  .cv-insight-featured { padding: 28px 20px; }
  .cv-insight-featured-title { font-size: clamp(18px, 4vw, 26px); }
  .cv-insight-excerpt { font-size: 15px; }
}
@media (max-width: 480px) {
  .cv-insight-featured { padding: 20px 16px; }
  .cv-insight-card { padding: 24px 16px; }
}

/* =========================================================
   ARTICLE / BLOG
   ========================================================= */
@media (max-width: 768px) {
  .cv-article-body { padding: 48px 20px; max-width: 100%; }
  .cv-article-lead { font-size: 16px; padding-left: 16px; margin-bottom: 32px; }
  .cv-faq-question { font-size: 15px; padding: 18px 36px 18px 0; }
  .cv-faq-answer { padding: 0 36px 20px 0; }
  .cv-article-cta { padding: 28px 20px; margin-top: 40px; }
}
@media (max-width: 480px) {
  .cv-article-body { padding: 32px 16px; }
  .cv-article-lead { font-size: 15px; }
  .cv-faq-question { font-size: 14px; padding: 16px 32px 16px 0; }
}

/* =========================================================
   CONTACT / ABOUT — inline card padding overrides
   ========================================================= */
@media (max-width: 768px) {
  /* Principles card, contact info cards — all gold-topped dark boxes */
  [style*="border-top:4px solid #C9A84C"][style*="padding:48px"] { padding: 28px 20px !important; }
  [style*="border-top:4px solid #C9A84C"][style*="padding:40px"] { padding: 24px 20px !important; }
  [style*="border-top:4px solid #C9A84C"][style*="padding:32px"] { padding: 24px 16px !important; }
  /* Book consultation box */
  [style*="max-width:760px"] { max-width: 100% !important; }
  [style*="max-width:760px"] [style*="padding:48px"] { padding: 28px 20px !important; }
  /* Form submit button full width on mobile */
  .wpcf7 { max-width: 100%; }
}
@media (max-width: 480px) {
  [style*="border-top:4px solid #C9A84C"][style*="padding:48px"] { padding: 20px 16px !important; }
  [style*="border-top:4px solid #C9A84C"][style*="padding:40px"] { padding: 20px 16px !important; }
}

/* =========================================================
   MISC — ensure no horizontal overflow
   ========================================================= */
img, svg, video, embed, iframe { max-width: 100%; }
.cv-world-map svg { width: 100%; height: auto; }

/* Prevent any element causing horizontal scroll */
@media (max-width: 768px) {
  .cv-hero-hex-bg { animation: none; }
}
