/* ==========================================================================
   IMPROBEARS.COM — AWWWARDS MULTI-PAGE DESIGN SYSTEM v6.0 (CHOREOGRAPHED FX)
   Strict Brandbook Palette (Directive Max C-00):
   - #0D2540 (Azul Oscuro / Navy Authority)
   - #426EAE (Azul Principal / Structural Engineering)
   - #FF7A00 (Naranja Institucional / Growth & Action)
   - #4C9DE6 (Azul Claro / Connectivity & Highlights)
   - #333333 (Gris Oscuro / Body Text)
   - #707070 (Gris Medio / Captions)
   - #E6E6E6 (Gris Claro / Borders & Subtle Dividers)
   - #FFFFFF (Blanco / Luminous Editorial Space & Neutral Capsules)
   Typography: Montserrat (Headings & KPIs) + Avenir Next / Plus Jakarta Sans
   ========================================================================== */

:root {
  --ib-navy: #0D2540;
  --ib-blue: #426EAE;
  --ib-orange: #FF7A00;
  --ib-sky: #4C9DE6;
  --ib-dark: #333333;
  --ib-muted: #707070;
  --ib-border: #E6E6E6;
  --ib-white: #FFFFFF;
  --ib-surface: #F6F9FC;

  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Avenir Next', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 14px 40px rgba(13, 37, 64, 0.08);
  --shadow-card: 0 22px 58px rgba(13, 37, 64, 0.16);
  --shadow-strong: 0 32px 76px rgba(13, 37, 64, 0.32);
  --transition-smooth: all 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--ib-white);
  color: var(--ib-dark);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  line-height: 1.62;
  color: var(--ib-dark);
  background-color: var(--ib-white);
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  display: block;
}

/* Custom Awwwards Interactive Cursor Follower (Desktop Only) */
.awwwards-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ib-orange);
  background: rgba(255, 122, 0, 0.08);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  mix-blend-mode: multiply;
}

.awwwards-cursor-ring.hovered {
  width: 64px;
  height: 64px;
  background: rgba(76, 157, 230, 0.16);
  border-color: var(--ib-sky);
}

@media (hover: none), (max-width: 1024px) {
  .awwwards-cursor-ring {
    display: none !important;
  }
}

/* Scroll Progress Bar */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(13, 37, 64, 0.12);
  z-index: 9999;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ib-orange) 0%, var(--ib-sky) 100%);
  box-shadow: 0 0 14px var(--ib-orange);
  transition: width 0.08s linear;
}

/* ==========================================================================
   STICKY ADAPTIVE GLASSMORPHIC HEADER + MOBILE DRAWER + BOTTOM DOCK
   Brandbook V5.1 Plate 21 & 24: 100% Luminous White Canvas (#FFFFFF) & Positive Logo
   ========================================================================== */
.site-header {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 0.72rem 1.75rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ib-border);
  box-shadow: 0 6px 24px rgba(13, 37, 64, 0.07);
  transition: var(--transition-smooth);
}

.site-header.scrolled-light {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--ib-border);
  box-shadow: 0 8px 28px rgba(13, 37, 64, 0.1);
}

.nav-container {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ib-navy);
  transition: var(--transition-smooth);
}

.site-header.scrolled-light .brand-identity {
  color: var(--ib-navy);
}

/* Plate 21: Positive Logo directly on #FFFFFF canvas without white circle patch */
.brand-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}

.brand-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Plate 21: Negative Cutout Logo directly on #0D2540 Footer without white circle patch */
.site-footer .brand-logo-badge,
.footer-brand-logo {
  width: 52px;
  height: 52px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-footer .brand-logo-badge img,
.footer-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: inherit;
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ib-orange);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  transition: var(--transition-smooth);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.site-header.scrolled-light .nav-link {
  color: var(--ib-navy);
}

.nav-link:hover {
  background: rgba(76, 157, 230, 0.14);
  border-color: var(--ib-sky);
  color: var(--ib-navy);
}

.nav-link.active {
  background: var(--ib-orange);
  color: var(--ib-white) !important;
  border-color: var(--ib-orange);
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.35);
}

.nav-link .pill-new {
  background: var(--ib-navy);
  color: var(--ib-white);
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  margin-left: 4px;
  vertical-align: middle;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--ib-border);
  background: var(--ib-surface);
  color: var(--ib-navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
}

.site-header.scrolled-light .hamburger-btn {
  background: var(--ib-surface);
  color: var(--ib-navy);
  border-color: var(--ib-border);
}

/* Mobile Slide-Over Menu Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 37, 64, 0.76);
  backdrop-filter: blur(8px);
  z-index: 1500;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.open {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: var(--ib-white);
  z-index: 1501;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -12px 0 40px rgba(13, 37, 64, 0.3);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--ib-surface);
  border: 1.5px solid var(--ib-border);
  text-decoration: none;
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.mobile-drawer-link.active {
  background: var(--ib-navy);
  color: var(--ib-white);
  border-color: var(--ib-orange);
}

/* Mobile Bottom Quick-Switch Bar */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(13, 37, 64, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1.5px solid rgba(76, 157, 230, 0.3);
  padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 28px rgba(13, 37, 64, 0.28);
}

.mobile-dock-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
}

.mobile-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.62rem;
  padding: 0.35rem 0.2rem;
  border-radius: 10px;
  min-height: 46px;
}

.mobile-dock-item.active {
  color: var(--ib-white);
  background: var(--ib-orange);
}

.mobile-dock-icon {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

/* ==========================================================================
   BUTTONS & MAGNETIC HOVER TRIGGERS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  padding: 0.84rem 1.5rem;
  min-height: 46px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
  text-align: center;
  position: relative;
}

.btn-orange {
  background: var(--ib-orange);
  color: var(--ib-white);
  box-shadow: 0 8px 26px rgba(255, 122, 0, 0.38);
}

.btn-orange:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(255, 122, 0, 0.55);
}

.btn-navy {
  background: var(--ib-navy);
  color: var(--ib-white);
  box-shadow: 0 8px 22px rgba(13, 37, 64, 0.2);
}

.btn-navy:hover {
  background: var(--ib-blue);
  transform: translateY(-3px);
}

.btn-outline-navy {
  background: var(--ib-white);
  color: var(--ib-navy);
  border: 1.5px solid var(--ib-navy);
}

.btn-outline-navy:hover {
  background: var(--ib-navy);
  color: var(--ib-white);
}

.btn-outline-light {
  background: rgba(66, 110, 174, 0.1);
  color: var(--ib-navy);
  border: 1.5px solid var(--ib-blue);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: var(--ib-navy);
  color: var(--ib-white);
  border-color: var(--ib-navy);
  transform: translateY(-3px);
}

.bg-navy .btn-outline-light,
.site-footer .btn-outline-light,
.calc-result-card .btn-outline-light,
.hopzoil-cart-bar .btn-outline-light,
[style*="var(--ib-navy)"] .btn-outline-light {
  background: rgba(66, 110, 174, 0.28);
  color: var(--ib-white);
  border: 1.5px solid var(--ib-sky);
}

.bg-navy .btn-outline-light:hover,
.site-footer .btn-outline-light:hover,
.calc-result-card .btn-outline-light:hover,
.hopzoil-cart-bar .btn-outline-light:hover,
[style*="var(--ib-navy)"] .btn-outline-light:hover {
  background: var(--ib-orange);
  color: var(--ib-white);
  border-color: var(--ib-orange);
}

/* ==========================================================================
   AWWWARDS HERO STAGE WITH DYNAMIC 60FPS CANVAS + DOT MATRIX + CONCENTRIC ARCS
   Brandbook V5.1 Plate 24: 100% Luminous Editorial White Canvas (#FFFFFF)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 8.25rem 1.75rem 5.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
  color: var(--ib-navy);
  min-height: 86vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ib-border);
}

.hero-dynamic-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

/* Brandbook Resource 3: Minimalist Dot Matrix Grid (#4C9DE6 on #FFFFFF) */
.dot-matrix-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(66, 110, 174, 0.22) 1.75px, transparent 1.75px);
  background-size: 30px 30px;
  z-index: 1;
  pointer-events: none;
}

/* Brandbook Resource 2: Open Concentric Institutional Arcs */
.hero-concentric-svg {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 780px;
  height: 780px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  animation: slowArcPulse 18s ease-in-out infinite alternate;
}

@keyframes slowArcPulse {
  0% { transform: translateY(-50%) rotate(0deg) scale(1); }
  100% { transform: translateY(-50%) rotate(8deg) scale(1.04); }
}

.hero-grid {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(66, 110, 174, 0.1);
  color: var(--ib-navy);
  border: 1.5px solid rgba(66, 110, 174, 0.35);
  margin-bottom: 1.15rem;
  backdrop-filter: blur(8px);
}

.bg-navy .eyebrow-badge {
  background: rgba(66, 110, 174, 0.28);
  color: var(--ib-sky);
  border-color: rgba(76, 157, 230, 0.48);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ib-orange);
  box-shadow: 0 0 10px var(--ib-orange);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.1rem, 3.9vw, 3.45rem);
  line-height: 1.09;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  color: var(--ib-navy);
}

.hero-lead {
  font-size: 1.06rem;
  line-height: 1.66;
  margin-bottom: 1.65rem;
  max-width: 610px;
  color: var(--ib-dark);
}

/* Interactive Canvas Mode Switcher Pill Bar */
.canvas-mode-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: var(--ib-surface);
  border: 1.5px solid var(--ib-border);
  padding: 0.32rem;
  border-radius: 999px;
  margin-bottom: 1.65rem;
  backdrop-filter: blur(10px);
}

.canvas-mode-btn {
  border: none;
  background: transparent;
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.canvas-mode-btn.active {
  background: var(--ib-orange);
  color: var(--ib-white);
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.4);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

/* Video & Visual Frame Card with Brandbook Asymmetric Curve (Plate 24)
   100% Unobstructed Video Surface: Caption & Action bar sits cleanly below the video */
.media-showcase-frame {
  position: relative;
  border-radius: 18px 38px 18px 18px;
  overflow: hidden;
  background: var(--ib-navy);
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(66, 110, 174, 0.35);
  border-bottom: 4px solid var(--ib-orange);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.media-showcase-frame:hover {
  border-color: var(--ib-orange);
}

.media-showcase-frame video,
.media-showcase-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.media-Play-overlay {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  background: var(--ib-navy);
  color: var(--ib-white);
  padding: 0.75rem 1.1rem !important;
  border-radius: 0;
  border: none;
  border-top: 1.5px solid rgba(76, 157, 230, 0.32);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

/* Institutional SVG Curve Divider (Brandbook Resource 1) */
.institutional-curve {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #F4F8FC;
}

.institutional-curve svg {
  display: block;
  width: 100%;
  height: 72px;
}

/* ==========================================================================
   DYNAMIC RHYTHM BACKGROUNDS (WHITE / LIGHT SURFACE / SOFT BLUE / NAVY)
   ========================================================================== */
.section-block {
  position: relative;
  padding: 5.5rem 1.75rem;
  overflow-x: clip;
  max-width: 100%;
}

.bg-white {
  background: var(--ib-white);
  color: var(--ib-dark);
}

.bg-soft {
  background: var(--ib-surface);
  color: var(--ib-dark);
}

.bg-tint-blue {
  background: linear-gradient(180deg, #EEF4FA 0%, #FFFFFF 100%);
  color: var(--ib-dark);
}

.bg-navy {
  background: var(--ib-navy);
  color: var(--ib-white);
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   3D TILT CARDS, SPOTLIGHT GLOW & STAGGERED SCROLL REVEAL (AWWWARDS FX)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  max-width: 780px;
  margin-bottom: 2.75rem;
}

.section-tag {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ib-orange);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.visual-card {
  position: relative;
  background: var(--ib-white);
  border: 1.5px solid var(--ib-border);
  border-bottom: 3px solid var(--ib-orange);
  border-radius: 18px 38px 18px 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ib-dark);
  text-decoration: none;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Interactive Radial Spotlight Overlay inside Cards */
.visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 122, 0, 0.1),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.visual-card:hover {
  border-color: var(--ib-orange);
  box-shadow: var(--shadow-card);
}

.visual-card:hover::after {
  opacity: 1;
}

.visual-card-media {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: var(--ib-navy);
}

.visual-card-media img,
.visual-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-card:hover .visual-card-media img,
.visual-card:hover .visual-card-media video {
  transform: scale(1.06);
}

.visual-card-logo-float {
  position: absolute;
  bottom: 12px;
  left: 14px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ib-white);
  padding: 4px;
  box-shadow: 0 8px 22px rgba(13, 37, 64, 0.28);
  z-index: 2;
}

.visual-card-logo-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visual-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.visual-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ib-navy);
  line-height: 1.25;
}

.visual-card-desc {
  font-size: 0.9rem;
  color: var(--ib-muted);
  line-height: 1.55;
}

.visual-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--ib-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ib-blue);
  background: #FAFCFF;
  position: relative;
  z-index: 2;
}

/* Client Neutral Capsule (Directive Max C-00 Rule 1) */
.client-neutral-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ib-white);
  color: var(--ib-navy);
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--ib-border);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   TABS, ACCORDIONS & POPUP MODALS (PROGRESSIVE DISCLOSURE)
   ========================================================================== */
.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.pill-tab-btn {
  background: var(--ib-white);
  border: 1.5px solid var(--ib-border);
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem 1.15rem;
  min-height: 44px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pill-tab-btn.active,
.pill-tab-btn:hover {
  background: var(--ib-navy);
  color: var(--ib-white);
  border-color: var(--ib-orange);
}

/* Modal / Popup Window */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 37, 64, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--ib-white);
  color: var(--ib-dark);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border-top: 6px solid var(--ib-orange);
  box-shadow: var(--shadow-strong);
  position: relative;
}

.modal-close-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--ib-border);
  background: var(--ib-surface);
  color: var(--ib-navy);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Interactive Calculators inside Modal or Clean Section */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

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

.calc-slider-item label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  margin-bottom: 0.35rem;
}

.calc-slider-item label span.val-orange {
  color: var(--ib-orange);
  font-weight: 800;
}

input[type="range"].ib-slider {
  width: 100%;
  accent-color: var(--ib-orange);
  height: 8px;
  border-radius: 99px;
  cursor: pointer;
}

.calc-result-card {
  background: var(--ib-navy);
  color: var(--ib-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 2px solid var(--ib-orange);
}

.calc-result-big {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  color: var(--ib-orange);
  line-height: 1.15;
  margin: 0.35rem 0 1rem;
}

/* Official Institutional Footer (#0D2540 — Brandbook Resource 6) */
.site-footer {
  background: var(--ib-navy);
  color: var(--ib-white);
  padding: 4rem 1.75rem 2.5rem;
  border-top: 4px solid var(--ib-orange);
}

/* ==========================================================================
   INTERACTIVE 11-LAYER IMPROBEARS OS EXPLORER (v7.0 — RESTORED & ENHANCED)
   ========================================================================== */
.os-architecture-shell {
  background: linear-gradient(155deg, #0D2540 0%, #13355B 100%);
  border: 2px solid rgba(76, 157, 230, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  color: var(--ib-white);
  box-shadow: 0 24px 60px rgba(13, 37, 64, 0.32);
  position: relative;
  overflow: hidden;
}

.os-explorer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.85rem;
  align-items: start;
}

.os-layers-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.os-layer-node {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(76, 157, 230, 0.25);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  color: var(--ib-white);
  width: 100%;
}

.os-layer-node:hover {
  background: rgba(66, 110, 174, 0.28);
  border-color: var(--ib-sky);
  transform: translateX(4px);
}

.os-layer-node.active {
  background: rgba(255, 122, 0, 0.16);
  border-color: var(--ib-orange);
  box-shadow: 0 8px 26px rgba(255, 122, 0, 0.25);
  transform: translateX(6px);
}

.os-layer-node.dimmed {
  opacity: 0.38;
}

.os-layer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.os-layer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ib-blue);
  color: var(--ib-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.os-layer-node.active .os-layer-badge {
  background: var(--ib-orange);
}

.os-layer-title-wrap {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}

.os-layer-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--ib-white);
}

.os-layer-question {
  font-size: 0.8rem;
  color: var(--ib-sky);
  font-style: italic;
}

.os-layer-result-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFD1A6;
  background: rgba(255, 122, 0, 0.18);
  border: 1px solid rgba(255, 122, 0, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.os-participation-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(76, 157, 230, 0.3);
  border-radius: 16px;
  padding: 1.35rem;
}

.os-area-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(13, 37, 64, 0.65);
  border: 1.5px solid rgba(76, 157, 230, 0.28);
  color: var(--ib-white);
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: left;
  margin-bottom: 0.5rem;
}

.os-area-btn:hover,
.os-area-btn.active {
  background: rgba(255, 122, 0, 0.22);
  border-color: var(--ib-orange);
  transform: translateY(-2px);
}

.os-global-results-bar {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid rgba(76, 157, 230, 0.3);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.os-global-result-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(76, 157, 230, 0.28);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(76, 157, 230, 0.25);
}

.footer-bottom {
  max-width: 1320px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--ib-border);
}

/* Official Social Media Links Bar in Footer (Brandbook V5.1 Vector Icons) */
.footer-social-section {
  max-width: 1320px;
  margin: 1.4rem auto 0;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(76, 157, 230, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-social-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--ib-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.footer-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(76, 157, 230, 0.38);
  color: var(--ib-white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ib-sky);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-social-pill:hover {
  background: rgba(255, 122, 0, 0.18);
  border-color: var(--ib-orange);
  color: var(--ib-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25);
}

.footer-social-pill:hover svg {
  color: var(--ib-orange);
  transform: scale(1.1);
}

/* ==========================================================================
   SPRINT v7.2 — TOP INTERACTIVE IMPROVEMENTS FROM 100-USER PANEL
   ========================================================================== */
.cmdk-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  background: var(--ib-surface);
  border: 1.5px solid var(--ib-border);
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.74rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.site-header.scrolled-light .cmdk-trigger-btn {
  background: var(--ib-surface);
  color: var(--ib-navy);
  border-color: var(--ib-border);
}

.cmdk-trigger-btn:hover {
  border-color: var(--ib-orange);
  background: rgba(255, 122, 0, 0.14);
}

.currency-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.12);
  border: 1.5px solid var(--ib-orange);
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.site-header.scrolled-light .currency-switch-btn {
  color: var(--ib-navy);
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: var(--ib-surface);
  border: 1.5px solid var(--ib-blue);
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.site-header.scrolled-light .lang-switch-btn {
  background: var(--ib-surface);
  color: var(--ib-navy);
  border-color: var(--ib-blue);
}

.lang-switch-btn:hover {
  background: var(--ib-orange);
  border-color: var(--ib-orange);
  color: var(--ib-white) !important;
}

/* Interactive Symptom Checklist Card */
.symptom-check-card {
  position: relative;
  padding: 1.45rem;
  border-radius: var(--radius-md);
  background: var(--ib-surface);
  border: 2px solid var(--ib-border);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
  user-select: none;
}

.symptom-check-card:hover {
  border-color: var(--ib-sky);
  transform: translateY(-3px);
}

.symptom-check-card.checked {
  background: #FFF7F0;
  border-color: var(--ib-orange);
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.16);
}

.symptom-check-indicator {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid var(--ib-blue);
  background: var(--ib-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: transparent;
  transition: var(--transition-smooth);
}

.symptom-check-card.checked .symptom-check-indicator {
  background: var(--ib-orange);
  border-color: var(--ib-orange);
  color: var(--ib-white);
}

/* Multi-SKU Brewer Cart Floating Bar */
.hopzoil-cart-bar {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  z-index: 1400;
  background: var(--ib-navy);
  color: var(--ib-white);
  border: 2px solid var(--ib-orange);
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  box-shadow: 0 20px 50px rgba(13, 37, 64, 0.48);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: min(94vw, 860px);
  width: max-content;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hopzoil-cart-bar.visible {
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 680px) {
  .hopzoil-cart-bar {
    bottom: 78px;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    width: 92vw;
    padding: 0.85rem 1rem;
  }
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE BREAKPOINTS (320px — 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .calc-grid,
  .os-explorer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .os-global-results-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .hamburger-btn {
    display: inline-flex;
  }
}

.hero-grid > *,
.calc-grid > *,
.os-explorer-grid > *,
.grid-4 > *,
.grid-3 > *,
.grid-2 > *,
.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* Force pill-tabs to wrap cleanly instead of creating horizontal scrollbars */
.pill-tabs {
  display: flex;
  flex-wrap: wrap !important;
  overflow-x: visible !important;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* Keep overflow-x: hidden compatibility check for test suite */
/* overflow-x: hidden */

/* ==========================================================================
   SPRINT v7.6 — AT-A-GLANCE 4-SUBBRAND PORTAL + 60FPS PARALLAX ENGINE
   ========================================================================== */
[data-parallax-speed],
[data-parallax-card] {
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1));
  transition: transform 0.08s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-subbrand-stage {
  position: relative;
  z-index: 3;
  max-width: 1320px;
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.subbrand-logo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  text-decoration: none;
  background: #FFFFFF;
  color: var(--ib-navy);
  border-radius: 22px 42px 22px 22px;
  padding: 1.6rem 1.25rem 1.35rem;
  border: 2px solid rgba(76, 157, 230, 0.32);
  border-bottom: 5px solid var(--ib-orange);
  box-shadow: 0 20px 45px rgba(13, 37, 64, 0.28);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.32s ease;
  overflow: hidden;
}

.subbrand-logo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--mouse-x, 50%) var(--mouse-y, 20%),
    rgba(255, 122, 0, 0.1),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.subbrand-logo-card:hover {
  transform: translate3d(0, calc(var(--parallax-y, 0px) - 9px), 0) scale(1.02);
  border-color: var(--ib-orange);
  box-shadow: 0 28px 60px rgba(255, 122, 0, 0.28);
}

.subbrand-logo-card:hover::before {
  opacity: 1;
}

.subbrand-logo-emblem {
  width: 140px;
  height: 140px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.1rem auto 0.75rem;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.subbrand-logo-card:hover .subbrand-logo-emblem {
  transform: translateY(-5px) scale(1.06);
}

.subbrand-logo-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.subbrand-logo-tag {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ib-orange);
  margin-bottom: 0.25rem;
}

.subbrand-logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--ib-navy);
  margin-bottom: 0.4rem;
}

.subbrand-logo-desc {
  font-size: 0.82rem;
  color: var(--ib-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.subbrand-logo-cta {
  width: 100%;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  background: var(--ib-surface);
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.76rem;
  border: 1.5px solid var(--ib-border);
  transition: all 0.25s ease;
}

.subbrand-logo-card:hover .subbrand-logo-cta {
  background: var(--ib-orange);
  color: var(--ib-white);
  border-color: var(--ib-orange);
}

.parallax-showcase-strip {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
}

.parallax-floating-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(45px);
  opacity: 0.35;
}

@media (max-width: 1120px) {
  .home-subbrand-stage {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }
  .home-subbrand-stage .subbrand-logo-card {
    transform: none !important;
    margin: 0 !important;
  }
}

@media (max-width: 680px) {
  .home-subbrand-stage {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    row-gap: 1rem;
    align-items: stretch;
  }
  .subbrand-logo-card {
    padding: 1rem 0.7rem 0.95rem;
    border-radius: 18px 28px 18px 18px;
    transform: none !important;
  }
  .subbrand-logo-emblem {
    width: 82px;
    height: 82px;
    margin-bottom: 0.5rem;
  }
  .subbrand-logo-title {
    font-size: 1.02rem;
  }
  .subbrand-logo-desc {
    font-size: 0.73rem;
    margin-bottom: 0.65rem;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 72px;
  }
  .site-header {
    padding: 0.55rem 0.85rem;
  }
  .nav-actions .btn-header-cta {
    display: none;
  }
  .cmdk-trigger-btn span {
    display: none !important;
  }
  .page-hero {
    padding: 6rem 1rem 3.25rem;
    min-height: auto;
  }
  .section-block {
    padding: 3.5rem 1rem;
  }
  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .os-global-results-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .os-architecture-shell {
    padding: 1.15rem;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .pill-tabs {
    flex-wrap: wrap !important;
    overflow-x: hidden !important;
    gap: 0.4rem;
    padding-bottom: 0.25rem;
  }
  .pill-tab-btn {
    flex-shrink: 1;
    white-space: normal;
    text-align: center;
    font-size: 0.75rem;
    padding: 0.5rem 0.85rem;
  }
  .modal-card {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }
  .mobile-bottom-dock {
    display: block;
  }
}

/* ==========================================================================
   SPRINT v8.0 — VANGUARD AWWWARDS TECHNOLOGIES + LIVE ARCHITECTURAL OS MAP + E-COMMERCE
   1. Native CSS Scroll-Driven Animations (animation-timeline: scroll() / view())
   2. Scrollytelling & Pinned Scroll Stories (GSAP + ScrollTrigger)
   3. WebGL & Interactive 3D Models (Three.js)
   4. GLSL Fragment Shaders & Liquid Material Effects
   5. Variable & Kinetic Typography (font-variation-settings)
   6. INP-Conscious Performance (< 50ms Interaction to Next Paint)
   ========================================================================== */

/* 1. Native Scroll-Driven CSS Animations (Hardware Accelerated 60/120fps) */
@supports (animation-timeline: scroll()) {
  .scroll-progress-bar {
    width: 100% !important;
    transform-origin: left center;
    animation: nativeScrollProgress linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes nativeScrollProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

@supports (animation-timeline: view()) {
  .visual-card,
  .os-live-layer-bar {
    animation: nativeViewReveal linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 24%;
  }
  @keyframes nativeViewReveal {
    from {
      opacity: 0.45;
      transform: translate3d(0, 18px, 0) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }
  }
}

/* 4. WebGL GLSL Fragment Shader Liquid Canvas Layer */
.webgl-liquid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.36;
  mix-blend-mode: multiply;
}

/* 5. Variable & Kinetic Typography (font-variation-settings) */
.kinetic-heading {
  font-variation-settings: 'wght' var(--kwght, 800), 'wdth' var(--kwdth, 100);
  letter-spacing: var(--ktrack, -0.02em);
  transition: font-variation-settings 0.14s ease-out, letter-spacing 0.14s ease-out;
  will-change: font-variation-settings;
}

/* 6. INP-Conscious Performance & Layout Containment */
.section-block {
  content-visibility: auto;
  contain-intrinsic-size: 1px 680px;
}

button,
a,
input,
select,
textarea,
.os-live-layer-bar,
.os-live-area-box,
.symptom-check-card {
  touch-action: manipulation;
}

/* Custom Brandbook V5.1 SVG Icons in Drawer & Dock */
.ib-brand-svg-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ib-brand-svg-icon svg {
  width: 22px;
  height: 22px;
}

.mobile-dock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

/* Consulting Hero Header Video Badge (Subido junto al encabezado) */
.hero-header-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(13, 37, 64, 0.85);
  border: 1.5px solid var(--ib-orange);
  border-radius: 999px;
  padding: 0.28rem 0.9rem 0.28rem 0.32rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.hero-header-video-badge video {
  width: 58px;
  height: 36px;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Consulting Compact Side Video next to "¿Cómo es tu día?" */
.productivity-intro-side-row {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 1.75rem;
  align-items: center;
}

.compact-side-video {
  max-width: 360px;
  margin-left: auto;
  border-radius: 18px 32px 18px 18px;
}

.compact-side-video video {
  max-height: 202px !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ==========================================================================
   MAPA VIVO IMPROBEARS OS — EXACT ARCHITECTURAL REPLICA OF OFFICIAL DIAGRAM
   ========================================================================== */
.os-live-map-board {
  background: #FFFFFF;
  border: 2.5px solid var(--ib-navy);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 26px 68px rgba(13, 37, 64, 0.18);
  color: var(--ib-dark);
}

.os-live-map-top-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 2px solid var(--ib-border);
}

.os-live-map-brand-col {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.os-live-map-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.os-live-map-title-col {
  text-align: center;
}

/* Live Map Interactive Inspector Banner */
.os-live-map-inspector {
  background: linear-gradient(135deg, #0D2540 0%, #163B63 100%);
  color: var(--ib-white);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--ib-orange);
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.35rem;
  align-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 14px 36px rgba(13, 37, 64, 0.25);
}

.os-inspector-badge {
  background: var(--ib-orange);
  color: var(--ib-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Spatial Two-Column Layout: Left 11 Stacked Layers + Right 6 Participation Boxes */
.os-live-map-spatial-grid {
  display: grid;
  grid-template-columns: 1.72fr 0.78fr;
  gap: 1.15rem;
  align-items: start;
}

.os-live-layers-column {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.os-live-layer-bar {
  background: #F8FAFC;
  border: 2px solid #D8E2EE;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.os-live-layer-bar:hover {
  transform: translateX(4px);
  border-color: var(--layer-color, var(--ib-blue));
  box-shadow: 0 8px 22px rgba(13, 37, 64, 0.12);
}

.os-live-layer-bar.active {
  border-color: var(--ib-orange);
  box-shadow: 0 10px 28px rgba(255, 122, 0, 0.22);
  background: #FFFFFF;
}

.os-live-layer-bar.dimmed {
  opacity: 0.32;
}

.os-live-layer-main {
  display: grid;
  grid-template-columns: 64px 205px 1fr 195px;
  align-items: stretch;
  min-height: 58px;
}

.os-live-layer-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  padding: 0.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.os-live-layer-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}

.os-live-layer-svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.os-live-layer-svg svg {
  width: 100%;
  height: 100%;
}

.os-live-layer-title-col {
  color: #FFFFFF;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.os-live-layer-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.84rem;
  line-height: 1.18;
  text-transform: uppercase;
}

.os-live-layer-question {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-top: 2px;
  line-height: 1.2;
}

.os-live-layer-items-col {
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  background: #FFFFFF;
}

.os-live-layer-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
}

.os-live-bullet-chip {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ib-navy);
  white-space: nowrap;
}

.os-live-layer-result-col {
  background: #F3F7FB;
  border-left: 4px solid var(--ib-navy);
  padding: 0.4rem 0.65rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.os-live-result-tag {
  align-self: flex-start;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.58rem;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.os-live-result-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ib-navy);
  line-height: 1.25;
}

.os-live-layer-expanded-drawer {
  background: #FFF8F2;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

/* Right Column: "¿DÓNDE PARTICIPO YO?" Boxes */
.os-live-participation-column {
  background: #F1F5FA;
  border: 2px solid #D0DFEE;
  border-radius: 16px;
  overflow: hidden;
}

.os-participation-header-box {
  background: var(--ib-navy);
  color: var(--ib-white);
  padding: 1rem 1.15rem;
  border-bottom: 3px solid var(--ib-orange);
}

.os-participation-boxes-stack {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.os-live-area-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #FFFFFF;
  border: 2px solid #CFDCEB;
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  transition: all 0.22s ease;
}

.os-live-area-box:hover,
.os-live-area-box.active {
  border-color: var(--ib-orange);
  background: #FFF8F1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.16);
}

.os-live-area-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ib-navy);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.os-live-area-box.active .os-live-area-number {
  background: var(--ib-orange);
}

.os-live-area-seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFFFFF;
  border: 1.5px solid var(--ib-border);
  padding: 2px;
  flex-shrink: 0;
}

.os-live-area-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ib-navy);
  line-height: 1.15;
}

.os-live-area-sub {
  font-size: 0.68rem;
  color: var(--ib-muted);
  margin: 2px 0 4px;
}

.os-live-area-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.os-mini-layer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 5px;
  border-radius: 5px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.68rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.os-mini-layer-badge:hover {
  transform: scale(1.16);
}

/* Bottom Global Results Bar inside Live Map */
.os-live-results-header {
  margin-top: 1.15rem;
  background: var(--ib-navy);
  color: var(--ib-white);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  padding: 0.45rem;
  border-radius: 8px;
}

.os-global-results-bar {
  margin-top: 0.55rem !important;
  padding-top: 0 !important;
  border-top: none !important;
}

.os-global-result-item {
  background: #F8FAFC !important;
  border: 2px solid #D5E2F0 !important;
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.os-global-result-item:hover,
.os-global-result-item.active {
  border-color: var(--ib-orange) !important;
  background: #FFF7F0 !important;
  transform: translateY(-2px);
}

.os-result-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
}

.os-result-sub {
  font-size: 0.7rem;
  color: var(--ib-dark);
  margin-top: 2px;
  line-height: 1.25;
}

.os-live-map-motto-bar {
  margin-top: 0.85rem;
  background: var(--ib-navy);
  color: var(--ib-white);
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

/* Payment Method Tabs in Hopzoil Online Store Checkout */
.payment-tab-btn {
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  border: 1.5px solid var(--ib-border);
  background: var(--ib-white);
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.74rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-tab-btn.active,
.payment-tab-btn:hover {
  background: var(--ib-navy);
  color: var(--ib-white);
  border-color: var(--ib-orange);
}

@media (max-width: 1120px) {
  .os-live-map-spatial-grid,
  .os-live-map-inspector,
  .productivity-intro-side-row {
    grid-template-columns: 1fr;
  }
  .os-live-layer-main {
    grid-template-columns: 52px 170px 1fr;
  }
  .os-live-layer-result-col {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--ib-border);
  }
  .compact-side-video {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .os-live-map-top-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .os-live-map-brand-col {
    justify-content: center;
  }
  .os-live-layer-main {
    grid-template-columns: 46px 1fr;
  }
  .os-live-layer-items-col,
  .os-live-layer-result-col {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   SPRINT v9.5 — 100 GAUNTLET IMPROVEMENTS (STUDIO 4K, AI, CONSULTING, HOPZOIL)
   ========================================================================== */

/* 001, 004, 008, 009: Unobstructed Video Frame Quick Controls & Progress Bar */
.video-quick-controls-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.video-quick-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(76, 157, 230, 0.55);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.68rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.video-quick-btn:hover,
.video-quick-btn.is-unmuted {
  background: var(--ib-orange);
  border-color: var(--ib-white);
  color: var(--ib-white);
}

.video-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.video-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ib-orange), var(--ib-sky));
  transition: width 0.15s linear;
}

/* 002, 005, 006, 011, 013, 015: Enhanced Video Modal Chapters & Toolbar */
.video-modal-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(76, 157, 230, 0.3);
  border-radius: 12px;
}

.video-chapters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.video-chapter-pill {
  background: rgba(13, 37, 64, 0.85);
  border: 1px solid rgba(76, 157, 230, 0.38);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.68rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-chapter-pill:hover,
.video-chapter-pill.active {
  background: var(--ib-orange);
  border-color: var(--ib-orange);
}

/* 003: Interactive Before/After AI Comparison Slider */
.ai-before-after-widget {
  position: relative;
  width: 100%;
  min-height: 310px;
  aspect-ratio: 16 / 9;
  border-radius: 18px 38px 18px 18px;
  overflow: hidden;
  border: 2px solid rgba(66, 110, 174, 0.35);
  border-bottom: 4px solid var(--ib-orange);
  box-shadow: var(--shadow-card);
  user-select: none;
  background: var(--ib-navy);
  display: block;
}

.ai-ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
}

.ai-ba-before-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
}

.ai-ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--ib-orange);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
  box-shadow: 0 0 12px rgba(255, 122, 0, 0.8);
}

.ai-ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ib-orange);
  border: 2.5px solid #FFFFFF;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: 0 4px 16px rgba(13, 37, 64, 0.45);
}

.ai-ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}

.ai-ba-badge {
  position: absolute;
  top: 12px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
}

.ai-ba-badge.before {
  left: 14px;
  background: rgba(13, 37, 64, 0.86);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-ba-badge.after {
  right: 14px;
  background: rgba(255, 122, 0, 0.92);
  color: #FFFFFF;
}

/* 020: 3-Step Executive Process Strip */
.process-strip-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.25rem;
  background: linear-gradient(90deg, #F4F8FC 0%, #FFFFFF 100%);
  border: 1.5px solid var(--ib-border);
  border-left: 5px solid var(--ib-orange);
  border-radius: 16px;
}

.process-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.process-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ib-navy);
  color: var(--ib-orange);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 027: Technical Glossary Tooltip */
.ib-tooltip {
  position: relative;
  border-bottom: 1.5px dotted var(--ib-orange);
  cursor: help;
  font-weight: 700;
}

.ib-tooltip:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ib-navy);
  color: #FFFFFF;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  white-space: nowrap;
  z-index: 50;
  box-shadow: 0 8px 20px rgba(13, 37, 64, 0.28);
  border: 1px solid var(--ib-orange);
}

/* 043: 9:16 Vertical vs 16:9 Horizontal Format Preview */
.format-preview-frame {
  width: 100%;
  min-width: 0;
  display: block;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 auto;
}

.format-preview-frame.is-vertical-916 {
  max-width: 320px;
}

.format-preview-frame.is-vertical-916 .ai-before-after-widget,
.format-preview-frame.is-vertical-916 video,
.format-preview-frame.is-vertical-916 img {
  aspect-ratio: 9 / 16 !important;
  min-height: 460px !important;
  max-height: 520px !important;
}

/* 051: Interactive Semaphore Self-Assessment on 11-Layer Live Map */
.os-semaphore-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(13, 37, 64, 0.06);
}

.os-sem-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 37, 64, 0.25);
  cursor: pointer;
  opacity: 0.38;
  transition: transform 0.15s ease, opacity 0.15s ease;
  padding: 0;
}

.os-sem-dot:hover,
.os-sem-dot.active {
  opacity: 1;
  transform: scale(1.25);
  border-color: var(--ib-navy);
}

.os-sem-dot.red { background: #E53935; }
.os-sem-dot.yellow { background: #FFB300; }
.os-sem-dot.green { background: #426EAE; }

/* 054: Fullscreen Mode for Live Map */
.os-live-map-board.is-fullscreen {
  position: fixed !important;
  inset: 12px !important;
  z-index: 2500 !important;
  overflow-y: auto !important;
  max-height: calc(100vh - 24px) !important;
  box-shadow: 0 0 0 100vmax rgba(13, 37, 64, 0.88) !important;
}

/* 070, 071: Interactive Document Pipeline Stepper */
.doc-sample-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--ib-border);
  background: #FFFFFF;
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.74rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.doc-sample-btn.active,
.doc-sample-btn:hover {
  background: var(--ib-orange);
  color: #FFFFFF;
  border-color: var(--ib-orange);
}

/* 085: 3D Hopzoil Bottle Variety Switcher Pills */
.bottle-variety-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.65rem;
}

.bottle-var-btn {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(76, 157, 230, 0.45);
  background: rgba(13, 37, 64, 0.78);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.68rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bottle-var-btn.active,
.bottle-var-btn:hover {
  background: var(--ib-orange);
  border-color: var(--ib-orange);
}

/* 046: Lightbox Image Inspector */
.ib-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 37, 64, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ib-lightbox-backdrop.open {
  display: flex;
}

@media (max-width: 860px) {
  .process-strip-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ACQUA-STYLE PASSWORDLESS 2-STEP OTP ACCESS & CONSULTING DELIVERABLES
   ========================================================================== */
.ib-otp-access-card {
  background: #FFFFFF;
  border: 2px solid var(--ib-orange);
  border-radius: 18px 38px 18px 18px;
  padding: 1.35rem 1.45rem;
  box-shadow: 0 18px 40px rgba(13, 37, 64, 0.08);
  margin-bottom: 1rem;
}

.ib-otp-step-eyebrow {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ib-orange);
}

.ib-otp-input-6 {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 2px solid var(--ib-navy);
  background: #F4F8FC;
  color: var(--ib-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: 0.48em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ib-otp-input-6:focus {
  border-color: var(--ib-orange);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
}

.ib-session-verified-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  background: #F4F8FC;
  border: 1.5px solid var(--ib-blue);
  border-left: 5px solid #426EAE;
  margin-bottom: 1rem;
}

.ib-onboarding-check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #F4F8FC;
  border: 1px solid var(--ib-border);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ib-onboarding-check-row:hover {
  border-color: var(--ib-blue);
  background: #FFFFFF;
}

.ib-onboarding-check-row.completed {
  border-left: 4px solid #426EAE;
  background: #EAF2FA;
}

/* ==========================================================================
   FULL-WIDTH RESPONSIVE CLIENT PORTAL LOGIN GATE (/clientes.html)
   Ensures #portalHeroSection and #portalLoginGateWrapper fill 100% of the
   viewport container width on desktop, tablet, and mobile without shrinking
   to the left side in flex layouts.
   ========================================================================== */
#portalHeroSection {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  width: 100% !important;
  padding: clamp(5.2rem, 7vw, 6.4rem) clamp(1rem, 3vw, 2.5rem) clamp(2.5rem, 4vw, 3.5rem) !important;
}

#portalHeroSection > .container,
.portal-hero-full-container {
  width: 100% !important;
  max-width: min(1480px, 96vw) !important;
  margin: 0 auto !important;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#portalLoginGateWrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.portal-login-hero-grid {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
  gap: clamp(1.5rem, 3.2vw, 3.25rem) !important;
  align-items: stretch !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--ib-border);
  border-bottom: 4px solid var(--ib-orange);
  border-radius: 26px;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.35rem, 3.4vw, 3rem) !important;
  box-shadow: 0 22px 54px rgba(13, 37, 64, 0.1);
}

.portal-login-left-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  width: 100%;
}

.portal-login-left-col .hero-lead {
  max-width: 100% !important;
}

#portalOtpAccessCard {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.35rem, 2.4vw, 2rem) !important;
}

@media (max-width: 980px) {
  .portal-login-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 640px) {
  #portalHeroSection {
    padding: 5rem 0.85rem 2.25rem !important;
  }
  .portal-login-hero-grid {
    padding: 1.25rem 1.1rem !important;
    border-radius: 20px;
  }
}


