/**
 * LifeEasy Staffing Company — Components CSS
 * Harmonized with Seaside Editorial & Life Nexus Ecosystem
 */

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(214, 231, 242, 0.95); /* Translucent Powder Blue */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7, 26, 47, 0.08);
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(7, 26, 47, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(220, 233, 242, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 26, 47, 0.08);
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header .container.header-inner,
.site-header .header-inner,
.header-inner {
  width: 100% !important;
  max-width: 1720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(0.75rem, 1.5vw, 1.75rem) !important;
  padding-right: clamp(0.75rem, 1.5vw, 1.75rem) !important;
  height: 84px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(0.35rem, 0.75vw, 1.15rem) !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Brand Logo & Heraldic Crest */
.brand-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  user-select: none;
  padding: 0.2rem 0 !important;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-link:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.brand-crest-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0 !important;
}

.brand-crest {
  width: 38px !important;
  height: 38px !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 2px 6px rgba(7, 26, 47, 0.16));
  transition: transform var(--transition-normal);
}

.brand-link:hover .brand-crest {
  transform: scale(1.06) rotate(2deg);
}

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

.brand-title {
  font-family: var(--font-display) !important;
  font-size: clamp(0.96rem, 1.05vw, 1.16rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--brand-navy) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.brand-title span {
  color: var(--brand-gold-dark) !important;
}

.brand-ecosystem {
  font-family: var(--font-heading) !important;
  font-size: 0.52rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.11em !important;
  color: var(--brand-muted) !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

/* Centered Desktop Navigation */
.nav-desktop {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  gap: clamp(0.08rem, 0.28vw, 0.42rem) !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  min-width: 0;
  height: 100%;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.22rem !important;
  padding: 0.38rem clamp(0.26rem, 0.38vw, 0.54rem) !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(0.66rem, 0.69vw, 0.72rem) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: var(--brand-navy) !important;
  border-radius: 5px !important;
  white-space: nowrap !important;
  transition: all var(--transition-fast) !important;
  position: relative !important;
  line-height: 1.2 !important;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-bright));
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-item.active > .nav-link,
.nav-item.is-open > .nav-link,
.nav-link.active {
  color: var(--brand-navy) !important;
  background-color: #ffffff !important;
  box-shadow: 0 1px 4px rgba(7, 26, 47, 0.08) !important;
  border-radius: 6px !important;
}

.nav-link:hover::after,
.nav-item.active > .nav-link::after,
.nav-item.is-open > .nav-link::after,
.nav-link.active::after {
  width: calc(100% - 0.8rem);
  height: 2.5px;
  background: var(--brand-gold);
  bottom: 0px;
}

.nav-arrow {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-item:hover .nav-arrow,
.nav-item.is-open .nav-arrow,
.nav-item:focus-within .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--brand-gold-dark);
}

/* Mega Menu Dropdowns */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 680px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-top: 3px solid var(--brand-gold);
  border-radius: 4px;
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.18s; /* Prevents menu closing on slow or diagonal cursor movement */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  z-index: 200;
}

/* Invisible hit bridge to prevent cursor dropout between header and mega-menu */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -24px;
  left: -40px;
  right: -40px;
  height: 28px;
  background: transparent;
  pointer-events: auto;
  z-index: 10;
}

.nav-item:hover .mega-menu,
.nav-item.is-open .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  transition-delay: 0s !important;
}

.mega-menu.household-menu {
  width: 780px;
  grid-template-columns: repeat(3, 1fr);
}

/* Clean, Understandable 4-Pillar Mega Menu (Image 2 Match) */
.nav-item.has-mega-menu,
.nav-item:has(.household-mega-grid) {
  position: static !important;
}

.mega-menu.household-mega-grid {
  width: min(1120px, calc(100vw - 2.5rem)) !important;
  max-width: 1120px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(8px) !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.25rem !important;
  padding: 2rem 1.75rem !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(7, 26, 47, 0.08) !important;
  border-top: 3.5px solid #C5A85C !important;
  border-radius: 6px !important;
  box-shadow: 0 25px 50px -12px rgba(7, 26, 47, 0.25) !important;
  box-sizing: border-box !important;
  z-index: 250 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mega-menu.household-mega-grid::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 28px;
  background: transparent;
  pointer-events: auto;
  z-index: 10;
}

.nav-item:hover .mega-menu.household-mega-grid,
.nav-item.is-open .mega-menu.household-mega-grid,
.nav-item:focus-within .mega-menu.household-mega-grid {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
  transition-delay: 0s !important;
}

.mega-pillar {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
}

.mega-pillar-heading {
  font-family: var(--font-heading) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: #C5A85C !important;
  padding: 0 0.5rem 0.5rem 0.5rem !important;
  border-bottom: 1px solid rgba(197, 168, 92, 0.28) !important;
  margin-bottom: 0.35rem !important;
}

.mega-item {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.75rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
  text-decoration: none;
}

.mega-item:hover {
  background-color: #F8FBFD;
  border-left-color: #C5A85C;
  transform: translateX(3px);
}

.mega-item-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 3px;
  line-height: 1.25;
  transition: color 0.15s ease;
}

.mega-item:hover .mega-item-title {
  color: #C5A85C;
}

.mega-item-desc {
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.38;
}

/* Standard Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-top: 3px solid var(--brand-gold);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.18s;
  z-index: 200;
}

/* Invisible hit bridge for standard dropdown */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  height: 25px;
  background: transparent;
  pointer-events: auto;
  z-index: 10;
}

.nav-item:hover .dropdown-menu,
.nav-item.is-open .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  transition-delay: 0s !important;
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-ink);
  border-radius: 2px;
}

.dropdown-link:hover {
  color: var(--brand-blue);
  background-color: var(--brand-ice-light);
  border-left: 2px solid var(--brand-gold);
}

/* Header Action Buttons */
.header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-shrink: 0 !important;
  gap: clamp(0.35rem, 0.5vw, 0.65rem) !important;
}

.header-actions .btn {
  white-space: nowrap !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(0.66rem, 0.68vw, 0.71rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 0.42rem clamp(0.55rem, 0.68vw, 0.88rem) !important;
  border-radius: 6px !important;
  height: 35px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all var(--transition-fast) !important;
  text-decoration: none;
  flex-shrink: 0 !important;
}

.header-actions .btn-primary {
  background: var(--brand-navy) !important;
  color: #ffffff !important;
  border: 1px solid var(--brand-navy) !important;
  box-shadow: 0 2px 8px rgba(7, 26, 47, 0.14) !important;
}

.header-actions .btn-primary:hover {
  background: var(--brand-blue-light) !important;
  border-color: var(--brand-blue-light) !important;
  box-shadow: 0 4px 14px rgba(7, 26, 47, 0.22) !important;
  transform: translateY(-1px);
}

.header-actions .btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #B89635 100%) !important;
  color: #071A2F !important;
  border: 1px solid #C5A85C !important;
  box-shadow: 0 3px 12px rgba(197, 168, 92, 0.3) !important;
  font-weight: 800 !important;
}

.header-actions .btn-gold:hover {
  background: linear-gradient(135deg, #DFBE4B 0%, #C49F3E 100%) !important;
  box-shadow: 0 6px 18px rgba(197, 168, 92, 0.42) !important;
  transform: translateY(-1px);
}

.header-actions .btn-secondary,
.header-actions .btn-outline-navy {
  background: rgba(255, 255, 255, 0.75) !important;
  color: var(--brand-navy) !important;
  border: 1px solid rgba(7, 26, 47, 0.2) !important;
  backdrop-filter: blur(8px);
}

.header-actions .btn-secondary:hover,
.header-actions .btn-outline-navy:hover {
  background: #ffffff !important;
  border-color: var(--brand-gold) !important;
  color: var(--brand-navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(7, 26, 47, 0.08);
}

.header-actions .btn-hire-staff {
  background: var(--brand-navy) !important;
  color: #ffffff !important;
  border: 1px solid var(--brand-navy) !important;
  box-shadow: 0 2px 6px rgba(7, 26, 47, 0.16) !important;
  font-weight: 700 !important;
}

.header-actions .btn-hire-staff:hover {
  background: var(--brand-blue-light) !important;
  border-color: var(--brand-blue-light) !important;
  box-shadow: 0 4px 12px rgba(7, 26, 47, 0.22) !important;
  transform: translateY(-1px);
}

.header-actions .btn-join-staff {
  background: #ffffff !important;
  color: var(--brand-navy) !important;
  border: 1px solid rgba(7, 26, 47, 0.22) !important;
  box-shadow: 0 1px 3px rgba(7, 26, 47, 0.05) !important;
  font-weight: 700 !important;
}

.header-actions .btn-join-staff:hover {
  background: #f8fbfd !important;
  border-color: var(--brand-navy) !important;
  color: var(--brand-navy) !important;
  box-shadow: 0 3px 8px rgba(7, 26, 47, 0.1) !important;
  transform: translateY(-1px);
}

.lang-selector-btn {
  height: 35px !important;
  padding: 0 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.38rem !important;
  border-radius: 9999px !important;
  border: 1px solid #CBD5E1 !important;
  background: #ffffff !important;
  backdrop-filter: blur(8px) !important;
  color: var(--brand-navy) !important;
  font-family: var(--font-heading) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
  box-shadow: 0 1px 4px rgba(7, 26, 47, 0.08) !important;
  flex-shrink: 0 !important;
}

.lang-selector-btn:hover {
  background: #ffffff !important;
  border-color: var(--brand-gold) !important;
  box-shadow: 0 2px 10px rgba(7, 26, 47, 0.08) !important;
  transform: translateY(-1px);
}

.globe-icon-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--brand-navy);
  display: inline-block;
  vertical-align: middle;
}

.chevron-icon-svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform var(--transition-fast);
  display: inline-block;
  vertical-align: middle;
}

.lang-selector-btn:hover .chevron-icon-svg {
  transform: translateY(1px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 34px;
  height: 30px;
  padding: 3px;
  z-index: 150;
  background: transparent;
  border: none;
}

.mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background: var(--brand-navy);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--brand-powder-blue);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
  overflow-y: auto;
  z-index: 140;
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--brand-border);
  padding-bottom: 1rem;
}

.drawer-close {
  font-size: 1.8rem;
  color: var(--brand-navy);
  line-height: 1;
  padding: 0.25rem 0.5rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--brand-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 47, 0.5);
  backdrop-filter: blur(4px);
  z-index: 130;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Hero Section (Powder Blue Canvas with Townhouse Pen & Ink Sketch)
   ========================================================================== */
.hero-editorial {
  position: relative;
  background-color: var(--brand-powder-blue);
  padding: var(--space-12) 0 var(--space-10) 0;
  overflow: hidden;
}

.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-8);
}

.hero-editorial-content h1 {
  color: var(--brand-navy);
  margin-bottom: var(--space-5);
  line-height: 1.12;
  letter-spacing: 0.05em;
}

.hero-editorial-content p.lead {
  color: var(--brand-muted);
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  max-width: 540px;
  line-height: 1.6;
}

.hero-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-sketch-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-sketch-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(7, 26, 47, 0.10));
}

/* ==========================================================================
   Three Floating White Feature Cards
   ========================================================================== */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.feature-white-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-top: 3px solid var(--brand-gold);
  border-radius: var(--radius-xs);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.feature-white-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-gold);
}

.feature-card-subtitle {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-gold-dark);
  margin-bottom: var(--space-2);
}

.feature-white-card h3 {
  font-size: 1.28rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  color: var(--brand-navy);
}

.feature-white-card p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--brand-muted);
}

/* ==========================================================================
   Mid-Page Panoramic Architectural Sketch Banner
   ========================================================================== */
.panorama-banner {
  padding: var(--space-10) 0 var(--space-6) 0;
  text-align: center;
  background-color: var(--brand-powder-blue);
}

.panorama-sketch-img {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(7, 26, 47, 0.06));
}

.panorama-caption {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-navy);
  margin-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--brand-border);
}

.panorama-caption svg {
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Media Partner Ribbon (Matches Image 1 As Seen & Featured On) */
.featured-media-section {
  padding-top: var(--space-8);
  text-align: center;
}

.media-logos-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 1.5rem 0;
}

.ribbon-arrow {
  font-size: 1.6rem;
  color: var(--brand-muted);
  cursor: pointer;
  user-select: none;
  padding: 0 0.5rem;
  transition: color 0.2s ease;
}

.ribbon-arrow:hover {
  color: var(--brand-navy);
}

.media-logo-item {
  padding: 0.75rem 1.75rem;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-navy);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.media-logo-item:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.partner-badges-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: var(--space-6) 0;
}

.partner-badge-pill {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  padding: 0.65rem 1.75rem;
  border-radius: 4px;
  box-shadow: var(--shadow-xs);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.partner-badge-pill:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.partner-badge-pill::before {
  content: "✦";
  color: var(--brand-gold);
  font-size: 0.7rem;
}

/* ==========================================================================
   How We Can Help You (11 Household Sketch Roles Grid — Matching Image 5)
   ========================================================================== */
.roles-sketch-section,
.household-specs-section {
  padding: 5rem 0 6rem 0;
  text-align: center;
  background-color: #DCE8EF !important;
}

.roles-sketch-grid,
.household-specs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 3.5rem;
  row-gap: 3.5rem;
  max-width: 1100px;
  margin: 4rem auto 0 auto;
  padding: 0 1.5rem;
}

.role-sketch-item {
  width: calc(33.333% - 2.5rem);
  min-width: 270px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  padding: 0.25rem 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 960px) {
  .roles-sketch-grid,
  .household-specs-grid {
    column-gap: 2.5rem;
    row-gap: 2.75rem;
  }
  .role-sketch-item {
    width: calc(50% - 2rem);
  }
}

@media (max-width: 640px) {
  .roles-sketch-grid,
  .household-specs-grid {
    row-gap: 2.25rem;
  }
  .role-sketch-item {
    width: 100%;
  }
}

.role-sketch-item:hover {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  transform: translateX(6px);
}

.role-sketch-icon {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-sketch-item:hover .role-sketch-icon {
  transform: scale(1.1);
}

.role-sketch-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(7, 26, 47, 0.08));
  display: block;
}

.role-sketch-info h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #071A2F;
  margin: 0;
  line-height: 1.28;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.role-sketch-item:hover .role-sketch-info h4 {
  color: #c5a059;
}

.role-sketch-info span {
  display: none !important; /* Image 5 has clean, bold role titles directly next to sketch */
}

.role-sketch-all-link {
  margin-top: 4.5rem;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Homepage Category Sketch Grid (Referencing Image 1 & Image 3)
   Clean icons and logos only, clickable redirecting to category hubs
   ========================================================================== */
.categories-sketch-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 3.5rem;
  row-gap: 3rem;
  max-width: 1200px;
  margin: 2.5rem auto 3.5rem auto;
  padding: 0 1.5rem;
}

.category-sketch-item {
  width: calc(33.333% - 2.5rem);
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  padding: 0.5rem 0.25rem;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.category-sketch-item:hover {
  transform: translateX(6px);
}

.category-sketch-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-sketch-item:hover .category-sketch-icon {
  transform: scale(1.1);
}

.category-sketch-icon img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(7, 26, 47, 0.08));
  display: block;
}

.category-sketch-info h3,
.category-sketch-info h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #071A2F;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.category-sketch-item:hover .category-sketch-info h3,
.category-sketch-item:hover .category-sketch-info h4 {
  color: #C5A85C;
}

.category-sketch-info .category-sketch-count {
  display: none !important; /* Image 1 specifies icons and logos/titles only without subtitle clutter */
}

@media (max-width: 960px) {
  .categories-sketch-grid {
    column-gap: 2rem;
    row-gap: 2.25rem;
  }
  .category-sketch-item {
    width: calc(50% - 1.5rem);
  }
}

@media (max-width: 640px) {
  .categories-sketch-grid {
    row-gap: 1.75rem;
  }
  .category-sketch-item {
    width: 100%;
  }
}

/* ==========================================================================
   Editorial Spotlight Section with Left & Right Standing Staff Etchings
   ========================================================================== */
.editorial-spotlight-section {
  padding: var(--space-16) 0;
  background-color: var(--brand-powder-blue);
}

.editorial-flanked-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
  align-items: center;
  gap: var(--space-8);
}

.editorial-flanker-left,
.editorial-flanker-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flanker-sketch-img {
  max-height: 400px;
  width: auto;
  filter: drop-shadow(0 10px 20px rgba(7, 26, 47, 0.08));
}

.editorial-center-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-top: 4px solid var(--brand-gold);
  border-radius: var(--radius-xs);
  padding: 3.25rem 2.75rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.editorial-center-card h3 {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: var(--space-3) 0 var(--space-4) 0;
  color: var(--brand-navy);
}

.editorial-center-card p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.editorial-center-card .crest-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: var(--brand-gold);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  border: 1px solid var(--brand-gold);
}

/* ==========================================================================
   Two Major Divisions Banner
   ========================================================================== */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.division-card {
  position: relative;
  border-radius: var(--radius-xs);
  padding: 2.75rem 2.25rem;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

.division-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.division-card.corporate-division {
  border-top: 4px solid var(--brand-navy);
}

.division-card.household-division {
  border-top: 4px solid var(--brand-gold);
}

.division-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-3);
  display: inline-block;
}

.division-card h3 {
  margin-bottom: var(--space-3);
  font-size: 1.45rem;
  text-transform: uppercase;
  color: var(--brand-navy);
}

.division-card p {
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
}

.division-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: var(--space-6);
}

.division-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--brand-ink-light);
}

.division-features svg {
  width: 16px;
  height: 16px;
  color: var(--brand-gold-dark);
  flex-shrink: 0;
}

.division-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: var(--space-4);
  border-top: 1px solid var(--brand-border-subtle);
}

/* ==========================================================================
   Corporate Services Cards
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.service-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-navy);
}

.service-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--brand-navy);
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-2);
}

.service-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
}

.service-card-body p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
  flex-grow: 1;
  color: var(--brand-muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-navy);
  margin-top: auto;
  transition: color var(--transition-fast);
}

.service-link:hover {
  color: var(--brand-gold-dark);
}

/* ==========================================================================
   Locations with Landmark Sketch Badges
   ========================================================================== */
.landmarks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem 1.5rem;
  margin-top: 3.5rem;
}

@media (max-width: 960px) {
  .landmarks-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.25rem;
  }
}

@media (max-width: 600px) {
  .landmarks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }
}

.landmark-item {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0.5rem;
  text-align: center;
  box-shadow: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.landmark-item:hover {
  transform: translateY(-4px);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.landmark-svg-wrap {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  transition: transform 0.25s ease;
}

.landmark-item:hover .landmark-svg-wrap {
  transform: scale(1.1);
  background: transparent !important;
  border: none !important;
}

.landmark-svg-wrap img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(7, 26, 47, 0.1));
}

.landmark-item h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #071A2F;
  margin: 0;
  letter-spacing: -0.01em;
}

.landmark-item span {
  font-size: 0.76rem;
  color: var(--brand-muted);
  line-height: 1.35;
  line-height: 1.3;
}

/* ==========================================================================
   Testimonials (Floating White Cards)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-top: 3px solid var(--brand-gold);
  border-radius: var(--radius-xs);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-gold);
}

.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: rgba(197, 168, 92, 0.3);
  margin-bottom: -0.5rem;
}

.testimonial-stars {
  font-size: 1.25rem;
  color: var(--brand-gold-dark);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1.75rem;
  color: var(--brand-ink);
  font-size: 0.92rem;
  line-height: 1.65;
  flex-grow: 1;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-meta {
  font-size: 0.74rem;
  color: var(--brand-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Interactive Salary Calculator
   ========================================================================== */
.calculator-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-top: 3px solid var(--brand-navy);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--space-8);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.calc-group label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.calc-input,
.calc-select {
  padding: 0.85rem 1rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xs);
  background: var(--brand-ivory);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  color: var(--brand-navy);
  font-weight: 600;
}

.calc-input:focus,
.calc-select:focus {
  outline: none;
  border-color: var(--brand-navy);
  background: var(--brand-white);
  box-shadow: 0 0 0 3px rgba(7, 26, 47, 0.1);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--brand-navy);
  width: 16px;
  height: 16px;
}

.form-check label {
  font-size: 0.78rem;
  color: var(--brand-muted);
  line-height: 1.4;
  cursor: pointer;
}

.calc-results {
  background: var(--brand-ice-light);
  border-radius: var(--radius-xs);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid var(--brand-border);
}

.take-home-hero {
  background: var(--grad-navy);
  color: var(--brand-white);
  padding: 1.5rem;
  border-radius: var(--radius-xs);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.take-home-hero span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-ice);
  display: block;
  margin-bottom: 6px;
}

.take-home-hero strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand-gold-bright);
  letter-spacing: 0.02em;
}

.calc-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.calc-breakdown-table td {
  padding: 0.55rem 0.25rem;
  border-bottom: 1px solid rgba(7, 26, 47, 0.08);
  color: var(--brand-ink-light);
}

.calc-breakdown-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--brand-navy);
}

.calc-disclaimer {
  font-size: 0.68rem;
  color: var(--brand-muted);
  line-height: 1.45;
  padding-top: 0.25rem;
}

/* ==========================================================================
   Editorial Articles & Insights
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.article-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-top: 3px solid var(--brand-gold);
  border-radius: var(--radius-xs);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-gold);
}

.article-sketch-badge {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1.25rem;
}

.article-sketch-badge img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(7, 26, 47, 0.08));
}

.article-tag {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.65rem;
}

.article-title {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.article-title a {
  color: var(--brand-navy);
}

.article-title a:hover {
  color: var(--brand-blue);
}

.article-excerpt {
  font-size: 0.85rem;
  color: var(--brand-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

/* ==========================================================================
   Pre-Footer Grand Call to Action Banner (Matches Image 1 2-Column Estate Layout)
   ========================================================================== */
.pre-footer-cta {
  padding: 6rem 0 5rem 0;
  background-color: #DCE8EF;
  position: relative;
}

.cta-floating-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .cta-floating-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.cta-floating-card {
  background: var(--brand-white);
  border: 1px solid rgba(7, 26, 47, 0.08);
  border-top: 3px solid var(--brand-gold);
  border-radius: var(--radius-xs);
  padding: 3.5rem 3rem;
  box-shadow: 0 16px 36px rgba(7, 26, 47, 0.07);
  text-align: left;
}

.cta-floating-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0.75rem 0 1rem 0;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  line-height: 1.25;
  color: #071A2F;
}

.cta-floating-desc {
  font-size: 0.95rem;
  color: var(--brand-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.cta-sketch-aside {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-sketch-aside img {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(7, 26, 47, 0.08));
}

/* ==========================================================================
   Deep Navy Footer
   ========================================================================== */
.site-footer {
  background: var(--grad-navy-dark);
  color: var(--brand-ice);
  padding: 6rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.05fr 1.05fr 1.15fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
  line-height: 1.35;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--brand-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.footer-links a {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #CBD5E1;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-gold);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(214, 232, 242, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--brand-muted);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-links a:hover {
  color: var(--brand-white);
}

/* ==========================================================================
   Semantic Helper Styles (Table, CTAs, and Footer)
   ========================================================================== */
.calc-row-total td {
  border-top: 1.5px solid rgba(7, 26, 47, 0.18) !important;
  font-weight: 700;
  color: var(--brand-navy);
}

.calc-row-employer td {
  border-top: 1.5px dashed rgba(7, 26, 47, 0.15) !important;
}

.calc-row-ctc td {
  border-top: 2px solid rgba(7, 26, 47, 0.22) !important;
}

.calc-ctc-value {
  color: var(--brand-navy) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

.section-cta-center {
  text-align: center;
  margin-top: 2.75rem;
}

.footer-brand-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  text-decoration: none !important;
  margin-bottom: 0.25rem !important;
}

.footer-brand-link .brand-crest {
  width: 36px !important;
  height: 36px !important;
}

.footer-brand-title {
  color: var(--brand-white) !important;
  font-size: 1.35rem !important;
}

.footer-ecosystem-tag {
  font-size: 0.72rem;
  color: var(--brand-gold);
  margin: 0.4rem 0 1rem 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-brand-desc {
  font-size: 0.82rem;
  color: var(--brand-ice);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-hq-info {
  font-size: 0.76rem;
  color: var(--brand-ice);
  line-height: 1.5;
}

.footer-contact-block {
  font-size: 0.8rem;
  color: var(--brand-ice);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.footer-compliance-note {
  font-size: 0.72rem;
  color: var(--brand-muted);
  line-height: 1.45;
}

.footer-partner-link {
  color: var(--brand-gold);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-partner-link:hover {
  color: var(--brand-white);
}

.drawer-brand-title {
  font-size: 1.15rem !important;
}

.drawer-footer .btn {
  width: 100%;
}

.division-badge-corporate {
  color: var(--brand-navy);
}

.division-badge-household {
  color: var(--brand-gold-dark);
}

.editorial-disclaimer {
  font-size: 0.85rem;
  color: var(--brand-muted);
  margin-bottom: 2rem;
}

.editorial-action-wrap {
  display: flex;
  justify-content: center;
}

.calc-btn-wrap {
  margin-top: 0.5rem;
}

#calc-refresh-btn {
  width: 100%;
}

/* ==========================================================================
   Luxury Form System (Candidate Applications & Employer Requisitions)
   Fixes raw/broken unstyled forms shown in Image 1 and Image 2
   ========================================================================== */

.form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid rgba(7, 26, 47, 0.08);
  box-shadow: 0 20px 45px -15px rgba(7, 26, 47, 0.08), 0 0 0 1px rgba(7, 26, 47, 0.02);
  max-width: 860px;
  margin: 2rem auto;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .form-card {
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.75rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.form-col-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #071A2F;
  margin-bottom: 0.15rem;
  display: block;
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
textarea.form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #071A2F;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 2px rgba(7, 26, 47, 0.02);
}

.form-input::placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
}

.form-input:focus,
.form-select:focus,
textarea.form-input:focus {
  border-color: #c5a059 !important;
  outline: none !important;
  box-shadow: 0 0 0 3.5px rgba(197, 160, 89, 0.22) !important;
  background-color: #ffffff;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23071A2F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.75rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form-input[type="file"] {
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  cursor: pointer;
  border: 1.5px dashed #cbd5e1;
}

.form-input[type="file"]:hover {
  border-color: #c5a059;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.75rem;
  text-align: left;
}

.form-check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #c5a059;
  margin-top: 0.15rem;
  flex-shrink: 0;
  cursor: pointer;
}

.form-check label {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  cursor: pointer;
}

/* Form Action Buttons */
.form-card button[type="submit"],
#candidate-apply-form button[type="submit"],
#employer-staffing-form button[type="submit"] {
  width: 100%;
  padding: 1.15rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #071A2F 0%, #0c2340 100%);
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(7, 26, 47, 0.15);
  margin-top: 1rem;
}

#employer-staffing-form button[type="submit"] {
  background: linear-gradient(135deg, #c5a059 0%, #a8823b 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.form-card button[type="submit"]:hover,
#candidate-apply-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #0c2340 0%, #163761 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(7, 26, 47, 0.25);
}

#employer-staffing-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #d4b168 0%, #b89146 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(197, 160, 89, 0.4);
}

/* ==========================================================================
   Jobs Filter Bar & Candidate Portal Components (Image 1 Fix)
   ========================================================================== */

.jobs-filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 2.5rem auto 3rem auto;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(7, 26, 47, 0.08);
  box-shadow: 0 10px 30px -10px rgba(7, 26, 47, 0.06);
}

.jobs-filter-bar input.jobs-search-input {
  flex: 1 1 320px;
  min-height: 48px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.75rem 1.15rem;
  font-size: 0.95rem;
  color: #071A2F;
}

.jobs-filter-bar select.calc-select {
  flex: 0 1 200px;
  min-height: 48px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: #071A2F;
  background-color: #ffffff;
}

/* ==========================================================================
   Overlay Modal System (Fixes bottom unstyled modal in Image 1)
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 26, 47, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-active,
.modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.modal-dialog {
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  margin: auto;
  display: flex;
  position: relative;
  box-sizing: border-box;
}

.modal-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(7, 26, 47, 0.3);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.modal-dialog .modal-content,
.modal-content.modal-content-lg {
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  padding: 2.25rem 2.5rem;
}

.modal.is-active .modal-content,
.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(7, 26, 47, 0.06);
  border: 1px solid rgba(7, 26, 47, 0.12);
  font-size: 1.5rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  color: #071A2F;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 30;
}

.modal-close:hover,
.modal-close:focus {
  background: #071A2F;
  color: #ffffff;
  border-color: #071A2F;
  transform: rotate(90deg) scale(1.06);
  outline: none;
}

.job-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 500;
}

@media (max-width: 768px) {
  .modal {
    padding: 0.75rem;
  }
  .modal-dialog .modal-content,
  .modal-content.modal-content-lg,
  .modal-content {
    padding: 1.5rem 1.25rem;
    max-height: 94vh;
    border-radius: 12px;
  }
  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   Bottom Quick Navigation Bar (Residences, Vetting & Safety, Locations, Careers)
   ========================================================================== */
.footer-quick-bar {
  background: #051424;
  border-top: 1px solid rgba(197, 168, 92, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
  width: 100%;
}

.footer-quick-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-quick-title {
  color: var(--brand-gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-quick-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 168, 92, 0.35);
  color: #F8F7F3;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-quick-btn:hover {
  background: var(--brand-gold);
  color: #071A2F !important;
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(197, 168, 92, 0.25);
}

@media (max-width: 768px) {
  .footer-quick-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-quick-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .footer-quick-btn {
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Ultra-Luxurious Household Staffing Detail Pages
   Editorial Heritage Styling, Roman Numerals, Vetting Seals & Key Fact Ribbons
   ========================================================================== */

/* Role Detail Hero */
.role-hero {
  background: linear-gradient(135deg, #071A2F 0%, #0B243E 60%, #061525 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.role-hero-breadcrumbs {
  font-size: 0.82rem;
  color: var(--brand-ice);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.04em;
}

.role-hero-breadcrumbs a {
  color: var(--brand-ice);
  opacity: 0.85;
}

.role-hero-breadcrumbs a:hover {
  color: var(--brand-gold);
  opacity: 1;
}

.role-hero-breadcrumbs .crumb-sep {
  color: var(--brand-gold);
  font-size: 0.75rem;
}

.role-hero-breadcrumbs .crumb-current {
  color: var(--brand-white);
  font-weight: 600;
}

.role-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.role-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  padding: 0.35rem 1.15rem 0.35rem 0.4rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.role-badge-pill .icon-medallion {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-badge-pill .icon-medallion img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.role-badge-pill span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.role-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.role-hero-lead {
  font-size: 1.15rem;
  color: #DCE8EF;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 2rem;
}

.role-hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.role-framed-img-wrap {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 10px;
  background: rgba(7, 26, 47, 0.5);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.role-framed-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.role-framed-caption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(7, 26, 47, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-gold);
}

/* Key Facts Strip */
.role-key-facts-strip {
  background: rgba(7, 26, 47, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1.5rem 0;
}

.role-key-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.role-fact-item {
  border-left: 2px solid rgba(212, 175, 55, 0.5);
  padding-left: 1.25rem;
}

.role-fact-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-gold);
  margin-bottom: 0.35rem;
}

.role-fact-val {
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.35;
}

/* Editorial Body Layout */
.role-editorial-section {
  padding: 4.5rem 0;
  background-color: var(--brand-powder-blue); /* Signature #DCE8EF */
}

.role-editorial-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.editorial-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2.75rem;
  border: 1px solid rgba(7, 26, 47, 0.08);
  box-shadow: 0 15px 35px -10px rgba(7, 26, 47, 0.04);
  margin-bottom: 2.5rem;
}

.editorial-card-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-gold-dark);
  margin-bottom: 0.5rem;
}

.editorial-card h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--brand-navy);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.editorial-divider {
  width: 48px;
  height: 2px;
  background: var(--brand-gold);
  margin: 1rem 0 1.5rem 0;
}

.luxury-pullquote {
  position: relative;
  background: rgba(220, 232, 239, 0.4);
  border-left: 4px solid var(--brand-gold);
  border-radius: 0 10px 10px 0;
  padding: 1.5rem 2rem 1.5rem 2.25rem;
  margin: 1.75rem 0;
}

.luxury-pullquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--brand-navy);
  margin: 0;
}

.luxury-pullquote::before {
  content: "“";
  position: absolute;
  top: 0.5rem;
  left: 0.6rem;
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.35);
}

/* Duty Items with Roman Medallions */
.duty-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.duty-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(7, 26, 47, 0.06);
}

.duty-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.duty-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdfbf7 0%, #f4ede1 100%);
  border: 1px solid var(--brand-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.duty-text h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.duty-text p {
  font-size: 0.92rem;
  color: var(--brand-muted);
  line-height: 1.6;
  margin: 0;
}

/* Living Arrangement Box */
.arrangements-box {
  background: #fdfbf7;
  border: 1px solid var(--brand-border-gold);
  border-radius: 10px;
  padding: 1.75rem;
  margin-top: 1.25rem;
}

.arrangements-box h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.arrangements-box p {
  font-size: 0.92rem;
  color: var(--brand-ink);
  line-height: 1.6;
  margin: 0;
}

/* Guidance Advice Box */
.guidance-box {
  background: rgba(220, 232, 239, 0.3);
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem;
  margin-top: 1rem;
}

.guidance-box p {
  font-size: 0.92rem;
  color: var(--brand-navy);
  line-height: 1.6;
  margin: 0;
}

/* Sidebar Styling */
.role-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 100px;
}

.sidebar-card-credentials {
  background: #ffffff;
  border-radius: 14px;
  border-top: 4px solid var(--brand-gold);
  border-left: 1px solid rgba(7, 26, 47, 0.08);
  border-right: 1px solid rgba(7, 26, 47, 0.08);
  border-bottom: 1px solid rgba(7, 26, 47, 0.08);
  padding: 2.25rem;
  box-shadow: 0 15px 35px -10px rgba(7, 26, 47, 0.04);
}

.sidebar-card-credentials h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand-navy);
  margin-bottom: 1.25rem;
}

.cred-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cred-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--brand-ink);
  line-height: 1.5;
}

.cred-icon {
  color: var(--brand-gold-dark);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

/* 7-Tier Vetting Seal Box */
.sidebar-vetting-seal {
  background: linear-gradient(145deg, #071A2F 0%, #0F2D4E 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 2.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 15px 35px -10px rgba(7, 26, 47, 0.25);
  position: relative;
  overflow: hidden;
}

.sidebar-vetting-seal::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.vetting-seal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.vetting-seal-header .crest-symbol {
  font-size: 1.5rem;
  color: var(--brand-gold);
}

.vetting-seal-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin: 0;
}

.sidebar-vetting-seal p {
  font-size: 0.86rem;
  color: var(--brand-ice);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.vetting-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.vetting-feature-item {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.8rem;
  color: #ffffff;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.vetting-feature-item span {
  color: var(--brand-gold);
}

/* Advisor Concierge Card */
.sidebar-advisor-card {
  background: linear-gradient(135deg, #fdfbf7 0%, #f7f1e6 100%);
  border: 1px solid var(--brand-border-gold);
  border-radius: 14px;
  padding: 2.25rem;
  box-shadow: 0 10px 25px rgba(7, 26, 47, 0.04);
}

.sidebar-advisor-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.sidebar-advisor-card p {
  font-size: 0.86rem;
  color: var(--brand-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.advisor-hotline {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
  display: block;
}

.advisor-hours {
  font-size: 0.76rem;
  color: var(--brand-muted);
  margin-bottom: 1.25rem;
  display: block;
}

/* Related Household Roles Grid */
.other-roles-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-top: 1px solid rgba(7, 26, 47, 0.08);
}

.other-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.other-role-card {
  background: var(--brand-powder-blue);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(7, 26, 47, 0.06);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.other-role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -8px rgba(7, 26, 47, 0.12);
  border-color: var(--brand-gold);
}

.other-role-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.other-role-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brand-navy);
  margin: 0;
}

.other-role-card span {
  font-size: 0.78rem;
  color: var(--brand-gold-dark);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .role-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .role-key-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .role-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .role-sidebar {
    position: static;
  }
  .other-roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .role-key-facts-grid {
    grid-template-columns: 1fr;
  }
  .other-roles-grid {
    grid-template-columns: 1fr;
  }
}



