/* ========================================================
   BVM CONSULTING – CONSULTARO DESIGN SYSTEM
   Authentic replica of Framer Consultaro Theme
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Consultaro Authentic Color Palette */
  --bg-page: #f7f7f7;
  --bg-white: #ffffff;
  --bg-dark: #161512;
  --bg-dark-card: #201f1b;
  --bg-dark-elevated: #262420;
  --bg-subtle: #f0f0f0;
  
  --text-main: #161512;
  --text-muted: #5e5d57;
  --text-faint: #8c8a80;
  --text-white: #ffffff;
  --text-white-muted: rgba(255, 255, 255, 0.72);
  --text-white-faint: rgba(255, 255, 255, 0.45);
  
  --border-light: #e8e8e8;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-dark-hover: rgba(255, 255, 255, 0.28);
  
  --accent-green: #168804;
  --accent-terracotta: #c84b26;
  
  --radius-pill: 9999px;
  --radius-card: 20px;
  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  scroll-padding-top: 90px;
  background-color: var(--bg-page);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #161512;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  z-index: 9999;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 15px;
}

/* Container Structure */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========================================================
   CONSULTARO FLOATING PILL CAPSULE NAVIGATION (Centered)
   - Always floating centered at top with round corner radius
   ======================================================== */
.site-header,
.nav-wrapper {
  position: fixed;
  top: 16px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 17, 16, 0.4) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: var(--radius-pill);
  box-shadow: 
    0 16px 42px rgba(0, 0, 0, 0.28),
    0 2px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: 
    top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  box-sizing: border-box;
  pointer-events: auto;
}

/* Scrolled State: Continues floating centered with enhanced elevation */
.site-header.scrolled,
.nav-wrapper.scrolled {
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  padding: 4px 16px;
  background: rgba(18, 17, 16, 0.4) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 
    0 20px 48px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.navbar {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px;
  box-sizing: border-box;
}

.site-header.scrolled .navbar,
.nav-wrapper.scrolled .navbar {
  max-width: 100%;
}

/* Brand Lockup: Logo on left, text in front in a single line */
.header-brand,
.brand {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  transition: transform 0.25s ease, color 0.35s ease;
}

.header-brand:hover,
.brand:hover {
  transform: translateY(-1px);
}

.brand-logo-badge,
.brand-icon-img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  object-fit: contain !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14) !important;
  display: block !important;
  flex-shrink: 0 !important;
  transition: all 0.3s ease;
}

.site-header.scrolled .brand-logo-badge,
.nav-wrapper.scrolled .brand-logo-badge {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
}

.brand-text-group {
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.15 !important;
  flex-shrink: 0 !important;
}

/* Floating Brand Text: White */
.site-header .brand-main-name,
.nav-wrapper .brand-main-name,
.brand-main-name {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  transition: color 0.35s ease, font-size 0.3s ease;
}

.site-header .brand-sub-tag,
.nav-wrapper .brand-sub-tag,
.brand-sub-tag {
  font-size: 10.5px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  letter-spacing: 0.02em !important;
  margin-top: 1px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  transition: color 0.35s ease, font-size 0.3s ease;
}

/* Scrolled Brand Text: Crisp White on Dark Glass */
.site-header.scrolled .brand-main-name,
.nav-wrapper.scrolled .brand-main-name {
  color: #ffffff !important;
  font-size: 16.5px !important;
}

.site-header.scrolled .brand-sub-tag,
.nav-wrapper.scrolled .brand-sub-tag {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 10.5px !important;
}

/* Centered Navigation Links */
.header-nav,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Floating Navigation Links: White */
.header-nav a,
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.header-nav a:hover,
.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.header-nav a.active,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-weight: 600;
  border-radius: var(--radius-pill);
}

/* Scrolled Links: Luminous White & Pill Accent on Dark Glass */
.site-header.scrolled .header-nav a,
.nav-wrapper.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.82) !important;
}

.site-header.scrolled .header-nav a:hover,
.nav-wrapper.scrolled .nav-links a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.site-header.scrolled .header-nav a.active,
.nav-wrapper.scrolled .nav-links a.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-weight: 600;
  border-radius: var(--radius-pill);
}

/* Call-to-action button */
/* Floating Navigation CTA: Orange Pill Button (Image 2 - No Glow) */
.btn-header-cta,
.nav-cta-btn {
  background: #f56539 !important;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: none !important;
  border: none;
}

.btn-header-cta:hover,
.nav-cta-btn:hover {
  background: #e05327 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.btn-arrow-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-header-cta:hover .btn-arrow-circle,
.nav-cta-btn:hover .btn-arrow-circle {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transform: translate(1px, -1px);
}

/* Scrolled CTA: Orange Pill Button (No Glow) */
.site-header.scrolled .btn-header-cta,
.nav-wrapper.scrolled .nav-cta-btn {
  background: #f56539 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.site-header.scrolled .btn-header-cta:hover,
.nav-wrapper.scrolled .nav-cta-btn:hover {
  background: #e05327 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.site-header.scrolled .btn-arrow-circle,
.nav-wrapper.scrolled .btn-arrow-circle {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

.site-header.scrolled .btn-header-cta:hover .btn-arrow-circle,
.nav-wrapper.scrolled .nav-cta-btn:hover .btn-arrow-circle {
  background: rgba(0, 0, 0, 0.16) !important;
  color: #000000 !important;
}

/* Mobile Toggle Button */
.mobile-toggle,
.menu-toggle {
  display: none;
  color: #ffffff;
  font-size: 22px;
  background: none;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 8px;
  line-height: 1;
  transition: color 0.3s ease;
}

.mobile-toggle:hover,
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .mobile-toggle,
.nav-wrapper.scrolled .menu-toggle {
  color: #ffffff !important;
}

.site-header.scrolled .mobile-toggle:hover,
.nav-wrapper.scrolled .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

/* Mobile Dropdown Menu */
.mobile-nav-panel,
.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 16px;
  right: 16px;
  background: rgba(18, 17, 16, 0.95);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px;
  flex-direction: column;
  gap: 14px;
  z-index: 1000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: all 0.3s ease;
}

.site-header.scrolled ~ .mobile-nav-panel,
.site-header.scrolled .mobile-nav-panel,
.nav-wrapper.scrolled .mobile-menu-drawer {
  background: rgba(18, 17, 16, 0.94) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
}

.mobile-nav-panel.open,
.mobile-menu-drawer:not([hidden]) {
  display: flex;
}

.mobile-nav-panel a,
.mobile-menu-drawer a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.site-header.scrolled ~ .mobile-nav-panel a,
.site-header.scrolled .mobile-nav-panel a,
.nav-wrapper.scrolled .mobile-menu-drawer a {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}


/* ========================================================
   CONSULTARO HERO SECTION (100vh Full-Bleed Atmospheric)
   ======================================================== */
.hero-consultaro {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: none;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 64px 80px 64px;
  background: #141311;
  color: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

/* Background Carousel Track */
.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.4s ease;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Slow Zoom-In Effect (Ken Burns) */
.hero-slide-img {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  will-change: transform;
}

.hero-slide.active .hero-slide-img {
  animation: heroKenBurnsZoom 6.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes heroKenBurnsZoom {
  0% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(1.08);
  }
}

/* Base atmospheric darkening */
.hero-consultaro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 13, 12, 0.35) 0%,
    rgba(14, 13, 12, 0.45) 45%,
    rgba(14, 13, 12, 0.85) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Left-Side Contrast Darkening for Text Readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 25% 65%,
    rgba(12, 11, 10, 0.72) 0%,
    rgba(12, 11, 10, 0.4) 50%,
    transparent 75%
  );
  z-index: 2;
  pointer-events: none;
}

/* Signature Consultaro Frosted Blur Mask on Bottom-Left */
.hero-consultaro::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(304deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.35) 100%);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  -webkit-mask: linear-gradient(225deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.95) 62%, #000 100%);
  mask: linear-gradient(225deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.95) 62%, #000 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 640px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  margin-bottom: 24px;
  width: fit-content;
}

.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
  display: inline-block;
  flex-shrink: 0;
}

.hero-headline {
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 640px;
}

.hero-headline .text-dim {
  color: rgba(255, 255, 255, 0.45);
}

.hero-subline {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Consultaro Pill Buttons - Primary Orange CTA (No Glow) */
.btn-pill-orange,
.hero-btn-row .btn-cta-primary {
  background: #f56539 !important;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  box-shadow: none !important;
  text-decoration: none;
}

.btn-pill-orange:hover,
.hero-btn-row .btn-cta-primary:hover {
  background: #e05327 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Secondary CTA - White Pill with Outline (As in user attachment) */
.btn-pill-white,
.btn-secondary-white {
  background: #ffffff !important;
  color: #161512 !important;
  font-size: 14.5px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  border: 1px solid #e0dfdc !important;
  box-shadow: none !important;
  text-decoration: none;
}

.btn-pill-white:hover,
.btn-secondary-white:hover {
  background: #f7f7f7 !important;
  color: #000000 !important;
  border-color: #c8c7c2 !important;
  transform: translateY(-1px);
}

/* Secondary CTA - Dark Pill (View Full Career Timeline in user attachment) */
.btn-pill-dark,
.btn-secondary-dark {
  background: #161512 !important;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
  text-decoration: none;
}

.btn-pill-dark:hover,
.btn-secondary-dark:hover {
  background: #262420 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Secondary CTA - Glass Pill (for dark backgrounds like Hero) */
.btn-pill-glass {
  background: rgba(255, 255, 255, 0.12) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: none !important;
  text-decoration: none;
}

.btn-pill-glass:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-2px);
}

/* ========================================================
   HERO PROGRESS BAR PAGINATION (Bottom-Right Floating Island)
   ======================================================== */
.hero-progress-nav {
  position: absolute;
  bottom: 48px;
  right: 64px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 10px;
  background: transparent;
  user-select: none;
  transition: all 0.3s ease;
}

.hero-progress-counter {
  display: none !important;
}

.hero-progress-bars {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-progress-seg {
  position: relative;
  width: 72px;
  height: 6px;
  background: #525255;
  border: none;
  padding: 0;
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.35s ease, transform 0.25s ease, box-shadow 0.35s ease;
  outline: none;
}

.hero-progress-seg:hover {
  background: #6a6a70;
  transform: scaleY(1.25);
}

.hero-progress-seg.active {
  background: #f56539 !important;
  box-shadow: none !important;
}

.hero-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  pointer-events: none;
}

.hero-progress-seg.completed {
  background: #525255;
}

@media (max-width: 900px) {
  .hero-progress-nav {
    bottom: 24px;
    right: 20px;
    gap: 8px;
  }
  .hero-progress-bars {
    gap: 8px;
  }
  .hero-progress-seg {
    width: 44px;
    height: 5px;
  }
}

/* ========================================================
   TRACK RECORD TICKER
   ======================================================== */
.ticker-section {
  padding: 36px 0;
  background: var(--bg-page);
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}

.ticker-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.ticker-track {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ticker-pill {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: #161512;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
}

/* ========================================================
   VALUE PROPOSITION ("You don't need more advice...")
   ======================================================== */
.value-section {
  padding: 100px 0;
  background: var(--bg-page);
}

.value-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: stretch;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.value-left h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #161512;
  margin-bottom: 20px;
}

.value-left p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.stats-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}

.stat-card-clean .num {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #161512;
  line-height: 1;
}

.stat-card-clean .label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

.quote-card-dark {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.quote-card-image {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
  flex-shrink: 0;
}

.quote-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.quote-card-dark:hover .quote-card-image img {
  transform: scale(1.03);
}

.differentiators-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.differentiator-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.diff-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.quote-box-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  margin-top: 36px;
}

.quote-box-inner p {
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12px;
}

.quote-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.quote-author span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ========================================================
   SERVICES SECTION ("Innovative solutions...")
   ======================================================== */
.services-section {
  padding: 90px 0 100px;
  background: var(--bg-page);
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-title-large {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #161512;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

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

.service-card-consultaro {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}

.service-card-consultaro:hover {
  border-color: #161512;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.service-card-consultaro h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #161512;
  margin-bottom: 14px;
}

.service-card-consultaro p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #161512;
  margin-top: 24px;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 10px;
}

/* ========================================================
   STRATEGY SECTION (SIGNATURE DARK OBSIDIAN FRAMEWORK)
   ======================================================== */
.strategy-section {
  padding: 120px 0;
  background: #161512 url('assets/consultaro-dark-section-bg.webp') no-repeat center center / cover;
  position: relative;
  color: #ffffff;
}

.strategy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 21, 18, 0.88);
  z-index: 1;
}

.strategy-section .container {
  position: relative;
  z-index: 2;
}

.strategy-section .section-kicker {
  color: rgba(255, 255, 255, 0.7);
}

.strategy-section .section-title-large {
  color: #ffffff;
}

.strategy-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.strategy-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.strategy-step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 34px 26px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #ffffff;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.strategy-step-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}

.step-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.strategy-step-card h4 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.strategy-step-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.strategy-step-card .tag-label {
  margin-top: 24px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

/* ========================================================
   CASE STUDIES SECTION
   ======================================================== */
.cases-section {
  padding: 100px 0;
  background: var(--bg-page);
}

.case-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 48px;
}

.case-img-box {
  position: relative;
  min-height: 420px;
}

.case-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-body .tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.case-body h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #161512;
  margin-bottom: 16px;
}

.case-body p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ========================================================
   ABOUT / FOUNDER SECTION
   ======================================================== */
.about-section {
  padding: 100px 0;
  background: var(--bg-page);
}

.about-card-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 48px;
}

.about-img-box {
  position: relative;
  min-height: 480px;
  background: #e8e8e8;
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-body h3 {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #161512;
  margin-bottom: 8px;
}

.about-role-sub {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ========================================================
   FAQ SECTION
   ======================================================== */
.faq-section {
  padding: 100px 0;
  background: var(--bg-page);
}

.faq-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.faq-left h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
  color: #161512;
}

.faq-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.faq-row {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faq-row[open] {
  border-color: #161512;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.faq-row summary {
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 600;
  color: #161512;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-row summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  font-size: 22px;
  font-weight: 400;
  color: #888;
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-row[open] .faq-plus {
  transform: rotate(45deg);
  color: #161512;
}

.faq-answer {
  padding: 0 26px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #555555;
  border-top: 1px solid #f0f0f0;
  padding-top: 18px;
}

/* ========================================================
   INSIGHTS / BLOG SECTION
   ======================================================== */
.insights-section {
  padding: 90px 0 110px;
  background: var(--bg-page);
}

.insights-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.insight-card-consultaro {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}

.insight-card-consultaro:hover {
  border-color: #161512;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.insight-img-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.insight-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.insight-card-consultaro:hover .insight-img-box img {
  transform: scale(1.04);
}

.insight-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.insight-card-consultaro .meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.insight-card-consultaro h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #161512;
  margin-bottom: 12px;
}

.insight-card-consultaro p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ========================================================
   SIGNATURE CONSULTARO DARK OBSIDIAN FOOTER & CTA
   ======================================================== */
.footer-consultaro {
  background: #161512;
  color: #ffffff;
  padding: 80px 0 40px;
}

.footer-cta-card {
  background: #211f1b url('assets/consultaro-footer-bg.webp') no-repeat right center / cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}

.footer-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(33, 31, 27, 0.95) 0%, rgba(33, 31, 27, 0.75) 60%, rgba(33, 31, 27, 0.4) 100%);
  z-index: 1;
}

.footer-cta-card > * {
  position: relative;
  z-index: 2;
}

.footer-cta-card h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 680px;
}

.briefing-card-dark {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 44px 40px;
  margin-bottom: 64px;
}

/* ========================================================
   UNIVERSAL FORM STYLING (LIGHT & DARK SURFACES)
   ======================================================== */
.form-row,
.form-row-c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group,
.form-group-c {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-group-c label {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #fbfbfb;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  display: block;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #161512;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 21, 18, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-group-c input,
.form-group-c select,
.form-group-c textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  display: block;
}

.form-group-c input:focus,
.form-group-c select:focus,
.form-group-c textarea:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* Footer Brand Lockup (Always Crisp White on Dark Obsidian Footer) */
footer .brand-main-name,
.footer .brand-main-name,
.footer-consultaro .brand-main-name {
  color: #ffffff !important;
}

footer .brand-sub-tag,
.footer .brand-sub-tag,
.footer-consultaro .brand-sub-tag {
  color: rgba(255, 255, 255, 0.72) !important;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-brand-sub {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-form input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}

.footer-disclaimer-text {
  padding: 32px 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-flex {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-flex a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-flex a:hover {
  color: #ffffff;
}

/* ========================================================
   SUBPAGE STYLING (About, Services, Credentials, Insights, etc.)
   ======================================================== */
.subpage-hero {
  min-height: 380px;
  padding: 160px 0 72px;
  background-color: #161512;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 17, 16, 0.72) 0%, rgba(18, 17, 16, 0.58) 50%, rgba(18, 17, 16, 0.88) 100%),
              radial-gradient(circle at 75% 35%, rgba(0, 0, 0, 0.15) 0%, rgba(18, 17, 16, 0.8) 100%);
  z-index: 1;
}

/* Contextual Page-Specific Image Banners */
.subpage-hero.hero-about {
  background-image: url('assets/banner-about.jpg?v=2');
}

.subpage-hero.hero-services {
  background-image: url('assets/banner-services.jpg?v=2');
}

.subpage-hero.hero-credentials {
  background-image: url('assets/banner-credentials.jpg?v=2');
}

.subpage-hero.hero-insights {
  background-image: url('assets/banner-insights.jpg?v=2');
}

.subpage-hero.hero-contact {
  background-image: url('assets/banner-contact.jpg?v=2');
}

.subpage-hero .container-narrow,
.subpage-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.subpage-hero h1 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
}

.subpage-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  line-height: 1.6;
}

.content-section {
  padding: 80px 0 100px;
}

.content-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 44px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.content-card h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #161512;
}

.content-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Timeline & Credentials */
.timeline-item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 36px;
  border-left: 2px solid var(--border-light);
}

.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #161512;
}

.timeline-year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.timeline-role {
  font-size: 18px;
  font-weight: 600;
  color: #161512;
  margin-bottom: 6px;
}

.timeline-company {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ========================================================
   RESPONSIVE LAYOUTS
   ======================================================== */
@media (max-width: 1100px) {
  .services-grid-4,
  .strategy-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header,
  .nav-wrapper,
  .site-header.scrolled,
  .nav-wrapper.scrolled {
    top: 8px;
    left: 14px;
    right: 14px;
    transform: none;
    width: auto;
    max-width: none;
    padding: 7px 14px;
    background: rgba(18, 17, 16, 0.90) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: var(--radius-pill) !important;
    box-shadow: 
      0 12px 32px rgba(0, 0, 0, 0.35),
      0 2px 6px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  }
  .brand-logo-badge,
  .brand-icon-img {
    width: 34px;
    height: 34px;
  }
  .brand-main-name {
    font-size: 15.5px;
  }
  .brand-sub-tag {
    font-size: 10px;
  }
  .header-nav,
  .nav-links,
  .btn-header-cta,
  .nav-cta-btn {
    display: none !important;
  }
  .mobile-toggle,
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .hero-consultaro {
    padding: 120px 24px 60px 24px;
  }
  .value-grid,
  .about-card-split,
  .case-featured-card,
  .faq-split-grid {
    grid-template-columns: 1fr;
  }
  .footer-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .form-row-c {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-grid-4,
  .strategy-grid-4,
  .stats-grid-2x2,
  .footer-grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: 36px;
  }
  .hero-btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-pill-white,
  .btn-pill-glass {
    justify-content: center;
  }
}

/* ========================================================
   SUBPAGE CARD COMPONENTS & COMPATIBILITY LAYER
   ======================================================== */
/* ========================================================
   FOUNDER SPLIT CARD (IMAGE ON LEFT, COPY ON RIGHT)
   ======================================================== */
.founder-card {
  display: grid;
  grid-template-columns: 440px 1fr;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
  padding: 0 !important;
  align-items: stretch;
}

.founder-img-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: #e8e8e8;
  overflow: hidden;
}

.founder-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-content h2,
.founder-content h3 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin: 12px 0 6px;
  line-height: 1.15;
}

.founder-role {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.founder-content p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-muted);
  margin-bottom: 16px;
}

@media (max-width: 960px) {
  .founder-card {
    grid-template-columns: 1fr;
  }
  .founder-img-box {
    min-height: 380px;
    max-height: 480px;
  }
  .founder-content {
    padding: 36px 28px;
  }
}

.practice-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  flex-shrink: 0;
}

/* Subpage Hero & Dark Atmosphere Badges (Frosted Glass Pill with Crisp White Text) */
.subpage-hero .badge-pill,
.hero-consultaro .badge-pill,
.footer-cta-card .badge-pill,
[data-theme="dark"] .badge-pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
}

.subpage-hero .badge-pill span,
.hero-consultaro .badge-pill span {
  color: #ffffff !important;
}

.subpage-hero .badge-pill .badge-dot,
.hero-consultaro .badge-pill .badge-dot {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.btn-primary {
  background: #161512;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #2a2824;
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: #161512;
  border: 1px solid var(--border-light);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: #161512;
  transform: translateY(-2px);
}

.cta-banner {
  background: linear-gradient(180deg, rgba(20, 19, 17, 0.76) 0%, rgba(20, 19, 17, 0.88) 100%),
              url('assets/consultaro-footer-bg.webp') no-repeat center center / cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin: 56px 0;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cta-banner h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto 28px;
  max-width: 580px;
  line-height: 1.6;
}

/* In-Content Newsletter Pill Form */
.newsletter-pill-bar,
.newsletter-form-pill {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  background: rgba(18, 17, 16, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 9999px !important;
  padding: 5px 6px 5px 22px !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.newsletter-pill-bar:focus-within,
.newsletter-form-pill:focus-within {
  border-color: #f56539 !important;
  box-shadow: 0 8px 28px rgba(245, 101, 57, 0.28);
}

.newsletter-pill-bar input[type="email"],
.newsletter-form-pill input[type="email"] {
  flex: 1 !important;
  min-width: 0 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 10px 14px 10px 0 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-family: inherit !important;
}

.newsletter-pill-bar input[type="email"]::placeholder,
.newsletter-form-pill input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

.newsletter-pill-bar button[type="submit"],
.newsletter-pill-bar .btn-subscribe,
.newsletter-form-pill button[type="submit"],
.newsletter-form-pill .btn-subscribe {
  background: #f56539 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 12px 28px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.newsletter-pill-bar button[type="submit"]:hover,
.newsletter-pill-bar .btn-subscribe:hover,
.newsletter-form-pill button[type="submit"]:hover,
.newsletter-form-pill .btn-subscribe:hover {
  background: #e05327 !important;
  transform: translateY(-1px);
}

.newsletter-pill-bar button[type="submit"]:active,
.newsletter-pill-bar .btn-subscribe:active,
.newsletter-form-pill button[type="submit"]:active,
.newsletter-form-pill .btn-subscribe:active {
  transform: translateY(0);
}

@media (max-width: 580px) {
  .newsletter-pill-bar,
  .newsletter-form-pill {
    flex-direction: column !important;
    border-radius: 18px !important;
    padding: 14px !important;
    gap: 12px !important;
  }
  .newsletter-pill-bar input[type="email"],
  .newsletter-form-pill input[type="email"] {
    width: 100% !important;
    padding: 8px 4px !important;
    text-align: center !important;
  }
  .newsletter-pill-bar button[type="submit"],
  .newsletter-pill-bar .btn-subscribe,
  .newsletter-form-pill button[type="submit"],
  .newsletter-form-pill .btn-subscribe {
    width: 100% !important;
    border-radius: 9999px !important;
    padding: 13px !important;
  }
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 24px;
}

.timeline-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: #161512;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.precedent-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  padding: 32px 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.models-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.model-item {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  flex: 1;
  min-width: 200px;
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-top: 16px;
}


/* Generous top margin for cards below subpage banner */
.subpage-hero + .section,
.subpage-hero + article,
.subpage-hero + div,
.subpage-hero + main section {
  padding-top: 72px !important;
}
