/*
Theme Name:  Nexus Legal Child
Theme URI:   https://nexuspartners-legal.com
Description: Kadence child theme for Nexus & Partners Legal Consultancy.
Author:      Nexus & Partners
Template:    kadence
Version:     1.0.1
License:     GNU General Public License v2 or later
Text Domain: nexus-legal
*/

/* ============================================================
   DESIGN SYSTEM
   ============================================================ */
:root {
  --navy:        #343F7A;
  --navy-mid:    #2d3669;
  --navy-card:   #2a3260;
  --navy-light:  #3d4a8f;
  --gold:        #C4A44A;
  --gold-light:  #D4B862;
  --gold-dim:    rgba(196,164,74,0.15);
  --white:       #FFFFFF;
  --off-white:   #F2EFF9;
  --cream:       #F2EDE4;
  --light-gray:  #EEEDF0;
  --form-field:  #E8E6F0;
  --text-dark:   #343F7A;
  --text-mid:    #4A5568;
  --text-body:   #2D3748;
  --text-light:  #9AA5C0;
  --border-card: rgba(52,63,122,0.15);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; font-weight: 400; color: var(--text-body); overflow-x: hidden; background: var(--white); }
body .site-container { max-width: 100%; padding: 0; }
body .content-area { padding: 0; }
.wp-site-blocks { padding: 0 !important; }
.content-area, .site-main, #primary { background: transparent !important; padding: 0 !important; margin: 0 !important; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 { font-family: 'Stack', serif; font-weight: 400; line-height: 1.2; color: var(--navy); }
p { font-family: 'Raleway', sans-serif; font-weight: 300; line-height: 1.8; }
a { transition: color 0.25s; }

/* ============================================================
   NAV
   ============================================================ */
.nexus-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 999999; background: var(--navy); border-bottom: 1px solid rgba(196,164,74,0.15); }
.nav-top { display: flex; align-items: center; justify-content: space-between; padding: 0 60px; height: 70px; }
.nav-logo img { height: 55px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.25s; }
.nav-links a:hover, .nav-links a.current-menu-item { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 16px; position: relative; z-index: 999999; }
.nav-phone { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); text-decoration: none; display: flex; align-items: center; gap: 7px; }
.nav-phone svg { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; }
.nav-cta-btn { display: inline-block; padding: 9px 22px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: background 0.25s; }
.nav-cta-btn:hover { background: var(--gold-light); color: var(--navy); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; flex-shrink: 0; position: relative; z-index: 999999; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.85); transition: all 0.3s; pointer-events: none; }
.nav-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; background: var(--navy-mid); padding: 20px 24px; border-top: 1px solid rgba(196,164,74,0.1); }
.mobile-menu a { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); text-decoration: none; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.25s; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu.open { display: flex; }
#masthead, .kadence-header, header.wp-block-template-part { display: none !important; }

/* ============================================================
   NAV DROPDOWN
   ============================================================ */
#nexusNav .menu-item-has-children { position: relative !important; display: flex !important; align-items: center !important; height: 100% !important; }
#nexusNav .menu-item-has-children::after { content: ''; position: absolute; left: 0; right: 0; bottom: -20px; height: 30px; }
#nexusNav .menu-item-has-children .sub-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 15px) !important;
  left: 0 !important;
  z-index: 99999 !important;
  min-width: 260px !important;
  background: #2d3669 !important;
  border-top: 2px solid #C4A44A !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3) !important;
  padding: 8px 0 !important;
  list-style: none !important;
  margin: 0 !important;
}
#nexusNav .menu-item-has-children:hover .sub-menu { display: block !important; }
#nexusNav .menu-item-has-children .sub-menu li { display: block !important; border-bottom: 1px solid rgba(255,255,255,0.06) !important; list-style: none !important; padding: 0 !important; margin: 0 !important; }
#nexusNav .menu-item-has-children .sub-menu li a { display: block !important; padding: 11px 22px !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: 0.12em !important; text-transform: uppercase !important; color: rgba(255,255,255,0.65) !important; text-decoration: none !important; white-space: nowrap !important; }
#nexusNav .menu-item-has-children .sub-menu li a:hover { color: #C4A44A !important; background: rgba(196,164,74,0.08) !important; padding-left: 28px !important; }
#nexusNav .menu-item-has-children > a::after { content: ' ▾'; font-size: 9px; opacity: 0.6; }
@media (max-width: 900px) { #nexusNav .menu-item-has-children .sub-menu, #nexusNav .menu-item-has-children:hover .sub-menu { display: none !important; } }

/* Mobile sub-menu */
#nexusMobileMenu .sub-menu { list-style: none !important; padding: 0 !important; margin: 0 !important; display: none; }
#nexusMobileMenu .sub-menu li a { padding: 9px 0 9px 20px !important; font-size: 11px !important; color: rgba(255,255,255,0.45) !important; border-bottom: 1px solid rgba(255,255,255,0.04) !important; letter-spacing: 0.1em !important; display: block !important; }
#nexusMobileMenu .sub-menu li:last-child a { border-bottom: none !important; }
#nexusMobileMenu .sub-menu { display: none !important; }
#nexusMobileMenu .menu-item-has-children .sub-menu.is-open { display: block !important; }
#nexusMobileMenu .menu-item-has-children { display: block !important; height: auto !important; align-items: initial !important; }
#nexusMobileMenu .menu-item-has-children::after { display: none !important; }
#nexusMobileMenu .menu-item-has-children > a::after { display: none !important; }
#nexusMobileMenu .menu-item-has-children .sub-menu { position: static !important; top: auto !important; left: auto !important; min-width: 0 !important; background: transparent !important; border-top: none !important; border-radius: 0 !important; box-shadow: none !important; }
/* ============================================================
   FOOTER
   ============================================================ */
footer.nexus-footer { background: var(--navy); padding: 70px 60px 36px; border-top: 1px solid rgba(196,164,74,0.15); margin-top: 0 !important; }
#colophon, .kadence-footer, footer.wp-block-template-part { display: none !important; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 48px; }
.footer-logo img { height: 46px; filter: brightness(0) invert(1); opacity: 0.85; display: block; margin-bottom: 18px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.8; margin-bottom: 18px; }
.footer-contact { font-size: 13px; color: rgba(255,255,255,0.38); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-contact a { color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.25s; }
.footer-contact a:hover { color: var(--gold); }
.footer-col h4 { font-family: 'Raleway', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(196,164,74,0.15); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.25s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.18); margin: 0; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 11px; color: rgba(255,255,255,0.18); text-decoration: none; transition: color 0.25s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.section-tag { font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.section-h2 { font-family: 'Stack', serif; font-size: clamp(26px, 3vw, 42px); font-weight: 400; color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.section-h2 em { font-style: italic; color: var(--gold); }
.section-h2-white { color: var(--white); }
.section-sub { font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 300; color: var(--text-mid); line-height: 1.8; max-width: 700px; }
.section-sub-white { color: rgba(255,255,255,0.5); }
.gold-divider { width: 44px; height: 3px; background: var(--gold); margin-bottom: 14px; }
.gold-divider.center { margin-left: auto; margin-right: auto; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; background: var(--gold); color: var(--navy); font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: all 0.25s; border: none; cursor: pointer; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(196,164,74,0.35); color: var(--navy); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border: 2px solid var(--navy); color: var(--navy); font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: all 0.25s; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; transition: all 0.25s; }
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }
.btn-wa { display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; background: #25D366; color: var(--white); font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: all 0.25s; }
.btn-wa:hover { background: #22c55e; transform: translateY(-2px); color: var(--white); }
.btn-wa svg { width: 16px; height: 16px; fill: white; flex-shrink: 0; }
.btn-phone { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1.5px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.65); font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; transition: all 0.25s; }
.btn-phone:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 2px solid var(--gold); color: var(--gold); font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: all 0.25s; }
.btn-gold-outline:hover { background: var(--gold); color: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.nexus-hero { background: var(--navy); display: grid; grid-template-columns: 1fr 480px; padding-top: 70px; min-height: 100vh; position: relative; overflow: hidden; }
.nexus-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 75% at 25% 60%, rgba(196,164,74,0.06) 0%, transparent 60%); pointer-events: none; }
.hero-left { padding: 72px 56px 72px 60px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; animation: fadeUp 0.6s 0.1s both; }
.hero-label::before { content: ''; width: 30px; height: 2px; background: var(--gold); flex-shrink: 0; }
.hero-label span { font-size: 10px; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); }
.hero-left h1 { font-family: 'Stack', serif; font-size: clamp(34px, 4.5vw, 58px); font-weight: 400; line-height: 1.1; color: var(--white); margin-bottom: 20px; animation: fadeUp 0.6s 0.2s both; }
.hero-left h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.62); line-height: 1.85; max-width: 500px; margin-bottom: 32px; animation: fadeUp 0.6s 0.35s both; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; animation: fadeUp 0.6s 0.45s both; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(196,164,74,0.3); background: rgba(196,164,74,0.07); }
.hero-badge svg { width: 13px; height: 13px; fill: var(--gold); flex-shrink: 0; }
.hero-badge span { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: rgba(255,255,255,0.82); text-transform: uppercase; }
.hero-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; animation: fadeUp 0.6s 0.55s both; }
.hero-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; animation: fadeUp 0.6s 0.1s both; }
.hero-breadcrumb a { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.25s; }
.hero-breadcrumb a:hover { color: var(--gold); }
.hero-breadcrumb .sep { font-size: 11px; color: rgba(255,255,255,0.2); }
.hero-breadcrumb .current { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.hero-right { display: flex; align-items: center; justify-content: center; padding: 50px 40px; position: relative; z-index: 2; }
.form-float { background: var(--navy-card); border-radius: 16px; padding: 40px 36px; width: 100%; max-width: 420px; box-shadow: 0 24px 60px rgba(0,0,0,0.3); animation: fadeUp 0.6s 0.3s both; }
.form-float-title { font-family: 'Stack', serif; font-size: 24px; color: var(--white); margin-bottom: 6px; }
.form-float-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 24px; line-height: 1.6; }
.ff-group { margin-bottom: 14px; }
.ff-label { display: block; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.65); margin-bottom: 6px; letter-spacing: 0.04em; }
.ff-group input, .ff-group select { width: 100%; padding: 12px 15px; background: var(--form-field); border: none; border-radius: 8px; font-family: 'Raleway', sans-serif; font-size: 13px; color: var(--navy); outline: none; transition: box-shadow 0.25s; appearance: none; }
.ff-group input:focus, .ff-group select:focus { box-shadow: 0 0 0 2px var(--gold); }
.ff-group input::placeholder { color: var(--text-light); }
.phone-wrap { position: relative; display: flex; align-items: center; }
.phone-flag { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 4px; z-index: 1; pointer-events: none; font-size: 17px; }
.phone-flag-sep { width: 1px; height: 14px; background: rgba(52,63,122,0.2); margin: 0 3px 0 2px; }
.phone-wrap input { padding-left: 58px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--text-mid); pointer-events: none; }
.form-submit-btn { width: 100%; padding: 14px; background: var(--navy-light); color: var(--white); border: none; border-radius: 8px; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: capitalize; cursor: pointer; transition: all 0.25s; margin-top: 4px; }
.form-submit-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--navy-card); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--gold); }
.stat-item { padding: 26px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,0.07); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Stack', serif; font-size: 40px; color: var(--gold); line-height: 1; margin-bottom: 5px; display: block; }
.stat-label { font-size: 10px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { padding: 90px 60px; background: var(--cream); }
.services-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 32px; flex-wrap: wrap; }
.services-header-left { flex: 1; min-width: 260px; }
.link-arrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: color 0.25s; flex-shrink: 0; white-space: nowrap; }
.link-arrow:hover { color: var(--gold); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.srv-card { background: var(--off-white); border: 1.5px solid var(--border-card); border-radius: 12px; padding: 30px 24px 26px; display: flex; flex-direction: column; transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s; }
.srv-card:hover { box-shadow: 0 8px 32px rgba(52,63,122,0.12); border-color: var(--navy); transform: translateY(-3px); }
.srv-icon-wrap { width: 52px; height: 52px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.srv-icon-wrap svg { width: 44px; height: 44px; stroke: var(--navy); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.srv-card h3 { font-family: 'Stack', serif; font-size: 17px; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.srv-why-label { font-size: 9px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.srv-card p { font-size: 13px; color: var(--text-mid); line-height: 1.75; flex: 1; margin-bottom: 18px; }
.srv-link { font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: underline; display: inline-flex; align-items: center; gap: 8px; transition: color 0.25s; margin-top: auto; }
.srv-link:hover { color: var(--gold); }
.arrow-line { display: inline-flex; align-items: center; width: 26px; height: 1px; background: currentColor; position: relative; transition: width 0.3s; }
.arrow-line::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.srv-card:hover .arrow-line { width: 36px; }

/* ============================================================
   PRACTICE AREAS
   ============================================================ */
.practice-section { padding: 90px 60px; background: var(--white); }
.practice-header { text-align: center; margin-bottom: 52px; }
.practice-header .section-sub { margin: 0 auto; }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-card); margin-bottom: 44px; }
.pa-item { background: var(--white); padding: 24px 20px; display: flex; align-items: center; gap: 14px; transition: background 0.25s; }
.pa-item:hover { background: var(--cream); }
.pa-num { font-family: 'Stack', serif; font-size: 20px; color: var(--gold); opacity: 0.4; flex-shrink: 0; line-height: 1; }
.pa-name { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.practice-cta { text-align: center; }

/* ============================================================
   WHY US
   ============================================================ */
.why-section { padding: 90px 60px; background: var(--navy); position: relative; overflow: hidden; }
.why-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(196,164,74,0.05) 0%, transparent 60%); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; position: relative; z-index: 1; }
.why-quote-block { border-left: 3px solid var(--gold); padding: 20px 24px; margin: 28px 0; background: rgba(196,164,74,0.06); }
.why-quote { font-family: 'Stack', serif; font-size: 17px; font-style: italic; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 10px; }
.why-attr { font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.why-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.06); }
.wf-item { background: var(--navy-card); padding: 24px 20px; display: flex; gap: 14px; align-items: flex-start; transition: background 0.25s; }
.wf-item:hover { background: var(--navy-light); }
.wf-icon { width: 38px; height: 38px; flex-shrink: 0; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; }
.wf-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wf-text h4 { font-family: 'Stack', serif; font-size: 14px; color: var(--white); margin-bottom: 4px; }
.wf-text p { font-size: 12px; color: rgba(255,255,255,0.42); line-height: 1.6; }

/* ============================================================
   TEAM
   ============================================================ */
.team-section { padding: 90px 60px; background: var(--cream); }
.team-header { margin-bottom: 48px; }
.team-header-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tm-card { background: var(--off-white); border: 1.5px solid var(--border-card); border-radius: 12px; overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s; }
.tm-card:hover { box-shadow: 0 8px 32px rgba(52,63,122,0.12); border-color: var(--navy); transform: translateY(-3px); }
.tm-photo { aspect-ratio: 4/5; position: relative; overflow: hidden; background: var(--light-gray); display: flex; align-items: center; justify-content: center; }
.tm-initials { font-family: 'Stack', serif; font-size: 58px; color: rgba(52,63,122,0.12); user-select: none; }
.tm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s ease; }
.tm-card:hover .tm-photo img { transform: scale(1.04); }
.tm-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(52,63,122,0.88) 0%, transparent 50%); opacity: 0; transition: opacity 0.35s; display: flex; align-items: flex-end; padding: 18px; }
.tm-card:hover .tm-overlay { opacity: 1; }
.tm-overlay-text { font-size: 11px; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.tm-bar { width: 0; height: 3px; background: var(--gold); transition: width 0.4s ease; }
.tm-card:hover .tm-bar { width: 100%; }
.tm-info { padding: 18px 20px 22px; }
.tm-role-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; display: block; }
.tm-info h3 { font-family: 'Stack', serif; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.tm-specialty { font-size: 12px; color: var(--text-mid); line-height: 1.5; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-section { padding: 90px 60px; background: var(--off-white); }
.process-header { text-align: center; margin-bottom: 64px; }
.process-header .section-sub { margin: 0 auto; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; gap: 24px; }
.process-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.process-grid::before { content: ''; position: absolute; top: 34px; left: calc(16.6% + 20px); right: calc(16.6% + 20px); height: 1px; background: var(--border-card); z-index: 0; }
.process-grid.cols-4::before { left: calc(12.5% + 20px); right: calc(12.5% + 20px); }
.proc-item { text-align: center; position: relative; z-index: 1; }
.proc-num-wrap { width: 68px; height: 68px; margin: 0 auto 22px; background: var(--white); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.proc-item:hover .proc-num-wrap { background: var(--gold); }
.proc-num { font-family: 'Stack', serif; font-size: 24px; color: var(--navy); transition: color 0.3s; }
.proc-item h3 { font-family: 'Stack', serif; font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.proc-item p { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy-card); }
.feat-item { padding: 36px 32px; display: flex; gap: 16px; align-items: flex-start; border-right: 1px solid rgba(255,255,255,0.06); }
.feat-item:last-child { border-right: none; }
.feat-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; }
.feat-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feat-text h4 { font-family: 'Stack', serif; font-size: 16px; color: var(--white); margin-bottom: 5px; }
.feat-text p { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.6; }

/* ============================================================
   ABOUT PAGE GRIDS
   ============================================================ */
.about-vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.about-section { padding: 90px 60px; }
.about-stages-grid { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }

/* ============================================================
   PRACTICE AREA HERO (image left + text right)
   ============================================================ */
.pa-hero { background: var(--navy); display: grid; grid-template-columns: 1fr 1fr; padding-top: 70px; min-height: 92vh; position: relative; overflow: hidden; align-items: stretch; }
.pa-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 75% at 75% 60%, rgba(196,164,74,0.06) 0%, transparent 60%); pointer-events: none; }
.pa-hero-img { display: flex; align-items: stretch; padding: 50px 20px 50px 60px; position: relative; z-index: 2; }
.pa-hero-img-card { width: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.4); position: relative; animation: fadeUp 0.6s 0.3s both; }
.pa-hero-img-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gold); z-index: 3; }
.pa-hero-img-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; position: absolute; inset: 0; }
.pa-hero-img-card .pa-img-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, rgba(42,50,96,0.85) 0%, transparent 100%); z-index: 2; }
.pa-hero-img-card .pa-img-label { position: absolute; bottom: 22px; left: 22px; z-index: 3; display: inline-block; background: var(--gold); color: var(--navy); font-family: 'Raleway', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; padding: 6px 14px; }
.pa-hero-text { padding: 72px 60px 72px 40px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.pa-hero-text h1 { font-family: 'Stack', serif; font-size: clamp(34px, 4vw, 54px); font-weight: 400; line-height: 1.1; color: var(--white); margin-bottom: 20px; animation: fadeUp 0.6s 0.2s both; }
.pa-hero-text h1 em { font-style: italic; color: var(--gold); }

/* Practice Area Stats Bar */
.pa-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(196,164,74,0.2); border-top: 3px solid var(--gold); }
.pa-stat { background: var(--navy-card); padding: 22px 16px; text-align: center; }
.pa-stat-num { font-family: 'Stack', serif; font-size: 26px; color: var(--gold); line-height: 1; margin-bottom: 5px; display: block; }
.pa-stat-label { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.4); line-height: 1.3; display: block; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-section { padding: 80px 60px; background: var(--navy-card); text-align: center; border-top: 3px solid var(--gold); }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 90px 60px; background: var(--cream); }
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--white); border: 1.5px solid var(--border-card); border-radius: 12px; padding: 28px 24px; display: flex; gap: 18px; align-items: flex-start; transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s; }
.contact-card:hover { box-shadow: 0 6px 24px rgba(52,63,122,0.1); border-color: var(--navy); transform: translateY(-2px); }
.contact-card-icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.contact-card-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-text h4 { font-family: 'Stack', serif; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.contact-card-text p { font-size: 13px; color: var(--text-mid); line-height: 1.7; margin-bottom: 4px; }
.contact-card-text a { font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; transition: color 0.25s; }
.contact-card-text a:hover { color: var(--gold); }
.contact-form-wrap { background: var(--navy); border-radius: 16px; padding: 44px 40px; box-shadow: 0 24px 60px rgba(0,0,0,0.15); display: flex; flex-direction: column; }
.contact-form-wrap .wpcf7 { flex: 1; display: flex; flex-direction: column; }
.contact-form-wrap .wpcf7-form { flex: 1; display: flex; flex-direction: column; }
.contact-form-wrap .wpcf7-form p:last-of-type { margin-top: auto; }
.contact-form-title { font-family: 'Stack', serif; font-size: 26px; color: var(--white); margin-bottom: 6px; }
.contact-form-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 28px; line-height: 1.6; }
.contact-hours { background: var(--navy); border-radius: 12px; padding: 28px 24px; border-top: 3px solid var(--gold); }
.contact-hours.full-width { grid-column: 1 / -1; }
.contact-hours h4 { font-family: 'Stack', serif; font-size: 17px; color: var(--white); margin-bottom: 14px; }
.contact-hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.contact-hours-row:last-child { border-bottom: none; }
.contact-hours-day { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.65); }
.contact-hours-time { font-size: 13px; color: var(--gold); font-weight: 600; }
.contact-map { width: 100%; border: none; border-radius: 0; display: block; }

/* ============================================================
   CONTENT + SIDEBAR
   ============================================================ */
.content-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 56px; padding: 80px 60px; align-items: start; }
.content-wrap.bg-cream { background: var(--cream); }
.prose-block { margin-bottom: 48px; }
.prose-block h2 { font-family: 'Stack', serif; font-size: 28px; color: var(--navy); margin-bottom: 14px; line-height: 1.25; }
.prose-block p { font-size: 15px; color: var(--text-body); line-height: 1.85; margin-bottom: 14px; }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block strong { font-weight: 700; color: var(--navy); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.scope-card { background: var(--off-white); border: 1.5px solid var(--border-card); border-radius: 12px; padding: 26px 22px; display: flex; flex-direction: column; transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s; }
.scope-card:hover { box-shadow: 0 6px 24px rgba(52,63,122,0.1); border-color: var(--navy); transform: translateY(-2px); }
.scope-num { font-family: 'Stack', serif; font-size: 13px; color: var(--gold); opacity: 0.7; margin-bottom: 8px; display: block; }
.scope-icon { width: 44px; height: 44px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.scope-icon svg { width: 38px; height: 38px; stroke: var(--navy); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.scope-card h4 { font-family: 'Stack', serif; font-size: 17px; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.scope-why { font-size: 9px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.scope-card p { font-size: 13px; color: var(--text-mid); line-height: 1.7; flex: 1; margin-bottom: 14px; }
.scope-link { font-size: 12px; font-weight: 600; color: var(--navy); text-decoration: underline; display: inline-flex; align-items: center; gap: 8px; transition: color 0.25s; margin-top: auto; }
.scope-link:hover { color: var(--gold); }
.sidebar-card { background: var(--off-white); border: 1.5px solid var(--border-card); border-radius: 12px; padding: 28px 24px; margin-bottom: 18px; }
.sidebar-card.dark { background: var(--navy); border-color: transparent; }
.sidebar-title { font-family: 'Stack', serif; font-size: 18px; color: var(--navy); margin-bottom: 14px; }
.sidebar-card.dark .sidebar-title { color: var(--white); }
.sidebar-sub { font-size: 13px; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.sidebar-card.dark .sidebar-sub { color: rgba(255,255,255,0.48); }
.sidebar-card .btn-gold, .sidebar-card .btn-wa { width: 100%; justify-content: center; display: flex; margin-bottom: 10px; }
.sidebar-card .btn-wa { margin-bottom: 0; }
.sidebar-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.sidebar-list li a { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-dark); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--border-card); transition: color 0.25s; }
.sidebar-list li:last-child a { border-bottom: none; }
.sidebar-list li a:hover { color: var(--gold); }
.sidebar-list li a::before { content: '→'; font-size: 11px; color: var(--gold); flex-shrink: 0; }
.sidebar-list li a.active { color: var(--navy); font-weight: 700; }
.sidebar-list li a.active::before { content: '●'; font-size: 8px; }

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */
.blog-hero { background: var(--navy); padding: 130px 60px 80px; position: relative; overflow: hidden; text-align: center; }
.blog-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 20% 60%, rgba(196,164,74,0.07) 0%, transparent 60%); }
.blog-hero-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.blog-hero-title { font-family: 'Stack', serif; font-size: clamp(36px,5vw,60px); color: var(--white); margin-bottom: 18px; animation: fadeUp 0.6s 0.2s both; font-weight: 400; line-height: 1.15; }
.blog-hero-title em { font-style: italic; color: var(--gold); }
.blog-hero p { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.8; max-width: 540px; margin: 0 auto; animation: fadeUp 0.6s 0.35s both; }
.blog-container { padding: 80px 60px; background: var(--off-white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--white); border: 1.5px solid var(--border-card); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s; }
.blog-card:hover { box-shadow: 0 8px 32px rgba(52,63,122,0.12); border-color: var(--navy); transform: translateY(-4px); }
.blog-card-thumb { aspect-ratio: 16/9; background: var(--light-gray); position: relative; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-cat { position: absolute; top: 14px; left: 14px; font-size: 9px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 5px 10px; }
.blog-card-body { padding: 24px 24px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 11px; color: var(--text-light); font-weight: 500; letter-spacing: 0.05em; }
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card-heading { font-family: 'Stack', serif; font-size: 20px; color: var(--navy); margin-bottom: 12px; line-height: 1.3; flex: 1; }
.blog-card-heading a { text-decoration: none; color: inherit; transition: color 0.25s; }
.blog-card-heading a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 13px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }
.blog-card-footer { border-top: 1px solid var(--border-card); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.blog-card-author { display: flex; align-items: center; gap: 8px; }
.blog-card-author-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: 'Stack', serif; font-size: 11px; color: var(--gold); flex-shrink: 0; }
.blog-card-author-name { font-size: 12px; font-weight: 600; color: var(--text-dark); }
.blog-read-more { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color 0.25s; }
.blog-read-more:hover { color: var(--gold); }
.blog-read-more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.25s; }
.blog-card:hover .blog-read-more svg { transform: translateX(3px); }
.blog-card.featured { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; }
.blog-card.featured .blog-card-thumb { aspect-ratio: auto; min-height: 320px; }
.blog-card.featured .blog-card-body { padding: 40px; justify-content: center; }
.blog-card.featured .blog-card-heading { font-size: 28px; }
.blog-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 48px 0 0; }
.blog-pagination a, .blog-pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--border-card); font-size: 13px; font-weight: 600; color: var(--text-dark); text-decoration: none; transition: all 0.25s; }
.blog-pagination a:hover, .blog-pagination span.current { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ============================================================
   SINGLE POST — ARTICLE HERO
   ============================================================ */
.article-hero { background: var(--navy); padding: 130px 60px 70px; position: relative; overflow: hidden; }
.article-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 20% 60%, rgba(196,164,74,0.07) 0%, transparent 60%); pointer-events: none; }
.article-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.post-cat { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 5px 12px; margin-bottom: 20px; text-decoration: none; }
.post-cat a { color: var(--navy); text-decoration: none; }
.article-hero h1 { font-family: 'Stack', serif; font-size: clamp(30px, 4vw, 52px); color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.post-meta-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.post-meta-top span { font-size: 12px; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 6px; }
.post-meta-top svg { opacity: 0.6; flex-shrink: 0; }

/* ============================================================
   SINGLE POST — ARTICLE BODY
   ============================================================ */
.article-body { background: var(--white); padding: 0; }
.article-container { display: grid; grid-template-columns: 1fr 300px; gap: 60px; padding: 70px 60px; align-items: start; max-width: 1400px; margin: 0 auto; }
.content-wrapper { max-width: 100%; }
.featured-image-container { width: 100%; margin-bottom: 36px; border-radius: 10px; overflow: hidden; }
.featured-image-container img { display: block; width: 100%; height: auto; }
.post-content-container { margin-bottom: 36px; }
.content-wrapper h2 { font-family: 'Stack', serif; font-size: 28px; color: var(--navy); margin: 36px 0 14px; line-height: 1.25; }
.content-wrapper h3 { font-family: 'Stack', serif; font-size: 22px; color: var(--navy); margin: 28px 0 12px; }
.content-wrapper h4 { font-family: 'Stack', serif; font-size: 18px; color: var(--navy); margin: 22px 0 10px; }
.content-wrapper p { font-size: 15px; line-height: 1.85; color: var(--text-body); margin-bottom: 18px; }
.content-wrapper ul, .content-wrapper ol { padding-left: 22px; margin-bottom: 18px; }
.content-wrapper li { font-size: 15px; line-height: 1.8; color: var(--text-body); margin-bottom: 6px; }
.content-wrapper strong { font-weight: 700; color: var(--navy); }
.content-wrapper a { color: var(--navy); text-decoration: underline; transition: color 0.25s; }
.content-wrapper a:hover { color: var(--gold); }
.content-wrapper img { max-width: 100%; border-radius: 8px; margin: 20px 0; display: block; }
.content-wrapper hr { border: none; border-top: 1px solid var(--border-card); margin: 36px 0; }
.content-wrapper blockquote, .content-wrapper .wp-block-quote { background: var(--off-white); border-left: 4px solid var(--gold); padding: 24px 32px; margin: 28px 0 40px; border-radius: 0 8px 8px 0; border-top: none; border-bottom: none; border-right: none; clear: both; }
.content-wrapper blockquote p, .content-wrapper .wp-block-quote p { margin-bottom: 0; font-size: 15px; color: var(--text-mid); line-height: 1.7; }
.content-wrapper blockquote cite, .content-wrapper .wp-block-quote cite { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 8px; font-style: normal; }
.post-tags-container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border-card); }
.tags-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); }
.post-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--border-card); padding: 5px 12px; text-decoration: none; transition: all 0.25s; }
.post-tag:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.post-nav-wrap { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border-card); flex-wrap: wrap; }
.post-nav-link { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--navy); text-decoration: none; flex: 1; transition: color 0.25s; min-width: 160px; }
.post-nav-link:hover { color: var(--gold); }
.post-nav-next { justify-content: flex-end; text-align: right; }
.post-nav-arrow { font-size: 16px; color: var(--gold); flex-shrink: 0; }
.post-nav-title { font-size: 13px; font-weight: 600; line-height: 1.4; }
.article-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-block { background: var(--off-white); border: 1.5px solid var(--border-card); border-radius: 12px; padding: 26px 22px; }
.sidebar-cta-block { background: var(--navy); border-color: transparent; }
.sidebar-h3 { font-family: 'Stack', serif; font-size: 17px; color: var(--navy); margin-bottom: 16px; }
.sidebar-cta-block .sidebar-h3 { color: var(--white); }
.sidebar-cta-sub { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 18px; }
.sidebar-post { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--border-card); transition: opacity 0.25s; }
.sidebar-post:last-of-type { border-bottom: none; }
.sidebar-post:hover { opacity: 0.75; }
.img-wrapper { width: 60px; height: 60px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--light-gray); display: flex; align-items: center; justify-content: center; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-placeholder { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); text-align: center; padding: 4px; }
.sidebar-post-title { font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.45; margin: 0; }
.sidebar-cats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.sidebar-cats li a { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text-dark); text-decoration: none; padding: 9px 0; border-bottom: 1px solid var(--border-card); transition: color 0.25s; }
.sidebar-cats li:last-child a { border-bottom: none; }
.sidebar-cats li a:hover { color: var(--gold); }
.cat-count { font-size: 11px; font-weight: 400; color: var(--text-light); background: var(--light-gray); padding: 2px 8px; border-radius: 20px; }

/* ============================================================
   CONTACT FORM 7
   ============================================================ */
.form-float .wpcf7-form p { margin: 0 0 14px 0 !important; }
.form-float .wpcf7-form label { display: block !important; font-size: 12px !important; font-weight: 600 !important; color: rgba(255,255,255,0.65) !important; margin-bottom: 6px !important; letter-spacing: 0.04em !important; font-family: 'Raleway', sans-serif !important; }
.form-float .wpcf7 input[type="text"],
.form-float .wpcf7 input[type="email"],
.form-float .wpcf7 input[type="tel"],
.form-float .wpcf7 select { width: 100% !important; padding: 12px 15px !important; background: #E8E6F0 !important; border: none !important; border-radius: 8px !important; font-family: 'Raleway', sans-serif !important; font-size: 13px !important; color: #343F7A !important; outline: none !important; box-shadow: none !important; display: block !important; }
.form-float .wpcf7 input[type="text"]:focus,
.form-float .wpcf7 input[type="email"]:focus,
.form-float .wpcf7 input[type="tel"]:focus,
.form-float .wpcf7 select:focus { box-shadow: 0 0 0 2px #C4A44A !important; }
.form-float .wpcf7 select { appearance: auto !important; -webkit-appearance: auto !important; }
.form-float .wpcf7 input[type="submit"] { width: 100% !important; padding: 14px !important; background: #3d4a8f !important; color: #ffffff !important; border: none !important; border-radius: 8px !important; font-family: 'Raleway', sans-serif !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0.12em !important; cursor: pointer !important; transition: all 0.25s !important; margin-top: 8px !important; display: block !important; }
.form-float .wpcf7 input[type="submit"]:hover { background: #C4A44A !important; color: #343F7A !important; }
.form-float .wpcf7-response-output { margin: 12px 0 0 !important; padding: 10px 14px !important; border-radius: 8px !important; font-size: 12px !important; border: none !important; background: rgba(196,164,74,0.15) !important; color: #C4A44A !important; }
.form-float .wpcf7-spinner { display: none !important; }
.form-float .wpcf7-not-valid-tip { color: #ff6b6b !important; font-size: 11px !important; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-top, .services-section, .practice-section, .why-section, .team-section, .process-section, .cta-section, .blog-container, .single-wrap, .single-hero, .blog-hero, .content-wrap { padding-left: 36px; padding-right: 36px; }
  .nexus-hero { grid-template-columns: 1fr 420px; }
  .pa-hero { grid-template-columns: 1fr 1fr; }
  .pa-hero-img { padding: 50px 24px 50px 36px; }
  .pa-hero-text { padding: 60px 36px 60px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer.nexus-footer { padding: 60px 36px 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card.featured { grid-column: span 2; }
  .article-container { padding: 60px 36px; gap: 40px; }
  .article-hero { padding: 120px 36px 60px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-hamburger { display: flex; }
  .nav-top { padding: 0 24px; }
  .nexus-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 60px 24px 36px; }
  .hero-right { padding: 0 24px 56px; justify-content: flex-start; }
  .form-float { max-width: 100%; }
  .pa-hero { grid-template-columns: 1fr; min-height: auto; }
  .pa-hero-img { padding: 80px 24px 0; }
  .pa-hero-img-card { aspect-ratio: 16/9; max-width: 100%; }
  .pa-hero-img-card img { position: relative; }
  .pa-hero-text { padding: 36px 24px 48px; }
  .pa-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.07); }
  .stat-item:nth-child(4) { border-right: none; }
  .services-section, .practice-section, .why-section, .team-section, .process-section, .cta-section, .blog-container { padding: 60px 24px; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .services-grid, .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-features { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .process-grid.cols-4::before { display: none; }
  .features-strip { grid-template-columns: 1fr; }
  .feat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .feat-item:last-child { border-bottom: none; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns a { width: 100%; max-width: 320px; justify-content: center; }
  .content-wrap { grid-template-columns: 1fr; padding: 50px 24px; }
  .scope-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: span 1; display: flex; flex-direction: column; }
  .blog-card.featured .blog-card-thumb { min-height: 200px; }
  .single-wrap { grid-template-columns: 1fr; padding: 50px 24px; }
  .single-hero, .blog-hero { padding: 110px 24px 60px; }
  footer.nexus-footer { padding: 56px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .article-container { grid-template-columns: 1fr; padding: 50px 24px; }
  .article-sidebar { order: -1; }
  .article-hero { padding: 110px 24px 55px; }
  .about-vm-grid { grid-template-columns: 1fr; }
  .about-approach-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { padding: 60px 24px; }
  .contact-section { padding: 60px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 32px 24px; }
  .about-stages-grid { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 600px) {
  .nav-top { height: 60px; }
  .nav-logo img { height: 38px; }
  .nav-cta-btn { display: none; }
  .hero-left h1 { font-size: 30px; }
  .hero-left { padding: 50px 20px 28px; }
  .hero-right { padding: 0 20px 48px; }
  .form-float { padding: 28px 22px; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { width: 100%; justify-content: center; }
  .stat-num { font-size: 32px; }
  .stat-item { padding: 20px 14px; }
  .pa-hero-img { padding: 75px 20px 0; }
  .pa-hero-text { padding: 28px 20px 40px; }
  .pa-hero-text h1 { font-size: 30px; }
  .pa-stats { grid-template-columns: repeat(2, 1fr); }
  .pa-stat-num { font-size: 22px; }
  .services-grid, .team-grid { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid.cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .why-btns { flex-direction: column; }
  .why-btns a { width: 100%; justify-content: center; }
  .team-header-inner { flex-direction: column; align-items: flex-start; }
  .about-approach-grid { grid-template-columns: 1fr; }
  .about-section { padding: 48px 20px; }
  .contact-section { padding: 48px 20px; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-card { flex-direction: column; gap: 12px; }
  .article-hero { padding: 100px 20px 48px; }
  .article-container { padding: 40px 20px; }
  .article-hero h1 { font-size: 26px; }
  .post-nav-wrap { flex-direction: column; }
  .post-nav-next { justify-content: flex-start; text-align: left; }
}
@media (max-width: 380px) {
  .hero-left h1 { font-size: 26px; }
  .team-grid { grid-template-columns: 1fr; }
}
/* Make Gutenberg Quotes look exactly like 'What to do Instead' Action Blocks */
.content-wrapper blockquote,
.content-wrapper .wp-block-quote {
  background: var(--off-white); 
  border-left: 4px solid var(--gold);
  padding: 24px 32px; 
  margin: 28px 0 40px; 
  border-radius: 0 8px 8px 0;
  border-top: none; 
  border-bottom: none; 
  border-right: none; 
  clear: both;
}
.content-wrapper blockquote p,
.content-wrapper .wp-block-quote p {
  margin-bottom: 0; 
  font-size: 15px; 
  color: var(--text-mid); 
  line-height: 1.7;
}
.content-wrapper blockquote p:first-child strong,
.content-wrapper .wp-block-quote p:first-child strong,
.content-wrapper blockquote cite,
.content-wrapper .wp-block-quote cite {
  font-size: 13px; 
  font-weight: 700; 
  letter-spacing: 0.1em;
  text-transform: uppercase; 
  color: var(--navy); 
  display: block; 
  margin-bottom: 8px;
  font-style: normal;
}
/* Fix double border on dropdown menu items */
#nexusMobileMenu .menu-item-has-children { border-bottom: none !important; }
#nexusMobileMenu .menu-item-has-children > a { border-bottom: 1px solid rgba(255,255,255,0.06) !important; padding: 7px 0 !important; }

