/* ============================================================
   Property Resolution Partners — Shared Stylesheet
   ============================================================ */

/* --- Google Fonts are loaded per-page via <link> --- */

/* ============================================================
   ANIMATION FOUNDATION
   ============================================================ */

/* Reduce motion globally if user prefers it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Scroll-reveal base state — JS adds .revealed class */
.reveal {
  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);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Stagger children inside .stagger-children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.14s; opacity: 1; transform: none; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.23s; opacity: 1; transform: none; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.32s; opacity: 1; transform: none; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.38s; opacity: 1; transform: none; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.44s; opacity: 1; transform: none; }

/* Fade-in from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.revealed { opacity: 1; transform: none; }

/* Fade-in from right */
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.revealed { opacity: 1; transform: none; }

/* Scale up reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* Gold rule animated width */
.gold-rule-animate {
  width: 0;
  transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.gold-rule-animate.revealed { width: 60px; }
.gold-rule-animate.left.revealed { width: 60px; }

/* ============================================================
   HERO ENTRANCE ANIMATIONS (CSS keyframes, no JS needed)
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
  50%       { box-shadow: 0 0 0 6px rgba(201,168,76,0.15); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes borderGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-label    { animation: slideDown 0.55s cubic-bezier(0.22,1,0.36,1) 0.1s both; }
.hero-home h1  { animation: fadeUp   0.65s cubic-bezier(0.22,1,0.36,1) 0.25s both; }
.hero-subheading { animation: fadeUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.42s both; }
.hero-cta-group  { animation: fadeUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.58s both; }
.hero-rule       { animation: fadeIn 0.8s ease 0.85s both; }

/* Page hero (shorter heroes on inner pages) */
.page-hero h1 { animation: fadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.15s both; }
.page-hero p  { animation: fadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.3s both; }
.page-hero .btn-primary,
.page-hero .btn-outline { animation: fadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.45s both; }

/* ============================================================
   NAV ANIMATIONS
   ============================================================ */

#main-nav {
  animation: slideDown 0.5s cubic-bezier(0.22,1,0.36,1) both;
}

/* Animated underline grow on nav links */
.nav-links a:not(.nav-jv-btn) {
  position: relative;
}
.nav-links a:not(.nav-jv-btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:not(.nav-jv-btn):hover::after,
.nav-links a[aria-current="page"]:not(.nav-jv-btn)::after {
  width: 100%;
}
/* Remove the static underline since we're doing it via ::after */
.nav-links a[aria-current="page"] {
  text-decoration: none;
}

/* ============================================================
   BUTTON MICRO-INTERACTIONS
   ============================================================ */

.btn-primary,
.btn-outline {
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 160%;
}

.btn-outline::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-outline:hover::after {
  left: 160%;
}

/* ============================================================
   CARD HOVER INTERACTIONS
   ============================================================ */

/* Service cards */
.service-card {
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1),
              border-top-color 0.3s ease;
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 40px rgba(11,31,58,0.12);
  border-top-color: var(--gold-dark);
}

/* Service card icon animated on card hover */
.service-card:hover .service-icon {
  animation: float 2s ease-in-out infinite;
}

/* Step cards */
.step-card {
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1),
              border-left-color 0.3s ease;
  will-change: transform;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(11,31,58,0.10);
  border-left-color: var(--gold);
}

/* Step numbers pulse on card hover */
.step-card:hover .step-number {
  color: var(--gold-dark);
  transition: color 0.3s ease;
}

/* Testimonial cards */
.testimonial-card {
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1),
              border-left-color 0.3s ease;
  will-change: transform;
}
.testimonial-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 12px 36px rgba(11,31,58,0.11);
}
.testimonial-card:hover .stars {
  letter-spacing: 4px;
  transition: letter-spacing 0.3s ease;
}

/* Value cards */
.value-card {
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(11,31,58,0.13);
}
.value-card:hover .value-icon svg {
  animation: float 1.8s ease-in-out infinite;
}
.value-card:hover h3 {
  color: var(--gold-dark);
  transition: color 0.3s ease;
}

/* Collab cards */
.collab-card {
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.collab-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(11,31,58,0.11);
}

/* Stat items */
.stat-number {
  transition: color 0.3s ease, transform 0.3s ease;
}
.stat-item:hover .stat-number {
  transform: scale(1.06);
  color: #e8c46a;
}

/* Trust bar items */
.trust-item {
  transition: color 0.25s ease;
  cursor: default;
}
.trust-item:hover {
  color: var(--gold-dark);
}

/* Check list items */
.check-list li {
  transition: transform 0.2s ease, color 0.2s ease;
}
.check-list li:hover {
  transform: translateX(4px);
  color: var(--navy);
}

/* Footer links */
.footer-links a {
  position: relative;
  padding-left: 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

/* Footer social icons */
.footer-social-icon {
  transition: border-color 0.25s ease, background 0.25s ease,
              color 0.25s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.footer-social-icon:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Contact info items */
.contact-info-item {
  transition: transform 0.2s ease;
}
.contact-info-item:hover {
  transform: translateX(4px);
}
.contact-icon {
  transition: background 0.25s ease, transform 0.25s ease;
}
.contact-info-item:hover .contact-icon {
  background: rgba(201,168,76,0.2);
  transform: scale(1.1);
}

/* Two-col list items */
.two-col-list li {
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.two-col-list li:hover {
  color: var(--navy);
  padding-left: 6px;
}

/* Address card */
.address-card {
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.address-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(11,31,58,0.18);
}

/* ============================================================
   FORM MICRO-INTERACTIONS
   ============================================================ */

.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
              background 0.25s ease, transform 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(11,31,58,0.08), 0 0 0 3px rgba(201,168,76,0.12);
  border-color: var(--gold) !important;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  animation: shake 0.4s cubic-bezier(0.36,0.07,0.19,0.97);
}

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

/* Submit button loading shimmer while valid */
button[type="submit"]:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Form success animation */
.form-success {
  animation: scaleIn 0.4s cubic-bezier(0.22,1,0.36,1) both;
}

/* ============================================================
   SECTION LABEL + HEADING DECORATIONS
   ============================================================ */

.section-label {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

/* Gold rule reveal triggers via JS .gold-rule-animate class */

/* Testimonial tag hover */
.testimonial-tag {
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  cursor: default;
}
.testimonial-tag:hover {
  background: rgba(201,168,76,0.22);
  transform: scale(1.04);
}

/* ============================================================
   INTEGRITY / HOW-WE-WORK BOX
   ============================================================ */

.how-we-work-box {
  transition: box-shadow 0.3s ease;
}
.how-we-work-box:hover {
  box-shadow: 0 8px 32px rgba(11,31,58,0.25);
}

.hw-step-num {
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), background 0.25s ease;
}
.hw-step:hover .hw-step-num {
  transform: scale(1.15);
  background: #e8c46a;
}

/* ============================================================
   PHOTO PLACEHOLDER SUBTLE ANIMATION
   ============================================================ */

.photo-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, #0e2847 100%);
  position: relative;
  overflow: hidden;
}
.photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(201,168,76,0.06) 50%, transparent 65%);
  animation: shimmer 3s linear infinite;
  background-size: 200% auto;
}

/* ============================================================
   CTA BANNER HOVER ENHANCEMENT
   ============================================================ */

.cta-banner h2 {
  transition: letter-spacing 0.3s ease;
}
.bg-navy:hover .cta-banner h2 {
  letter-spacing: 0.01em;
}

/* ============================================================
   HERO BACKGROUND SUBTLE MOTION
   ============================================================ */

.hero-home::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

/* ============================================================
   NAV MOBILE PANEL ANIMATION — handled via max-height transition
   ============================================================ */

/* ============================================================
   TRUST BAR ENTRANCE
   ============================================================ */

.trust-item {
  opacity: 0;
  animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both;
}
.trust-item:nth-child(1) { animation-delay: 0.05s; }
.trust-item:nth-child(2) { animation-delay: 0.12s; }
.trust-item:nth-child(3) { animation-delay: 0.19s; }
.trust-item:nth-child(4) { animation-delay: 0.26s; }

/* ============================================================
   SECTION DIVIDER GOLD ACCENTS
   ============================================================ */

/* Animated border-left on step card hover */
.step-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  border-radius: 0 0 0 var(--border-radius);
}
/* Note: step cards already have border-left via CSS, this adds a gold overlay on hover */
.step-card {
  position: relative;
}
.step-card:hover::before {
  transform: scaleY(1);
}


:root {
  --gold: #C9A84C;
  --gold-dark: #b3912e;
  --navy: #0B1F3A;
  --navy-mid: #122b52;
  --white: #FFFFFF;
  --off-white: #F5F5F0;
  --charcoal: #1A1A2E;
  --gray-light: #9A9A9A;
  --gray-mid: #E0E0D8;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
  --nav-height: 110px;
  --border-radius: 4px;
  --max-width: 1160px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  padding-top: var(--nav-height);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

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

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

ul {
  list-style: none;
}

/* --- Skip to content (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

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

.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 48px 0;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--gold);
}

.text-navy {
  color: var(--navy);
}

.text-white {
  color: var(--white);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 13px 32px;
  border-radius: var(--border-radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-primary-sm {
  padding: 10px 22px;
  font-size: 13px;
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */

.bg-navy    { background: var(--navy); }
.bg-white   { background: var(--white); }
.bg-offwhite{ background: var(--off-white); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.section-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--white);
}

.gold-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 32px;
  border: none;
  display: block;
}

.gold-rule.left {
  margin-left: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--navy);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 10vh;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-line1 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1.2;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a[aria-current="page"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* JV Consult pill */
.nav-jv-btn {
  border: 1.5px solid var(--gold) !important;
  border-radius: var(--border-radius) !important;
  padding: 6px 14px !important;
  color: var(--gold) !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-jv-btn:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel — hidden on desktop, animated on mobile */
.nav-mobile-panel {
  display: none; /* hidden above 768px */
}

.nav-mobile-panel a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: color 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-mobile-panel a:hover,
.nav-mobile-panel a[aria-current="page"] {
  color: var(--gold);
}

.nav-mobile-panel .nav-jv-btn-mobile {
  margin-top: 12px;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 700;
  justify-content: center;
  border-bottom: none !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px !important;
}

.nav-mobile-panel .nav-jv-btn-mobile:hover {
  background: var(--gold-dark);
}

/* ============================================================
   PAGE HEROES
   ============================================================ */

.page-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  background: var(--navy);
}

.page-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  color: var(--white);
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-hero-short {
  height: 400px;
}

.page-hero-shorter {
  height: 350px;
}

.page-hero-tall {
  height: 420px;
}

/* ============================================================
   HOME HERO
   ============================================================ */

.hero-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, var(--navy) 0%, #0e2847 40%, var(--navy-mid) 100%);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(18,43,82,0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero-home-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 2px;
}

.hero-home h1 {
  font-size: clamp(36px, 6vw, 64px);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-subheading {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-rule {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 36px auto 0;
  opacity: 0.6;
}

/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  border-top: 1px solid var(--gray-mid);
}

.trust-bar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.trust-item {
  flex: 1;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 16px;
  position: relative;
}

.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* ============================================================
   TWO-COLUMN SECTION (We Solve / Who We Are)
   ============================================================ */

.two-col {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 60px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: 45% 55%;
}

.two-col.equal {
  grid-template-columns: 1fr 1fr;
}

.two-col-text h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--navy);
  margin-bottom: 20px;
}

.two-col-text p {
  color: var(--charcoal);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Gold check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.5;
}

.check-list li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--gold);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.59l7.3-7.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.59l7.3-7.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  margin-top: 1px;
}

/* ============================================================
   STEP CARDS (How It Works)
   ============================================================ */

.steps-grid {
  display: flex;
  gap: 32px;
}

.step-card {
  flex: 1;
  background: var(--white);
  border-left: 3px solid var(--navy);
  box-shadow: var(--shadow);
  padding: 32px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.9;
}

.step-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.7;
}

/* ============================================================
   LEAD CAPTURE / FORMS
   ============================================================ */

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.form-split-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--white);
  margin-bottom: 14px;
}

.form-split-text p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.7;
}

.form-note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}

.form-note-light {
  font-size: 13px;
  color: var(--gray-light);
  margin-top: 12px;
}

/* Form elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
}

.form-group-light label {
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,31,58,0.08);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #cc3333;
}

.form-group textarea {
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A1A2E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-success {
  display: none;
  border: 2px solid var(--gold);
  border-radius: var(--border-radius);
  padding: 28px 32px;
  text-align: center;
  background: rgba(201,168,76,0.05);
}

.form-success h3 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--charcoal);
  font-size: 15px;
}

/* Light form (on white/off-white backgrounds) */
.form-light .form-group label {
  color: var(--charcoal);
}

.form-light .form-group input,
.form-light .form-group select,
.form-light .form-group textarea {
  border-color: var(--gray-mid);
}

.form-light .form-group input:focus,
.form-light .form-group select:focus,
.form-light .form-group textarea:focus {
  border-color: var(--navy);
}

/* Checkbox / Radio groups */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.checkbox-group legend {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: block;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--charcoal);
  cursor: pointer;
  min-height: 28px;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 3px;
  cursor: pointer;
  accent-color: var(--navy);
  margin: 0;
  padding: 0;
}

.radio-inline {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.radio-inline label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 400 !important;
  cursor: pointer;
}

.radio-inline input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 28px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 18px;
}

.testimonial-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 2px;
}

.testimonial-location {
  color: var(--gray-light);
  font-size: 13px;
  margin-bottom: 10px;
}

.testimonial-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: #9a7220;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 28px;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.7;
}

/* ============================================================
   COLLAB CARDS (JV Consult)
   ============================================================ */

.collab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.collab-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 24px;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.collab-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}

.collab-card p {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.7;
}

/* ============================================================
   VALUES CARDS
   ============================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  transition: box-shadow 0.2s;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.value-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.65;
}

/* ============================================================
   STAT BOX
   ============================================================ */

.stat-box {
  background: var(--navy);
  border-radius: var(--border-radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-divider {
  width: 40px;
  height: 1px;
  background: rgba(201,168,76,0.3);
  margin: 0 auto;
}

/* ============================================================
   PHOTO PLACEHOLDER
   ============================================================ */

.photo-placeholder {
  width: 100%;
  max-width: 400px;
  height: 480px;
  background: var(--navy);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

/* ============================================================
   ADDITIONAL PROBLEM LIST
   ============================================================ */

.two-col-list {
  columns: 2;
  column-gap: 48px;
}

.two-col-list li {
  break-inside: avoid;
  padding: 8px 0;
  font-size: 15px;
  color: var(--charcoal);
  border-bottom: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}

.two-col-list li::before {
  content: '—';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT INFO SECTION
   ============================================================ */

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item a,
.contact-info-item p {
  font-size: 16px;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.5;
}

.contact-info-item a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.contact-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-mid);
  margin: 24px 0;
}

/* ============================================================
   ADDRESS CARD (Contact page)
   ============================================================ */

.address-card {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: var(--border-radius);
  padding: 28px 40px;
  text-align: center;
}

.address-card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

.address-card strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  text-align: center;
  padding: 80px 24px;
}

.cta-banner h2 {
  font-size: clamp(26px, 4vw, 40px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   INTEGRITY / DISCLAIMER BOX
   ============================================================ */

.integrity-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.integrity-box p {
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 16px;
}

.integrity-sign {
  font-style: italic;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}

/* ============================================================
   HOW WE WORK BOX (JV page)
   ============================================================ */

.how-we-work-box {
  background: var(--navy);
  border-radius: var(--border-radius);
  padding: 36px;
  color: var(--white);
}

.how-we-work-box h3 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 20px;
}

.hw-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.hw-step-num {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  margin-top: 1px;
}

.hw-step p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

.hw-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin-top: 20px;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */

#main-footer {
  background: var(--navy);
  color: var(--white);
}

.footer-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 14px;
}

.footer-serving {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: var(--gold);
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.footer-social-icon:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  color: var(--gold);
}

.footer-social-icon svg {
  width: 16px;
  height: 16px;
}

.footer-gold-rule {
  width: 100%;
  height: 1px;
  background: rgba(201,168,76,0.2);
  border: none;
  margin: 0;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* Footer logo fallback */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-logo img {
  height: 114px;
  width: auto;
}

.footer-logo-fallback .nav-logo-abbr {
  font-size: 24px;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .collab-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-body > *:first-child {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */

@media (max-width: 768px) {
  .section-pad  { padding: 48px 0; }
  .section-pad-sm { padding: 32px 0; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Logo scales down on mobile */
  .nav-logo-img { height: 6vh; min-height: 44px; max-height: 60px; }
  .nav-logo-line1 { font-size: 13px; }

  /* Mobile nav panel — animated via max-height */
  .nav-mobile-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--navy);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    z-index: 999;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 24px;
    pointer-events: none;
    transition: max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.28s ease,
                padding 0.35s ease;
  }

  .nav-mobile-panel.open {
    max-height: 560px;
    opacity: 1;
    padding: 12px 24px 24px;
    pointer-events: auto;
  }

  .hero-home { min-height: 100svh; padding: 60px 24px; }
  .hero-home h1 { font-size: clamp(30px, 8vw, 46px); }
  .hero-subheading { font-size: 16px; }

  .page-hero-short  { height: auto; padding: 60px 24px; }
  .page-hero-shorter { height: auto; padding: 56px 24px; }
  .page-hero-tall   { height: auto; padding: 64px 24px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 40px); }
  .page-hero p  { font-size: 16px; }

  .trust-bar-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 16px 24px;
    gap: 12px;
  }

  .trust-item { flex: 1 1 45%; padding: 0; }
  .trust-item + .trust-item::before { display: none; }

  .two-col,
  .two-col.reverse,
  .two-col.equal {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .steps-grid { flex-direction: column; }

  .services-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .values-grid  { grid-template-columns: 1fr 1fr; }

  .collab-grid  { grid-template-columns: 1fr; }

  .form-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col-list { columns: 1; }

  .footer-body {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 32px;
  }

  .footer-body > *:first-child { grid-column: auto; }

  .cta-btn-group { flex-direction: column; align-items: center; }

  .photo-placeholder { max-width: 100%; height: 280px; font-size: 48px; }

  .stat-box { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 28px 20px; }
  .stat-item { flex: 1 1 100px; }

  .hero-cta-group { flex-direction: column; align-items: center; }

  /* Disable 3D tilt on mobile (not touch-friendly) */
  .service-card:hover,
  .value-card:hover,
  .collab-card:hover,
  .testimonial-card:hover {
    transform: translateY(-4px) !important;
  }

  /* On mobile, convert side-slide reveals to simple fade-up — less jarring in single-column */
  .reveal-left {
    transform: translateY(20px);
  }
  .reveal-right {
    transform: translateY(20px);
  }
  .reveal-left.revealed,
  .reveal-right.revealed {
    transform: none;
  }

  /* Touch active state for interactive cards */
  .service-card:active,
  .value-card:active,
  .collab-card:active,
  .testimonial-card:active,
  .step-card:active {
    transform: scale(0.97) !important;
    transition: transform 0.15s ease !important;
  }
}

/* ============================================================
   PERSPECTIVE — enables 3D tilt on card grids
   ============================================================ */

.services-grid,
.values-grid,
.collab-grid,
.testimonials-grid {
  perspective: 1400px;
}

/* ============================================================
   ADDITIONAL MICRO-POLISH
   ============================================================ */

/* Smooth underline reveal on footer bottom */
.footer-bottom p {
  transition: opacity 0.3s ease;
}

/* Gold rule left variant width target */
.gold-rule-animate.left.revealed {
  width: 60px;
}

/* Prevent layout shift from animated elements before JS runs */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  will-change: opacity, transform;
}

/* Page hero small label animation (JV Consult) */
.page-hero .section-label {
  animation: slideDown 0.5s cubic-bezier(0.22,1,0.36,1) 0.05s both;
}

/* Smooth scroll for the whole document */
html {
  scroll-behavior: smooth;
}

/* ============================================================
   MISSION BLOCK — homepage Our Mission section
   ============================================================ */

.mission-block {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.mission-label-wrap {
  margin-bottom: 16px;
}

.mission-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.2vw, 36px);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.mission-body {
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.85;
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   WHY CHOOSE US — homepage 4-card grid
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  perspective: 1400px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--border-radius);
  padding: 32px 24px 28px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 168, 76, 0.4);
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.08);
  margin: 0 auto 18px;
  transition: background 0.2s ease;
}

.why-card:hover .why-icon {
  background: rgba(201, 168, 76, 0.16);
}

.why-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 700;
}

.why-card p {
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HOW WE CAN HELP — homepage 3-column narrative cards
   ============================================================ */

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.help-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 32px 28px 36px;
  text-align: left;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
}

.help-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-top-color: #e2c06a;
  transform: translateY(-5px);
}

.help-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.help-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.35;
}

.help-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin: 0 0 12px;
}

.help-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .help-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.what-we-solve {
  margin-top: 52px;
  text-align: center;
}

.what-we-solve-headline {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 28px;
}

.solve-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 48px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 680px;
  text-align: left;
}

.solve-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.solve-checklist li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23C9A84C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/12px no-repeat;
}

@media (max-width: 600px) {
  .solve-checklist {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HOW WE CAN HELP v2 — 3-column narrative (homepage)
   ============================================================ */

.how-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  overflow: hidden;
}

.how-help-col {
  padding: 40px 36px;
  border-right: 1px solid #e2e4e8;
}

.how-help-col:last-child {
  border-right: none;
}

.how-help-col--accent {
  background: var(--navy);
}

.how-help-col--accent h3,
.how-help-col--accent p {
  color: #ffffff;
}

.how-help-col--accent h3 {
  color: #ffffff;
}

.how-help-col h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 20px;
}

.how-help-col p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.8;
  margin: 0 0 14px;
}

.how-help-col p:last-child {
  margin-bottom: 0;
}

.how-help-col--accent p {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
  .how-help-grid {
    grid-template-columns: 1fr;
  }
  .how-help-col {
    border-right: none;
    border-bottom: 1px solid #e2e4e8;
  }
  .how-help-col:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   IMPROVED COMPLEXITY CHECKBOX COMPONENT (JV Consult)
   ============================================================ */

.complexity-group {
  margin-bottom: 24px;
}

.complexity-group__legend {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.complexity-group__legend span {
  font-weight: 400;
  color: var(--gray-light);
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}

.complexity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.complexity-option {
  position: relative;
}

.complexity-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.complexity-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400 !important;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.4;
  letter-spacing: 0 !important;
  user-select: none;
  min-height: 48px;
}

.complexity-option label:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

/* Custom checkbox box */
.complexity-option label::before {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 4px;
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* Custom checkmark */
.complexity-option label::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 50%;
  transform: translateY(-55%) rotate(45deg) scale(0);
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Checked state */
.complexity-option input[type="checkbox"]:checked + label {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.15);
  color: var(--navy);
  font-weight: 500 !important;
}

.complexity-option input[type="checkbox"]:checked + label::before {
  background: var(--gold);
  border-color: var(--gold);
}

.complexity-option input[type="checkbox"]:checked + label::after {
  transform: translateY(-55%) rotate(45deg) scale(1);
}

/* Focus visible for accessibility */
.complexity-option input[type="checkbox"]:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Mobile: single column */
@media (max-width: 600px) {
  .complexity-grid {
    grid-template-columns: 1fr;
  }
}
