/* ==========================================================================
   LIFE BENEFIT GROUP - SECTION LAYOUTS (ELEMENTOR COMPATIBLE)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   1. HERO SECTION (UI/UX PRO MAX - CINEMATIC CAROUSEL WITH DIAGONAL DIFFUSION)
   -------------------------------------------------------------------------- */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 100vh;
  background: #08162B;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

@media (max-height: 720px) {
  .hero-slider {
    min-height: 480px;
  }
}

@media (max-width: 991px) {
  .hero-slider {
    height: auto;
    min-height: 640px;
    max-height: none;
  }
}

/* Ambient luminous depth */
.hero__ambient-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 73, 238, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
}

.hero__ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.65;
  animation: pulseGlow 8s ease-in-out infinite alternate;
  z-index: 0;
}

.hero__ambient-glow--coral {
  top: -10%;
  right: 5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 73, 238, 0.12) 0%, rgba(14, 165, 233, 0.05) 50%, transparent 70%);
}

.hero__ambient-glow--emerald {
  bottom: -15%;
  left: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(2, 104, 51, 0.09) 0%, rgba(0, 73, 238, 0.04) 50%, transparent 70%);
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.08); opacity: 0.8; }
}

/* Slide track & absolute slides */
.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s step-end;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s ease;
  z-index: 5;
}

/* Full-Bleed Edge-to-Edge (De Lado a Lado) Immersive Panoramic Stage */
.hero-slide__fullbleed-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-slide__fullbleed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 25%;
  transform: scale(1);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.hero-slide--active .hero-slide__fullbleed-img {
  transform: scale(1.04);
}

.hero-slide[data-slide-index="0"] .hero-slide__fullbleed-img {
  object-position: 80% 25%;
}

.hero-slide[data-slide-index="1"] .hero-slide__fullbleed-img {
  object-position: 22% 20%;
}

.hero-slide[data-slide-index="3"] .hero-slide__fullbleed-img {
  object-position: 22% 20%;
}

/* Atmospheric Scrim: Soft Daylight Preserving Scrim */
.hero-slide__atmosphere-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 20, 35, 0.08) 0%,
    transparent 55%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-slide--text-left .hero-slide__atmosphere-scrim {
  background: linear-gradient(
    90deg,
    rgba(8, 16, 32, 0.62) 0%,
    rgba(8, 16, 32, 0.44) 38%,
    rgba(8, 16, 32, 0.15) 60%,
    transparent 82%
  );
}

.hero-slide--text-right .hero-slide__atmosphere-scrim {
  background: linear-gradient(
    270deg,
    rgba(8, 16, 32, 0.62) 0%,
    rgba(8, 16, 32, 0.44) 38%,
    rgba(8, 16, 32, 0.15) 60%,
    transparent 82%
  );
}

@media (max-width: 991px) {
  .hero-slide__fullbleed-img {
    object-position: center 20%;
  }
  .hero-slide__atmosphere-scrim {
    background: linear-gradient(
      180deg,
      rgba(8, 22, 43, 0.25) 0%,
      rgba(8, 22, 43, 0.65) 50%,
      rgba(8, 22, 43, 0.85) 100%
    );
  }
}

/* ==========================================================================
   DYNAMIC 4-COLOR SYSTEM (DERIVED FROM GO LIFE LEGACY LOGO ISOTYPE)
   1. Blue (#0049EE) | 2. Gold (#D97706) | 3. Coral (#EA580C) | 4. Emerald (#059669)
   ========================================================================== */

/* 1. BLUE THEME (Slide 1 - Family Protection) */
.hero-slide--theme-blue .hero__slogan-pill {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(8, 14, 28, 0.7);
}
.hero-slide--theme-blue .hero__slogan-motto {
  color: #38BDF8;
}
.hero-slide--theme-blue .hero__title-accent {
  color: #38BDF8 !important;
  -webkit-text-fill-color: #38BDF8 !important;
  background: none !important;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}
.hero-slide--theme-blue .hero__btn-theme-cta {
  background: #007BFF;
  box-shadow: 0 8px 24px -4px rgba(0, 123, 255, 0.55);
  color: #FFFFFF !important;
}
.hero-slide--theme-blue .hero__btn-theme-cta:hover {
  background: #0056D2;
  box-shadow: 0 12px 30px -4px rgba(0, 123, 255, 0.7);
  transform: translateY(-2px);
}
.hero-slide--theme-blue .hero__float-avatar {
  border-color: #007BFF;
}

/* 2. GOLD THEME (Slide 2 - Retirement & Annuities: Radiant Luxury Gold) */
.hero-slide--theme-gold .hero__slogan-pill {
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(8, 14, 28, 0.7);
}
.hero-slide--theme-gold .hero__slogan-motto {
  color: #FACC15;
  font-weight: 800;
}
.hero-slide--theme-gold .hero__title-accent {
  color: #FACC15 !important;
  -webkit-text-fill-color: #FACC15 !important;
  background: none !important;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
}
.hero-slide--theme-gold .hero__btn-theme-cta {
  background: #EAB308;
  box-shadow: 0 8px 24px -4px rgba(234, 179, 8, 0.55);
  color: #08162B !important;
  font-weight: 800;
}
.hero-slide--theme-gold .hero__btn-theme-cta:hover {
  background: #CA8A04;
  color: #FFFFFF !important;
  box-shadow: 0 12px 30px -4px rgba(202, 138, 4, 0.7);
  transform: translateY(-2px);
}
.hero-slide--theme-gold .hero__float-avatar {
  border-color: #EAB308;
}

/* 3. CORAL / SUNSET VERMILION (Slide 3 - Mortgage Protection: Vivid Sunset) */
.hero-slide--theme-coral .hero__slogan-pill {
  border-color: rgba(251, 146, 60, 0.45);
  background: rgba(8, 14, 28, 0.7);
}
.hero-slide--theme-coral .hero__slogan-motto {
  color: #FB923C;
}
.hero-slide--theme-coral .hero__title-accent {
  color: #FB923C !important;
  -webkit-text-fill-color: #FB923C !important;
  background: none !important;
  text-shadow: 0 0 20px rgba(251, 146, 60, 0.6);
}
.hero-slide--theme-coral .hero__btn-theme-cta {
  background: #EA580C;
  box-shadow: 0 8px 24px -4px rgba(234, 88, 12, 0.55);
  color: #FFFFFF !important;
}
.hero-slide--theme-coral .hero__btn-theme-cta:hover {
  background: #C2410C;
  box-shadow: 0 12px 30px -4px rgba(234, 88, 12, 0.7);
  transform: translateY(-2px);
}
.hero-slide--theme-coral .hero__float-avatar {
  border-color: #EA580C;
}

/* 4. EMERALD / GREEN THEME (Slide 4 - IUL & Legacy) */
.hero-slide--theme-emerald .hero__slogan-pill {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(8, 14, 28, 0.7);
}
.hero-slide--theme-emerald .hero__slogan-motto {
  color: #34D399;
}
.hero-slide--theme-emerald .hero__title-accent {
  color: #34D399 !important;
  -webkit-text-fill-color: #34D399 !important;
  background: none !important;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.6);
}
.hero-slide--theme-emerald .hero__btn-theme-cta {
  background: #059669;
  box-shadow: 0 8px 24px -4px rgba(5, 150, 105, 0.55);
  color: #FFFFFF !important;
}
.hero-slide--theme-emerald .hero__btn-theme-cta:hover {
  background: #047857;
  box-shadow: 0 12px 30px -4px rgba(5, 150, 105, 0.7);
  transform: translateY(-2px);
}
.hero-slide--theme-emerald .hero__float-avatar {
  border-color: #059669;
}

/* Dynamic Themed Active Pills in Controls Bar */
.hero-slider[data-active-theme="blue"] .hero-slider__pill--active {
  background: #0049EE !important;
  border-color: #0049EE !important;
  box-shadow: 0 4px 14px rgba(0, 73, 238, 0.35) !important;
}
.hero-slider[data-active-theme="gold"] .hero-slider__pill--active {
  background: #EAB308 !important;
  border-color: #CA8A04 !important;
  color: #08162B !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.45) !important;
}
.hero-slider[data-active-theme="coral"] .hero-slider__pill--active {
  background: #EA580C !important;
  border-color: #EA580C !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35) !important;
}
.hero-slider[data-active-theme="emerald"] .hero-slider__pill--active {
  background: #059669 !important;
  border-color: #059669 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
}

/* Floating Glassmorphic Badges on the Photographic Stage */
/* Floating Badges (Hidden to match clean Proposal 3 reference) */
.hero__float-card {
  display: none !important;
}

.hero__float-card--top {
  top: clamp(84px, 12vh, 100px);
  right: clamp(16px, 3.5vw, 48px);
  padding: 0.45rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: var(--radius-full);
  animation: floatCardTop 6s ease-in-out infinite alternate;
}

.hero__float-card--advisor {
  bottom: clamp(56px, 7.5vh, 72px);
  right: clamp(16px, 4vw, 56px);
  padding: 0.45rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 290px;
  border-radius: 18px;
  animation: floatCardBottom 7s ease-in-out infinite alternate-reverse;
}

.hero__float-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.hero__float-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0049EE;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.dot-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22C55E;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

.hero__float-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.hero__float-role {
  font-size: 0.69rem;
  color: rgba(240, 245, 255, 0.8);
  line-height: 1.2;
}

/* Left Editorial Content */
.hero-slide__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-wide, 1400px);
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: clamp(86px, 12.5vh, 104px);
  padding-bottom: clamp(62px, 9vh, 78px);
  box-sizing: border-box;
}

.hero-slide__container--left {
  justify-content: flex-start;
}

.hero-slide__container--right {
  justify-content: flex-end;
}

@media (max-width: 991px) {
  .hero-slide__container {
    padding-top: clamp(75px, 11vh, 90px);
    padding-bottom: 4.5rem;
  }
  .hero-slide__container--left,
  .hero-slide__container--right {
    justify-content: center;
  }
}

/* Left Editorial Content: Option 3 Smoked Obsidian Frosted Glass Cockpit Card */
.hero-slide__content {
  max-width: 530px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.75rem 1.35rem 1.75rem;
  background: linear-gradient(135deg, rgba(16, 28, 52, 0.48) 0%, rgba(8, 16, 32, 0.58) 100%) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

@media (max-width: 991px) {
  .hero-slide__content {
    max-width: 100%;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(16, 28, 52, 0.72) 0%, rgba(8, 16, 32, 0.82) 100%) !important;
    margin-bottom: 3.5rem;
    padding: 1.25rem 1.15rem;
    border-radius: 22px;
  }
}

/* Dynamic Slogan Eyebrow Pill */
.hero__slogan-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.75rem;
  background: rgba(8, 14, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.45rem;
  transition: all var(--transition-fast);
}

.hero-slide--active .hero__slogan-pill {
  animation: heroFadeDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__slogan-motto {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-slide--theme-blue .hero__slogan-motto { color: #60A5FA; }
.hero-slide--theme-gold .hero__slogan-motto { color: #FACC15; }
.hero-slide--theme-coral .hero__slogan-motto { color: #FB923C; }
.hero-slide--theme-emerald .hero__slogan-motto { color: #34D399; }

.hero__slogan-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
}

.hero__slogan-states {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(240, 245, 255, 0.9);
}

/* Editorial Impact Headline */
.hero__title {
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-slide--active .hero__title {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero__title-line1 {
  display: block;
  font-size: 0.96em;
  font-weight: 800;
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero__title-white {
  display: inline;
  color: #FFFFFF;
}

.hero__title-accent {
  display: inline;
  font-weight: 800;
}
.hero-slide--theme-blue .hero__title-accent {
  color: #38BDF8 !important;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}
.hero-slide--theme-gold .hero__title-accent {
  color: #FACC15 !important;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
}
.hero-slide--theme-coral .hero__title-accent {
  color: #FB923C !important;
  text-shadow: 0 0 20px rgba(251, 146, 60, 0.5);
}
.hero-slide--theme-emerald .hero__title-accent {
  color: #34D399 !important;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.5);
}

.hero__description {
  display: none !important;
}

/* Option 3 Cockpit Bullets */
.hero-cockpit__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  width: 100%;
}

.hero-slide--active .hero-cockpit__bullets {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-cockpit__bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.74rem, 0.8vw, 0.82rem);
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.25;
}

.hero-cockpit__bullet-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0;
  width: 100%;
}

@media (max-width: 991px) {
  .hero__cta-group {
    justify-content: center;
  }
}

.hero-slide--active .hero__cta-group {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both;
}

.hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 1.35rem;
  font-weight: 700;
  font-size: 0.84rem;
  color: #FFFFFF;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px -4px rgba(0, 123, 255, 0.6);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.hero__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(0, 123, 255, 0.75);
}

.hero-slide--theme-blue .hero__btn-theme-cta {
  background: #007BFF;
  box-shadow: 0 8px 24px -4px rgba(0, 123, 255, 0.6);
}
.hero-slide--theme-gold .hero__btn-theme-cta {
  background: #EAB308;
  color: #08162B !important;
  box-shadow: 0 8px 24px -4px rgba(234, 179, 8, 0.6);
}
.hero-slide--theme-coral .hero__btn-theme-cta {
  background: #EA580C;
  box-shadow: 0 8px 24px -4px rgba(234, 88, 12, 0.6);
}
.hero-slide--theme-emerald .hero__btn-theme-cta {
  background: #059669;
  box-shadow: 0 8px 24px -4px rgba(5, 150, 105, 0.6);
}

.hero__btn-secondary {
  padding: 0.58rem 1.25rem;
  font-weight: 600;
  font-size: 0.84rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.hero__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Micro Trust Strip below CTAs */
.hero__micro-trust {
  display: none !important;
}

@media (max-width: 991px) {
  .hero__micro-trust {
    justify-content: center;
  }
}

.hero-slide--active .hero__micro-trust {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.hero__micro-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(240, 245, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Bottom Floating Smoked Glass Dock Capsule with 4 Animated Progress Tabs */
.hero-slider__controls-bar {
  position: absolute;
  bottom: 0.85rem;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  padding: 0;
  pointer-events: none;
}

.hero-slider__controls-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(20, 32, 50, 0.4);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full, 999px);
  padding: 0.35rem 0.6rem;
  width: fit-content;
  margin: 0 auto;
}

.hero-slider__pills-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-slider__pill {
  position: relative;
  padding: 0.48rem 1.25rem;
  border-radius: var(--radius-full, 999px);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

.hero-slider__pill[data-slide="0"] {
  background: rgba(0, 123, 255, 0.22);
  border: 1px solid rgba(0, 123, 255, 0.45);
}
.hero-slider__pill[data-slide="0"]:hover {
  background: rgba(0, 123, 255, 0.35);
  border-color: rgba(0, 123, 255, 0.7);
}
.hero-slider__pill[data-slide="0"].hero-slider__pill--active {
  background: #007BFF !important;
  border-color: #38BDF8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 24px rgba(0, 123, 255, 0.85) !important;
}

.hero-slider__pill[data-slide="1"] {
  background: rgba(234, 179, 8, 0.22);
  border: 1px solid rgba(234, 179, 8, 0.45);
}
.hero-slider__pill[data-slide="1"]:hover {
  background: rgba(234, 179, 8, 0.35);
  border-color: rgba(234, 179, 8, 0.7);
}
.hero-slider__pill[data-slide="1"].hero-slider__pill--active {
  background: #EAB308 !important;
  border-color: #FDE047 !important;
  color: #08162B !important;
  box-shadow: 0 0 24px rgba(234, 179, 8, 0.85) !important;
}

.hero-slider__pill[data-slide="2"] {
  background: rgba(234, 88, 12, 0.22);
  border: 1px solid rgba(234, 88, 12, 0.45);
}
.hero-slider__pill[data-slide="2"]:hover {
  background: rgba(234, 88, 12, 0.35);
  border-color: rgba(234, 88, 12, 0.7);
}
.hero-slider__pill[data-slide="2"].hero-slider__pill--active {
  background: #EA580C !important;
  border-color: #FB923C !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 24px rgba(234, 88, 12, 0.85) !important;
}

.hero-slider__pill[data-slide="3"] {
  background: rgba(5, 150, 105, 0.22);
  border: 1px solid rgba(5, 150, 105, 0.45);
}
.hero-slider__pill[data-slide="3"]:hover {
  background: rgba(5, 150, 105, 0.35);
  border-color: rgba(5, 150, 105, 0.7);
}
.hero-slider__pill[data-slide="3"].hero-slider__pill--active {
  background: #059669 !important;
  border-color: #34D399 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 24px rgba(5, 150, 105, 0.85) !important;
}

.hero-slider__states-chip {
  display: none !important;
}

.hero-slider__arrows {
  display: none !important;
}

@keyframes heroPillProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.hero-slider__pill-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #FFFFFF, rgba(255, 255, 255, 0.8));
  width: 0%;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  opacity: 0;
}

.hero-slider__pill--active .hero-slider__pill-progress {
  opacity: 1;
  animation: heroPillProgress 6s linear forwards;
}

.hero-slider__controls-bar:hover .hero-slider__pill--active .hero-slider__pill-progress {
  animation-play-state: paused;
}

@media (max-width: 991px) {
  .hero-slider__controls-bar {
    bottom: 0.75rem;
  }
  .hero-slider__controls-inner {
    padding: 0.3rem 0.5rem;
    gap: 0.35rem;
  }
  .hero-slider__pill {
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   MOBILE HERO: VERTICAL SPLIT & CURVED BOTTOM SHEET ARCHITECTURE (PROPOSAL 1)
   Applies exclusively on screens under 768px (iPhone / Android Smartphones)
   ========================================================================== */
@media (max-width: 767px) {
  .hero.hero-slider {
    height: auto !important;
    min-height: 100svh !important;
    background: #010B2B !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow-x: hidden !important;
    position: relative !important;
    padding: 0 !important;
  }

  .hero-slider__track {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100svh !important;
    flex: 1 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
  }

  .hero-slide {
    display: none !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 100svh !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
    overflow-x: hidden;
  }

  .hero-slide.hero-slide--active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5 !important;
  }

  /* 1. TOP PHOTO CANVAS (Unobstructed View) */
  .hero-slide__fullbleed-bg {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 38vh !important;
    min-height: 250px !important;
    max-height: 330px !important;
    overflow: hidden !important;
    z-index: 1 !important;
    flex-shrink: 0 !important;
  }

  .hero-slide__fullbleed-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: none !important;
    filter: brightness(1.02);
  }

  /* Focal point calibration for each of the 4 slides */
  .hero-slide[data-slide-index="0"] .hero-slide__fullbleed-img {
    object-position: 92% 18% !important; /* Generous breathing room on the left */
  }
  .hero-slide[data-slide-index="1"] .hero-slide__fullbleed-img {
    object-position: 25% 15% !important; /* Frames retired couple */
  }
  .hero-slide[data-slide-index="2"] .hero-slide__fullbleed-img {
    object-position: 65% 20% !important; /* Frames mortgage family */
  }
  .hero-slide[data-slide-index="3"] .hero-slide__fullbleed-img {
    object-position: 26% 12% !important; /* Perfectly frames advisors in portrait-5 */
  }

  /* Soft cinematic light gradient on photo */
  .hero-slide__atmosphere-scrim {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(1, 15, 45, 0.45) 0%, rgba(1, 15, 45, 0.05) 50%, rgba(1, 23, 87, 0.75) 100%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  /* Floating Rating/Metric Badge in the photo area */
  .hero-slide .hero__float-card--top {
    display: flex !important;
    position: absolute !important;
    top: 68px !important;
    right: 14px !important;
    left: auto !important;
    z-index: 3 !important;
    background: rgba(8, 22, 43, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    padding: 0.25rem 0.55rem !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  }

  /* Slide 0 (Familia) & Slide 2 (Hipotecaria): People are on the right side.
     Position badge on the opposite side (LEFT) so faces remain 100% visible! */
  .hero-slide[data-slide-index="0"] .hero__float-card--top,
  .hero-slide[data-slide-index="2"] .hero__float-card--top {
    left: 12px !important;
    right: auto !important;
  }

  /* Slide 0: 2-line stacked badge: Title on top line, stars + rating on bottom line ("abajito") */
  .hero-slide[data-slide-index="0"] .hero__float-card--top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.18rem !important;
    padding: 0.32rem 0.65rem !important;
    border-radius: 12px !important;
    max-width: fit-content !important;
    width: auto !important;
    box-sizing: border-box !important;
  }
  .hero__float-rating-title {
    font-size: 0.68rem !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .hero__float-rating-stars-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .hero__float-rating-stars {
    color: #F59E0B !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
  }
  .hero__float-rating-score {
    font-size: 0.62rem !important;
    color: rgba(240, 245, 255, 0.9) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  /* 2. CURVED BOTTOM SHEET CARD */
  .hero-slide__container {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-top: -24px !important; /* Seamless curve overlap */
    display: flex !important;
    flex-direction: column !important;
    flex: 1 0 auto !important;
  }

  .hero-slide__content {
    position: relative !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 28px 28px 0 0 !important;
    background: linear-gradient(180deg, #011757 0%, #010B2B 100%) !important;
    border-top: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.55) !important;
    padding: 1.35rem 1.15rem 5rem 1.15rem !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    flex: 1 0 auto !important;
  }

  .hero__slogan-pill {
    padding: 0.22rem 0.75rem !important;
    font-size: 0.7rem !important;
    margin-bottom: 0.45rem !important;
    display: inline-flex !important;
    justify-content: center !important;
  }

  .hero__slogan-states,
  .hero__slogan-sep {
    display: none !important;
  }

  .hero__title {
    font-size: clamp(1.4rem, 6vw, 1.72rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 0.55rem !important;
    text-align: center !important;
  }

  /* 2x2 Feature Tags Grid with Glassmorphism */
  .hero-cockpit__bullets {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.35rem 0.5rem !important;
    margin: 0 0 0.85rem 0 !important;
    width: 100% !important;
  }

  .hero-cockpit__bullets li {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    gap: 0.35rem !important;
    text-align: left !important;
    background: rgba(255, 255, 255, 0.06) !important;
    padding: 0.35rem 0.5rem !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    color: #FFFFFF !important;
  }

  .hero-cockpit__bullet-icon {
    width: 14px !important;
    height: 14px !important;
    background: rgba(16, 185, 129, 0.25) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
    color: #10B981 !important;
  }

  /* Full-width Stacked Action Buttons */
  .hero__cta-group {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    margin-bottom: 0 !important;
  }

  .hero__cta-group .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.72rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: var(--radius-full) !important;
  }

  /* Slider Controls Dock at Base of Sheet */
  .hero-slider__controls-bar {
    position: absolute !important;
    bottom: 0.75rem !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
    padding: 0 !important;
  }

  .hero-slider__controls-inner {
    width: calc(100% - 1.5rem) !important;
    max-width: 350px !important;
    margin: 0 auto !important;
    padding: 4px !important;
    gap: 4px !important;
  }

  .hero-slider__pills-group {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 4px !important;
  }

  .hero-slider__pill {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 6px 3px !important;
    justify-content: center !important;
    font-size: 0.7rem !important;
  }

  .hero-slider__pill-label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.66rem !important;
    display: block !important;
    text-align: center !important;
  }
}

@media (max-width: 440px) {
  .hero-slider__controls-inner {
    max-width: 320px !important;
    padding: 3px !important;
    gap: 3px !important;
  }
  .hero-slider__pill {
    padding: 5px 2px !important;
  }
  .hero-slider__pill-label {
    font-size: 0.62rem !important;
  }
}


.hero-slider__states-chip {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .hero-slider__states-chip {
    display: inline-flex;
  }
}

.hero-slider__states-val {
  font-weight: 800;
  color: #34D399;
}

.hero-slider__states-lbl {
  color: rgba(240, 245, 255, 0.8);
  font-weight: 600;
}

.hero-slider__arrows {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-slider__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

/* Animation Keyframes */
@keyframes heroFadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeScale {
  from { opacity: 0; transform: scale(0.96) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes floatCardTop {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

@keyframes floatCardBottom {
  0% { transform: translateY(0px); }
  100% { transform: translateY(7px); }
}

@keyframes floatCardMid {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(0.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__trust-badge,
  .hero__title,
  .hero__description,
  .hero__cta-group,
  .hero__metrics-ribbon,
  .hero__media,
  .hero__float-card,
  .hero__ambient-glow {
    animation: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   2. TRUST MATRIX / PILLARS
   -------------------------------------------------------------------------- */
.trust-strip {
  background-color: var(--lbg-navy-900);
  color: var(--lbg-white);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  transition: transform var(--transition-fast);
}

.trust-item:hover {
  transform: translateY(-2px);
}

.trust-item__icon {
  width: 40px;
  height: 40px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lbg-coral-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-item__icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.85;
  filter: drop-shadow(0 2px 8px rgba(249, 115, 22, 0.25));
  transition: all var(--transition-fast);
}

.trust-item:hover .trust-item__icon svg {
  transform: scale(1.08);
  color: #FB923C;
  filter: drop-shadow(0 4px 12px rgba(249, 115, 22, 0.45));
}

.trust-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lbg-white);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.trust-item__desc {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 0;
}

.trust-strip__partners-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.trust-strip__partners-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.55rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 0.88rem;
  color: rgba(240, 245, 255, 0.9);
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.trust-strip__partners-badge svg {
  color: var(--lbg-coral-400);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. SERVICES SECTION - VARIANTE 3B: WARM SAND & HORIZONTAL SPLIT-CARDS
   -------------------------------------------------------------------------- */
.services-warm-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(253, 103, 1, 0.05) 0%, transparent 65%),
              linear-gradient(180deg, #FAF8F5 0%, #F5F0E7 50%, #FAF8F4 100%);
  border-top: 1px solid rgba(217, 119, 6, 0.16);
  border-bottom: 1px solid rgba(217, 119, 6, 0.16);
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  overflow: hidden;
}

/* Subtle warm background ornamentation */
.services-warm-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.services-warm-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 103, 1, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.services-warm-section .section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.services-warm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #B45309 !important;
  background: rgba(251, 191, 36, 0.18) !important;
  border: 1px solid rgba(217, 119, 6, 0.3) !important;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.services-warm-eyebrow::before {
  content: '✦';
  font-size: 0.75rem;
  color: #D97706;
}

/* Filter Pills Bar */
.services-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.services-filter-pill {
  background: #FFFFFF;
  border: 1px solid rgba(180, 83, 9, 0.18);
  color: #4B5563;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 250ms var(--ease-spring, ease);
  outline: none;
}

.services-filter-pill:hover {
  border-color: #FD6701;
  color: #FD6701;
  background: #FFFBF7;
  transform: translateY(-1px);
}

.services-filter-pill.active {
  background: linear-gradient(135deg, #FD6701 0%, #FF771A 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(253, 103, 1, 0.35);
  transform: translateY(-1px);
}

/* ==========================================================================
   3D HORIZON BENTO CAROUSEL FOR SERVICES (OPCIÓN 2)
   ========================================================================== */
.services-horizon-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.services-horizon-stage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  min-height: 600px;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
  touch-action: pan-y pinch-zoom;
  transition: min-height 250ms ease;
}

@media (max-width: 767px) {
  .services-horizon-stage {
    min-height: 540px;
  }

  .services-horizon-card {
    border-radius: 18px;
  }

  .services-horizon-card__body {
    padding: 1.15rem 1rem !important;
  }

  .services-horizon-card__actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }

  .services-horizon-card__cta {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
  }

  .services-horizon-card__link {
    justify-content: center !important;
  }

  .services-horizon-card__features {
    grid-template-columns: 1fr !important;
    gap: 0.4rem !important;
    margin-bottom: 0.85rem !important;
  }
}

.services-horizon-card {
  position: absolute;
  top: 0.5rem;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: min(100%, 920px);
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  box-shadow: 0 16px 40px -10px rgba(180, 83, 9, 0.12);
  overflow: hidden;
  transition: opacity 350ms ease, transform 350ms cubic-bezier(0.16, 1, 0.3, 1), visibility 350ms;
  display: grid;
  grid-template-columns: 1fr;
  user-select: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(40px) scale(0.96);
}

@media (min-width: 768px) {
  .services-horizon-card {
    grid-template-columns: 44% 56%;
  }
}

@media (min-width: 1024px) {
  .services-horizon-card {
    grid-template-columns: 46% 54%;
  }
}

.services-horizon-card.pos-center {
  z-index: 10;
  transform: translateX(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  box-shadow: 0 20px 50px -10px rgba(180, 83, 9, 0.18), 0 0 0 1px rgba(253, 103, 1, 0.35);
  border-color: rgba(253, 103, 1, 0.35);
}

.services-horizon-card.pos-prev {
  z-index: 1;
  transform: translateX(-40px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.services-horizon-card.pos-next {
  z-index: 1;
  transform: translateX(40px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.services-horizon-card.pos-hidden {
  z-index: 0;
  transform: scale(0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Card Media */
.services-horizon-card__media {
  position: relative;
  min-height: 180px;
  max-height: 220px;
  background: #011757;
  overflow: hidden;
}

@media (min-width: 768px) {
  .services-horizon-card__media {
    min-height: 100%;
    max-height: none;
    height: 100%;
  }
}

.services-horizon-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 600ms ease;
}

.services-horizon-card.pos-center:hover .services-horizon-card__img {
  transform: scale(1.04);
}

.services-horizon-card__tag {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 4;
  background: rgba(1, 23, 87, 0.9);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.services-horizon-card__advisor {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(1, 23, 87, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(253, 103, 1, 0.35);
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
}

.services-horizon-card__advisor-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FD6701;
  flex-shrink: 0;
}

.services-horizon-card__advisor-info {
  display: flex;
  flex-direction: column;
}

.services-horizon-card__advisor-name {
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.services-horizon-card__advisor-role {
  color: #FBBF24;
  font-size: 0.68rem;
  font-weight: 600;
}

/* Card Body */
.services-horizon-card__body {
  padding: clamp(1.35rem, 2.2vw, 1.85rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFFFFF;
}

.services-horizon-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #B45309;
  background: #FEF3C7;
  border: 1px solid rgba(245, 158, 11, 0.32);
  padding: 0.22rem 0.7rem;
  border-radius: 9999px;
  margin-bottom: 0.45rem;
}

.services-horizon-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.22rem, 1.65vw, 1.55rem);
  font-weight: 800;
  color: #011757;
  line-height: 1.25;
  margin: 0 0 0.45rem 0;
}

.services-horizon-card__desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4B5563;
  margin-bottom: 0.75rem;
}

.services-horizon-card__highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.services-horizon-card__highlight-icon {
  font-weight: 900;
}

.services-horizon-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

@media (min-width: 600px) {
  .services-horizon-card__features {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.85rem;
  }
}

.services-horizon-card__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #1F2937;
  font-weight: 500;
}

.services-horizon-card__feature-item svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.services-horizon-card__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.services-horizon-card__cta {
  background: linear-gradient(135deg, #FD6701 0%, #FF771A 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  padding: 0.7rem 1.4rem !important;
  border-radius: 9999px !important;
  box-shadow: 0 8px 20px -3px rgba(253, 103, 1, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
  transition: transform 250ms ease, box-shadow 250ms ease !important;
}

.services-horizon-card__cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 25px -4px rgba(253, 103, 1, 0.55) !important;
  color: #FFFFFF !important;
}

.services-horizon-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #011757;
  text-decoration: none;
  transition: color 200ms ease;
}

.services-horizon-card__link:hover {
  color: #FD6701;
}

.services-horizon-card__disc {
  font-size: 0.72rem;
  line-height: 1.4;
  color: #9CA3AF;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  padding-top: 0.65rem;
}

/* Horizon Controls */
.services-horizon-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.services-horizon-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(180, 83, 9, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  color: #011757;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 250ms ease;
}

.services-horizon-arrow:hover {
  background: #FD6701;
  color: #FFFFFF;
  border-color: #FD6701;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(253, 103, 1, 0.35);
}

.services-horizon-counter {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #011757;
  letter-spacing: 0.06em;
  min-width: 70px;
  text-align: center;
}

.services-horizon-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.services-horizon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(1, 23, 87, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 300ms ease;
}

.services-horizon-dot:hover {
  background: rgba(253, 103, 1, 0.6);
}

.services-horizon-dot.active {
  width: 28px;
  border-radius: 9999px;
  background: #FD6701;
  box-shadow: 0 2px 8px rgba(253, 103, 1, 0.4);
}

/* Autoplay Progress Bar */
.services-autoplay-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.services-autoplay-bar {
  width: 150px;
  height: 4px;
  background: rgba(1, 23, 87, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.services-autoplay-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FD6701, #FF771A);
  border-radius: 9999px;
  transition: width 50ms linear;
}

.services-autoplay-hint {
  font-size: 0.72rem;
  color: #6B7280;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Horizontal Cards Stack */
.services-horizontal-stack {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: 1140px;
  margin: 0 auto;
}

/* Horizontal Card Structure */
.horizontal-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-2xl, 24px);
  border: 1px solid rgba(217, 119, 6, 0.18);
  box-shadow: 0 12px 35px -8px rgba(180, 83, 9, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: transform 400ms var(--ease-spring), box-shadow 400ms var(--ease-spring), border-color 300ms ease, opacity 350ms ease;
}

.horizontal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -10px rgba(180, 83, 9, 0.16), 0 0 0 1px rgba(253, 103, 1, 0.32);
  border-color: rgba(253, 103, 1, 0.45);
}

.horizontal-card.is-filtered-out {
  display: none !important;
}

.horizontal-card__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 992px) {
  .horizontal-card__inner {
    grid-template-columns: 46% 54%;
  }
}

/* Panoramic Left Media Container */
.horizontal-card__media {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  background: #011757;
}

@media (min-width: 992px) {
  .horizontal-card__media {
    min-height: 100%;
    height: 100%;
  }
}

.horizontal-card__media .service-card__image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.horizontal-card__media .service-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 600ms ease, transform 900ms var(--ease-spring);
}

.horizontal-card:hover .service-card__image {
  transform: scale(1.05);
}

/* Category Badge in Media */
.horizontal-card__tag-wrap {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 4;
}

.horizontal-card__tag {
  display: inline-flex;
  align-items: center;
  background: rgba(1, 23, 87, 0.85);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Media Controls for Dual View (Family / Strategy) */
.horizontal-card__media .service-card__media-controls {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  padding: 3px 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.horizontal-card__media .service-view-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: none;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 200ms ease;
}

.horizontal-card__media .service-view-btn.active {
  background: #FD6701;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(253, 103, 1, 0.5);
}

/* Right Content Body */
.horizontal-card__body {
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFFFFF;
}

.horizontal-card__header {
  margin-bottom: 0.75rem;
}

.horizontal-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #B45309;
  background: #FEF3C7;
  border: 1px solid rgba(245, 158, 11, 0.32);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
}

.horizontal-card__title {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  font-weight: 800;
  color: #011757;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
}

.horizontal-card__desc {
  font-size: 0.9375rem;
  line-height: 1.62;
  color: #4B5563;
  margin-bottom: 1.35rem;
}

/* 2-Column Features Grid */
.horizontal-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.65rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 600px) {
  .horizontal-card__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 1.25rem;
  }
}

.horizontal-card__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #1F2937;
  font-weight: 500;
}

.horizontal-card__feature-item svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Action Area */
.horizontal-card__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.horizontal-card__cta {
  background: linear-gradient(135deg, #FD6701 0%, #FF771A 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 8px 20px -3px rgba(253, 103, 1, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
  transition: transform 250ms var(--ease-spring), box-shadow 250ms ease !important;
}

.horizontal-card__cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 25px -4px rgba(253, 103, 1, 0.55) !important;
  color: #FFFFFF !important;
}

.horizontal-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #011757;
  text-decoration: none;
  transition: all 200ms ease;
}

.horizontal-card__link svg {
  transition: transform 200ms ease;
}

.horizontal-card__link:hover {
  color: #FD6701;
}

.horizontal-card__link:hover svg {
  transform: translateX(4px);
}

/* Compliance Disclaimer */
.horizontal-card__disc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #9CA3AF;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  padding-top: 0.75rem;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   4. LATINO COMMUNITY & AMERICAN FAMILIES
   -------------------------------------------------------------------------- */
.community-banner {
  background: linear-gradient(135deg, var(--lbg-navy-950) 0%, var(--lbg-navy-850) 100%);
  border-radius: var(--radius-2xl);
  color: var(--lbg-white);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-2xl);
}

.community-banner__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 992px) {
  .community-banner__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.community-banner__content {
  padding: clamp(2rem, 5vw, 4.5rem);
}

.community-banner__title {
  color: var(--lbg-white);
  margin-bottom: 1.25rem;
}

.community-banner__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 1.75rem;
}

.community-banner__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .community-banner__pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

.community-pillar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lbg-white);
}

.community-pillar svg {
  color: var(--lbg-green-400);
}

.community-banner__media {
  position: relative;
  height: 100%;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.community-composition {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.community-composition__main {
  width: 86%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
  background: var(--lbg-navy-950);
}

.community-composition__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-spring);
}

.community-banner:hover .community-composition__main img {
  transform: scale(1.05);
}

/* Secondary Vertical Portrait Card (3:4 ratio) */
.community-composition__secondary {
  position: absolute;
  bottom: -2rem;
  right: -0.75rem;
  width: 52%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.2);
  border: 3px solid var(--lbg-navy-950);
  z-index: 2;
  animation: floatSlow 7s ease-in-out infinite;
  background: var(--lbg-navy-950);
}

.community-composition__secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-spring);
}

.community-banner:hover .community-composition__secondary img {
  transform: scale(1.06);
}

.community-composition__badge {
  position: absolute;
  top: -2.5rem;
  right: 1.5rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--lbg-navy-900);
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.9);
  animation: floatSlow 6s ease-in-out infinite 1s;
}

.community-composition__badge .badge-icon {
  width: 24px;
  height: 24px;
  background: var(--lbg-coral-50);
  color: var(--lbg-coral-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Precise Single-Viewport Framing for Section 5 (No Scroll Overflow & No Giant Gaps) */
.section-community {
  min-height: auto;
  display: block;
  padding: 2.75rem 0;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .section-community {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 3vh, 2.25rem) 0;
  }
}

.section-community .lbg-container {
  width: 100%;
}

.section-community .community-banner {
  background: linear-gradient(135deg, var(--lbg-navy-950) 0%, var(--lbg-navy-900) 50%, var(--lbg-navy-850) 100%);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 60px -15px rgba(8, 22, 43, 0.35);
  overflow: visible; /* Allows badges to pop naturally */
  position: relative;
}

.section-community .community-banner__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.section-community .community-banner__content {
  padding: 1.5rem 1.25rem;
}

.section-community .community-banner__title {
  font-size: clamp(1.4rem, 2.15vw, 2.15rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--lbg-white);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-community .community-banner__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: 1.25rem;
  max-width: 600px;
}

.section-community .community-banner__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
  .section-community .community-banner__pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 0.85rem;
  }
}

.section-community .community-pillar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--lbg-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-community .community-pillar svg {
  width: 16px;
  height: 16px;
  color: var(--lbg-green-400);
  flex-shrink: 0;
}

.section-community .community-banner__content .btn {
  padding: 0.75rem 1.65rem;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .section-community .community-banner__content .btn {
    width: 100%;
    justify-content: center;
  }
}

.section-community .community-banner__media {
  min-height: 280px;
  padding: 1.5rem 1rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-community .community-composition {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.section-community .community-composition__main {
  width: 86%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.section-community .community-composition__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-community .community-composition__secondary {
  width: 52%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 50px -8px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.25);
  border: 3px solid var(--lbg-navy-950);
  position: absolute;
  bottom: -1.25rem;
  right: -0.75rem;
  z-index: 2;
}

.section-community .community-composition__secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-community .community-composition__badge {
  position: absolute;
  top: -1.75rem;
  right: 0.5rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lbg-navy-900);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

@media (min-width: 992px) {
  .section-community .community-banner__grid {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 1rem;
  }

  .section-community .community-banner__content {
    padding: clamp(2rem, 3.2vw, 2.75rem) clamp(2rem, 3.2vw, 3rem);
  }

  .section-community .community-banner__media {
    min-height: 360px;
    padding: 1.5rem 1.5rem 1.5rem 0.5rem;
  }

  .section-community .community-composition__badge {
    top: -2.65rem;
    right: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   5. NUESTRO COMPROMISO / WHY US (EDITORIAL MASTER SHOWCASE - BORDERLESS)
   -------------------------------------------------------------------------- */
.commitment-showcase {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Dynamic Live Metrics Ribbon */
.metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(8, 22, 43, 0.03) 0%, rgba(22, 101, 52, 0.04) 100%);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(8, 22, 43, 0.06);
}

@media (min-width: 900px) {
  .metrics-ribbon {
    grid-template-columns: repeat(4, 1fr);
    padding: 2.25rem 3rem;
  }
}

.metric-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.metric-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(15, 23, 42, 0.08);
  display: none;
}

@media (min-width: 900px) {
  .metric-stat:not(:last-child)::after {
    display: block;
  }
}

.metric-stat__val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--lbg-navy-900) 0%, var(--lbg-green-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.metric-stat__lbl {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lbg-navy-900);
  margin-bottom: 0.25rem;
}

.metric-stat__sub {
  font-size: 0.775rem;
  color: var(--lbg-text-muted);
}

/* Borderless Clean Commitment Pillars */
.commitment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .commitment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .commitment-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

.commitment-pillar-clean {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-2xl);
  background: transparent;
  transition: all 400ms var(--ease-spring);
  position: relative;
}

.commitment-pillar-clean:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px -15px rgba(8, 22, 43, 0.08);
  transform: translateY(-5px);
}

.commitment-pillar-clean__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 400ms var(--ease-spring);
}

.commitment-pillar-clean:hover .commitment-pillar-clean__icon-wrap {
  transform: scale(1.1) rotate(4deg);
}

.icon-wrap--green {
  background: var(--lbg-green-50);
  color: var(--lbg-green-600);
}

.icon-wrap--coral {
  background: var(--lbg-coral-50);
  color: var(--lbg-coral-600);
}

.icon-wrap--navy {
  background: var(--lbg-blue-50);
  color: var(--lbg-blue-600);
}

.icon-wrap--amber {
  background: var(--lbg-amber-50);
  color: var(--lbg-amber-600);
}

.commitment-pillar-clean__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lbg-navy-900);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.commitment-pillar-clean__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--lbg-text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.commitment-pillar-clean__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--lbg-green-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   6. FREE CONSULTATION SECTION (CALIBRATED SINGLE-VIEWPORT SHOWCASE)
   -------------------------------------------------------------------------- */
.section-consultation {
  min-height: auto;
  display: block;
  padding: 2.75rem 0;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .section-consultation {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 2.5vh, 1.75rem) 0;
  }
}

.section-consultation .lbg-container {
  width: 100%;
}

.consultation-showcase {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFD 55%, #EDF4FC 100%);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(8, 22, 43, 0.08), 0 1px 3px rgba(8, 22, 43, 0.03);
  border: none;
  width: 100%;
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.consultation-info {
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.consultation-info .section-eyebrow {
  margin-bottom: 0.85rem;
}

.consultation-info h2 {
  font-size: clamp(1.85rem, 2.5vw, 2.45rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--lbg-navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.consultation-info p {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--lbg-text-secondary);
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.consultation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin: 0 0 1.85rem 0;
}

.consultation-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.925rem;
  color: var(--lbg-text-secondary);
  line-height: 1.5;
}

.consultation-item__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lbg-green-50);
  color: var(--lbg-green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.consultation-info .btn {
  padding: 0.9rem 2.15rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.consultation-media {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-media__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(8, 22, 43, 0.16);
  border: none;
}

.consultation-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  min-height: 380px;
  transition: transform 800ms var(--ease-spring);
}

.consultation-showcase:hover .consultation-media__frame img {
  transform: scale(1.04);
}

.consultation-media__badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  animation: floatSlow 6s ease-in-out infinite;
}

@media (min-width: 992px) {
  .consultation-showcase {
    min-height: calc(100vh - 92px - clamp(2rem, 5vh, 3.5rem));
    display: flex;
  }

  .consultation-grid {
    grid-template-columns: 1.14fr 0.86fr;
    align-items: stretch;
    width: 100%;
    min-height: 100%;
  }

  .consultation-info {
    padding: clamp(2.25rem, 3.2vw, 3.25rem) clamp(2.5rem, 3.6vw, 3.75rem);
    justify-content: center;
  }

  .consultation-media {
    padding: 1.5rem;
    min-height: auto;
    height: 100%;
  }

  .consultation-media__frame {
    height: 100%;
    min-height: 100%;
  }

  .consultation-media__frame img {
    height: 100%;
    min-height: 100%;
  }
}

@media (max-width: 640px) {
  .consultation-info {
    padding: 1.5rem 1.15rem;
  }

  .consultation-info .btn {
    width: 100%;
    justify-content: center;
  }

  .consultation-media {
    padding: 1rem;
    min-height: 240px;
  }

  .consultation-media__frame img {
    min-height: 240px;
  }

  .consultation-media__badge {
    bottom: 1rem;
    left: 1rem;
    padding: 0.5rem 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   8. LEAD FORM SECTION (CALIBRATED SINGLE-VIEWPORT FRAMING)
   -------------------------------------------------------------------------- */
.section-lead-form {
  min-height: auto;
  display: block;
  padding: 2.75rem 0;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .section-lead-form {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 2vh, 1.5rem) 0;
  }
}

.section-lead-form .lbg-container {
  width: 100%;
}

.section-lead-form .section-header {
  text-align: center;
  margin-bottom: clamp(0.75rem, 1.6vh, 1.25rem);
}

.section-lead-form .section-header .section-eyebrow {
  margin-bottom: 0.35rem;
}

.section-lead-form .section-header h2 {
  font-size: clamp(1.75rem, 2.3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--lbg-navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.section-lead-form .section-header .section-subtitle {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--lbg-text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

.section-lead-form .lead-form-card {
  padding: clamp(1.25rem, 2vw, 1.65rem) clamp(1.5rem, 2.5vw, 2.25rem);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-double-bezel);
  border: 1px solid rgba(8, 22, 43, 0.08);
  background: var(--lbg-white);
  max-width: 760px;
  margin: 0 auto;
}

.section-lead-form .form-progress {
  margin-bottom: 1rem;
}

.section-lead-form .form-progress__meta {
  margin-bottom: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.section-lead-form .form-step__title {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 800;
  color: var(--lbg-navy-900);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.section-lead-form .form-step__subtitle {
  font-size: 0.875rem;
  color: var(--lbg-text-muted);
  margin-bottom: 1rem;
}

/* Two-column rows */
.form-fields-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-row--2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .form-row--2col {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}

.section-lead-form .form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.section-lead-form .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lbg-navy-900);
}

.section-lead-form .form-input,
.section-lead-form .form-select {
  height: 46px;
  padding: 0 1rem;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
}

.section-lead-form .choices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .section-lead-form .choices-grid--2col {
    grid-template-columns: 1fr 1fr;
  }

  .section-lead-form .choices-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section-lead-form .choice-option {
  padding: 0.65rem 0.9rem;
  min-height: 44px;
  border-radius: var(--radius-md);
}

.section-lead-form .choice-option input[type="radio"],
.section-lead-form .choice-option input[type="checkbox"] {
  margin-right: 0.65rem;
  width: 16px;
  height: 16px;
}

.section-lead-form .choice-option__label {
  font-size: 0.875rem;
  font-weight: 600;
}

.section-lead-form .consent-group {
  margin-top: 0.85rem;
  gap: 0.65rem;
  font-size: 0.72rem;
  line-height: 1.45;
}

.section-lead-form .form-actions {
  margin-top: 1rem;
  padding-top: 0.85rem;
  gap: 0.85rem;
}

.section-lead-form .form-actions .btn {
  padding: 0.75rem 1.65rem;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .section-lead-form .lead-form-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-xl);
  }

  .section-lead-form .form-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .section-lead-form .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section-lead-form .choices-grid--3col {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   7. ADVISORS / TEAM SECTION (CLEAN EXECUTIVE 3-COLUMN EDITORIAL)
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.team-card-clean {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 400ms var(--ease-spring);
  position: relative;
}

.team-card-clean:hover {
  transform: translateY(-6px);
}

.team-card-clean__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--lbg-navy-950);
  box-shadow: 0 16px 36px -10px rgba(8, 22, 43, 0.12);
  border: none;
}

.team-card-clean__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 750ms var(--ease-spring);
}

.team-card-clean:hover .team-card-clean__media img {
  transform: scale(1.05);
}

.team-card-clean__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 13, 26, 0.88) 0%, rgba(4, 13, 26, 0.3) 40%, transparent 65%);
  pointer-events: none;
}

.team-card-clean__floating-role {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(8, 22, 43, 0.75);
  backdrop-filter: blur(10px);
  color: #F8FAFC;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.team-card-clean__photo-footer {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2;
}

.team-card-clean__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lbg-white);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.team-card-clean__creds {
  font-size: 0.78rem;
  color: #CBD5E1;
  font-weight: 500;
}

.team-card-clean__body {
  padding: 1.25rem 0.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-card-clean__text {
  font-size: 0.92rem;
  color: var(--lbg-text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.team-card-clean__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.team-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(8, 22, 43, 0.04);
  color: var(--lbg-navy-900);
}

.team-chip--green {
  background: var(--lbg-green-50);
  color: var(--lbg-green-700);
}

/* --------------------------------------------------------------------------
   8. HOW IT WORKS SEQUENCE (CONNECTED HORIZONTAL TIMELINE - BORDERLESS)
   -------------------------------------------------------------------------- */
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .timeline-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .timeline-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
  }

  .timeline-track::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 4%;
    right: 4%;
    height: 3px;
    background: linear-gradient(90deg, rgba(22, 163, 74, 0.15) 0%, rgba(22, 163, 74, 0.75) 50%, rgba(14, 165, 233, 0.5) 100%);
    background-size: 200% 100%;
    border-radius: 999px;
    animation: timelineFlow 4s linear infinite;
    z-index: 0;
  }
}

@keyframes timelineFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.timeline-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: var(--lbg-white);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(8, 22, 43, 0.08);
  box-shadow: 0 10px 28px -8px rgba(8, 22, 43, 0.06);
  overflow: hidden;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 380ms cubic-bezier(0.16, 1, 0.3, 1), border-color 380ms ease;
}

.timeline-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px -10px rgba(8, 22, 43, 0.15), 0 0 0 1.5px rgba(22, 163, 74, 0.3);
  border-color: rgba(22, 163, 74, 0.35);
}

.timeline-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: var(--lbg-navy-900);
}

.timeline-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 600ms ease;
}

.timeline-card:hover .timeline-card__img {
  transform: scale(1.08);
  filter: brightness(1.03);
}

.timeline-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 43, 0.25) 0%, rgba(8, 22, 43, 0) 45%, rgba(8, 22, 43, 0.45) 100%);
  pointer-events: none;
}

.timeline-card__badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.timeline-card__num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lbg-navy-900) 0%, var(--lbg-green-700) 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  transition: transform 380ms var(--ease-spring), background 380ms ease;
}

.timeline-card:hover .timeline-card__num {
  transform: scale(1.12) rotate(-6deg);
  background: linear-gradient(135deg, var(--lbg-green-600) 0%, var(--lbg-green-800) 100%);
}

.timeline-card__tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(8, 22, 43, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.timeline-card__body {
  padding: 1.25rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.timeline-card__title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--lbg-navy-900);
  margin-bottom: 0.45rem;
  line-height: 1.32;
  transition: color 300ms ease;
}

.timeline-card:hover .timeline-card__title {
  color: var(--lbg-green-700);
}

.timeline-card__desc {
  font-size: 0.86rem;
  color: var(--lbg-text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.timeline-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(8, 22, 43, 0.06);
  margin-top: auto;
}

.timeline-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--lbg-navy-900);
  background: var(--lbg-neutral-100);
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 300ms ease, color 300ms ease;
}

.timeline-card__pill i {
  color: var(--lbg-green-600);
  font-size: 0.72rem;
}

.timeline-card__pill--success {
  background: rgba(22, 163, 74, 0.12);
  color: var(--lbg-green-800);
}

.timeline-card:hover .timeline-card__pill {
  background: rgba(22, 163, 74, 0.12);
  color: var(--lbg-green-800);
}

.timeline-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(8, 22, 43, 0.05);
  color: var(--lbg-navy-900);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 300ms var(--ease-spring), background 300ms ease, color 300ms ease;
}

.timeline-card:hover .timeline-card__arrow {
  transform: translateX(4px);
  background: var(--lbg-green-600);
  color: #ffffff;
}

.timeline-card:hover .timeline-card__arrow--check {
  transform: scale(1.1);
  background: var(--lbg-green-600);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8.5 EDUCATIONAL RESOURCES (CLEAN EDITORIAL CARDS)
   -------------------------------------------------------------------------- */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .edu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .edu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .edu-card-clean {
    padding: 1.5rem 1.25rem !important;
  }
}

.edu-card-clean {
  background: var(--lbg-white);
  border-radius: var(--radius-2xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -8px rgba(8, 22, 43, 0.05);
  border: 1px solid rgba(8, 22, 43, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 350ms var(--ease-spring);
}

.edu-card-clean::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lbg-green-500) 0%, var(--lbg-coral-500) 100%);
  opacity: 0;
  transition: opacity 350ms ease;
}

.edu-card-clean:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px -12px rgba(8, 22, 43, 0.12);
  border-color: rgba(22, 101, 52, 0.2);
}

.edu-card-clean:hover::before {
  opacity: 1;
}

.edu-card-clean__tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lbg-coral-600);
  margin-bottom: 0.85rem;
  display: inline-block;
}

.edu-card-clean__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lbg-navy-900);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.edu-card-clean__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--lbg-text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.edu-card-clean__link {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--lbg-green-700);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap var(--transition-fast);
}

.edu-card-clean:hover .edu-card-clean__link {
  gap: 0.7rem;
  color: var(--lbg-green-800);
}

/* --------------------------------------------------------------------------
   9. CLIENT STORIES / TESTIMONIALS (CLEAN EDITORIAL QUOTES)
   -------------------------------------------------------------------------- */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .stories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

#stories.lbg-section {
  padding-top: clamp(2rem, 3.5vh, 3.25rem);
  padding-bottom: clamp(2rem, 3.5vh, 3.25rem);
}

.story-card-clean {
  background: var(--lbg-white);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px -8px rgba(8, 22, 43, 0.06);
  border: 1px solid rgba(8, 22, 43, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 380ms cubic-bezier(0.16, 1, 0.3, 1), border-color 380ms ease;
}

.story-card-clean:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px -10px rgba(8, 22, 43, 0.14), 0 0 0 1px rgba(22, 163, 74, 0.25);
  border-color: rgba(22, 163, 74, 0.35);
}

.story-card-clean__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
  background: var(--lbg-navy-900);
}

.story-card-clean__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1), filter 650ms ease;
}

.story-card-clean:hover .story-card-clean__img {
  transform: scale(1.08);
  filter: brightness(1.03);
}

.story-card-clean__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 43, 0.4) 0%, rgba(8, 22, 43, 0) 40%, rgba(8, 22, 43, 0.45) 100%);
  pointer-events: none;
}

.story-card-clean__badge-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.story-card-clean__tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(8, 22, 43, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.story-card-clean__tag i {
  color: var(--lbg-green-400);
  font-size: 0.68rem;
}

.story-card-clean__verified {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(22, 163, 74, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.story-card-clean__body {
  padding: 1rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-card-clean__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.story-card-clean__stars {
  color: var(--lbg-amber-500);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.story-card-clean__rating-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--lbg-navy-900);
  background: var(--lbg-neutral-100);
  padding: 2px 6px;
  border-radius: 5px;
}

.story-card-clean__quote {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--lbg-navy-900);
  font-style: italic;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.story-card-clean__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(8, 22, 43, 0.06);
  margin-top: auto;
}

.story-card-clean__avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lbg-navy-900) 0%, var(--lbg-green-700) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.story-card-clean__avatar-text {
  font-weight: 800;
  font-size: 0.82rem;
}

.story-card-clean__avatar-check {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lbg-green-600);
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

.story-card-clean__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lbg-navy-900);
  margin-bottom: 1px;
}

.story-card-clean__meta {
  font-size: 0.75rem;
  color: var(--lbg-green-700);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. SUPER CTA BANNER
   -------------------------------------------------------------------------- */
.super-cta {
  background: linear-gradient(135deg, var(--lbg-navy-950) 0%, var(--lbg-navy-900) 50%, var(--lbg-navy-850) 100%);
  border-radius: var(--radius-2xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  color: var(--lbg-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.super-cta__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.super-cta__title {
  color: var(--lbg-white);
  margin-bottom: 1rem;
}

.super-cta__text {
  font-size: clamp(1.0625rem, 1.2vw, 1.2rem);
  color: #CBD5E1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.super-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

@media (max-width: 640px) {
  .super-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .super-cta__buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

.super-cta__trust {
  font-size: 0.8125rem;
  color: #94A3B8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--lbg-navy-950);
  color: #94A3B8;
  padding-top: 4.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }
}

.footer-brand__logo {
  height: 64px;
  width: auto;
  margin-bottom: 1.25rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: inline-block;
}

.footer-brand__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--lbg-white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--lbg-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #94A3B8;
  margin-bottom: 0.75rem;
}

.footer-contact-item a {
  color: #CBD5E1;
}

.footer-contact-item a:hover {
  color: var(--lbg-white);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #64748B;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom a {
  color: #94A3B8;
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 0.25rem 0.5rem;
}

.footer-bottom a:hover {
  color: #38BDF8;
  text-decoration: underline;
}

/* Ensure footer content and legal links have full clearance above sticky mobile CTA bar */
@media (max-width: 899px) {
  .site-footer {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  .footer-bottom {
    padding-bottom: 1.25rem;
  }
}
